[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 [03:13:13]OFD Sender: No OFD packet to send [03:13:18]OFD Sender: No OFD packet to send [03:13:23]OFD Sender: No OFD packet to send [03:13:28]OFD Sender: No OFD packet to send [03:13:33]OFD Sender: No OFD packet to send [03:13:38]OFD Sender: No OFD packet to send [03:13:43]OFD Sender: No OFD packet to send [03:13:48]OFD Sender: No OFD packet to send [03:13:53]OFD Sender: No OFD packet to send [03:13:58]OFD Sender: No OFD packet to send [03:14:03]OFD Sender: No OFD packet to send [03:14:08]OFD Sender: No OFD packet to send [03:14:13]OFD Sender: No OFD packet to send [03:14:18]OFD Sender: No OFD packet to send [03:14:23]OFD Sender: No OFD packet to send [03:14:28]OFD Sender: No OFD packet to send [03:14:33]OFD Sender: No OFD packet to send [03:14:38]OFD Sender: No OFD packet to send [03:14:43]OFD Sender: No OFD packet to send [03:14:48]OFD Sender: No OFD packet to send [03:14:53]OFD Sender: No OFD packet to send [03:14:58]OFD Sender: No OFD packet to send [03:15:03]OFD Sender: No OFD packet to send [03:15:08]OFD Sender: No OFD packet to send [03:15:13]OFD Sender: No OFD packet to send [03:15:18]OFD Sender: No OFD packet to send [03:15:23]OFD Sender: No OFD packet to send [03:15:28]OFD Sender: No OFD packet to send [03:15:33]OFD Sender: No OFD packet to send [03:15:38]OFD Sender: No OFD packet to send [03:15:43]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send [03:22:34]OFD Sender: No OFD packet to send [03:22:39]OFD Sender: No OFD packet to send [03:22:44]OFD Sender: No OFD packet to send [03:22:49]OFD Sender: No OFD packet to send [03:22:54]OFD Sender: No OFD packet to send [03:22:59]OFD Sender: No OFD packet to send [03:23:04]OFD Sender: No OFD packet to send [03:23:09]OFD Sender: No OFD packet to send [03:23:14]OFD Sender: No OFD packet to send [03:23:19]OFD Sender: No OFD packet to send [03:23:24]OFD Sender: No OFD packet to send [03:23:29]OFD Sender: No OFD packet to send [03:23:34]OFD Sender: No OFD packet to send [03:23:39]OFD Sender: No OFD packet to send [03:23:44]OFD Sender: No OFD packet to send [03:23:49]OFD Sender: No OFD packet to send [03:23:54]OFD Sender: No OFD packet to send [03:23:59]OFD Sender: No OFD packet to send [03:24:04]OFD Sender: No OFD packet to send [03:24:09]OFD Sender: No OFD packet to send [03:24:14]OFD Sender: No OFD packet to send [03:24:19]OFD Sender: No OFD packet to send [03:24:24]OFD Sender: No OFD packet to send [03:24:29]OFD Sender: No OFD packet to send [03:24:34]OFD Sender: No OFD packet to send [03:24:39]OFD Sender: No OFD packet to send [03:24:44]OFD Sender: No OFD packet to send [03:24:49]OFD Sender: No OFD packet to send [03:24:54]OFD Sender: No OFD packet to send [03:24:59]OFD Sender: No OFD packet to send [03:25:04]OFD Sender: No OFD packet to send [03:25:09]OFD Sender: No OFD packet to send [03:25:14]OFD Sender: No OFD packet to send [03:25:19]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:19]OFD Sender: No OFD packet to send [03:28:24]OFD Sender: No OFD packet to send [03:28:29]OFD Sender: No OFD packet to send [03:28:34]OFD Sender: No OFD packet to send [03:28:39]OFD Sender: No OFD packet to send [03:28:44]OFD Sender: No OFD packet to send [03:28:49]OFD Sender: No OFD packet to send [03:28:54]OFD Sender: No OFD packet to send [03:28:59]OFD Sender: No OFD packet to send [03:29:04]OFD Sender: No OFD packet to send [03:29:09]OFD Sender: No OFD packet to send [03:29:14]OFD Sender: No OFD packet to send [03:29:19]OFD Sender: No OFD packet to send [03:29:24]OFD Sender: No OFD packet to send [03:29:29]OFD Sender: No OFD packet to send [03:29:34]OFD Sender: No OFD packet to send [03:29:39]OFD Sender: No OFD packet to send [03:29:44]OFD Sender: No OFD packet to send [03:29:49]OFD Sender: No OFD packet to send [03:29:54]OFD Sender: No OFD packet to send [03:29:59]OFD Sender: No OFD packet to send [03:30:04]OFD Sender: No OFD packet to send [03:30:09]OFD Sender: No OFD packet to send [03:30:14]OFD Sender: No OFD packet to send [03:30:19]OFD Sender: No OFD packet to send [03:30:24]OFD Sender: No OFD packet to send [03:30:29]OFD Sender: No OFD packet to send [03:30:34]OFD Sender: No OFD packet to send [03:30:39]OFD Sender: No OFD packet to send [03:30:44]OFD Sender: No OFD packet to send [03:30:49]OFD Sender: No OFD packet to send [03:30:54]OFD Sender: No OFD packet to send [03:30:59]OFD Sender: No OFD packet to send [03:31:04]OFD Sender: No OFD packet to send [03:31:09]OFD Sender: No OFD packet to send [03:31:14]OFD Sender: No OFD packet to send [03:31:19]OFD Sender: No OFD packet to send [03:31:24]OFD Sender: No OFD packet to send [03:31:29]OFD Sender: No OFD packet to send [03:31:34]OFD Sender: No OFD packet to send [03:31:39]OFD Sender: No OFD packet to send [03:31:44]OFD Sender: No OFD packet to send [03:31:49]OFD Sender: No OFD packet to send [03:31:54]OFD Sender: No OFD packet to send [03:31:59]OFD Sender: No OFD packet to send [03:32:04]OFD Sender: No OFD packet to send [03:32:09]OFD Sender: No OFD packet to send [03:32:14]OFD Sender: No OFD packet to send [03:32:19]OFD Sender: No OFD packet to send [03:32:24]OFD Sender: No OFD packet to send [03:32:29]OFD Sender: No OFD packet to send [03:32:34]OFD Sender: No OFD packet to send [03:32:39]OFD Sender: No OFD packet to send [03:32:44]OFD Sender: No OFD packet to send [03:32:49]OFD Sender: No OFD packet to send [03:32:54]OFD Sender: No OFD packet to send [03:32:59]OFD Sender: No OFD packet to send [03:33:04]OFD Sender: No OFD packet to send [03:33:09]OFD Sender: No OFD packet to send [03:33:14]OFD Sender: No OFD packet to send [03:33:19]OFD Sender: No OFD packet to send [03:33:24]OFD Sender: No OFD packet to send [03:33:29]OFD Sender: No OFD packet to send [03:33:34]OFD Sender: No OFD packet to send [03:33:39]OFD Sender: No OFD packet to send [03:33:44]OFD Sender: No OFD packet to send [03:33:49]OFD Sender: No OFD packet to send [03:33:54]OFD Sender: No OFD packet to send [03:33:59]OFD Sender: No OFD packet to send [03:34:04]OFD Sender: No OFD packet to send [03:34:09]OFD Sender: No OFD packet to send [03:34:14]OFD Sender: No OFD packet to send [03:34:19]OFD Sender: No OFD packet to send [03:34:24]OFD Sender: No OFD packet to send [03:34:29]OFD Sender: No OFD packet to send [03:34:34]OFD Sender: No OFD packet to send [03:34:39]OFD Sender: No OFD packet to send [03:34:44]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:40]OFD Sender: No OFD packet to send [03:38:45]OFD Sender: No OFD packet to send [03:38:50]OFD Sender: No OFD packet to send [03:38:55]OFD Sender: No OFD packet to send [03:39:00]OFD Sender: No OFD packet to send [03:39:05]OFD Sender: No OFD packet to send [03:39:10]OFD Sender: No OFD packet to send [03:39:15]OFD Sender: No OFD packet to send [03:39:20]OFD Sender: No OFD packet to send [03:39:25]OFD Sender: No OFD packet to send [03:39:30]OFD Sender: No OFD packet to send [03:39:35]OFD Sender: No OFD packet to send [03:39:40]OFD Sender: No OFD packet to send [03:39:45]OFD Sender: No OFD packet to send [03:39:50]OFD Sender: No OFD packet to send [03:39:55]OFD Sender: No OFD packet to send [03:40:00]OFD Sender: No OFD packet to send [03:40:05]OFD Sender: No OFD packet to send [03:40:10]OFD Sender: No OFD packet to send [03:40:15]OFD Sender: No OFD packet to send [03:40:20]OFD Sender: No OFD packet to send [03:40:25]OFD Sender: No OFD packet to send [03:40:30]OFD Sender: No OFD packet to send [03:40:35]OFD Sender: No OFD packet to send [03:40:40]OFD Sender: No OFD packet to send [03:40:45]OFD Sender: No OFD packet to send [03:40:50]OFD Sender: No OFD packet to send [03:40:55]OFD Sender: No OFD packet to send [03:41:00]OFD Sender: No OFD packet to send [03:41:05]OFD Sender: No OFD packet to send [03:41:10]OFD Sender: No OFD packet to send [03:41:15]OFD Sender: No OFD packet to send [03:41:20]OFD Sender: No OFD packet to send [03:41:25]OFD Sender: No OFD packet to send [03:41:30]OFD Sender: No OFD packet to send [03:41:35]OFD Sender: No OFD packet to send [03:41:40]OFD Sender: No OFD packet to send [03:41:45]OFD Sender: No OFD packet to send [03:41:50]OFD Sender: No OFD packet to send [03:41:55]OFD Sender: No OFD packet to send [03:42:00]OFD Sender: No OFD packet to send [03:42:05]OFD Sender: No OFD packet to send [03:42:10]OFD Sender: No OFD packet to send [03:42:15]OFD Sender: No OFD packet to send [03:42:20]OFD Sender: No OFD packet to send [03:42:25]OFD Sender: No OFD packet to send [03:42:30]OFD Sender: No OFD packet to send [03:42:35]OFD Sender: No OFD packet to send [03:42:40]OFD Sender: No OFD packet to send [03:42:45]OFD Sender: No OFD packet to send [03:42:50]OFD Sender: No OFD packet to send [03:42:55]OFD Sender: No OFD packet to send [03:43:00]OFD Sender: No OFD packet to send [03:43:05]OFD Sender: No OFD packet to send [03:43:10]OFD Sender: No OFD packet to send [03:43:15]OFD Sender: No OFD packet to send [03:43:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:55]OFD Sender: No OFD packet to send [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:55]OFD Sender: No OFD packet to send [03:47:00]OFD Sender: No OFD packet to send [03:47:05]OFD Sender: No OFD packet to send [03:47:10]OFD Sender: No OFD packet to send [03:47:15]OFD Sender: No OFD packet to send [03:47:20]OFD Sender: No OFD packet to send [03:47:25]OFD Sender: No OFD packet to send [03:47:30]OFD Sender: No OFD packet to send [03:47:35]OFD Sender: No OFD packet to send [03:47:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]OFD Sender: No OFD packet to send [03:48:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:16]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:31]OFD Sender: No OFD packet to send [04:14:36]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:52]OFD Sender: No OFD packet to send [04:22:57]OFD Sender: No OFD packet to send [04:23:02]OFD Sender: No OFD packet to send [04:23:07]OFD Sender: No OFD packet to send [04:23:12]OFD Sender: No OFD packet to send [04:23:17]OFD Sender: No OFD packet to send [04:23:22]OFD Sender: No OFD packet to send [04:23:27]OFD Sender: No OFD packet to send [04:23:32]OFD Sender: No OFD packet to send [04:23:37]OFD Sender: No OFD packet to send [04:23:42]OFD Sender: No OFD packet to send [04:23:47]OFD Sender: No OFD packet to send [04:23:52]OFD Sender: No OFD packet to send [04:23:57]OFD Sender: No OFD packet to send [04:24:02]OFD Sender: No OFD packet to send [04:24:07]OFD Sender: No OFD packet to send [04:24:12]OFD Sender: No OFD packet to send [04:24:17]OFD Sender: No OFD packet to send [04:24:22]OFD Sender: No OFD packet to send [04:24:27]OFD Sender: No OFD packet to send [04:24:32]OFD Sender: No OFD packet to send [04:24:37]OFD Sender: No OFD packet to send [04:24:42]OFD Sender: No OFD packet to send [04:24:47]OFD Sender: No OFD packet to send [04:24:52]OFD Sender: No OFD packet to send [04:24:57]OFD Sender: No OFD packet to send [04:25:02]OFD Sender: No OFD packet to send [04:25:07]OFD Sender: No OFD packet to send [04:25:12]OFD Sender: No OFD packet to send [04:25:17]OFD Sender: No OFD packet to send [04:25:22]OFD Sender: No OFD packet to send [04:25:27]OFD Sender: No OFD packet to send [04:25:32]OFD Sender: No OFD packet to send [04:25:37]OFD Sender: No OFD packet to send [04:25:42]OFD Sender: No OFD packet to send [04:25:47]OFD Sender: No OFD packet to send [04:25:52]OFD Sender: No OFD packet to send [04:25:57]OFD Sender: No OFD packet to send [04:26:02]OFD Sender: No OFD packet to send [04:26:07]OFD Sender: No OFD packet to send [04:26:12]OFD Sender: No OFD packet to send [04:26:17]OFD Sender: No OFD packet to send [04:26:22]OFD Sender: No OFD packet to send [04:26:27]OFD Sender: No OFD packet to send [04:26:32]OFD Sender: No OFD packet to send [04:26:37]OFD Sender: No OFD packet to send [04:26:42]OFD Sender: No OFD packet to send [04:26:47]OFD Sender: No OFD packet to send [04:26:52]OFD Sender: No OFD packet to send [04:26:57]OFD Sender: No OFD packet to send [04:27:02]OFD Sender: No OFD packet to send [04:27:07]OFD Sender: No OFD packet to send [04:27:12]OFD Sender: No OFD packet to send [04:27:17]OFD Sender: No OFD packet to send [04:27:22]OFD Sender: No OFD packet to send [04:27:27]OFD Sender: No OFD packet to send [04:27:32]OFD Sender: No OFD packet to send [04:27:37]OFD Sender: No OFD packet to send [04:27:42]OFD Sender: No OFD packet to send [04:27:47]OFD Sender: No OFD packet to send [04:27:52]OFD Sender: No OFD packet to send [04:27:57]OFD Sender: No OFD packet to send [04:28:02]OFD Sender: No OFD packet to send [04:28:07]OFD Sender: No OFD packet to send [04:28:12]OFD Sender: No OFD packet to send [04:28:17]OFD Sender: No OFD packet to send [04:28:22]OFD Sender: No OFD packet to send [04:28:27]OFD Sender: No OFD packet to send [04:28:32]OFD Sender: No OFD packet to send [04:28:37]OFD Sender: No OFD packet to send [04:28:42]OFD Sender: No OFD packet to send [04:28:47]OFD Sender: No OFD packet to send [04:28:52]OFD Sender: No OFD packet to send [04:28:57]OFD Sender: No OFD packet to send [04:29:02]OFD Sender: No OFD packet to send [04:29:07]OFD Sender: No OFD packet to send [04:29:12]OFD Sender: No OFD packet to send [04:29:17]OFD Sender: No OFD packet to send [04:29:22]OFD Sender: No OFD packet to send [04:29:27]OFD Sender: No OFD packet to send [04:29:32]OFD Sender: No OFD packet to send [04:29:37]OFD Sender: No OFD packet to send [04:29:42]OFD Sender: No OFD packet to send [04:29:47]OFD Sender: No OFD packet to send [04:29:52]OFD Sender: No OFD packet to send [04:29:57]OFD Sender: No OFD packet to send [04:30:02]OFD Sender: No OFD packet to send [04:30:07]OFD Sender: No OFD packet to send [04:30:12]OFD Sender: No OFD packet to send [04:30:17]OFD Sender: No OFD packet to send [04:30:22]OFD Sender: No OFD packet to send [04:30:27]OFD Sender: No OFD packet to send [04:30:32]OFD Sender: No OFD packet to send [04:30:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:23]OFD Sender: No OFD packet to send [04:42:28]OFD Sender: No OFD packet to send [04:42:33]OFD Sender: No OFD packet to send [04:42:38]OFD Sender: No OFD packet to send [04:42:43]OFD Sender: No OFD packet to send [04:42:48]OFD Sender: No OFD packet to send [04:42:53]OFD Sender: No OFD packet to send [04:42:58]OFD Sender: No OFD packet to send [04:43:03]OFD Sender: No OFD packet to send [04:43:08]OFD Sender: No OFD packet to send [04:43:13]OFD Sender: No OFD packet to send [04:43:18]OFD Sender: No OFD packet to send [04:43:23]OFD Sender: No OFD packet to send [04:43:28]OFD Sender: No OFD packet to send [04:43:33]OFD Sender: No OFD packet to send [04:43:38]OFD Sender: No OFD packet to send [04:43:43]OFD Sender: No OFD packet to send [04:43:48]OFD Sender: No OFD packet to send [04:43:53]OFD Sender: No OFD packet to send [04:43:58]OFD Sender: No OFD packet to send [04:44:03]OFD Sender: No OFD packet to send [04:44:08]OFD Sender: No OFD packet to send [04:44:13]OFD Sender: No OFD packet to send [04:44:18]OFD Sender: No OFD packet to send [04:44:23]OFD Sender: No OFD packet to send [04:44:28]OFD Sender: No OFD packet to send [04:44:33]OFD Sender: No OFD packet to send [04:44:38]OFD Sender: No OFD packet to send [04:44:43]OFD Sender: No OFD packet to send [04:44:48]OFD Sender: No OFD packet to send [04:44:53]OFD Sender: No OFD packet to send [04:44:58]OFD Sender: No OFD packet to send [04:45:03]OFD Sender: No OFD packet to send [04:45:08]OFD Sender: No OFD packet to send [04:45:13]OFD Sender: No OFD packet to send [04:45:18]OFD Sender: No OFD packet to send [04:45:23]OFD Sender: No OFD packet to send [04:45:28]OFD Sender: No OFD packet to send [04:45:33]OFD Sender: No OFD packet to send [04:45:38]OFD Sender: No OFD packet to send [04:45:43]OFD Sender: No OFD packet to send [04:45:48]OFD Sender: No OFD packet to send [04:45:53]OFD Sender: No OFD packet to send [04:45:58]OFD Sender: No OFD packet to send [04:46:03]OFD Sender: No OFD packet to send [04:46:08]OFD Sender: No OFD packet to send [04:46:13]OFD Sender: No OFD packet to send [04:46:18]OFD Sender: No OFD packet to send [04:46:23]OFD Sender: No OFD packet to send [04:46:28]OFD Sender: No OFD packet to send [04:46:33]OFD Sender: No OFD packet to send [04:46:38]OFD Sender: No OFD packet to send [04:46:43]OFD Sender: No OFD packet to send [04:46:48]OFD Sender: No OFD packet to send [04:46:53]OFD Sender: No OFD packet to send [04:46:58]OFD Sender: No OFD packet to send [04:47:03]OFD Sender: No OFD packet to send [04:47:08]OFD Sender: No OFD packet to send [04:47:13]OFD Sender: No OFD packet to send [04:47:18]OFD Sender: No OFD packet to send [04:47:23]OFD Sender: No OFD packet to send [04:47:28]OFD Sender: No OFD packet to send [04:47:33]OFD Sender: No OFD packet to send [04:47:38]OFD Sender: No OFD packet to send [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:53]OFD Sender: No OFD packet to send [04:47:58]OFD Sender: No OFD packet to send [04:48:03]OFD Sender: No OFD packet to send [04:48:08]OFD Sender: No OFD packet to send [04:48:13]OFD Sender: No OFD packet to send [04:48:18]OFD Sender: No OFD packet to send [04:48:23]OFD Sender: No OFD packet to send [04:48:28]OFD Sender: No OFD packet to send [04:48:33]OFD Sender: No OFD packet to send [04:48:38]OFD Sender: No OFD packet to send [04:48:43]OFD Sender: No OFD packet to send [04:48:48]OFD Sender: No OFD packet to send [04:48:53]OFD Sender: No OFD packet to send [04:48:58]OFD Sender: No OFD packet to send [04:49:03]OFD Sender: No OFD packet to send [04:49:08]OFD Sender: No OFD packet to send [04:49:13]OFD Sender: No OFD packet to send [04:49:18]OFD Sender: No OFD packet to send [04:49:23]OFD Sender: No OFD packet to send [04:49:28]OFD Sender: No OFD packet to send [04:49:33]OFD Sender: No OFD packet to send [04:49:38]OFD Sender: No OFD packet to send [04:49:43]OFD Sender: No OFD packet to send [04:49:48]OFD Sender: No OFD packet to send [04:49:53]OFD Sender: No OFD packet to send [04:49:58]OFD Sender: No OFD packet to send [04:50:03]OFD Sender: No OFD packet to send [04:50:08]OFD Sender: No OFD packet to send [04:50:13]OFD Sender: No OFD packet to send [04:50:18]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]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:44]OFD Sender: No OFD packet to send [05:03:49]OFD Sender: No OFD packet to send [05:03:54]OFD Sender: No OFD packet to send [05:03:59]OFD Sender: No OFD packet to send [05:04:04]OFD Sender: No OFD packet to send [05:04:09]OFD Sender: No OFD packet to send [05:04:14]OFD Sender: No OFD packet to send [05:04:19]OFD Sender: No OFD packet to send [05:04:24]OFD Sender: No OFD packet to send [05:04:29]OFD Sender: No OFD packet to send [05:04:34]OFD Sender: No OFD packet to send [05:04:39]OFD Sender: No OFD packet to send [05:04:44]OFD Sender: No OFD packet to send [05:04:49]OFD Sender: No OFD packet to send [05:04:54]OFD Sender: No OFD packet to send [05:04:59]OFD Sender: No OFD packet to send [05:05:04]OFD Sender: No OFD packet to send [05:05:09]OFD Sender: No OFD packet to send [05:05:14]OFD Sender: No OFD packet to send [05:05:19]OFD Sender: No OFD packet to send [05:05:24]OFD Sender: No OFD packet to send [05:05:29]OFD Sender: No OFD packet to send [05:05:34]OFD Sender: No OFD packet to send [05:05:39]OFD Sender: No OFD packet to send [05:05:44]OFD Sender: No OFD packet to send [05:05:49]OFD Sender: No OFD packet to send [05:05:54]OFD Sender: No OFD packet to send [05:05:59]OFD Sender: No OFD packet to send [05:06:04]OFD Sender: No OFD packet to send [05:06:09]OFD Sender: No OFD packet to send [05:06:14]OFD Sender: No OFD packet to send [05:06:19]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:39]OFD Sender: No OFD packet to send [05:09:44]OFD Sender: No OFD packet to send [05:09:49]OFD Sender: No OFD packet to send [05:09:54]OFD Sender: No OFD packet to send [05:09:59]OFD Sender: No OFD packet to send [05:10:04]OFD Sender: No OFD packet to send [05:10:09]OFD Sender: No OFD packet to send [05:10:14]OFD Sender: No OFD packet to send [05:10:19]OFD Sender: No OFD packet to send [05:10:24]OFD Sender: No OFD packet to send [05:10:29]OFD Sender: No OFD packet to send [05:10:34]OFD Sender: No OFD packet to send [05:10:39]OFD Sender: No OFD packet to send [05:10:44]OFD Sender: No OFD packet to send [05:10:49]OFD Sender: No OFD packet to send [05:10:54]OFD Sender: No OFD packet to send [05:10:59]OFD Sender: No OFD packet to send [05:11:04]OFD Sender: No OFD packet to send [05:11:09]OFD Sender: No OFD packet to send [05:11:14]OFD Sender: No OFD packet to send [05:11:19]OFD Sender: No OFD packet to send [05:11:24]OFD Sender: No OFD packet to send [05:11:29]OFD Sender: No OFD packet to send [05:11:34]OFD Sender: No OFD packet to send [05:11:39]OFD Sender: No OFD packet to send [05:11:44]OFD Sender: No OFD packet to send [05:11:49]OFD Sender: No OFD packet to send [05:11:54]OFD Sender: No OFD packet to send [05:11:59]OFD Sender: No OFD packet to send [05:12:04]OFD Sender: No OFD packet to send [05:12:09]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]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:25]OFD Sender: No OFD packet to send [05:20:30]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]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:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]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:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:26]OFD Sender: No OFD packet to send [05:41:31]OFD Sender: No OFD packet to send [05:41:36]OFD Sender: No OFD packet to send [05:41:41]OFD Sender: No OFD packet to send [05:41:46]OFD Sender: No OFD packet to send [05:41:51]OFD Sender: No OFD packet to send [05:41:56]OFD Sender: No OFD packet to send [05:42:01]OFD Sender: No OFD packet to send [05:42:06]OFD Sender: No OFD packet to send [05:42:11]OFD Sender: No OFD packet to send [05:42:16]OFD Sender: No OFD packet to send [05:42:21]OFD Sender: No OFD packet to send [05:42:26]OFD Sender: No OFD packet to send [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:37]OFD Sender: No OFD packet to send [06:02:42]OFD Sender: No OFD packet to send [06:02:47]OFD Sender: No OFD packet to send [06:02:52]OFD Sender: No OFD packet to send [06:02:57]OFD Sender: No OFD packet to send [06:03:02]OFD Sender: No OFD packet to send [06:03:07]OFD Sender: No OFD packet to send [06:03:12]OFD Sender: No OFD packet to send [06:03:17]OFD Sender: No OFD packet to send [06:03:22]OFD Sender: No OFD packet to send [06:03:27]OFD Sender: No OFD packet to send [06:03:32]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:03]OFD Sender: No OFD packet to send [06:19:08]OFD Sender: No OFD packet to send [06:19:13]OFD Sender: No OFD packet to send [06:19:18]OFD Sender: No OFD packet to send [06:19:23]OFD Sender: No OFD packet to send [06:19:28]OFD Sender: No OFD packet to send [06:19:33]OFD Sender: No OFD packet to send [06:19:38]OFD Sender: No OFD packet to send [06:19:43]OFD Sender: No OFD packet to send [06:19:48]OFD Sender: No OFD packet to send [06:19:53]OFD Sender: No OFD packet to send [06:19:58]OFD Sender: No OFD packet to send [06:20:03]OFD Sender: No OFD packet to send [06:20:08]OFD Sender: No OFD packet to send [06:20:13]OFD Sender: No OFD packet to send [06:20:18]OFD Sender: No OFD packet to send [06:20:23]OFD Sender: No OFD packet to send [06:20:28]OFD Sender: No OFD packet to send [06:20:33]OFD Sender: No OFD packet to send [06:20:38]OFD Sender: No OFD packet to send [06:20:43]OFD Sender: No OFD packet to send [06:20:48]OFD Sender: No OFD packet to send [06:20:53]OFD Sender: No OFD packet to send [06:20:58]OFD Sender: No OFD packet to send [06:21:03]OFD Sender: No OFD packet to send [06:21:08]OFD Sender: No OFD packet to send [06:21:13]OFD Sender: No OFD packet to send [06:21:18]OFD Sender: No OFD packet to send [06:21:23]OFD Sender: No OFD packet to send [06:21:28]OFD Sender: No OFD packet to send [06:21:33]OFD Sender: No OFD packet to send [06:21:38]OFD Sender: No OFD packet to send [06:21:43]OFD Sender: No OFD packet to send [06:21:48]OFD Sender: No OFD packet to send [06:21:53]OFD Sender: No OFD packet to send [06:21:58]OFD Sender: No OFD packet to send [06:22:03]OFD Sender: No OFD packet to send [06:22:08]OFD Sender: No OFD packet to send [06:22:13]OFD Sender: No OFD packet to send [06:22:18]OFD Sender: No OFD packet to send [06:22:23]OFD Sender: No OFD packet to send [06:22:28]OFD Sender: No OFD packet to send [06:22:33]OFD Sender: No OFD packet to send [06:22:38]OFD Sender: No OFD packet to send [06:22:43]OFD Sender: No OFD packet to send [06:22:48]OFD Sender: No OFD packet to send [06:22:53]OFD Sender: No OFD packet to send [06:22:58]OFD Sender: No OFD packet to send [06:23:03]OFD Sender: No OFD packet to send [06:23:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:19]OFD Sender: No OFD packet to send [06:35:24]OFD Sender: No OFD packet to send [06:35:29]OFD Sender: No OFD packet to send [06:35:34]OFD Sender: No OFD packet to send [06:35:39]OFD Sender: No OFD packet to send [06:35:44]OFD Sender: No OFD packet to send [06:35:49]OFD Sender: No OFD packet to send [06:35:54]OFD Sender: No OFD packet to send [06:35:59]OFD Sender: No OFD packet to send [06:36:04]OFD Sender: No OFD packet to send [06:36:09]OFD Sender: No OFD packet to send [06:36:14]OFD Sender: No OFD packet to send [06:36:19]OFD Sender: No OFD packet to send [06:36:24]OFD Sender: No OFD packet to send [06:36:29]OFD Sender: No OFD packet to send [06:36:34]OFD Sender: No OFD packet to send [06:36:39]OFD Sender: No OFD packet to send [06:36:44]OFD Sender: No OFD packet to send [06:36:49]OFD Sender: No OFD packet to send [06:36:54]OFD Sender: No OFD packet to send [06:36:59]OFD Sender: No OFD packet to send [06:37:04]OFD Sender: No OFD packet to send [06:37:09]OFD Sender: No OFD packet to send [06:37:14]OFD Sender: No OFD packet to send [06:37:19]OFD Sender: No OFD packet to send [06:37:24]OFD Sender: No OFD packet to send [06:37:29]OFD Sender: No OFD packet to send [06:37:34]OFD Sender: No OFD packet to send [06:37:39]OFD Sender: No OFD packet to send [06:37:44]OFD Sender: No OFD packet to send [06:37:49]OFD Sender: No OFD packet to send [06:37:54]OFD Sender: No OFD packet to send [06:37:59]OFD Sender: No OFD packet to send [06:38:04]OFD Sender: No OFD packet to send [06:38:09]OFD Sender: No OFD packet to send [06:38:14]OFD Sender: No OFD packet to send [06:38:19]OFD Sender: No OFD packet to send [06:38:24]OFD Sender: No OFD packet to send [06:38:29]OFD Sender: No OFD packet to send [06:38:34]OFD Sender: No OFD packet to send [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:59:00]OFD Sender: No OFD packet to send [06:59:05]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:12]accept exits with 9 [07:19:12]New connection [07:19:12]New thread 3067563364 created [07:19:12] Sock 9.Parse request [07:19:12]Thread 3067420004 joined [07:19:12]Sock 9.Check first char [07:19:12]Waiting for new connection... [07:19:12]Sock 9.First char is OK [07:19:12]request: POST /json_proto HTTP/1.0 [07:19:12]Method: POST [07:19:12]URL: /json_proto [07:19:12]Method is POST - this is cgi request [07:19:12]url: /json_proto [07:19:12]query_string will be loaded in cgi processing [07:19:12]execute_cgi json_proto POST (null) [07:19:12]execute_cgi path=json_proto method=POST [07:19:12]POST find Content-Length [07:19:12]Host: 172.17.53.68:8080 [07:19:12]Content-Length: 622 [07:19:12]Content-Type: application/json [07:19:12] [07:19:12]POST finish read [07:19:12]Found Content-Length = 622 [07:19:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76574", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:19:12]execute_script... [07:19: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)76574", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:19:12]POST & json_proto [07:19:12]process_json_proto [07:19:12]json parsed OK: [07:19:12]protocol is kg_v1.0 [07:19:12]action value=close_receipt [07:19:12]process_action close_receipt [07:19:12]cmd_close_receipt [07:19:12]MH_GetDate [07:19:12]Write to MH i2c: F0 00 00 8D 02 7E [07:19:12]Write i2c OK [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: F0 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: F0 09 00 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: F0 09 00 8D 02 00 74 5D 13 67 C5 A4 76 66 17 [07:19:12]GetLastDocTimeStamp 1729300086 [07:19:12]current date 1729322356 [07:19:12]FM_GetShiftState [07:19:12]SAM_PROTO_GetShiftState [07:19:12]wFMCommunicate request_size=4 [07:19:12]MH_SAM_APDU [07:19:12]CAPDU: 80 13 01 00 [07:19:12]Write to MH i2c: E2 08 00 8E 02 80 13 01 00 00 00 00 00 0D [07:19:12]Write i2c OK [07:19:12]MH_I2C_Read... [07:19:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:19:12]Read from MH i2c: E2 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 0E 00 [07:19:12]MH_I2C_Read... [07:19:12]Read from MH i2c: E2 0E 00 8E 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 27 [07:19:12]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:19:12]wFMCommunicate OK [07:19:12]SAM_PROTO_GetShiftState done [07:19:12]FM_GetShiftState done [07:19:12]opened in 1729296796 [07:19:12]opened+sec_in_day 1729383196 [07:19:12]quantity*price = 14400 [07:19:12]sum+1 = 14401 [07:19:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 2 19.10.2024 07:19 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37066 ФПД: 64059606649039 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T071916&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37066&fm=64059606649039&tin=02508201610067®Number=0000000000098149&sum=14400 0 [07:19:14]StoreToDocumentArchive [07:19:14]shift 460 fd 37066 [07:19:14]save to /storage/0460/doc_00037066 [07:19:14]save last doc name /storage/0460/doc_00037066 to /storage/kkm_last_doc_name [07:19:14]save OK [07:19:14]Clear old archive folders... [07:19:14]ProcessDocumentItem done err = 0, tmpTLVsize=275 [07:19:14]tlvbuf is 00611020 [07:19:14]SAM_PROTO_ClearQueue [07:19:14]wFMCommunicate request_size=4 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 09 00 00 [07:19:14]Write to MH i2c: E2 08 00 9B 02 80 09 00 00 00 00 00 00 0F [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [07:19:14]RAPDU: 90 00 [07:19:14]wFMCommunicate OK [07:19:14]SAM_PROTO_ClearQueue done [07:19:14]KKMCreateOFDPacket [07:19:14]OFDProtocolAddRootSTLVToBuf [07:19:14]FM_MakeSignedData [07:19:14]FM_MakeSignedData [07:19:14]SAM_PROTO_SignData [07:19:14]wFMCommunicate request_size=4 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 0D 01 02 [07:19:14]Write to MH i2c: E2 08 00 9C 02 80 0D 01 02 00 00 00 00 17 [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 9C 02 00 90 00 12 [07:19:14]RAPDU: 90 00 [07:19:14]wFMCommunicate OK [07:19:14]wFMCommunicate request_size=255 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 74 5D 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [07:19:14]Write to MH i2c: E2 02 01 9D 02 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 74 5D 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 3C [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 9D 02 00 90 00 13 [07:19:14]RAPDU: 90 00 [07:19:14]wFMCommunicate OK [07:19:14]wFMCommunicate request_size=34 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CA 90 00 00 35 04 06 00 3A 43 0A 19 48 CF [07:19:14]Write to MH i2c: E2 25 00 9E 02 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CA 90 00 00 35 04 06 00 3A 43 0A 19 48 CF 00 00 EC [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 03 00 9E 02 00 90 00 14 [07:19:14]RAPDU: 90 00 [07:19:14]wFMCommunicate OK [07:19:14]wFMCommunicate request_size=4 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 0D 03 02 [07:19:14]Write to MH i2c: E2 08 00 9F 02 80 0D 03 02 00 00 00 00 1C [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 0B 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 0B 00 9F 02 00 3D 00 C0 A6 F4 49 28 40 90 00 65 [07:19:14]RAPDU: 3D 00 C0 A6 F4 49 28 40 90 00 [07:19:14]wFMCommunicate OK [07:19:14]SAM_PROTO_SignData done [07:19:14]FM_MakeSignedData done [07:19:14]CreateOFDProtocolMessage [07:19:14]wFMCommunicate request_size=4 [07:19:14]MH_SAM_APDU [07:19:14]CAPDU: 80 11 00 00 [07:19:14]Write to MH i2c: E2 08 00 A0 02 80 11 00 00 00 00 00 00 1C [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:19:14]Read from MH i2c: E2 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 17 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: E2 17 00 A0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6F [07:19:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:19:14]wFMCommunicate OK [07:19:14]CreateOFDProtocolMessage done [07:19:14]OFDSenderStorePacket 37066 [07:19:14]StoreOFDPacket docnum=37066 [07:19:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 46 AD 1F 01 20 99 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 74 5D 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CA 90 00 00 35 04 06 00 3A 43 0A 19 48 CF 3D 00 C0 A6 F4 49 28 40 [07:19:14]CheckFolder [07:19:14]dirname=/storage/ofd_packets [07:19:14]CheckFolder done [07:19:14]ProducePacketName [07:19:14]name=ofd_packets/00037066 [07:19:14]NVStorageSaveData ofd_packets/00037066 [07:19:14]File name is /storage/ofd_packets/00037066 [07:19:14]Write 325 bytes [07:19:14]NVStorageSaveData done [07:19:14]OFDSenderStorePacket done [07:19:14]KKMCreateOFDPacket done [07:19:14]NVStorageSaveData kkm_last_timestamp [07:19:14]File name is /storage/kkm_last_timestamp [07:19:14]Write 4 bytes [07:19:14]NVStorageSaveData done [07:19:14]ExternCall_PrintAddStr [07:19:14]wPrintStart [07:19:14]Write to MH i2c: 01 00 00 A1 02 A3 [07:19:14]Write i2c OK [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 07 00 [07:19:14]MH_I2C_Read... [07:19:14]Read from MH i2c: 01 07 00 A1 02 00 00 00 00 00 FF 0F B8 [07:19:14]RasterBufferAndPrint [07:19:14]line Счет N : (3)76574 [07:19:14]line ИНН: 02508201610067 [07:19:14]line Контрольно-Кассовый Чек [07:19:14]line ПРОДАЖА [07:19:14]line Товар: 48743587 [07:19:14]line Сигареты Winston XStyle Silver [07:19:14]line 1.000 * 144.00 [07:19:14]line = 144.00 [07:19:14]line НДС 12% НСП 1% [07:19:14]line > о реализуемом товаре [07:19:14]line ИТОГО: 144.00 [07:19:14]line НСП 1% : 1.27 [07:19:14]line НДС 12% : 15.29 [07:19:14]line Наличными: 144.00 [07:19:14]line Безнал.: 0.00 [07:19:14]line Место: АЗС № 165 "Партнер Нефть" [07:19:14]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [07:19:14]line СНО: Общий режим [07:19:14]line Чек 2 19.10.2024 07:19 [07:19:14]line Смена: 460 ФФД: 1.0 [07:19:14]line ЗНМ: 0300000235 [07:19:14]line РНМ: 0000000000098149 [07:19:14]line Версия ККМ: 001 [07:19:14]line ФМ: 0000000000965372 [07:19:14]line ФД: 37066 [07:19:14]line ФПД: 64059606649039 [07:19:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T071916&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37066&fm=64059606649039&tin=02508201610067®Number=0000000000098149&sum=14400 [07:19:14]line 0 [07:19:14]OFD Sender: Processing packet 37066 [packets to send 25, broken 24] [07:19:14]ProducePacketName [07:19:14]name=ofd_packets/00037066 [07:19:14]OFD Sender: To server: pG, [07:19:14]CommunicateWithHost lk.salyk.kg:30040 [07:19:14]ConnectInit lk.salyk.kg [07:19:14]written 0, free lines is 4095 [07:19:15]Connected sock=10 [07:19: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 33 37 32 27 01 00 00 46 AD 1F 01 20 99 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 74 5D 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CA 90 00 00 35 04 06 00 3A 43 0A 19 48 CF 3D 00 C0 A6 F4 49 28 40 [07:19:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 8A 08 47 00 15 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 33 37 32 10 04 04 00 CA 90 00 00 F4 03 04 00 0A 06 13 67 B6 04 01 00 00 F1 AC A5 2E 95 BC 35 C0 [07:19:15]CommunicateWithHost err = 0 [07:19:15]CheckOFDResponse [07:19:15]1017 (14) - 77093643461234 [07:19:15]1041 (16) - 0000000000965372 [07:19:15]1040 (4) - 37066 [07:19:15]1012 (4) - 19.10.2024 01:06 [07:19:15]1206 (1) - 0 [07:19:15]OFD Sender: Remove packet 37066 [07:19:15]ProducePacketName [07:19:15]name=ofd_packets/00037066 [07:19:15]NVStorageDeleteData [07:19:15]Write to MH i2c: 01 00 00 CA 02 CC [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: 01 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: 01 07 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 D7 0C B6 [07:19:15]RasterBufferAndPrint [07:19:15]line [07:19:15]line [07:19:15]line [07:19:15]line [07:19:15]line [07:19:15]written 0, free lines is 3294 [07:19:15]process_action close_receipt done [07:19:15]requested_data is exist [07:19:15]produce_requested_data [07:19:15]requested_item fm.sn is exist - process it [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 11 00 00 [07:19:15]Write to MH i2c: E2 08 00 D1 02 80 11 00 00 00 00 00 00 4D [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 17 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 17 00 D1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A0 [07:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:19:15]wFMCommunicate OK [07:19:15]requested_item fd.num is exist - process it [07:19:15]SAM_PROTO_GetFieldsCounters [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 13 00 00 [07:19:15]Write to MH i2c: E2 08 00 D2 02 80 13 00 00 00 00 00 00 50 [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 62 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 62 00 D2 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CA 90 00 00 0E 04 04 00 CC 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 A4 [07:19:15]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CA 90 00 00 0E 04 04 00 CC 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 [07:19:15]wFMCommunicate OK [07:19:15]SAM_PROTO_GetFieldsCounters done [07:19:15]requested_item shift.num is exist - process it [07:19:15]requested_item shift.opened is exist - process it [07:19:15]req_shift_opened [07:19:15]FM_GetShiftState [07:19:15]SAM_PROTO_GetShiftState [07:19:15]wFMCommunicate request_size=4 [07:19:15]MH_SAM_APDU [07:19:15]CAPDU: 80 13 01 00 [07:19:15]Write to MH i2c: E2 08 00 D3 02 80 13 01 00 00 00 00 00 52 [07:19:15]Write i2c OK [07:19:15]MH_I2C_Read... [07:19:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:19:15]Read from MH i2c: E2 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 0E 00 [07:19:15]MH_I2C_Read... [07:19:15]Read from MH i2c: E2 0E 00 D3 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6C [07:19:15]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:19:15]wFMCommunicate OK [07:19:15]SAM_PROTO_GetShiftState done [07:19:15]FM_GetShiftState done [07:19:15]req_shift_opened done [07:19:15]requested_item shift.open_date is exist - process it [07:19:15]req_shift_open_date [07:19:15]req_shift_open_date done [07:19:15]produce_requested_data done [07:19:15]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37066,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [07:19:15]process_action_free close_receipt [07:19:15]json_value_free [07:19:15]json_value_free done [07:19:15]process_json_proto returns [07:19:15]Send response to host [07:19:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37066,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [07:19:15]free response buf [07:19:15]execute_script done [07:19:15]execute_script returns [07:19:15]free content buf [07:19:15]Sock 9.Close socket [07:19:15]Sock 9.Thread stoped [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:11]OFD Sender: No OFD packet to send [07:29:16]OFD Sender: No OFD packet to send [07:29:21]OFD Sender: No OFD packet to send [07:29:26]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:35]accept exits with 7 [07:35:35]New connection [07:35:35]New thread 3067420004 created [07:35:35]Thread 3067563364 joined [07:35:35]Waiting for new connection... [07:35:35] Sock 7.Parse request [07:35:35]Sock 7.Check first char [07:35:35]Sock 7.First char is OK [07:35:35]request: POST /json_proto HTTP/1.0 [07:35:35]Method: POST [07:35:35]URL: /json_proto [07:35:35]Method is POST - this is cgi request [07:35:35]url: /json_proto [07:35:35]query_string will be loaded in cgi processing [07:35:35]execute_cgi json_proto POST (null) [07:35:35]execute_cgi path=json_proto method=POST [07:35:35]POST find Content-Length [07:35:35]Host: 172.17.53.68:8080 [07:35:35]Content-Length: 620 [07:35:35]Content-Type: application/json [07:35:35] [07:35:35]POST finish read [07:35:35]Found Content-Length = 620 [07:35:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76575", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:35:35]execute_script... [07:35:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76575", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:35:35]POST & json_proto [07:35:35]process_json_proto [07:35:35]json parsed OK: [07:35:35]protocol is kg_v1.0 [07:35:35]action value=close_receipt [07:35:35]process_action close_receipt [07:35:35]cmd_close_receipt [07:35:35]MH_GetDate [07:35:35]Write to MH i2c: F0 00 00 D4 02 C5 [07:35:35]Write i2c OK [07:35:35]MH_I2C_Read... [07:35:35]Read from MH i2c: F0 [07:35:35]MH_I2C_Read... [07:35:35]Read from MH i2c: F0 09 00 [07:35:35]MH_I2C_Read... [07:35:35]Read from MH i2c: F0 09 00 D4 02 00 4B 61 13 67 C5 A4 76 66 39 [07:35:35]GetLastDocTimeStamp 1729322356 [07:35:35]current date 1729323339 [07:35:35]FM_GetShiftState [07:35:35]SAM_PROTO_GetShiftState [07:35:35]wFMCommunicate request_size=4 [07:35:35]MH_SAM_APDU [07:35:35]CAPDU: 80 13 01 00 [07:35:35]Write to MH i2c: E2 08 00 D5 02 80 13 01 00 00 00 00 00 54 [07:35:35]Write i2c OK [07:35:35]MH_I2C_Read... [07:35:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:35]Read from MH i2c: E2 [07:35:35]MH_I2C_Read... [07:35:35]Read from MH i2c: E2 0E 00 [07:35:35]MH_I2C_Read... [07:35:35]Read from MH i2c: E2 0E 00 D5 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6E [07:35:35]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:35:35]wFMCommunicate OK [07:35:35]SAM_PROTO_GetShiftState done [07:35:35]FM_GetShiftState done [07:35:35]opened in 1729296796 [07:35:35]opened+sec_in_day 1729383196 [07:35:35]quantity*price = 14400 [07:35:35]sum+1 = 14401 [07:35:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 3 19.10.2024 07:35 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37067 ФПД: 204697260080927 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T073539&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37067&fm=204697260080927&tin=02508201610067®Number=0000000000098149&sum=14400 0 [07:35:36]StoreToDocumentArchive [07:35:36]shift 460 fd 37067 [07:35:36]save to /storage/0460/doc_00037067 [07:35:36]save last doc name /storage/0460/doc_00037067 to /storage/kkm_last_doc_name [07:35:37]save OK [07:35:37]Clear old archive folders... [07:35:37]ProcessDocumentItem done err = 0, tmpTLVsize=273 [07:35:37]tlvbuf is 006058B0 [07:35:37]SAM_PROTO_ClearQueue [07:35:37]wFMCommunicate request_size=4 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 09 00 00 [07:35:37]Write to MH i2c: E2 08 00 E2 02 80 09 00 00 00 00 00 00 56 [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 E2 02 00 90 00 58 [07:35:37]RAPDU: 90 00 [07:35:37]wFMCommunicate OK [07:35:37]SAM_PROTO_ClearQueue done [07:35:37]KKMCreateOFDPacket [07:35:37]OFDProtocolAddRootSTLVToBuf [07:35:37]FM_MakeSignedData [07:35:37]FM_MakeSignedData [07:35:37]SAM_PROTO_SignData [07:35:37]wFMCommunicate request_size=4 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 0D 01 02 [07:35:37]Write to MH i2c: E2 08 00 E3 02 80 0D 01 02 00 00 00 00 5E [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 E3 02 00 90 00 59 [07:35:37]RAPDU: 90 00 [07:35:37]wFMCommunicate OK [07:35:37]wFMCommunicate request_size=255 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 4B 61 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [07:35:37]Write to MH i2c: E2 02 01 E4 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 4B 61 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 C4 [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 E4 02 00 90 00 5A [07:35:37]RAPDU: 90 00 [07:35:37]wFMCommunicate OK [07:35:37]wFMCommunicate request_size=32 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 CB 90 00 00 35 04 06 00 BA 2B CB 79 3F 1F [07:35:37]Write to MH i2c: E2 23 00 E5 02 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 CB 90 00 00 35 04 06 00 BA 2B CB 79 3F 1F 00 00 A0 [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 03 00 E5 02 00 90 00 5B [07:35:37]RAPDU: 90 00 [07:35:37]wFMCommunicate OK [07:35:37]wFMCommunicate request_size=4 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 0D 03 02 [07:35:37]Write to MH i2c: E2 08 00 E6 02 80 0D 03 02 00 00 00 00 63 [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 0B 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 0B 00 E6 02 00 1E 9D 26 1B B8 E8 CA 92 90 00 5C [07:35:37]RAPDU: 1E 9D 26 1B B8 E8 CA 92 90 00 [07:35:37]wFMCommunicate OK [07:35:37]SAM_PROTO_SignData done [07:35:37]FM_MakeSignedData done [07:35:37]CreateOFDProtocolMessage [07:35:37]wFMCommunicate request_size=4 [07:35:37]MH_SAM_APDU [07:35:37]CAPDU: 80 11 00 00 [07:35:37]Write to MH i2c: E2 08 00 E7 02 80 11 00 00 00 00 00 00 63 [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:37]Read from MH i2c: E2 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 17 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: E2 17 00 E7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B6 [07:35:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:35:37]wFMCommunicate OK [07:35:37]CreateOFDProtocolMessage done [07:35:37]OFDSenderStorePacket 37067 [07:35:37]StoreOFDPacket docnum=37067 [07:35:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 29 F6 1D 01 F6 0C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 4B 61 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CB 90 00 00 35 04 06 00 BA 2B CB 79 3F 1F 1E 9D 26 1B B8 E8 CA 92 [07:35:37]CheckFolder [07:35:37]dirname=/storage/ofd_packets [07:35:37]CheckFolder done [07:35:37]ProducePacketName [07:35:37]name=ofd_packets/00037067 [07:35:37]NVStorageSaveData ofd_packets/00037067 [07:35:37]File name is /storage/ofd_packets/00037067 [07:35:37]Write 323 bytes [07:35:37]NVStorageSaveData done [07:35:37]OFDSenderStorePacket done [07:35:37]KKMCreateOFDPacket done [07:35:37]NVStorageSaveData kkm_last_timestamp [07:35:37]File name is /storage/kkm_last_timestamp [07:35:37]Write 4 bytes [07:35:37]NVStorageSaveData done [07:35:37]ExternCall_PrintAddStr [07:35:37]wPrintStart [07:35:37]Write to MH i2c: 01 00 00 E8 02 EA [07:35:37]Write i2c OK [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: 01 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: 01 07 00 [07:35:37]MH_I2C_Read... [07:35:37]Read from MH i2c: 01 07 00 E8 02 00 00 00 00 00 FF 0F FF [07:35:37]RasterBufferAndPrint [07:35:37]line Счет N : (3)76575 [07:35:37]line ИНН: 02508201610067 [07:35:37]line Контрольно-Кассовый Чек [07:35:37]line ПРОДАЖА [07:35:37]line Товар: 48743570 [07:35:37]line Сигареты Winston XStyle Blue [07:35:37]line 1.000 * 144.00 [07:35:37]line = 144.00 [07:35:37]line НДС 12% НСП 1% [07:35:37]line > о реализуемом товаре [07:35:37]line ИТОГО: 144.00 [07:35:37]line НСП 1% : 1.27 [07:35:37]line НДС 12% : 15.29 [07:35:37]line Наличными: 144.00 [07:35:37]line Безнал.: 0.00 [07:35:37]line Место: АЗС № 165 "Партнер Нефть" [07:35:37]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [07:35:37]line СНО: Общий режим [07:35:37]line Чек 3 19.10.2024 07:35 [07:35:37]line Смена: 460 ФФД: 1.0 [07:35:37]line ЗНМ: 0300000235 [07:35:37]line РНМ: 0000000000098149 [07:35:37]line Версия ККМ: 001 [07:35:37]line ФМ: 0000000000965372 [07:35:37]line ФД: 37067 [07:35:37]line ФПД: 204697260080927 [07:35:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T073539&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37067&fm=204697260080927&tin=02508201610067®Number=0000000000098149&sum=14400 [07:35:37]line 0 [07:35:37]OFD Sender: Processing packet 37067 [packets to send 25, broken 24] [07:35:37]ProducePacketName [07:35:37]name=ofd_packets/00037067 [07:35:37]OFD Sender: To server: pG, [07:35:37]CommunicateWithHost lk.salyk.kg:30040 [07:35:37]ConnectInit lk.salyk.kg [07:35:37]written 0, free lines is 4095 [07:35:37]Connected sock=10 [07:35: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 33 37 32 25 01 00 00 29 F6 1D 01 F6 0C 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 4B 61 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CB 90 00 00 35 04 06 00 BA 2B CB 79 3F 1F 1E 9D 26 1B B8 E8 CA 92 [07:35:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C7 83 47 00 16 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CB 90 00 00 F4 03 04 00 E1 09 13 67 B6 04 01 00 00 5D FC 68 64 76 23 32 84 [07:35:38]CommunicateWithHost err = 0 [07:35:38]CheckOFDResponse [07:35:38]1017 (14) - 77093643461234 [07:35:38]1041 (16) - 0000000000965372 [07:35:38]1040 (4) - 37067 [07:35:38]1012 (4) - 19.10.2024 01:22 [07:35:38]1206 (1) - 0 [07:35:38]OFD Sender: Remove packet 37067 [07:35:38]ProducePacketName [07:35:38]name=ofd_packets/00037067 [07:35:38]NVStorageDeleteData [07:35:38]Write to MH i2c: 01 00 00 10 03 13 [07:35:38]Write i2c OK [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: 01 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: 01 07 00 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: 01 07 00 10 03 00 00 00 00 00 02 0D 29 [07:35:38]RasterBufferAndPrint [07:35:38]line [07:35:38]line [07:35:38]line [07:35:38]line [07:35:38]line [07:35:38]written 0, free lines is 3337 [07:35:38]process_action close_receipt done [07:35:38]requested_data is exist [07:35:38]produce_requested_data [07:35:38]requested_item fm.sn is exist - process it [07:35:38]wFMCommunicate request_size=4 [07:35:38]MH_SAM_APDU [07:35:38]CAPDU: 80 11 00 00 [07:35:38]Write to MH i2c: E2 08 00 17 03 80 11 00 00 00 00 00 00 94 [07:35:38]Write i2c OK [07:35:38]MH_I2C_Read... [07:35:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:38]Read from MH i2c: E2 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 17 00 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 17 00 17 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E7 [07:35:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:35:38]wFMCommunicate OK [07:35:38]requested_item fd.num is exist - process it [07:35:38]SAM_PROTO_GetFieldsCounters [07:35:38]wFMCommunicate request_size=4 [07:35:38]MH_SAM_APDU [07:35:38]CAPDU: 80 13 00 00 [07:35:38]Write to MH i2c: E2 08 00 18 03 80 13 00 00 00 00 00 00 97 [07:35:38]Write i2c OK [07:35:38]MH_I2C_Read... [07:35:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:35:38]Read from MH i2c: E2 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 62 00 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 62 00 18 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CB 90 00 00 0E 04 04 00 CC 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 EF [07:35: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CB 90 00 00 0E 04 04 00 CC 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 [07:35:38]wFMCommunicate OK [07:35:38]SAM_PROTO_GetFieldsCounters done [07:35:38]requested_item shift.num is exist - process it [07:35:38]requested_item shift.opened is exist - process it [07:35:38]req_shift_opened [07:35:38]FM_GetShiftState [07:35:38]SAM_PROTO_GetShiftState [07:35:38]wFMCommunicate request_size=4 [07:35:38]MH_SAM_APDU [07:35:38]CAPDU: 80 13 01 00 [07:35:38]Write to MH i2c: E2 08 00 19 03 80 13 01 00 00 00 00 00 99 [07:35:38]Write i2c OK [07:35:38]MH_I2C_Read... [07:35:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:38]Read from MH i2c: E2 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 0E 00 [07:35:38]MH_I2C_Read... [07:35:38]Read from MH i2c: E2 0E 00 19 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B3 [07:35:38]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:35:38]wFMCommunicate OK [07:35:38]SAM_PROTO_GetShiftState done [07:35:38]FM_GetShiftState done [07:35:38]req_shift_opened done [07:35:38]requested_item shift.open_date is exist - process it [07:35:38]req_shift_open_date [07:35:38]req_shift_open_date done [07:35:38]produce_requested_data done [07:35:38]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37067,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [07:35:38]process_action_free close_receipt [07:35:38]json_value_free [07:35:38]json_value_free done [07:35:38]process_json_proto returns [07:35:38]Send response to host [07:35:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37067,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [07:35:38]free response buf [07:35:38]execute_script done [07:35:38]execute_script returns [07:35:38]free content buf [07:35:38]Sock 7.Close socket [07:35:38]Sock 7.Thread stoped [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40: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:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:29]accept exits with 9 [07:59:29]New connection [07:59:29]New thread 3067563364 created [07:59:29]Thread 3067420004 joined [07:59:29]Waiting for new connection... [07:59:29] Sock 9.Parse request [07:59:29]Sock 9.Check first char [07:59:29]Sock 9.First char is OK [07:59:29]request: POST /json_proto HTTP/1.0 [07:59:29]Method: POST [07:59:29]URL: /json_proto [07:59:29]Method is POST - this is cgi request [07:59:29]url: /json_proto [07:59:29]query_string will be loaded in cgi processing [07:59:29]execute_cgi json_proto POST (null) [07:59:29]execute_cgi path=json_proto method=POST [07:59:29]POST find Content-Length [07:59:29]Host: 172.17.53.68:8080 [07:59:29]Content-Length: 1260 [07:59:29]Content-Type: application/json [07:59:29] [07:59:29]POST finish read [07:59:29]Found Content-Length = 1260 [07:59:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76576", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 3.000, "sum" : 480.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290003032", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 \u042F\u0448\u043A\u0438\u043D\u043E \u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439 \u0445\u0440\u0443\u0441\u0442 \u0441 \u043A\u0443\u043D\u0436\u0443\u0442", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:29]execute_script... [07:59: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)76576", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 3.000, "sum" : 480.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290003032", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 \u042F\u0448\u043A\u0438\u043D\u043E \u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439 \u0445\u0440\u0443\u0441\u0442 \u0441 \u043A\u0443\u043D\u0436\u0443\u0442", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 630.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:59:29]POST & json_proto [07:59:29]process_json_proto [07:59:29]json parsed OK: [07:59:29]protocol is kg_v1.0 [07:59:29]action value=close_receipt [07:59:29]process_action close_receipt [07:59:29]cmd_close_receipt [07:59:29]MH_GetDate [07:59:29]Write to MH i2c: F0 00 00 1A 03 0C [07:59:29]Write i2c OK [07:59:29]MH_I2C_Read... [07:59:29]Read from MH i2c: F0 [07:59:29]MH_I2C_Read... [07:59:29]Read from MH i2c: F0 09 00 [07:59:29]MH_I2C_Read... [07:59:29]Read from MH i2c: F0 09 00 1A 03 00 E5 66 13 67 C5 A4 76 66 1F [07:59:29]GetLastDocTimeStamp 1729323339 [07:59:29]current date 1729324773 [07:59:29]FM_GetShiftState [07:59:29]SAM_PROTO_GetShiftState [07:59:29]wFMCommunicate request_size=4 [07:59:29]MH_SAM_APDU [07:59:29]CAPDU: 80 13 01 00 [07:59:29]Write to MH i2c: E2 08 00 1B 03 80 13 01 00 00 00 00 00 9B [07:59:29]Write i2c OK [07:59:29]MH_I2C_Read... [07:59:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:29]Read from MH i2c: E2 [07:59:29]MH_I2C_Read... [07:59:29]Read from MH i2c: E2 0E 00 [07:59:29]MH_I2C_Read... [07:59:30]Read from MH i2c: E2 0E 00 1B 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B5 [07:59:30]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:59:30]wFMCommunicate OK [07:59:30]SAM_PROTO_GetShiftState done [07:59:30]FM_GetShiftState done [07:59:30]opened in 1729296796 [07:59:30]opened+sec_in_day 1729383196 [07:59:30]quantity*price = 8000 [07:59:30]sum+1 = 8001 [07:59:30]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48742245 Сигареты Parliament Silver Blue 3.000 * 160.00 = 480.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290003032 Крекер Яшкино Французский хруст с кунжут 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 630.00 НСП 1% : 5.58 НДС 12% : 66.90 Наличными: 630.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 4 19.10.2024 07:59 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37068 ФПД: 234988135365007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T075933&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37068&fm=234988135365007&tin=02508201610067®Number=0000000000098149&sum=63000 0 [07:59:31]StoreToDocumentArchive [07:59:31]shift 460 fd 37068 [07:59:31]save to /storage/0460/doc_00037068 [07:59:31]save last doc name /storage/0460/doc_00037068 to /storage/kkm_last_doc_name [07:59:31]save OK [07:59:31]Clear old archive folders... [07:59:31]ProcessDocumentItem done err = 0, tmpTLVsize=525 [07:59:31]tlvbuf is 0060B940 [07:59:31]SAM_PROTO_ClearQueue [07:59:31]wFMCommunicate request_size=4 [07:59:31]MH_SAM_APDU [07:59:31]CAPDU: 80 09 00 00 [07:59:31]Write to MH i2c: E2 08 00 28 03 80 09 00 00 00 00 00 00 9D [07:59:31]Write i2c OK [07:59:31]MH_I2C_Read... [07:59:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:59:31]Read from MH i2c: E2 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 28 03 00 90 00 9F [07:59:31]RAPDU: 90 00 [07:59:31]wFMCommunicate OK [07:59:31]SAM_PROTO_ClearQueue done [07:59:31]KKMCreateOFDPacket [07:59:31]OFDProtocolAddRootSTLVToBuf [07:59:31]FM_MakeSignedData [07:59:31]FM_MakeSignedData [07:59:31]SAM_PROTO_SignData [07:59:31]wFMCommunicate request_size=4 [07:59:31]MH_SAM_APDU [07:59:31]CAPDU: 80 0D 01 02 [07:59:31]Write to MH i2c: E2 08 00 29 03 80 0D 01 02 00 00 00 00 A5 [07:59:31]Write i2c OK [07:59:31]MH_I2C_Read... [07:59:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:59:31]Read from MH i2c: E2 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 29 03 00 90 00 A0 [07:59:31]RAPDU: 90 00 [07:59:31]wFMCommunicate OK [07:59:31]wFMCommunicate request_size=255 [07:59:31]MH_SAM_APDU [07:59:31]CAPDU: 80 0D 02 02 FA 03 00 0D 02 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 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 B8 0B 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8F 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 33 30 33 32 06 04 4B 00 D0 9A D1 80 D0 B5 D0 BA [07:59:31]Write to MH i2c: E2 02 01 2A 03 80 0D 02 02 FA 00 03 00 0D 02 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 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 B8 0B 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8F 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 33 30 33 32 06 04 4B 00 D0 9A D1 80 D0 B5 D0 BA 00 00 7F [07:59:31]Write i2c OK [07:59:31]MH_I2C_Read... [07:59:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:31]Read from MH i2c: E2 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 [07:59:31]MH_I2C_Read... [07:59:31]Read from MH i2c: E2 03 00 2A 03 00 90 00 A1 [07:59:31]RAPDU: 90 00 [07:59:31]wFMCommunicate OK [07:59:31]wFMCommunicate request_size=255 [07:59:31]MH_SAM_APDU [07:59:31]CAPDU: 80 0D 02 02 FA D0 B5 D1 80 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 A4 D1 80 D0 B0 D0 BD D1 86 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 85 D1 80 D1 83 D1 81 D1 82 20 D1 81 20 D0 BA D1 83 D0 BD D0 B6 D1 83 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 66 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [07:59:31]Write to MH i2c: E2 02 01 2B 03 80 0D 02 02 FA 00 D0 B5 D1 80 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 A4 D1 80 D0 B0 D0 BD D1 86 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 85 D1 80 D1 83 D1 81 D1 82 20 D1 81 20 D0 BA D1 83 D0 BD D0 B6 D1 83 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 66 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 62 [07:59:31]Write i2c OK [07:59:31]MH_I2C_Read... [07:59:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:32]Read from MH i2c: E2 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 03 00 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 03 00 2B 03 00 90 00 A2 [07:59:32]RAPDU: 90 00 [07:59:32]wFMCommunicate OK [07:59:32]wFMCommunicate request_size=34 [07:59:32]MH_SAM_APDU [07:59:32]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CC 90 00 00 35 04 06 00 D5 B8 70 55 B9 8F [07:59:32]Write to MH i2c: E2 25 00 2C 03 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CC 90 00 00 35 04 06 00 D5 B8 70 55 B9 8F 00 00 60 [07:59:32]Write i2c OK [07:59:32]MH_I2C_Read... [07:59:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:59:32]Read from MH i2c: E2 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 03 00 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 03 00 2C 03 00 90 00 A3 [07:59:32]RAPDU: 90 00 [07:59:32]wFMCommunicate OK [07:59:32]wFMCommunicate request_size=4 [07:59:32]MH_SAM_APDU [07:59:32]CAPDU: 80 0D 03 02 [07:59:32]Write to MH i2c: E2 08 00 2D 03 80 0D 03 02 00 00 00 00 AB [07:59:32]Write i2c OK [07:59:32]MH_I2C_Read... [07:59:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:59:32]Read from MH i2c: E2 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 0B 00 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 0B 00 2D 03 00 F5 56 EB 7B 9B 38 D7 55 90 00 5C [07:59:32]RAPDU: F5 56 EB 7B 9B 38 D7 55 90 00 [07:59:32]wFMCommunicate OK [07:59:32]SAM_PROTO_SignData done [07:59:32]FM_MakeSignedData done [07:59:32]CreateOFDProtocolMessage [07:59:32]wFMCommunicate request_size=4 [07:59:32]MH_SAM_APDU [07:59:32]CAPDU: 80 11 00 00 [07:59:32]Write to MH i2c: E2 08 00 2E 03 80 11 00 00 00 00 00 00 AB [07:59:32]Write i2c OK [07:59:32]MH_I2C_Read... [07:59:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:32]Read from MH i2c: E2 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 17 00 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: E2 17 00 2E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FE [07:59:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:59:32]wFMCommunicate OK [07:59:32]CreateOFDProtocolMessage done [07:59:32]OFDSenderStorePacket 37068 [07:59:32]StoreOFDPacket docnum=37068 [07:59:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 21 02 00 00 5E E9 19 02 16 95 5A 03 01 00 03 00 0D 02 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 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 B8 0B 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8F 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 33 30 33 32 06 04 4B 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 A4 D1 80 D0 B0 D0 BD D1 86 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 85 D1 80 D1 83 D1 81 D1 82 20 D1 81 20 D0 BA D1 83 D0 BD D0 B6 D1 83 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 66 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CC 90 00 00 35 04 06 00 D5 B8 70 55 B9 8F F5 56 EB 7B 9B 38 D7 55 [07:59:32]CheckFolder [07:59:32]dirname=/storage/ofd_packets [07:59:32]CheckFolder done [07:59:32]ProducePacketName [07:59:32]name=ofd_packets/00037068 [07:59:32]NVStorageSaveData ofd_packets/00037068 [07:59:32]File name is /storage/ofd_packets/00037068 [07:59:32]Write 575 bytes [07:59:32]NVStorageSaveData done [07:59:32]OFDSenderStorePacket done [07:59:32]KKMCreateOFDPacket done [07:59:32]NVStorageSaveData kkm_last_timestamp [07:59:32]File name is /storage/kkm_last_timestamp [07:59:32]Write 4 bytes [07:59:32]NVStorageSaveData done [07:59:32]ExternCall_PrintAddStr [07:59:32]wPrintStart [07:59:32]Write to MH i2c: 01 00 00 2F 03 32 [07:59:32]Write i2c OK [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: 01 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: 01 07 00 [07:59:32]MH_I2C_Read... [07:59:32]Read from MH i2c: 01 07 00 2F 03 00 00 00 00 00 FF 0F 47 [07:59:32]RasterBufferAndPrint [07:59:32]line Счет N : (3)76576 [07:59:32]line ИНН: 02508201610067 [07:59:32]line Контрольно-Кассовый Чек [07:59:32]line ПРОДАЖА [07:59:32]line Товар: 2000039450010 [07:59:32]line Чай зеленый 200 мл [07:59:32]line 2.000 * 40.00 [07:59:32]line = 80.00 [07:59:32]line НДС 12% НСП 1% [07:59:32]line > о реализуемом товаре [07:59:32]line Товар: 48742245 [07:59:32]line Сигареты Parliament Silver Blue [07:59:32]line 3.000 * 160.00 [07:59:32]line = 480.00 [07:59:32]line НДС 12% НСП 1% [07:59:32]line > о реализуемом товаре [07:59:32]line Товар: 4603290003032 [07:59:32]line Крекер Яшкино Французский хруст с кунжут [07:59:32]line 1.000 * 70.00 [07:59:32]line = 70.00 [07:59:32]line НДС 12% НСП 1% [07:59:32]line > о реализуемом товаре [07:59:32]line ИТОГО: 630.00 [07:59:32]line НСП 1% : 5.58 [07:59:32]line НДС 12% : 66.90 [07:59:32]line Наличными: 630.00 [07:59:32]line Безнал.: 0.00 [07:59:32]line Место: АЗС № 165 "Партнер Нефть" [07:59:32]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [07:59:32]line СНО: Общий режим [07:59:32]line Чек 4 19.10.2024 07:59 [07:59:32]line Смена: 460 ФФД: 1.0 [07:59:32]line ЗНМ: 0300000235 [07:59:32]line РНМ: 0000000000098149 [07:59:32]line Версия ККМ: 001 [07:59:32]line ФМ: 0000000000965372 [07:59:32]line ФД: 37068 [07:59:32]line ФПД: 234988135365007 [07:59:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T075933&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37068&fm=234988135365007&tin=02508201610067®Number=0000000000098149&sum=63000 [07:59:32]OFD Sender: Processing packet 37068 [packets to send 25, broken 24] [07:59:32]ProducePacketName [07:59:32]name=ofd_packets/00037068 [07:59:32]OFD Sender: To server: pG, [07:59:32]CommunicateWithHost lk.salyk.kg:30040 [07:59:32]ConnectInit lk.salyk.kg [07:59:32]line 0 [07:59:32]written 0, free lines is 4095 [07:59:32]Connected sock=10 [07:59: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 33 37 32 21 02 00 00 5E E9 19 02 16 95 5A 03 01 00 03 00 0D 02 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 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 B8 0B 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8F 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 33 30 33 32 06 04 4B 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 A4 D1 80 D0 B0 D0 BD D1 86 D1 83 D0 B7 D1 81 D0 BA D0 B8 D0 B9 20 D1 85 D1 80 D1 83 D1 81 D1 82 20 D1 81 20 D0 BA D1 83 D0 BD D0 B6 D1 83 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 F6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 1A 00 00 00 00 07 04 06 00 18 F6 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 E5 66 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CC 90 00 00 35 04 06 00 D5 B8 70 55 B9 8F F5 56 EB 7B 9B 38 D7 55 [07:59:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 01 C2 47 00 C5 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CC 90 00 00 F4 03 04 00 7C 0F 13 67 B6 04 01 00 00 EE 7B F0 A1 CB 3D C1 23 [07:59:33]CommunicateWithHost err = 0 [07:59:33]CheckOFDResponse [07:59:33]1017 (14) - 77093643461234 [07:59:33]1041 (16) - 0000000000965372 [07:59:33]1040 (4) - 37068 [07:59:33]1012 (4) - 19.10.2024 01:46 [07:59:33]1206 (1) - 0 [07:59:33]OFD Sender: Remove packet 37068 [07:59:33]ProducePacketName [07:59:33]name=ofd_packets/00037068 [07:59:33]NVStorageDeleteData [07:59:33]Write to MH i2c: 01 00 00 65 03 68 [07:59:33]Write i2c OK [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: 01 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: 01 07 00 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: 01 07 00 65 03 00 00 00 00 00 0F 0C 8A [07:59:33]RasterBufferAndPrint [07:59:33]line [07:59:33]line [07:59:33]line [07:59:33]line [07:59:33]line [07:59:33]written 0, free lines is 3093 [07:59:33]process_action close_receipt done [07:59:33]requested_data is exist [07:59:33]produce_requested_data [07:59:33]requested_item fm.sn is exist - process it [07:59:33]wFMCommunicate request_size=4 [07:59:33]MH_SAM_APDU [07:59:33]CAPDU: 80 11 00 00 [07:59:33]Write to MH i2c: E2 08 00 6C 03 80 11 00 00 00 00 00 00 E9 [07:59:33]Write i2c OK [07:59:33]MH_I2C_Read... [07:59:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:59:33]Read from MH i2c: E2 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 17 00 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 17 00 6C 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3C [07:59:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [07:59:33]wFMCommunicate OK [07:59:33]requested_item fd.num is exist - process it [07:59:33]SAM_PROTO_GetFieldsCounters [07:59:33]wFMCommunicate request_size=4 [07:59:33]MH_SAM_APDU [07:59:33]CAPDU: 80 13 00 00 [07:59:33]Write to MH i2c: E2 08 00 6D 03 80 13 00 00 00 00 00 00 EC [07:59:33]Write i2c OK [07:59:33]MH_I2C_Read... [07:59:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:59:33]Read from MH i2c: E2 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 62 00 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 62 00 6D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CC 90 00 00 0E 04 04 00 CC 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 48 [07:59: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CC 90 00 00 0E 04 04 00 CC 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:59:33]wFMCommunicate OK [07:59:33]SAM_PROTO_GetFieldsCounters done [07:59:33]requested_item shift.num is exist - process it [07:59:33]requested_item shift.opened is exist - process it [07:59:33]req_shift_opened [07:59:33]FM_GetShiftState [07:59:33]SAM_PROTO_GetShiftState [07:59:33]wFMCommunicate request_size=4 [07:59:33]MH_SAM_APDU [07:59:33]CAPDU: 80 13 01 00 [07:59:33]Write to MH i2c: E2 08 00 6E 03 80 13 01 00 00 00 00 00 EE [07:59:33]Write i2c OK [07:59:33]MH_I2C_Read... [07:59:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:59:33]Read from MH i2c: E2 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 0E 00 [07:59:33]MH_I2C_Read... [07:59:33]Read from MH i2c: E2 0E 00 6E 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 08 [07:59:33]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [07:59:33]wFMCommunicate OK [07:59:33]SAM_PROTO_GetShiftState done [07:59:33]FM_GetShiftState done [07:59:33]req_shift_opened done [07:59:33]requested_item shift.open_date is exist - process it [07:59:33]req_shift_open_date [07:59:33]req_shift_open_date done [07:59:33]produce_requested_data done [07:59:33]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37068,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [07:59:33]process_action_free close_receipt [07:59:33]json_value_free [07:59:33]json_value_free done [07:59:33]process_json_proto returns [07:59:33]Send response to host [07:59:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37068,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [07:59:33]free response buf [07:59:33]execute_script done [07:59:33]execute_script returns [07:59:33]free content buf [07:59:33]Sock 9.Close socket [07:59:33]Sock 9.Thread stoped [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:18]OFD Sender: No OFD packet to send [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:53]OFD Sender: No OFD packet to send [08:06:58]OFD Sender: No OFD packet to send [08:07:03]OFD Sender: No OFD packet to send [08:07:08]OFD Sender: No OFD packet to send [08:07:13]OFD Sender: No OFD packet to send [08:07:18]OFD Sender: No OFD packet to send [08:07:23]OFD Sender: No OFD packet to send [08:07:28]OFD Sender: No OFD packet to send [08:07:33]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:24]accept exits with 7 [08:08:24]New connection [08:08:24]New thread 3067420004 created [08:08:24]Thread 3067563364 joined [08:08:24]Waiting for new connection... [08:08:24] Sock 7.Parse request [08:08:24]Sock 7.Check first char [08:08:24]Sock 7.First char is OK [08:08:24]request: POST /json_proto HTTP/1.0 [08:08:24]Method: POST [08:08:24]URL: /json_proto [08:08:24]Method is POST - this is cgi request [08:08:24]url: /json_proto [08:08:24]query_string will be loaded in cgi processing [08:08:24]execute_cgi json_proto POST (null) [08:08:24]execute_cgi path=json_proto method=POST [08:08:24]POST find Content-Length [08:08:24]Host: 172.17.53.68:8080 [08:08:24]Content-Length: 919 [08:08:24]Content-Type: application/json [08:08:24] [08:08:24]POST finish read [08:08:24]Found Content-Length = 919 [08:08:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76577", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:24]execute_script... [08:08: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)76577", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:08:24]POST & json_proto [08:08:24]process_json_proto [08:08:24]json parsed OK: [08:08:24]protocol is kg_v1.0 [08:08:24]action value=close_receipt [08:08:24]process_action close_receipt [08:08:24]cmd_close_receipt [08:08:24]MH_GetDate [08:08:24]Write to MH i2c: F0 00 00 6F 03 61 [08:08:24]Write i2c OK [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: F0 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: F0 09 00 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: F0 09 00 6F 03 00 FC 68 13 67 C5 A4 76 66 8D [08:08:24]GetLastDocTimeStamp 1729324773 [08:08:24]current date 1729325308 [08:08:24]FM_GetShiftState [08:08:24]SAM_PROTO_GetShiftState [08:08:24]wFMCommunicate request_size=4 [08:08:24]MH_SAM_APDU [08:08:24]CAPDU: 80 13 01 00 [08:08:24]Write to MH i2c: E2 08 00 70 03 80 13 01 00 00 00 00 00 F0 [08:08:24]Write i2c OK [08:08:24]MH_I2C_Read... [08:08:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:24]Read from MH i2c: E2 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 0E 00 [08:08:24]MH_I2C_Read... [08:08:24]Read from MH i2c: E2 0E 00 70 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0A [08:08:24]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:08:24]wFMCommunicate OK [08:08:24]SAM_PROTO_GetShiftState done [08:08:24]FM_GetShiftState done [08:08:24]opened in 1729296796 [08:08:24]opened+sec_in_day 1729383196 [08:08:24]quantity*price = 8900 [08:08:24]sum+1 = 8901 [08:08:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000039440011 Чай черный 200 мл 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 5 19.10.2024 08:08 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37069 ФПД: 229930671865106 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T080828&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37069&fm=229930671865106&tin=02508201610067®Number=0000000000098149&sum=12900 0 [08:08:26]StoreToDocumentArchive [08:08:26]shift 460 fd 37069 [08:08:26]save to /storage/0460/doc_00037069 [08:08:26]save last doc name /storage/0460/doc_00037069 to /storage/kkm_last_doc_name [08:08:26]save OK [08:08:26]Clear old archive folders... [08:08:26]ProcessDocumentItem done err = 0, tmpTLVsize=386 [08:08:26]tlvbuf is 0060EDE0 [08:08:26]SAM_PROTO_ClearQueue [08:08:26]wFMCommunicate request_size=4 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 09 00 00 [08:08:26]Write to MH i2c: E2 08 00 7D 03 80 09 00 00 00 00 00 00 F2 [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 7D 03 00 90 00 F4 [08:08:26]RAPDU: 90 00 [08:08:26]wFMCommunicate OK [08:08:26]SAM_PROTO_ClearQueue done [08:08:26]KKMCreateOFDPacket [08:08:26]OFDProtocolAddRootSTLVToBuf [08:08:26]FM_MakeSignedData [08:08:26]FM_MakeSignedData [08:08:26]SAM_PROTO_SignData [08:08:26]wFMCommunicate request_size=4 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 0D 01 02 [08:08:26]Write to MH i2c: E2 08 00 7E 03 80 0D 01 02 00 00 00 00 FA [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 7E 03 00 90 00 F5 [08:08:26]RAPDU: 90 00 [08:08:26]wFMCommunicate OK [08:08:26]wFMCommunicate request_size=255 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 0D 02 02 FA 03 00 82 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 [08:08:26]Write to MH i2c: E2 02 01 7F 03 80 0D 02 02 FA 00 03 00 82 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 00 00 D9 [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 7F 03 00 90 00 F6 [08:08:26]RAPDU: 90 00 [08:08:26]wFMCommunicate OK [08:08:26]wFMCommunicate request_size=145 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 0D 02 02 8C 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FC 68 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CD 90 00 00 35 04 06 00 D1 1E E8 04 FD 12 [08:08:26]Write to MH i2c: E2 94 00 80 03 80 0D 02 02 8C 00 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FC 68 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CD 90 00 00 35 04 06 00 D1 1E E8 04 FD 12 00 00 AC [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 03 00 80 03 00 90 00 F7 [08:08:26]RAPDU: 90 00 [08:08:26]wFMCommunicate OK [08:08:26]wFMCommunicate request_size=4 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 0D 03 02 [08:08:26]Write to MH i2c: E2 08 00 81 03 80 0D 03 02 00 00 00 00 FF [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 0B 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 0B 00 81 03 00 CD 81 7B 50 24 5B AF 13 90 00 5A [08:08:26]RAPDU: CD 81 7B 50 24 5B AF 13 90 00 [08:08:26]wFMCommunicate OK [08:08:26]SAM_PROTO_SignData done [08:08:26]FM_MakeSignedData done [08:08:26]CreateOFDProtocolMessage [08:08:26]wFMCommunicate request_size=4 [08:08:26]MH_SAM_APDU [08:08:26]CAPDU: 80 11 00 00 [08:08:26]Write to MH i2c: E2 08 00 82 03 80 11 00 00 00 00 00 00 FF [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:26]Read from MH i2c: E2 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 17 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: E2 17 00 82 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 52 [08:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:08:26]wFMCommunicate OK [08:08:26]CreateOFDProtocolMessage done [08:08:26]OFDSenderStorePacket 37069 [08:08:26]StoreOFDPacket docnum=37069 [08:08:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 96 01 00 00 EE CA 8E 01 DB F7 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FC 68 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CD 90 00 00 35 04 06 00 D1 1E E8 04 FD 12 CD 81 7B 50 24 5B AF 13 [08:08:26]CheckFolder [08:08:26]dirname=/storage/ofd_packets [08:08:26]CheckFolder done [08:08:26]ProducePacketName [08:08:26]name=ofd_packets/00037069 [08:08:26]NVStorageSaveData ofd_packets/00037069 [08:08:26]File name is /storage/ofd_packets/00037069 [08:08:26]Write 436 bytes [08:08:26]NVStorageSaveData done [08:08:26]OFDSenderStorePacket done [08:08:26]KKMCreateOFDPacket done [08:08:26]NVStorageSaveData kkm_last_timestamp [08:08:26]File name is /storage/kkm_last_timestamp [08:08:26]Write 4 bytes [08:08:26]NVStorageSaveData done [08:08:26]ExternCall_PrintAddStr [08:08:26]wPrintStart [08:08:26]Write to MH i2c: 01 00 00 83 03 86 [08:08:26]Write i2c OK [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 07 00 [08:08:26]MH_I2C_Read... [08:08:26]Read from MH i2c: 01 07 00 83 03 00 00 00 00 00 FF 0F 9B [08:08:26]RasterBufferAndPrint [08:08:26]line Счет N : (3)76577 [08:08:26]line ИНН: 02508201610067 [08:08:26]line Контрольно-Кассовый Чек [08:08:27]line ПРОДАЖА [08:08:27]line Товар: 4700040114120 [08:08:27]line Султан чай 1л. чер персик [08:08:27]line 1.000 * 89.00 [08:08:27]line = 89.00 [08:08:27]line НДС 12% НСП 1% [08:08:27]line > о реализуемом товаре [08:08:27]line Товар: 2000039440011 [08:08:27]line Чай черный 200 мл [08:08:27]line 1.000 * 40.00 [08:08:27]line = 40.00 [08:08:27]line НДС 12% НСП 1% [08:08:27]line > о реализуемом товаре [08:08:27]line ИТОГО: 129.00 [08:08:27]line НСП 1% : 1.14 [08:08:27]line НДС 12% : 13.70 [08:08:27]line Наличными: 129.00 [08:08:27]line Безнал.: 0.00 [08:08:27]line Место: АЗС № 165 "Партнер Нефть" [08:08:27]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:08:27]line СНО: Общий режим [08:08:27]line Чек 5 19.10.2024 08:08 [08:08:27]line Смена: 460 ФФД: 1.0 [08:08:27]line ЗНМ: 0300000235 [08:08:27]line РНМ: 0000000000098149 [08:08:27]line Версия ККМ: 001 [08:08:27]line ФМ: 0000000000965372 [08:08:27]line ФД: 37069 [08:08:27]line ФПД: 229930671865106 [08:08:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T080828&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37069&fm=229930671865106&tin=02508201610067®Number=0000000000098149&sum=12900 [08:08:27]line 0 [08:08:27]OFD Sender: Processing packet 37069 [packets to send 25, broken 24] [08:08:27]ProducePacketName [08:08:27]name=ofd_packets/00037069 [08:08:27]OFD Sender: To server: pG, [08:08:27]CommunicateWithHost lk.salyk.kg:30040 [08:08:27]ConnectInit lk.salyk.kg [08:08:27]written 0, free lines is 4095 [08:08:27]Connected sock=10 [08:08:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 96 01 00 00 EE CA 8E 01 DB F7 5A 03 01 00 03 00 82 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FC 68 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CD 90 00 00 35 04 06 00 D1 1E E8 04 FD 12 CD 81 7B 50 24 5B AF 13 [08:08:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 9C BE 47 00 2D D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 CD 90 00 00 F4 03 04 00 92 11 13 67 B6 04 01 00 00 47 8A 5B 6E CF AD C3 21 [08:08:27]CommunicateWithHost err = 0 [08:08:27]CheckOFDResponse [08:08:27]1017 (14) - 77093643461234 [08:08:27]1041 (16) - 0000000000965372 [08:08:27]1040 (4) - 37069 [08:08:27]1012 (4) - 19.10.2024 01:55 [08:08:27]1206 (1) - 0 [08:08:27]OFD Sender: Remove packet 37069 [08:08:27]ProducePacketName [08:08:27]name=ofd_packets/00037069 [08:08:27]NVStorageDeleteData [08:08:27]Write to MH i2c: 01 00 00 B1 03 B4 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: 01 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: 01 07 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: 01 07 00 B1 03 00 00 00 00 00 A4 0C 6B [08:08:27]RasterBufferAndPrint [08:08:27]line [08:08:27]line [08:08:27]line [08:08:27]line [08:08:27]line [08:08:27]written 0, free lines is 3242 [08:08:27]process_action close_receipt done [08:08:27]requested_data is exist [08:08:27]produce_requested_data [08:08:27]requested_item fm.sn is exist - process it [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 11 00 00 [08:08:27]Write to MH i2c: E2 08 00 B8 03 80 11 00 00 00 00 00 00 35 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 17 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 17 00 B8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 88 [08:08:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:08:27]wFMCommunicate OK [08:08:27]requested_item fd.num is exist - process it [08:08:27]SAM_PROTO_GetFieldsCounters [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 13 00 00 [08:08:27]Write to MH i2c: E2 08 00 B9 03 80 13 00 00 00 00 00 00 38 [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 62 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 62 00 B9 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CD 90 00 00 0E 04 04 00 CC 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 98 [08:08:27]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CD 90 00 00 0E 04 04 00 CC 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:08:27]wFMCommunicate OK [08:08:27]SAM_PROTO_GetFieldsCounters done [08:08:27]requested_item shift.num is exist - process it [08:08:27]requested_item shift.opened is exist - process it [08:08:27]req_shift_opened [08:08:27]FM_GetShiftState [08:08:27]SAM_PROTO_GetShiftState [08:08:27]wFMCommunicate request_size=4 [08:08:27]MH_SAM_APDU [08:08:27]CAPDU: 80 13 01 00 [08:08:27]Write to MH i2c: E2 08 00 BA 03 80 13 01 00 00 00 00 00 3A [08:08:27]Write i2c OK [08:08:27]MH_I2C_Read... [08:08:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:08:27]Read from MH i2c: E2 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 0E 00 [08:08:27]MH_I2C_Read... [08:08:27]Read from MH i2c: E2 0E 00 BA 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 54 [08:08:27]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:08:27]wFMCommunicate OK [08:08:27]SAM_PROTO_GetShiftState done [08:08:27]FM_GetShiftState done [08:08:27]req_shift_opened done [08:08:27]requested_item shift.open_date is exist - process it [08:08:27]req_shift_open_date [08:08:27]req_shift_open_date done [08:08:27]produce_requested_data done [08:08:27]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37069,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:08:27]process_action_free close_receipt [08:08:27]json_value_free [08:08:27]json_value_free done [08:08:27]process_json_proto returns [08:08:27]Send response to host [08:08:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37069,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:08:27]free response buf [08:08:27]execute_script done [08:08:27]execute_script returns [08:08:27]free content buf [08:08:27]Sock 7.Close socket [08:08:27]Sock 7.Thread stoped [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:33]accept exits with 9 [08:13:33]New connection [08:13:33]New thread 3067563364 created [08:13:33]Thread 3067420004 joined [08:13:33]Waiting for new connection... [08:13:33] Sock 9.Parse request [08:13:33]Sock 9.Check first char [08:13:33]Sock 9.First char is OK [08:13:33]request: POST /json_proto HTTP/1.0 [08:13:33]Method: POST [08:13:33]URL: /json_proto [08:13:33]Method is POST - this is cgi request [08:13:33]url: /json_proto [08:13:33]query_string will be loaded in cgi processing [08:13:33]execute_cgi json_proto POST (null) [08:13:33]execute_cgi path=json_proto method=POST [08:13:33]POST find Content-Length [08:13:33]Host: 172.17.53.68:8080 [08:13:33]Content-Length: 625 [08:13:33]Content-Type: application/json [08:13:33] [08:13:33]POST finish read [08:13:33]Found Content-Length = 625 [08:13:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76578", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:13:33]execute_script... [08:13:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76578", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:13:33]POST & json_proto [08:13:33]process_json_proto [08:13:33]json parsed OK: [08:13:33]protocol is kg_v1.0 [08:13:33]action value=close_receipt [08:13:33]process_action close_receipt [08:13:33]cmd_close_receipt [08:13:33]MH_GetDate [08:13:33]Write to MH i2c: F0 00 00 BB 03 AD [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: F0 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: F0 09 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: F0 09 00 BB 03 00 30 6A 13 67 C5 A4 76 66 0F [08:13:33]GetLastDocTimeStamp 1729325308 [08:13:33]current date 1729325616 [08:13:33]FM_GetShiftState [08:13:33]SAM_PROTO_GetShiftState [08:13:33]wFMCommunicate request_size=4 [08:13:33]MH_SAM_APDU [08:13:33]CAPDU: 80 13 01 00 [08:13:33]Write to MH i2c: E2 08 00 BC 03 80 13 01 00 00 00 00 00 3C [08:13:33]Write i2c OK [08:13:33]MH_I2C_Read... [08:13:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:13:33]Read from MH i2c: E2 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 0E 00 [08:13:33]MH_I2C_Read... [08:13:33]Read from MH i2c: E2 0E 00 BC 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 56 [08:13:33]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:13:33]wFMCommunicate OK [08:13:33]SAM_PROTO_GetShiftState done [08:13:33]FM_GetShiftState done [08:13:33]opened in 1729296796 [08:13:33]opened+sec_in_day 1729383196 [08:13:33]quantity*price = 27800 [08:13:33]sum+1 = 27801 [08:13:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 6 19.10.2024 08:13 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37070 ФПД: 53122577309820 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081336&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37070&fm=53122577309820&tin=02508201610067®Number=0000000000098149&sum=27800 0 [08:13:34]StoreToDocumentArchive [08:13:34]shift 460 fd 37070 [08:13:34]save to /storage/0460/doc_00037070 [08:13:34]save last doc name /storage/0460/doc_00037070 to /storage/kkm_last_doc_name [08:13:34]save OK [08:13:34]Clear old archive folders... [08:13:34]ProcessDocumentItem done err = 0, tmpTLVsize=278 [08:13:34]tlvbuf is 0060CD20 [08:13:34]SAM_PROTO_ClearQueue [08:13:34]wFMCommunicate request_size=4 [08:13:34]MH_SAM_APDU [08:13:34]CAPDU: 80 09 00 00 [08:13:34]Write to MH i2c: E2 08 00 C9 03 80 09 00 00 00 00 00 00 3E [08:13:34]Write i2c OK [08:13:34]MH_I2C_Read... [08:13:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:13:34]Read from MH i2c: E2 [08:13:34]MH_I2C_Read... [08:13:34]Read from MH i2c: E2 03 00 [08:13:34]MH_I2C_Read... [08:13:34]Read from MH i2c: E2 03 00 C9 03 00 90 00 40 [08:13:34]RAPDU: 90 00 [08:13:34]wFMCommunicate OK [08:13:34]SAM_PROTO_ClearQueue done [08:13:34]KKMCreateOFDPacket [08:13:34]OFDProtocolAddRootSTLVToBuf [08:13:34]FM_MakeSignedData [08:13:34]FM_MakeSignedData [08:13:34]SAM_PROTO_SignData [08:13:34]wFMCommunicate request_size=4 [08:13:34]MH_SAM_APDU [08:13:34]CAPDU: 80 0D 01 02 [08:13:34]Write to MH i2c: E2 08 00 CA 03 80 0D 01 02 00 00 00 00 46 [08:13:34]Write i2c OK [08:13:34]MH_I2C_Read... [08:13:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:13:34]Read from MH i2c: E2 [08:13:34]MH_I2C_Read... [08:13:34]Read from MH i2c: E2 03 00 [08:13:34]MH_I2C_Read... [08:13:34]Read from MH i2c: E2 03 00 CA 03 00 90 00 41 [08:13:34]RAPDU: 90 00 [08:13:34]wFMCommunicate OK [08:13:34]wFMCommunicate request_size=255 [08:13:34]MH_SAM_APDU [08:13:34]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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 6A 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 [08:13:34]Write to MH i2c: E2 02 01 CB 03 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 6A 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 00 00 2A [08:13:34]Write i2c OK [08:13:34]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 03 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 03 00 CB 03 00 90 00 42 [08:13:35]RAPDU: 90 00 [08:13:35]wFMCommunicate OK [08:13:35]wFMCommunicate request_size=37 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CE 90 00 00 35 04 06 00 30 50 90 59 A0 7C [08:13:35]Write to MH i2c: E2 28 00 CC 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CE 90 00 00 35 04 06 00 30 50 90 59 A0 7C 00 00 83 [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 03 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 03 00 CC 03 00 90 00 43 [08:13:35]RAPDU: 90 00 [08:13:35]wFMCommunicate OK [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 0D 03 02 [08:13:35]Write to MH i2c: E2 08 00 CD 03 80 0D 03 02 00 00 00 00 4B [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 0B 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 0B 00 CD 03 00 41 3C 1F A2 91 7A 45 31 90 00 0B [08:13:35]RAPDU: 41 3C 1F A2 91 7A 45 31 90 00 [08:13:35]wFMCommunicate OK [08:13:35]SAM_PROTO_SignData done [08:13:35]FM_MakeSignedData done [08:13:35]CreateOFDProtocolMessage [08:13:35]wFMCommunicate request_size=4 [08:13:35]MH_SAM_APDU [08:13:35]CAPDU: 80 11 00 00 [08:13:35]Write to MH i2c: E2 08 00 CE 03 80 11 00 00 00 00 00 00 4B [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:13:35]Read from MH i2c: E2 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 17 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: E2 17 00 CE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9E [08:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:13:35]wFMCommunicate OK [08:13:35]CreateOFDProtocolMessage done [08:13:35]OFDSenderStorePacket 37070 [08:13:35]StoreOFDPacket docnum=37070 [08:13:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2A 01 00 00 99 E5 22 01 F4 2C 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 6A 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CE 90 00 00 35 04 06 00 30 50 90 59 A0 7C 41 3C 1F A2 91 7A 45 31 [08:13:35]CheckFolder [08:13:35]dirname=/storage/ofd_packets [08:13:35]CheckFolder done [08:13:35]ProducePacketName [08:13:35]name=ofd_packets/00037070 [08:13:35]NVStorageSaveData ofd_packets/00037070 [08:13:35]File name is /storage/ofd_packets/00037070 [08:13:35]Write 328 bytes [08:13:35]NVStorageSaveData done [08:13:35]OFDSenderStorePacket done [08:13:35]KKMCreateOFDPacket done [08:13:35]NVStorageSaveData kkm_last_timestamp [08:13:35]File name is /storage/kkm_last_timestamp [08:13:35]Write 4 bytes [08:13:35]NVStorageSaveData done [08:13:35]ExternCall_PrintAddStr [08:13:35]wPrintStart [08:13:35]Write to MH i2c: 01 00 00 CF 03 D2 [08:13:35]Write i2c OK [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: 01 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: 01 07 00 [08:13:35]MH_I2C_Read... [08:13:35]Read from MH i2c: 01 07 00 CF 03 00 00 00 00 00 FF 0F E7 [08:13:35]RasterBufferAndPrint [08:13:35]line Счет N : (3)76578 [08:13:35]line ИНН: 02508201610067 [08:13:35]line Контрольно-Кассовый Чек [08:13:35]line ПРОДАЖА [08:13:35]line Товар: 48741224 [08:13:35]line Сигареты Winston Super Slims Blue [08:13:35]line 2.000 * 139.00 [08:13:35]line = 278.00 [08:13:35]line НДС 12% НСП 1% [08:13:35]line > о реализуемом товаре [08:13:35]line ИТОГО: 278.00 [08:13:35]line НСП 1% : 2.46 [08:13:35]line НДС 12% : 29.52 [08:13:35]line Наличными: 278.00 [08:13:35]line Безнал.: 0.00 [08:13:35]line Место: АЗС № 165 "Партнер Нефть" [08:13:35]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:13:35]line СНО: Общий режим [08:13:35]line Чек 6 19.10.2024 08:13 [08:13:35]line Смена: 460 ФФД: 1.0 [08:13:35]line ЗНМ: 0300000235 [08:13:35]line РНМ: 0000000000098149 [08:13:35]line Версия ККМ: 001 [08:13:35]line ФМ: 0000000000965372 [08:13:35]line ФД: 37070 [08:13:35]line ФПД: 53122577309820 [08:13:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081336&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37070&fm=53122577309820&tin=02508201610067®Number=0000000000098149&sum=27800 [08:13:35]OFD Sender: Processing packet 37070 [packets to send 25, broken 24] [08:13:35]ProducePacketName [08:13:35]name=ofd_packets/00037070 [08:13:35]OFD Sender: To server: pG, [08:13:35]CommunicateWithHost lk.salyk.kg:30040 [08:13:35]ConnectInit lk.salyk.kg [08:13:35]line 0 [08:13:35]written 0, free lines is 4095 [08:13:35]Connected sock=10 [08:13:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2A 01 00 00 99 E5 22 01 F4 2C 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 30 6A 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CE 90 00 00 35 04 06 00 30 50 90 59 A0 7C 41 3C 1F A2 91 7A 45 31 [08:13:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 EF D5 47 00 98 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CE 90 00 00 F4 03 04 00 C7 12 13 67 B6 04 01 00 00 94 F2 42 60 1D 14 51 DB [08:13:35]CommunicateWithHost err = 0 [08:13:35]CheckOFDResponse [08:13:35]1017 (14) - 77093643461234 [08:13:35]1041 (16) - 0000000000965372 [08:13:35]1040 (4) - 37070 [08:13:35]1012 (4) - 19.10.2024 02:00 [08:13:35]1206 (1) - 0 [08:13:35]OFD Sender: Remove packet 37070 [08:13:35]ProducePacketName [08:13:35]name=ofd_packets/00037070 [08:13:35]NVStorageDeleteData [08:13:36]Write to MH i2c: 01 00 00 F8 03 FB [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: 01 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: 01 07 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: 01 07 00 F8 03 00 00 00 00 00 D5 0C E3 [08:13:36]RasterBufferAndPrint [08:13:36]line [08:13:36]line [08:13:36]line [08:13:36]line [08:13:36]line [08:13:36]written 0, free lines is 3292 [08:13:36]process_action close_receipt done [08:13:36]requested_data is exist [08:13:36]produce_requested_data [08:13:36]requested_item fm.sn is exist - process it [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 11 00 00 [08:13:36]Write to MH i2c: E2 08 00 FF 03 80 11 00 00 00 00 00 00 7C [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:13:36]Read from MH i2c: E2 17 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 17 00 FF 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CF [08:13:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:13:36]wFMCommunicate OK [08:13:36]requested_item fd.num is exist - process it [08:13:36]SAM_PROTO_GetFieldsCounters [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 13 00 00 [08:13:36]Write to MH i2c: E2 08 00 00 04 80 13 00 00 00 00 00 00 80 [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 62 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 62 00 00 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CE 90 00 00 0E 04 04 00 CC 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 E4 [08:13: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CE 90 00 00 0E 04 04 00 CC 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:13:36]wFMCommunicate OK [08:13:36]SAM_PROTO_GetFieldsCounters done [08:13:36]requested_item shift.num is exist - process it [08:13:36]requested_item shift.opened is exist - process it [08:13:36]req_shift_opened [08:13:36]FM_GetShiftState [08:13:36]SAM_PROTO_GetShiftState [08:13:36]wFMCommunicate request_size=4 [08:13:36]MH_SAM_APDU [08:13:36]CAPDU: 80 13 01 00 [08:13:36]Write to MH i2c: E2 08 00 01 04 80 13 01 00 00 00 00 00 82 [08:13:36]Write i2c OK [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 [08:13:36]MH_I2C_Read... [08:13:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:13:36]Read from MH i2c: E2 0E 00 [08:13:36]MH_I2C_Read... [08:13:36]Read from MH i2c: E2 0E 00 01 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 9C [08:13:36]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:13:36]wFMCommunicate OK [08:13:36]SAM_PROTO_GetShiftState done [08:13:36]FM_GetShiftState done [08:13:36]req_shift_opened done [08:13:36]requested_item shift.open_date is exist - process it [08:13:36]req_shift_open_date [08:13:36]req_shift_open_date done [08:13:36]produce_requested_data done [08:13:36]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37070,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:13:36]process_action_free close_receipt [08:13:36]json_value_free [08:13:36]json_value_free done [08:13:36]process_json_proto returns [08:13:36]Send response to host [08:13:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37070,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:13:36]free response buf [08:13:36]execute_script done [08:13:36]execute_script returns [08:13:36]free content buf [08:13:36]Sock 9.Close socket [08:13:36]Sock 9.Thread stoped [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:32]accept exits with 7 [08:17:32]New connection [08:17:32]New thread 3067420004 created [08:17:32]Thread 3067563364 joined [08:17:32]Waiting for new connection... [08:17:32] Sock 7.Parse request [08:17:32]Sock 7.Check first char [08:17:32]Sock 7.First char is OK [08:17:32]request: POST /json_proto HTTP/1.0 [08:17:32]Method: POST [08:17:32]URL: /json_proto [08:17:32]Method is POST - this is cgi request [08:17:32]url: /json_proto [08:17:32]query_string will be loaded in cgi processing [08:17:32]execute_cgi json_proto POST (null) [08:17:32]execute_cgi path=json_proto method=POST [08:17:32]POST find Content-Length [08:17:32]Host: 172.17.53.68:8080 [08:17:32]Content-Length: 666 [08:17:32]Content-Type: application/json [08:17:32] [08:17:32]POST finish read [08:17:32]Found Content-Length = 666 [08:17:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76579", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "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" ] } } [08:17:32]execute_script... [08:17: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)76579", "tax_sys" : 0, "items" : [ { "code": "4870002329937", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A Regular", "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" ] } } [08:17:32]POST & json_proto [08:17:32]process_json_proto [08:17:32]json parsed OK: [08:17:32]protocol is kg_v1.0 [08:17:32]action value=close_receipt [08:17:32]process_action close_receipt [08:17:32]cmd_close_receipt [08:17:32]MH_GetDate [08:17:32]Write to MH i2c: F0 00 00 02 04 F5 [08:17:32]Write i2c OK [08:17:32]MH_I2C_Read... [08:17:32]Read from MH i2c: F0 [08:17:32]MH_I2C_Read... [08:17:32]Read from MH i2c: F0 09 00 [08:17:32]MH_I2C_Read... [08:17:32]Read from MH i2c: F0 09 00 02 04 00 1F 6B 13 67 C5 A4 76 66 47 [08:17:32]GetLastDocTimeStamp 1729325616 [08:17:32]current date 1729325855 [08:17:32]FM_GetShiftState [08:17:32]SAM_PROTO_GetShiftState [08:17:32]wFMCommunicate request_size=4 [08:17:32]MH_SAM_APDU [08:17:32]CAPDU: 80 13 01 00 [08:17:32]Write to MH i2c: E2 08 00 03 04 80 13 01 00 00 00 00 00 84 [08:17:32]Write i2c OK [08:17:32]MH_I2C_Read... [08:17:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:32]Read from MH i2c: E2 [08:17:32]MH_I2C_Read... [08:17:32]Read from MH i2c: E2 0E 00 [08:17:32]MH_I2C_Read... [08:17:32]Read from MH i2c: E2 0E 00 03 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 9E [08:17:32]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:17:32]wFMCommunicate OK [08:17:32]SAM_PROTO_GetShiftState done [08:17:32]FM_GetShiftState done [08:17:32]opened in 1729296796 [08:17:32]opened+sec_in_day 1729383196 [08:17:32]quantity*price = 13000 [08:17:32]sum+1 = 13001 [08:17:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 7 19.10.2024 08:17 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37071 ФПД: 141340417297648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081735&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37071&fm=141340417297648&tin=02508201610067®Number=0000000000098149&sum=13000 0 [08:17:33]StoreToDocumentArchive [08:17:33]shift 460 fd 37071 [08:17:33]save to /storage/0460/doc_00037071 [08:17:33]save last doc name /storage/0460/doc_00037071 to /storage/kkm_last_doc_name [08:17:33]save OK [08:17:33]Clear old archive folders... [08:17:33]ProcessDocumentItem done err = 0, tmpTLVsize=295 [08:17:33]tlvbuf is 005F6E80 [08:17:33]SAM_PROTO_ClearQueue [08:17:33]wFMCommunicate request_size=4 [08:17:33]MH_SAM_APDU [08:17:33]CAPDU: 80 09 00 00 [08:17:33]Write to MH i2c: E2 08 00 10 04 80 09 00 00 00 00 00 00 86 [08:17:33]Write i2c OK [08:17:33]MH_I2C_Read... [08:17:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:17:33]Read from MH i2c: E2 [08:17:33]MH_I2C_Read... [08:17:33]Read from MH i2c: E2 03 00 [08:17:33]MH_I2C_Read... [08:17:33]Read from MH i2c: E2 03 00 10 04 00 90 00 88 [08:17:33]RAPDU: 90 00 [08:17:33]wFMCommunicate OK [08:17:33]SAM_PROTO_ClearQueue done [08:17:33]KKMCreateOFDPacket [08:17:33]OFDProtocolAddRootSTLVToBuf [08:17:33]FM_MakeSignedData [08:17:33]FM_MakeSignedData [08:17:33]SAM_PROTO_SignData [08:17:33]wFMCommunicate request_size=4 [08:17:33]MH_SAM_APDU [08:17:33]CAPDU: 80 0D 01 02 [08:17:33]Write to MH i2c: E2 08 00 11 04 80 0D 01 02 00 00 00 00 8E [08:17:33]Write i2c OK [08:17:33]MH_I2C_Read... [08:17:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:17:33]Read from MH i2c: E2 [08:17:33]MH_I2C_Read... [08:17:33]Read from MH i2c: E2 03 00 [08:17:33]MH_I2C_Read... [08:17:33]Read from MH i2c: E2 03 00 11 04 00 90 00 89 [08:17:33]RAPDU: 90 00 [08:17:33]wFMCommunicate OK [08:17:33]wFMCommunicate request_size=255 [08:17:33]MH_SAM_APDU [08:17:33]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 07 00 00 00 F4 03 04 00 1F 6B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [08:17:33]Write to MH i2c: E2 02 01 12 04 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 07 00 00 00 F4 03 04 00 1F 6B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 1E [08:17:33]Write i2c OK [08:17:33]MH_I2C_Read... [08:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:34]Read from MH i2c: E2 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 03 00 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 03 00 12 04 00 90 00 8A [08:17:34]RAPDU: 90 00 [08:17:34]wFMCommunicate OK [08:17:34]wFMCommunicate request_size=54 [08:17:34]MH_SAM_APDU [08:17:34]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CF 90 00 00 35 04 06 00 80 8C 61 5D 8C F0 [08:17:34]Write to MH i2c: E2 39 00 13 04 80 0D 02 02 31 00 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CF 90 00 00 35 04 06 00 80 8C 61 5D 8C F0 00 00 63 [08:17:34]Write i2c OK [08:17:34]MH_I2C_Read... [08:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:17:34]Read from MH i2c: E2 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 03 00 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 03 00 13 04 00 90 00 8B [08:17:34]RAPDU: 90 00 [08:17:34]wFMCommunicate OK [08:17:34]wFMCommunicate request_size=4 [08:17:34]MH_SAM_APDU [08:17:34]CAPDU: 80 0D 03 02 [08:17:34]Write to MH i2c: E2 08 00 14 04 80 0D 03 02 00 00 00 00 93 [08:17:34]Write i2c OK [08:17:34]MH_I2C_Read... [08:17:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:17:34]Read from MH i2c: E2 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 0B 00 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 0B 00 14 04 00 F2 06 68 E5 33 FC 9F BC 90 00 63 [08:17:34]RAPDU: F2 06 68 E5 33 FC 9F BC 90 00 [08:17:34]wFMCommunicate OK [08:17:34]SAM_PROTO_SignData done [08:17:34]FM_MakeSignedData done [08:17:34]CreateOFDProtocolMessage [08:17:34]wFMCommunicate request_size=4 [08:17:34]MH_SAM_APDU [08:17:34]CAPDU: 80 11 00 00 [08:17:34]Write to MH i2c: E2 08 00 15 04 80 11 00 00 00 00 00 00 93 [08:17:34]Write i2c OK [08:17:34]MH_I2C_Read... [08:17:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:34]Read from MH i2c: E2 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 17 00 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: E2 17 00 15 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E6 [08:17:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:17:34]wFMCommunicate OK [08:17:34]CreateOFDProtocolMessage done [08:17:34]OFDSenderStorePacket 37071 [08:17:34]StoreOFDPacket docnum=37071 [08:17:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3B 01 00 00 D0 1B 33 01 20 E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 07 00 00 00 F4 03 04 00 1F 6B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CF 90 00 00 35 04 06 00 80 8C 61 5D 8C F0 F2 06 68 E5 33 FC 9F BC [08:17:34]CheckFolder [08:17:34]dirname=/storage/ofd_packets [08:17:34]CheckFolder done [08:17:34]ProducePacketName [08:17:34]name=ofd_packets/00037071 [08:17:34]NVStorageSaveData ofd_packets/00037071 [08:17:34]File name is /storage/ofd_packets/00037071 [08:17:34]Write 345 bytes [08:17:34]NVStorageSaveData done [08:17:34]OFDSenderStorePacket done [08:17:34]KKMCreateOFDPacket done [08:17:34]NVStorageSaveData kkm_last_timestamp [08:17:34]File name is /storage/kkm_last_timestamp [08:17:34]Write 4 bytes [08:17:34]NVStorageSaveData done [08:17:34]OFD Sender: Processing packet 37071 [packets to send 25, broken 24] [08:17:34]ProducePacketName [08:17:34]name=ofd_packets/00037071 [08:17:34]OFD Sender: To server: pG, [08:17:34]CommunicateWithHost lk.salyk.kg:30040 [08:17:34]ConnectInit lk.salyk.kg [08:17:34]ExternCall_PrintAddStr [08:17:34]wPrintStart [08:17:34]Write to MH i2c: 01 00 00 16 04 1A [08:17:34]Write i2c OK [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: 01 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: 01 07 00 [08:17:34]MH_I2C_Read... [08:17:34]Read from MH i2c: 01 07 00 16 04 00 00 00 00 00 FF 0F 2F [08:17:34]RasterBufferAndPrint [08:17:34]line Счет N : (3)76579 [08:17:34]line ИНН: 02508201610067 [08:17:34]line Контрольно-Кассовый Чек [08:17:34]line ПРОДАЖА [08:17:34]line Товар: 4870002329937 [08:17:34]line Напиток Lipton IceTea 1л персик Regular [08:17:34]line 1.000 * 130.00 [08:17:34]line = 130.00 [08:17:34]line НДС 12% НСП 1% [08:17:34]line > о реализуемом товаре [08:17:34]line ИТОГО: 130.00 [08:17:34]line НСП 1% : 1.15 [08:17:34]line НДС 12% : 13.80 [08:17:34]line Наличными: 130.00 [08:17:34]line Безнал.: 0.00 [08:17:34]line Место: АЗС № 165 "Партнер Нефть" [08:17:34]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:17:34]line СНО: Общий режим [08:17:34]line Чек 7 19.10.2024 08:17 [08:17:34]line Смена: 460 ФФД: 1.0 [08:17:34]line ЗНМ: 0300000235 [08:17:34]line РНМ: 0000000000098149 [08:17:34]line Версия ККМ: 001 [08:17:34]line ФМ: 0000000000965372 [08:17:34]line ФД: 37071 [08:17:34]line ФПД: 141340417297648 [08:17:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T081735&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37071&fm=141340417297648&tin=02508201610067®Number=0000000000098149&sum=13000 [08:17:34]line 0 [08:17:34]Connected sock=11 [08:17: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 33 37 32 3B 01 00 00 D0 1B 33 01 20 E1 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 33 37 06 04 35 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 52 65 67 75 6C 61 72 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 07 00 00 00 F4 03 04 00 1F 6B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 CF 90 00 00 35 04 06 00 80 8C 61 5D 8C F0 F2 06 68 E5 33 FC 9F BC [08:17:34]written 0, free lines is 4095 [08:17:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C3 C0 47 00 FD 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 CF 90 00 00 F4 03 04 00 B6 13 13 67 B6 04 01 00 00 B7 D5 81 86 FC 2A C3 ED [08:17:34]CommunicateWithHost err = 0 [08:17:34]CheckOFDResponse [08:17:34]1017 (14) - 77093643461234 [08:17:34]1041 (16) - 0000000000965372 [08:17:34]1040 (4) - 37071 [08:17:34]1012 (4) - 19.10.2024 02:04 [08:17:34]1206 (1) - 0 [08:17:34]OFD Sender: Remove packet 37071 [08:17:34]ProducePacketName [08:17:34]name=ofd_packets/00037071 [08:17:34]NVStorageDeleteData [08:17:35]Write to MH i2c: 01 00 00 3F 04 43 [08:17:35]Write i2c OK [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: 01 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: 01 07 00 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: 01 07 00 3F 04 00 00 00 00 00 CF 0C 25 [08:17:35]RasterBufferAndPrint [08:17:35]line [08:17:35]line [08:17:35]line [08:17:35]line [08:17:35]line [08:17:35]written 0, free lines is 3285 [08:17:35]process_action close_receipt done [08:17:35]requested_data is exist [08:17:35]produce_requested_data [08:17:35]requested_item fm.sn is exist - process it [08:17:35]wFMCommunicate request_size=4 [08:17:35]MH_SAM_APDU [08:17:35]CAPDU: 80 11 00 00 [08:17:35]Write to MH i2c: E2 08 00 46 04 80 11 00 00 00 00 00 00 C4 [08:17:35]Write i2c OK [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 [08:17:35]MH_I2C_Read... [08:17:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:35]Read from MH i2c: E2 17 00 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 17 00 46 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 17 [08:17:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:17:35]wFMCommunicate OK [08:17:35]requested_item fd.num is exist - process it [08:17:35]SAM_PROTO_GetFieldsCounters [08:17:35]wFMCommunicate request_size=4 [08:17:35]MH_SAM_APDU [08:17:35]CAPDU: 80 13 00 00 [08:17:35]Write to MH i2c: E2 08 00 47 04 80 13 00 00 00 00 00 00 C7 [08:17:35]Write i2c OK [08:17:35]MH_I2C_Read... [08:17:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:35]Read from MH i2c: E2 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 62 00 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 62 00 47 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CF 90 00 00 0E 04 04 00 CC 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 2F [08:17: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 CF 90 00 00 0E 04 04 00 CC 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:17:35]wFMCommunicate OK [08:17:35]SAM_PROTO_GetFieldsCounters done [08:17:35]requested_item shift.num is exist - process it [08:17:35]requested_item shift.opened is exist - process it [08:17:35]req_shift_opened [08:17:35]FM_GetShiftState [08:17:35]SAM_PROTO_GetShiftState [08:17:35]wFMCommunicate request_size=4 [08:17:35]MH_SAM_APDU [08:17:35]CAPDU: 80 13 01 00 [08:17:35]Write to MH i2c: E2 08 00 48 04 80 13 01 00 00 00 00 00 C9 [08:17:35]Write i2c OK [08:17:35]MH_I2C_Read... [08:17:35]OFD Sender: No OFD packet to send [08:17:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:35]Read from MH i2c: E2 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 0E 00 [08:17:35]MH_I2C_Read... [08:17:35]Read from MH i2c: E2 0E 00 48 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E3 [08:17:35]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:17:35]wFMCommunicate OK [08:17:35]SAM_PROTO_GetShiftState done [08:17:35]FM_GetShiftState done [08:17:35]req_shift_opened done [08:17:35]requested_item shift.open_date is exist - process it [08:17:35]req_shift_open_date [08:17:35]req_shift_open_date done [08:17:35]produce_requested_data done [08:17:35]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37071,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:17:35]process_action_free close_receipt [08:17:35]json_value_free [08:17:35]json_value_free done [08:17:35]process_json_proto returns [08:17:35]Send response to host [08:17:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37071,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:17:35]free response buf [08:17:35]execute_script done [08:17:35]execute_script returns [08:17:35]free content buf [08:17:35]Sock 7.Close socket [08:17:35]Sock 7.Thread stoped [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:18]accept exits with 9 [08:22:18]New connection [08:22:18]New thread 3067563364 created [08:22:18]Thread 3067420004 joined [08:22:18]Waiting for new connection... [08:22:18] Sock 9.Parse request [08:22:18]Sock 9.Check first char [08:22:18]Sock 9.First char is OK [08:22:18]request: POST /json_proto HTTP/1.0 [08:22:18]Method: POST [08:22:18]URL: /json_proto [08:22:18]Method is POST - this is cgi request [08:22:18]url: /json_proto [08:22:18]query_string will be loaded in cgi processing [08:22:18]execute_cgi json_proto POST (null) [08:22:18]execute_cgi path=json_proto method=POST [08:22:18]POST find Content-Length [08:22:18]Host: 172.17.53.68:8080 [08:22:18]Content-Length: 622 [08:22:18]Content-Type: application/json [08:22:18] [08:22:18]POST finish read [08:22:18]Found Content-Length = 622 [08:22:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76580", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:18]execute_script... [08:22:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76580", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:22:18]POST & json_proto [08:22:18]process_json_proto [08:22:18]json parsed OK: [08:22:18]protocol is kg_v1.0 [08:22:18]action value=close_receipt [08:22:18]process_action close_receipt [08:22:18]cmd_close_receipt [08:22:18]MH_GetDate [08:22:18]Write to MH i2c: F0 00 00 49 04 3C [08:22:18]Write i2c OK [08:22:18]MH_I2C_Read... [08:22:18]Read from MH i2c: F0 [08:22:18]MH_I2C_Read... [08:22:18]Read from MH i2c: F0 09 00 [08:22:18]MH_I2C_Read... [08:22:18]Read from MH i2c: F0 09 00 49 04 00 3D 6C 13 67 C5 A4 76 66 AD [08:22:18]GetLastDocTimeStamp 1729325855 [08:22:18]current date 1729326141 [08:22:18]FM_GetShiftState [08:22:18]SAM_PROTO_GetShiftState [08:22:18]wFMCommunicate request_size=4 [08:22:18]MH_SAM_APDU [08:22:18]CAPDU: 80 13 01 00 [08:22:18]Write to MH i2c: E2 08 00 4A 04 80 13 01 00 00 00 00 00 CB [08:22:18]Write i2c OK [08:22:18]MH_I2C_Read... [08:22:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:18]Read from MH i2c: E2 [08:22:18]MH_I2C_Read... [08:22:18]Read from MH i2c: E2 0E 00 [08:22:18]MH_I2C_Read... [08:22:18]Read from MH i2c: E2 0E 00 4A 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E5 [08:22:18]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:22:18]wFMCommunicate OK [08:22:18]SAM_PROTO_GetShiftState done [08:22:18]FM_GetShiftState done [08:22:18]opened in 1729296796 [08:22:18]opened+sec_in_day 1729383196 [08:22:18]quantity*price = 14400 [08:22:18]sum+1 = 14401 [08:22:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 8 19.10.2024 08:22 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37072 ФПД: 219695558481515 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082221&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37072&fm=219695558481515&tin=02508201610067®Number=0000000000098149&sum=14400 0 [08:22:19]StoreToDocumentArchive [08:22:19]shift 460 fd 37072 [08:22:19]save to /storage/0460/doc_00037072 [08:22:19]save last doc name /storage/0460/doc_00037072 to /storage/kkm_last_doc_name [08:22:19]save OK [08:22:19]Clear old archive folders... [08:22:19]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:22:19]tlvbuf is 005F6D50 [08:22:19]SAM_PROTO_ClearQueue [08:22:19]wFMCommunicate request_size=4 [08:22:19]MH_SAM_APDU [08:22:19]CAPDU: 80 09 00 00 [08:22:19]Write to MH i2c: E2 08 00 57 04 80 09 00 00 00 00 00 00 CD [08:22:19]Write i2c OK [08:22:19]MH_I2C_Read... [08:22:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:22:19]Read from MH i2c: E2 [08:22:19]MH_I2C_Read... [08:22:19]Read from MH i2c: E2 03 00 [08:22:19]MH_I2C_Read... [08:22:19]Read from MH i2c: E2 03 00 57 04 00 90 00 CF [08:22:19]RAPDU: 90 00 [08:22:19]wFMCommunicate OK [08:22:19]SAM_PROTO_ClearQueue done [08:22:19]KKMCreateOFDPacket [08:22:19]OFDProtocolAddRootSTLVToBuf [08:22:19]FM_MakeSignedData [08:22:19]FM_MakeSignedData [08:22:19]SAM_PROTO_SignData [08:22:19]wFMCommunicate request_size=4 [08:22:19]MH_SAM_APDU [08:22:19]CAPDU: 80 0D 01 02 [08:22:19]Write to MH i2c: E2 08 00 58 04 80 0D 01 02 00 00 00 00 D5 [08:22:19]Write i2c OK [08:22:19]MH_I2C_Read... [08:22:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:22:19]Read from MH i2c: E2 [08:22:19]MH_I2C_Read... [08:22:19]Read from MH i2c: E2 03 00 [08:22:19]MH_I2C_Read... [08:22:19]Read from MH i2c: E2 03 00 58 04 00 90 00 D0 [08:22:19]RAPDU: 90 00 [08:22:19]wFMCommunicate OK [08:22:19]wFMCommunicate request_size=255 [08:22:19]MH_SAM_APDU [08:22:19]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3D 6C 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [08:22:19]Write to MH i2c: E2 02 01 59 04 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3D 6C 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 D8 [08:22:19]Write i2c OK [08:22:19]MH_I2C_Read... [08:22:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:20]Read from MH i2c: E2 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 03 00 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 03 00 59 04 00 90 00 D1 [08:22:20]RAPDU: 90 00 [08:22:20]wFMCommunicate OK [08:22:20]wFMCommunicate request_size=34 [08:22:20]MH_SAM_APDU [08:22:20]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D0 90 00 00 35 04 06 00 C7 CF DB B8 D6 6B [08:22:20]Write to MH i2c: E2 25 00 5A 04 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D0 90 00 00 35 04 06 00 C7 CF DB B8 D6 6B 00 00 63 [08:22:20]Write i2c OK [08:22:20]MH_I2C_Read... [08:22:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:20]Read from MH i2c: E2 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 03 00 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 03 00 5A 04 00 90 00 D2 [08:22:20]RAPDU: 90 00 [08:22:20]wFMCommunicate OK [08:22:20]wFMCommunicate request_size=4 [08:22:20]MH_SAM_APDU [08:22:20]CAPDU: 80 0D 03 02 [08:22:20]Write to MH i2c: E2 08 00 5B 04 80 0D 03 02 00 00 00 00 DA [08:22:20]Write i2c OK [08:22:20]MH_I2C_Read... [08:22:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:22:20]Read from MH i2c: E2 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 0B 00 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 0B 00 5B 04 00 2D 8E 58 ED F9 63 FD 08 90 00 3C [08:22:20]RAPDU: 2D 8E 58 ED F9 63 FD 08 90 00 [08:22:20]wFMCommunicate OK [08:22:20]SAM_PROTO_SignData done [08:22:20]FM_MakeSignedData done [08:22:20]CreateOFDProtocolMessage [08:22:20]wFMCommunicate request_size=4 [08:22:20]MH_SAM_APDU [08:22:20]CAPDU: 80 11 00 00 [08:22:20]Write to MH i2c: E2 08 00 5C 04 80 11 00 00 00 00 00 00 DA [08:22:20]Write i2c OK [08:22:20]MH_I2C_Read... [08:22:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:20]Read from MH i2c: E2 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 17 00 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: E2 17 00 5C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2D [08:22:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:22:20]wFMCommunicate OK [08:22:20]CreateOFDProtocolMessage done [08:22:20]OFDSenderStorePacket 37072 [08:22:20]StoreOFDPacket docnum=37072 [08:22:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 CD 94 1F 01 F1 13 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3D 6C 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D0 90 00 00 35 04 06 00 C7 CF DB B8 D6 6B 2D 8E 58 ED F9 63 FD 08 [08:22:20]CheckFolder [08:22:20]dirname=/storage/ofd_packets [08:22:20]CheckFolder done [08:22:20]ProducePacketName [08:22:20]name=ofd_packets/00037072 [08:22:20]NVStorageSaveData ofd_packets/00037072 [08:22:20]File name is /storage/ofd_packets/00037072 [08:22:20]Write 325 bytes [08:22:20]NVStorageSaveData done [08:22:20]OFDSenderStorePacket done [08:22:20]KKMCreateOFDPacket done [08:22:20]NVStorageSaveData kkm_last_timestamp [08:22:20]File name is /storage/kkm_last_timestamp [08:22:20]Write 4 bytes [08:22:20]NVStorageSaveData done [08:22:20]ExternCall_PrintAddStr [08:22:20]wPrintStart [08:22:20]Write to MH i2c: 01 00 00 5D 04 61 [08:22:20]Write i2c OK [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: 01 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: 01 07 00 [08:22:20]MH_I2C_Read... [08:22:20]Read from MH i2c: 01 07 00 5D 04 00 00 00 00 00 FF 0F 76 [08:22:20]RasterBufferAndPrint [08:22:20]line Счет N : (3)76580 [08:22:20]line ИНН: 02508201610067 [08:22:20]line Контрольно-Кассовый Чек [08:22:20]line ПРОДАЖА [08:22:20]line Товар: 48743587 [08:22:20]line Сигареты Winston XStyle Silver [08:22:20]line 1.000 * 144.00 [08:22:20]line = 144.00 [08:22:20]line НДС 12% НСП 1% [08:22:20]line > о реализуемом товаре [08:22:20]line ИТОГО: 144.00 [08:22:20]line НСП 1% : 1.27 [08:22:20]line НДС 12% : 15.29 [08:22:20]line Наличными: 144.00 [08:22:20]line Безнал.: 0.00 [08:22:20]line Место: АЗС № 165 "Партнер Нефть" [08:22:20]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:22:20]line СНО: Общий режим [08:22:20]line Чек 8 19.10.2024 08:22 [08:22:20]line Смена: 460 ФФД: 1.0 [08:22:20]line ЗНМ: 0300000235 [08:22:20]line РНМ: 0000000000098149 [08:22:20]line Версия ККМ: 001 [08:22:20]line ФМ: 0000000000965372 [08:22:20]line ФД: 37072 [08:22:20]line ФПД: 219695558481515 [08:22:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T082221&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37072&fm=219695558481515&tin=02508201610067®Number=0000000000098149&sum=14400 [08:22:20]OFD Sender: Processing packet 37072 [packets to send 25, broken 24] [08:22:20]ProducePacketName [08:22:20]name=ofd_packets/00037072 [08:22:20]OFD Sender: To server: pG, [08:22:20]CommunicateWithHost lk.salyk.kg:30040 [08:22:20]ConnectInit lk.salyk.kg [08:22:20]line 0 [08:22:20]written 0, free lines is 4095 [08:22:20]Connected sock=10 [08:22: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 33 37 32 27 01 00 00 CD 94 1F 01 F1 13 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 3D 6C 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D0 90 00 00 35 04 06 00 C7 CF DB B8 D6 6B 2D 8E 58 ED F9 63 FD 08 [08:22:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 15 5E 47 00 C7 AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 D0 90 00 00 F4 03 04 00 D4 14 13 67 B6 04 01 00 00 61 C2 E5 DA 40 21 73 67 [08:22:20]CommunicateWithHost err = 0 [08:22:20]CheckOFDResponse [08:22:20]1017 (14) - 77093643461234 [08:22:20]1041 (16) - 0000000000965372 [08:22:20]1040 (4) - 37072 [08:22:20]1012 (4) - 19.10.2024 02:09 [08:22:20]1206 (1) - 0 [08:22:20]OFD Sender: Remove packet 37072 [08:22:20]ProducePacketName [08:22:20]name=ofd_packets/00037072 [08:22:20]NVStorageDeleteData [08:22:21]Write to MH i2c: 01 00 00 86 04 8A [08:22:21]Write i2c OK [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: 01 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: 01 07 00 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: 01 07 00 86 04 00 00 00 00 00 DE 0C 7B [08:22:21]RasterBufferAndPrint [08:22:21]line [08:22:21]line [08:22:21]line [08:22:21]line [08:22:21]line [08:22:21]written 0, free lines is 3300 [08:22:21]process_action close_receipt done [08:22:21]requested_data is exist [08:22:21]produce_requested_data [08:22:21]requested_item fm.sn is exist - process it [08:22:21]wFMCommunicate request_size=4 [08:22:21]MH_SAM_APDU [08:22:21]CAPDU: 80 11 00 00 [08:22:21]Write to MH i2c: E2 08 00 8D 04 80 11 00 00 00 00 00 00 0B [08:22:21]Write i2c OK [08:22:21]MH_I2C_Read... [08:22:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:21]Read from MH i2c: E2 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 17 00 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 17 00 8D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5E [08:22:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:22:21]wFMCommunicate OK [08:22:21]requested_item fd.num is exist - process it [08:22:21]SAM_PROTO_GetFieldsCounters [08:22:21]wFMCommunicate request_size=4 [08:22:21]MH_SAM_APDU [08:22:21]CAPDU: 80 13 00 00 [08:22:21]Write to MH i2c: E2 08 00 8E 04 80 13 00 00 00 00 00 00 0E [08:22:21]Write i2c OK [08:22:21]MH_I2C_Read... [08:22:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:22:21]Read from MH i2c: E2 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 62 00 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 62 00 8E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D0 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [08:22: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D0 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:22:21]wFMCommunicate OK [08:22:21]SAM_PROTO_GetFieldsCounters done [08:22:21]requested_item shift.num is exist - process it [08:22:21]requested_item shift.opened is exist - process it [08:22:21]req_shift_opened [08:22:21]FM_GetShiftState [08:22:21]SAM_PROTO_GetShiftState [08:22:21]wFMCommunicate request_size=4 [08:22:21]MH_SAM_APDU [08:22:21]CAPDU: 80 13 01 00 [08:22:21]Write to MH i2c: E2 08 00 8F 04 80 13 01 00 00 00 00 00 10 [08:22:21]Write i2c OK [08:22:21]MH_I2C_Read... [08:22:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:21]Read from MH i2c: E2 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 0E 00 [08:22:21]MH_I2C_Read... [08:22:21]Read from MH i2c: E2 0E 00 8F 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2A [08:22:21]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:22:21]wFMCommunicate OK [08:22:21]SAM_PROTO_GetShiftState done [08:22:21]FM_GetShiftState done [08:22:21]req_shift_opened done [08:22:21]requested_item shift.open_date is exist - process it [08:22:21]req_shift_open_date [08:22:21]req_shift_open_date done [08:22:21]produce_requested_data done [08:22:21]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37072,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:22:21]process_action_free close_receipt [08:22:21]json_value_free [08:22:21]json_value_free done [08:22:21]process_json_proto returns [08:22:21]Send response to host [08:22:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37072,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:22:21]free response buf [08:22:21]execute_script done [08:22:21]execute_script returns [08:22:21]free content buf [08:22:21]Sock 9.Close socket [08:22:21]Sock 9.Thread stoped [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:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43: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:26]accept exits with 7 [08:45:26]New connection [08:45:26]New thread 3067420004 created [08:45:26]Thread 3067563364 joined [08:45:26]Waiting for new connection... [08:45:26] Sock 7.Parse request [08:45:26]Sock 7.Check first char [08:45:26]Sock 7.First char is OK [08:45:26]request: POST /json_proto HTTP/1.0 [08:45:26]Method: POST [08:45:26]URL: /json_proto [08:45:26]Method is POST - this is cgi request [08:45:26]url: /json_proto [08:45:26]query_string will be loaded in cgi processing [08:45:26]execute_cgi json_proto POST (null) [08:45:26]execute_cgi path=json_proto method=POST [08:45:26]POST find Content-Length [08:45:26]Host: 172.17.53.68:8080 [08:45:26]Content-Length: 645 [08:45:26]Content-Type: application/json [08:45:26] [08:45:26]POST finish read [08:45:26]Found Content-Length = 645 [08:45:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76581", "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" ] } } [08:45:26]execute_script... [08:45: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)76581", "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" ] } } [08:45:26]POST & json_proto [08:45:26]process_json_proto [08:45:26]json parsed OK: [08:45:26]protocol is kg_v1.0 [08:45:26]action value=close_receipt [08:45:26]process_action close_receipt [08:45:26]cmd_close_receipt [08:45:26]MH_GetDate [08:45:26]Write to MH i2c: F0 00 00 90 04 83 [08:45:26]Write i2c OK [08:45:26]MH_I2C_Read... [08:45:26]Read from MH i2c: F0 [08:45:26]MH_I2C_Read... [08:45:26]Read from MH i2c: F0 09 00 [08:45:26]MH_I2C_Read... [08:45:26]Read from MH i2c: F0 09 00 90 04 00 A9 71 13 67 C5 A4 76 66 65 [08:45:26]GetLastDocTimeStamp 1729326141 [08:45:26]current date 1729327529 [08:45:26]FM_GetShiftState [08:45:26]SAM_PROTO_GetShiftState [08:45:26]wFMCommunicate request_size=4 [08:45:26]MH_SAM_APDU [08:45:26]CAPDU: 80 13 01 00 [08:45:26]Write to MH i2c: E2 08 00 91 04 80 13 01 00 00 00 00 00 12 [08:45:26]Write i2c OK [08:45:26]MH_I2C_Read... [08:45:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:26]Read from MH i2c: E2 [08:45:26]MH_I2C_Read... [08:45:26]Read from MH i2c: E2 0E 00 [08:45:26]MH_I2C_Read... [08:45:26]Read from MH i2c: E2 0E 00 91 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2C [08:45:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:45:26]wFMCommunicate OK [08:45:26]SAM_PROTO_GetShiftState done [08:45:26]FM_GetShiftState done [08:45:26]opened in 1729296796 [08:45:26]opened+sec_in_day 1729383196 [08:45:26]quantity*price = 13000 [08:45:26]sum+1 = 13001 [08:45:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 9 19.10.2024 08:45 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37073 ФПД: 15939473605970 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T084529&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37073&fm=15939473605970&tin=02508201610067®Number=0000000000098149&sum=13000 0 [08:45:27]StoreToDocumentArchive [08:45:27]shift 460 fd 37073 [08:45:27]save to /storage/0460/doc_00037073 [08:45:27]save last doc name /storage/0460/doc_00037073 to /storage/kkm_last_doc_name [08:45:27]save OK [08:45:27]Clear old archive folders... [08:45:27]ProcessDocumentItem done err = 0, tmpTLVsize=282 [08:45:27]tlvbuf is 005F4790 [08:45:27]SAM_PROTO_ClearQueue [08:45:27]wFMCommunicate request_size=4 [08:45:27]MH_SAM_APDU [08:45:27]CAPDU: 80 09 00 00 [08:45:27]Write to MH i2c: E2 08 00 9E 04 80 09 00 00 00 00 00 00 14 [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:27]Read from MH i2c: E2 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 9E 04 00 90 00 16 [08:45:27]RAPDU: 90 00 [08:45:27]wFMCommunicate OK [08:45:27]SAM_PROTO_ClearQueue done [08:45:27]KKMCreateOFDPacket [08:45:27]OFDProtocolAddRootSTLVToBuf [08:45:27]FM_MakeSignedData [08:45:27]FM_MakeSignedData [08:45:27]SAM_PROTO_SignData [08:45:27]wFMCommunicate request_size=4 [08:45:27]MH_SAM_APDU [08:45:27]CAPDU: 80 0D 01 02 [08:45:27]Write to MH i2c: E2 08 00 9F 04 80 0D 01 02 00 00 00 00 1C [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:27]Read from MH i2c: E2 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 9F 04 00 90 00 17 [08:45:27]RAPDU: 90 00 [08:45:27]wFMCommunicate OK [08:45:27]wFMCommunicate request_size=255 [08:45:27]MH_SAM_APDU [08:45:27]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 09 00 00 00 F4 03 04 00 A9 71 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [08:45:27]Write to MH i2c: E2 02 01 A0 04 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 09 00 00 00 F4 03 04 00 A9 71 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 9B [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:27]OFD Sender: No OFD packet to send [08:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:27]Read from MH i2c: E2 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 A0 04 00 90 00 18 [08:45:27]RAPDU: 90 00 [08:45:27]wFMCommunicate OK [08:45:27]wFMCommunicate request_size=41 [08:45:27]MH_SAM_APDU [08:45:27]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D1 90 00 00 35 04 06 00 0E 7F 32 A9 85 52 [08:45:27]Write to MH i2c: E2 2C 00 A1 04 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D1 90 00 00 35 04 06 00 0E 7F 32 A9 85 52 00 00 8E [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:27]Read from MH i2c: E2 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 03 00 A1 04 00 90 00 19 [08:45:27]RAPDU: 90 00 [08:45:27]wFMCommunicate OK [08:45:27]wFMCommunicate request_size=4 [08:45:27]MH_SAM_APDU [08:45:27]CAPDU: 80 0D 03 02 [08:45:27]Write to MH i2c: E2 08 00 A2 04 80 0D 03 02 00 00 00 00 21 [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:27]Read from MH i2c: E2 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 0B 00 [08:45:27]MH_I2C_Read... [08:45:27]Read from MH i2c: E2 0B 00 A2 04 00 CA 42 4D CA C9 D9 13 56 90 00 50 [08:45:27]RAPDU: CA 42 4D CA C9 D9 13 56 90 00 [08:45:27]wFMCommunicate OK [08:45:27]SAM_PROTO_SignData done [08:45:27]FM_MakeSignedData done [08:45:27]CreateOFDProtocolMessage [08:45:27]wFMCommunicate request_size=4 [08:45:27]MH_SAM_APDU [08:45:27]CAPDU: 80 11 00 00 [08:45:27]Write to MH i2c: E2 08 00 A3 04 80 11 00 00 00 00 00 00 21 [08:45:27]Write i2c OK [08:45:27]MH_I2C_Read... [08:45:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:28]Read from MH i2c: E2 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: E2 17 00 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: E2 17 00 A3 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 74 [08:45:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:45:28]wFMCommunicate OK [08:45:28]CreateOFDProtocolMessage done [08:45:28]OFDSenderStorePacket 37073 [08:45:28]StoreOFDPacket docnum=37073 [08:45:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 06 22 26 01 23 ED 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 09 00 00 00 F4 03 04 00 A9 71 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D1 90 00 00 35 04 06 00 0E 7F 32 A9 85 52 CA 42 4D CA C9 D9 13 56 [08:45:28]CheckFolder [08:45:28]dirname=/storage/ofd_packets [08:45:28]CheckFolder done [08:45:28]ProducePacketName [08:45:28]name=ofd_packets/00037073 [08:45:28]NVStorageSaveData ofd_packets/00037073 [08:45:28]File name is /storage/ofd_packets/00037073 [08:45:28]Write 332 bytes [08:45:28]NVStorageSaveData done [08:45:28]OFDSenderStorePacket done [08:45:28]KKMCreateOFDPacket done [08:45:28]NVStorageSaveData kkm_last_timestamp [08:45:28]File name is /storage/kkm_last_timestamp [08:45:28]Write 4 bytes [08:45:28]NVStorageSaveData done [08:45:28]ExternCall_PrintAddStr [08:45:28]wPrintStart [08:45:28]Write to MH i2c: 01 00 00 A4 04 A8 [08:45:28]Write i2c OK [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 07 00 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 07 00 A4 04 00 00 00 00 00 FF 0F BD [08:45:28]RasterBufferAndPrint [08:45:28]line Счет N : (3)76581 [08:45:28]line ИНН: 02508201610067 [08:45:28]line Контрольно-Кассовый Чек [08:45:28]line ПРОДАЖА [08:45:28]line Товар: 2000036220012 [08:45:28]line Кофе Капучино XL(GABB TRADE) [08:45:28]line 1.000 * 130.00 [08:45:28]line = 130.00 [08:45:28]line НДС 12% НСП 1% [08:45:28]line > о реализуемом товаре [08:45:28]line ИТОГО: 130.00 [08:45:28]line НСП 1% : 1.15 [08:45:28]line НДС 12% : 13.80 [08:45:28]line Наличными: 130.00 [08:45:28]line Безнал.: 0.00 [08:45:28]line Место: АЗС № 165 "Партнер Нефть" [08:45:28]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:45:28]line СНО: Общий режим [08:45:28]line Чек 9 19.10.2024 08:45 [08:45:28]line Смена: 460 ФФД: 1.0 [08:45:28]line ЗНМ: 0300000235 [08:45:28]line РНМ: 0000000000098149 [08:45:28]line Версия ККМ: 001 [08:45:28]line ФМ: 0000000000965372 [08:45:28]line ФД: 37073 [08:45:28]line ФПД: 15939473605970 [08:45:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T084529&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37073&fm=15939473605970&tin=02508201610067®Number=0000000000098149&sum=13000 [08:45:28]line 0 [08:45:28]OFD Sender: Processing packet 37073 [packets to send 25, broken 24] [08:45:28]ProducePacketName [08:45:28]name=ofd_packets/00037073 [08:45:28]OFD Sender: To server: pG, [08:45:28]CommunicateWithHost lk.salyk.kg:30040 [08:45:28]ConnectInit lk.salyk.kg [08:45:28]written 0, free lines is 4095 [08:45:28]Connected sock=11 [08:45: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 33 37 32 2E 01 00 00 06 22 26 01 23 ED 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 09 00 00 00 F4 03 04 00 A9 71 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D1 90 00 00 35 04 06 00 0E 7F 32 A9 85 52 CA 42 4D CA C9 D9 13 56 [08:45:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 6D 34 47 00 9B D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 D1 90 00 00 F4 03 04 00 40 1A 13 67 B6 04 01 00 00 19 F3 6F BB 0C 9D 88 80 [08:45:28]CommunicateWithHost err = 0 [08:45:28]CheckOFDResponse [08:45:28]1017 (14) - 77093643461234 [08:45:28]1041 (16) - 0000000000965372 [08:45:28]1040 (4) - 37073 [08:45:28]1012 (4) - 19.10.2024 02:32 [08:45:28]1206 (1) - 0 [08:45:28]OFD Sender: Remove packet 37073 [08:45:28]ProducePacketName [08:45:28]name=ofd_packets/00037073 [08:45:28]NVStorageDeleteData [08:45:28]Write to MH i2c: 01 00 00 CD 04 D1 [08:45:28]Write i2c OK [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 07 00 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: 01 07 00 CD 04 00 00 00 00 00 EB 0C CF [08:45:28]RasterBufferAndPrint [08:45:28]line [08:45:28]line [08:45:28]line [08:45:28]line [08:45:28]line [08:45:28]written 0, free lines is 3313 [08:45:28]process_action close_receipt done [08:45:28]requested_data is exist [08:45:28]produce_requested_data [08:45:28]requested_item fm.sn is exist - process it [08:45:28]wFMCommunicate request_size=4 [08:45:28]MH_SAM_APDU [08:45:28]CAPDU: 80 11 00 00 [08:45:28]Write to MH i2c: E2 08 00 D4 04 80 11 00 00 00 00 00 00 52 [08:45:28]Write i2c OK [08:45:28]MH_I2C_Read... [08:45:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:28]Read from MH i2c: E2 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: E2 17 00 [08:45:28]MH_I2C_Read... [08:45:28]Read from MH i2c: E2 17 00 D4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A5 [08:45:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:45:28]wFMCommunicate OK [08:45:28]requested_item fd.num is exist - process it [08:45:28]SAM_PROTO_GetFieldsCounters [08:45:28]wFMCommunicate request_size=4 [08:45:28]MH_SAM_APDU [08:45:28]CAPDU: 80 13 00 00 [08:45:28]Write to MH i2c: E2 08 00 D5 04 80 13 00 00 00 00 00 00 55 [08:45:28]Write i2c OK [08:45:28]MH_I2C_Read... [08:45:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:29]Read from MH i2c: E2 [08:45:29]MH_I2C_Read... [08:45:29]Read from MH i2c: E2 62 00 [08:45:29]MH_I2C_Read... [08:45:29]Read from MH i2c: E2 62 00 D5 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D1 90 00 00 0E 04 04 00 CC 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 C5 [08:45:29]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D1 90 00 00 0E 04 04 00 CC 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 [08:45:29]wFMCommunicate OK [08:45:29]SAM_PROTO_GetFieldsCounters done [08:45:29]requested_item shift.num is exist - process it [08:45:29]requested_item shift.opened is exist - process it [08:45:29]req_shift_opened [08:45:29]FM_GetShiftState [08:45:29]SAM_PROTO_GetShiftState [08:45:29]wFMCommunicate request_size=4 [08:45:29]MH_SAM_APDU [08:45:29]CAPDU: 80 13 01 00 [08:45:29]Write to MH i2c: E2 08 00 D6 04 80 13 01 00 00 00 00 00 57 [08:45:29]Write i2c OK [08:45:29]MH_I2C_Read... [08:45:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:29]Read from MH i2c: E2 [08:45:29]MH_I2C_Read... [08:45:29]Read from MH i2c: E2 0E 00 [08:45:29]MH_I2C_Read... [08:45:29]Read from MH i2c: E2 0E 00 D6 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 71 [08:45:29]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:45:29]wFMCommunicate OK [08:45:29]SAM_PROTO_GetShiftState done [08:45:29]FM_GetShiftState done [08:45:29]req_shift_opened done [08:45:29]requested_item shift.open_date is exist - process it [08:45:29]req_shift_open_date [08:45:29]req_shift_open_date done [08:45:29]produce_requested_data done [08:45:29]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37073,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:45:29]process_action_free close_receipt [08:45:29]json_value_free [08:45:29]json_value_free done [08:45:29]process_json_proto returns [08:45:29]Send response to host [08:45:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37073,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:45:29]free response buf [08:45:29]execute_script done [08:45:29]execute_script returns [08:45:29]free content buf [08:45:29]Sock 7.Close socket [08:45:29]Sock 7.Thread stoped [08:45:29]OFD Sender: No OFD packet to send [08:45:30]int [08:45:30]Write to MH i2c: 01 00 00 D7 04 DB [08:45:30]*** FLAG_PRN_KEY set [08:45:30]Write i2c OK [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 D7 04 00 08 00 00 00 FF 0F F8 [08:45:30]state=0 [08:45:30]Key pressed [08:45:30]Feed [08:45:30]Write to MH i2c: D8 00 00 D8 04 B3 [08:45:30]Write i2c OK [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: D8 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: D8 01 00 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: D8 01 00 D8 04 00 B4 [08:45:30]int [08:45:30]Write to MH i2c: 01 00 00 D9 04 DD [08:45:30]Write i2c OK [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 D9 04 00 48 00 00 00 3C 00 68 [08:45:30]state=2 [08:45:30]Key pressed [08:45:30]int [08:45:30]Write to MH i2c: 01 00 00 DA 04 DE [08:45:30]*** FLAG_PRN_KEY reset [08:45:30]Write i2c OK [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 [08:45:30]MH_I2C_Read... [08:45:30]Read from MH i2c: 01 07 00 DA 04 00 00 00 00 00 F6 0F EA [08:45:30]state=2 [08:45:30]Stop feed [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]accept exits with 9 [08:58:24]New connection [08:58:24]New thread 3067563364 created [08:58:24]Thread 3067420004 joined [08:58:24]Waiting for new connection... [08:58:24] Sock 9.Parse request [08:58:24]Sock 9.Check first char [08:58:24]Sock 9.First char is OK [08:58:24]request: POST /json_proto HTTP/1.0 [08:58:24]Method: POST [08:58:24]URL: /json_proto [08:58:24]Method is POST - this is cgi request [08:58:24]url: /json_proto [08:58:24]query_string will be loaded in cgi processing [08:58:24]execute_cgi json_proto POST (null) [08:58:24]execute_cgi path=json_proto method=POST [08:58:24]POST find Content-Length [08:58:24]Host: 172.17.53.68:8080 [08:58:24]Content-Length: 678 [08:58:24]Content-Type: application/json [08:58:24] [08:58:24]POST finish read [08:58:24]Found Content-Length = 678 [08:58:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873586", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.460, "sum" : 900.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:24]execute_script... [08:58: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)873586", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.460, "sum" : 900.47, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:58:24]POST & json_proto [08:58:24]process_json_proto [08:58:24]json parsed OK: [08:58:24]protocol is kg_v1.0 [08:58:24]action value=close_receipt [08:58:24]process_action close_receipt [08:58:24]cmd_close_receipt [08:58:24]MH_GetDate [08:58:24]Write to MH i2c: F0 00 00 DB 04 CE [08:58:24]Write i2c OK [08:58:24]MH_I2C_Read... [08:58:24]Read from MH i2c: F0 [08:58:24]MH_I2C_Read... [08:58:24]Read from MH i2c: F0 09 00 [08:58:24]MH_I2C_Read... [08:58:24]Read from MH i2c: F0 09 00 DB 04 00 B3 74 13 67 C5 A4 76 66 BD [08:58:24]GetLastDocTimeStamp 1729327529 [08:58:24]current date 1729328307 [08:58:24]FM_GetShiftState [08:58:24]SAM_PROTO_GetShiftState [08:58:24]wFMCommunicate request_size=4 [08:58:24]MH_SAM_APDU [08:58:24]CAPDU: 80 13 01 00 [08:58:24]Write to MH i2c: E2 08 00 DC 04 80 13 01 00 00 00 00 00 5D [08:58:24]Write i2c OK [08:58:24]MH_I2C_Read... [08:58:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:24]Read from MH i2c: E2 [08:58:24]MH_I2C_Read... [08:58:24]Read from MH i2c: E2 0E 00 [08:58:24]MH_I2C_Read... [08:58:24]Read from MH i2c: E2 0E 00 DC 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 77 [08:58:24]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:58:24]wFMCommunicate OK [08:58:24]SAM_PROTO_GetShiftState done [08:58:24]FM_GetShiftState done [08:58:24]opened in 1729296796 [08:58:24]opened+sec_in_day 1729383196 [08:58:24]quantity*price = 90047 [08:58:24]sum+1 = 90048 [08:58:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.47 ИТОГО: 900.00 Внесено: 900.00 СДАЧА: 0.00 НСП 1% : 7.97 НДС 12% : 95.62 Наличными: 900.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 10 19.10.2024 08:58 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37074 ФПД: 106003881915082 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085827&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37074&fm=106003881915082&tin=02508201610067®Number=0000000000098149&sum=90000 [08:58:25]StoreToDocumentArchive [08:58:25]shift 460 fd 37074 [08:58:25]save to /storage/0460/doc_00037074 [08:58:25]save last doc name /storage/0460/doc_00037074 to /storage/kkm_last_doc_name [08:58:25]save OK [08:58:25]Clear old archive folders... [08:58:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:58:25]tlvbuf is 006244B0 [08:58:25]SAM_PROTO_ClearQueue [08:58:25]wFMCommunicate request_size=4 [08:58:25]MH_SAM_APDU [08:58:25]CAPDU: 80 09 00 00 [08:58:25]Write to MH i2c: E2 08 00 E9 04 80 09 00 00 00 00 00 00 5F [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 E9 04 00 90 00 61 [08:58:25]RAPDU: 90 00 [08:58:25]wFMCommunicate OK [08:58:25]SAM_PROTO_ClearQueue done [08:58:25]KKMCreateOFDPacket [08:58:25]OFDProtocolAddRootSTLVToBuf [08:58:25]FM_MakeSignedData [08:58:25]FM_MakeSignedData [08:58:25]SAM_PROTO_SignData [08:58:25]wFMCommunicate request_size=4 [08:58:25]MH_SAM_APDU [08:58:25]CAPDU: 80 0D 01 02 [08:58:25]Write to MH i2c: E2 08 00 EA 04 80 0D 01 02 00 00 00 00 67 [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 EA 04 00 90 00 62 [08:58:25]RAPDU: 90 00 [08:58:25]wFMCommunicate OK [08:58:25]wFMCommunicate request_size=255 [08:58:25]MH_SAM_APDU [08:58: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 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 B3 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D2 90 00 00 35 04 06 00 60 [08:58:25]Write to MH i2c: E2 02 01 EB 04 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 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 B3 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D2 90 00 00 35 04 06 00 60 00 00 53 [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 EB 04 00 90 00 63 [08:58:25]RAPDU: 90 00 [08:58:25]wFMCommunicate OK [08:58:25]wFMCommunicate request_size=10 [08:58:25]MH_SAM_APDU [08:58:25]CAPDU: 80 0D 02 02 05 68 F3 B9 F2 CA [08:58:25]Write to MH i2c: E2 0D 00 EC 04 80 0D 02 02 05 00 68 F3 B9 F2 CA 00 00 44 [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 03 00 EC 04 00 90 00 64 [08:58:25]RAPDU: 90 00 [08:58:25]wFMCommunicate OK [08:58:25]wFMCommunicate request_size=4 [08:58:25]MH_SAM_APDU [08:58:25]CAPDU: 80 0D 03 02 [08:58:25]Write to MH i2c: E2 08 00 ED 04 80 0D 03 02 00 00 00 00 6C [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 0B 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 0B 00 ED 04 00 DF 36 5C 85 3A 5A 39 B1 90 00 E1 [08:58:25]RAPDU: DF 36 5C 85 3A 5A 39 B1 90 00 [08:58:25]wFMCommunicate OK [08:58:25]SAM_PROTO_SignData done [08:58:25]FM_MakeSignedData done [08:58:25]CreateOFDProtocolMessage [08:58:25]wFMCommunicate request_size=4 [08:58:25]MH_SAM_APDU [08:58:25]CAPDU: 80 11 00 00 [08:58:25]Write to MH i2c: E2 08 00 EE 04 80 11 00 00 00 00 00 00 6C [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:25]Read from MH i2c: E2 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 17 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: E2 17 00 EE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BF [08:58:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:58:25]wFMCommunicate OK [08:58:25]CreateOFDProtocolMessage done [08:58:25]OFDSenderStorePacket 37074 [08:58:25]StoreOFDPacket docnum=37074 [08:58:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 29 B9 07 01 A3 D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 B3 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D2 90 00 00 35 04 06 00 60 68 F3 B9 F2 CA DF 36 5C 85 3A 5A 39 B1 [08:58:25]CheckFolder [08:58:25]dirname=/storage/ofd_packets [08:58:25]CheckFolder done [08:58:25]ProducePacketName [08:58:25]name=ofd_packets/00037074 [08:58:25]NVStorageSaveData ofd_packets/00037074 [08:58:25]File name is /storage/ofd_packets/00037074 [08:58:25]Write 301 bytes [08:58:25]NVStorageSaveData done [08:58:25]OFDSenderStorePacket done [08:58:25]KKMCreateOFDPacket done [08:58:25]NVStorageSaveData kkm_last_timestamp [08:58:25]File name is /storage/kkm_last_timestamp [08:58:25]Write 4 bytes [08:58:25]NVStorageSaveData done [08:58:25]ExternCall_PrintAddStr [08:58:25]wPrintStart [08:58:25]Write to MH i2c: 01 00 00 EF 04 F3 [08:58:25]OFD Sender: Processing packet 37074 [packets to send 25, broken 24] [08:58:25]ProducePacketName [08:58:25]name=ofd_packets/00037074 [08:58:25]OFD Sender: To server: pG, [08:58:25]CommunicateWithHost lk.salyk.kg:30040 [08:58:25]ConnectInit lk.salyk.kg [08:58:25]Write i2c OK [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: 01 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: 01 07 00 [08:58:25]MH_I2C_Read... [08:58:25]Read from MH i2c: 01 07 00 EF 04 00 00 00 00 00 FF 0F 08 [08:58:25]RasterBufferAndPrint [08:58:25]line Счет N : (1)873586 [08:58:25]line ИНН: 02508201610067 [08:58:25]line Контрольно-Кассовый Чек [08:58:25]line ПРОДАЖА [08:58:25]line ТРК (МРК, ГНК) : 42 [08:58:25]line Товар: 2710124130 [08:58:25]line Аи-92-К-5 [08:58:25]line 13.460 * 66.90 [08:58:25]line = 900.47 [08:58:25]line НДС 12% НСП 1% [08:58:25]line > о реализуемом товаре [08:58:25]line ОКРУГЛЕНИЕ: -0.47 [08:58:25]line ИТОГО: 900.00 [08:58:25]line Внесено: 900.00 [08:58:25]line СДАЧА: 0.00 [08:58:25]line НСП 1% : 7.97 [08:58:25]line НДС 12% : 95.62 [08:58:25]line Наличными: 900.00 [08:58:25]line Безнал.: 0.00 [08:58:25]line Место: АЗС № 165 "Партнер Нефть" [08:58:25]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:58:25]line СНО: Общий режим [08:58:25]line Чек 10 19.10.2024 08:58 [08:58:25]line Смена: 460 ФФД: 1.0 [08:58:25]line ЗНМ: 0300000235 [08:58:25]line РНМ: 0000000000098149 [08:58:25]line Версия ККМ: 001 [08:58:25]line ФМ: 0000000000965372 [08:58:25]line ФД: 37074 [08:58:25]line ФПД: 106003881915082 [08:58:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085827&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37074&fm=106003881915082&tin=02508201610067®Number=0000000000098149&sum=90000 [08:58:26]Connected sock=11 [08:58: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 33 37 32 0F 01 00 00 29 B9 07 01 A3 D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 BF 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 B3 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D2 90 00 00 35 04 06 00 60 68 F3 B9 F2 CA DF 36 5C 85 3A 5A 39 B1 [08:58:26]written 0, free lines is 4095 [08:58:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D1 4E 47 00 17 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D2 90 00 00 F4 03 04 00 49 1D 13 67 B6 04 01 00 00 CE 1C 4F 94 BA 9A 7B E3 [08:58:26]CommunicateWithHost err = 0 [08:58:26]CheckOFDResponse [08:58:26]1017 (14) - 77093643461234 [08:58:26]1041 (16) - 0000000000965372 [08:58:26]1040 (4) - 37074 [08:58:26]1012 (4) - 19.10.2024 02:45 [08:58:26]1206 (1) - 0 [08:58:26]OFD Sender: Remove packet 37074 [08:58:26]ProducePacketName [08:58:26]name=ofd_packets/00037074 [08:58:26]NVStorageDeleteData [08:58:26]Write to MH i2c: 01 00 00 1A 05 1F [08:58:26]Write i2c OK [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: 01 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: 01 07 00 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: 01 07 00 1A 05 00 00 00 00 00 D9 0C 0B [08:58:26]RasterBufferAndPrint [08:58:26]line [08:58:26]line [08:58:26]line [08:58:26]line [08:58:26]line [08:58:26]written 0, free lines is 3297 [08:58:26]process_action close_receipt done [08:58:26]requested_data is exist [08:58:26]produce_requested_data [08:58:26]requested_item fm.sn is exist - process it [08:58:26]wFMCommunicate request_size=4 [08:58:26]MH_SAM_APDU [08:58:26]CAPDU: 80 11 00 00 [08:58:26]Write to MH i2c: E2 08 00 21 05 80 11 00 00 00 00 00 00 A0 [08:58:26]Write i2c OK [08:58:26]MH_I2C_Read... [08:58:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:26]Read from MH i2c: E2 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: E2 17 00 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: E2 17 00 21 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F3 [08:58:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:58:26]wFMCommunicate OK [08:58:26]requested_item fd.num is exist - process it [08:58:26]SAM_PROTO_GetFieldsCounters [08:58:26]wFMCommunicate request_size=4 [08:58:26]MH_SAM_APDU [08:58:26]CAPDU: 80 13 00 00 [08:58:26]Write to MH i2c: E2 08 00 22 05 80 13 00 00 00 00 00 00 A3 [08:58:26]Write i2c OK [08:58:26]MH_I2C_Read... [08:58:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:58:26]Read from MH i2c: E2 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: E2 62 00 [08:58:26]MH_I2C_Read... [08:58:26]Read from MH i2c: E2 62 00 22 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D2 90 00 00 0E 04 04 00 CC 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 17 [08:58: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D2 90 00 00 0E 04 04 00 CC 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 [08:58:26]wFMCommunicate OK [08:58:26]SAM_PROTO_GetFieldsCounters done [08:58:26]requested_item shift.num is exist - process it [08:58:26]requested_item shift.opened is exist - process it [08:58:26]req_shift_opened [08:58:26]FM_GetShiftState [08:58:26]SAM_PROTO_GetShiftState [08:58:26]wFMCommunicate request_size=4 [08:58:26]MH_SAM_APDU [08:58:26]CAPDU: 80 13 01 00 [08:58:26]Write to MH i2c: E2 08 00 23 05 80 13 01 00 00 00 00 00 A5 [08:58:26]Write i2c OK [08:58:26]MH_I2C_Read... [08:58:27]OFD Sender: No OFD packet to send [08:58:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:27]Read from MH i2c: E2 [08:58:27]MH_I2C_Read... [08:58:27]Read from MH i2c: E2 0E 00 [08:58:27]MH_I2C_Read... [08:58:27]Read from MH i2c: E2 0E 00 23 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 BF [08:58:27]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:58:27]wFMCommunicate OK [08:58:27]SAM_PROTO_GetShiftState done [08:58:27]FM_GetShiftState done [08:58:27]req_shift_opened done [08:58:27]requested_item shift.open_date is exist - process it [08:58:27]req_shift_open_date [08:58:27]req_shift_open_date done [08:58:27]produce_requested_data done [08:58:27]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37074,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:58:27]process_action_free close_receipt [08:58:27]json_value_free [08:58:27]json_value_free done [08:58:27]process_json_proto returns [08:58:27]Send response to host [08:58:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37074,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:58:27]free response buf [08:58:27]execute_script done [08:58:27]execute_script returns [08:58:27]free content buf [08:58:27]Sock 9.Close socket [08:58:27]Sock 9.Thread stoped [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:09]accept exits with 7 [08:59:09]New connection [08:59:09]New thread 3067420004 created [08:59:09]Thread 3067563364 joined [08:59:09]Waiting for new connection... [08:59:09] Sock 7.Parse request [08:59:09]Sock 7.Check first char [08:59:09]Sock 7.First char is OK [08:59:09]request: POST /json_proto HTTP/1.0 [08:59:09]Method: POST [08:59:09]URL: /json_proto [08:59:09]Method is POST - this is cgi request [08:59:09]url: /json_proto [08:59:09]query_string will be loaded in cgi processing [08:59:09]execute_cgi json_proto POST (null) [08:59:09]execute_cgi path=json_proto method=POST [08:59:09]POST find Content-Length [08:59:09]Host: 172.17.53.68:8080 [08:59:09]Content-Length: 677 [08:59:09]Content-Type: application/json [08:59:09] [08:59:09]POST finish read [08:59:09]Found Content-Length = 677 [08:59:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873588", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:09]execute_script... [08:59:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873588", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:59:09]POST & json_proto [08:59:09]process_json_proto [08:59:09]json parsed OK: [08:59:09]protocol is kg_v1.0 [08:59:09]action value=close_receipt [08:59:09]process_action close_receipt [08:59:09]cmd_close_receipt [08:59:09]MH_GetDate [08:59:09]Write to MH i2c: F0 00 00 24 05 18 [08:59:09]Write i2c OK [08:59:09]MH_I2C_Read... [08:59:09]Read from MH i2c: F0 [08:59:09]MH_I2C_Read... [08:59:09]Read from MH i2c: F0 09 00 [08:59:09]MH_I2C_Read... [08:59:09]Read from MH i2c: F0 09 00 24 05 00 E1 74 13 67 C5 A4 76 66 35 [08:59:09]GetLastDocTimeStamp 1729328307 [08:59:09]current date 1729328353 [08:59:09]FM_GetShiftState [08:59:09]SAM_PROTO_GetShiftState [08:59:09]wFMCommunicate request_size=4 [08:59:09]MH_SAM_APDU [08:59:09]CAPDU: 80 13 01 00 [08:59:09]Write to MH i2c: E2 08 00 25 05 80 13 01 00 00 00 00 00 A7 [08:59:09]Write i2c OK [08:59:09]MH_I2C_Read... [08:59:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:09]Read from MH i2c: E2 [08:59:09]MH_I2C_Read... [08:59:09]Read from MH i2c: E2 0E 00 [08:59:09]MH_I2C_Read... [08:59:09]Read from MH i2c: E2 0E 00 25 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C1 [08:59:09]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:59:09]wFMCommunicate OK [08:59:09]SAM_PROTO_GetShiftState done [08:59:09]FM_GetShiftState done [08:59:09]opened in 1729296796 [08:59:09]opened+sec_in_day 1729383196 [08:59:09]quantity*price = 50041 [08:59:09]sum+1 = 50042 [08:59:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 11 19.10.2024 08:59 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37075 ФПД: 270724328951494 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085913&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37075&fm=270724328951494&tin=02508201610067®Number=0000000000098149&sum=50000 [08:59:10]StoreToDocumentArchive [08:59:10]shift 460 fd 37075 [08:59:10]save to /storage/0460/doc_00037075 [08:59:10]save last doc name /storage/0460/doc_00037075 to /storage/kkm_last_doc_name [08:59:10]save OK [08:59:10]Clear old archive folders... [08:59:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:59:10]tlvbuf is 005F9B90 [08:59:10]SAM_PROTO_ClearQueue [08:59:10]wFMCommunicate request_size=4 [08:59:10]MH_SAM_APDU [08:59:10]CAPDU: 80 09 00 00 [08:59:10]Write to MH i2c: E2 08 00 32 05 80 09 00 00 00 00 00 00 A9 [08:59:10]Write i2c OK [08:59:10]MH_I2C_Read... [08:59:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:59:10]Read from MH i2c: E2 [08:59:10]MH_I2C_Read... [08:59:10]Read from MH i2c: E2 03 00 [08:59:10]MH_I2C_Read... [08:59:10]Read from MH i2c: E2 03 00 32 05 00 90 00 AB [08:59:10]RAPDU: 90 00 [08:59:10]wFMCommunicate OK [08:59:10]SAM_PROTO_ClearQueue done [08:59:10]KKMCreateOFDPacket [08:59:10]OFDProtocolAddRootSTLVToBuf [08:59:10]FM_MakeSignedData [08:59:10]FM_MakeSignedData [08:59:10]SAM_PROTO_SignData [08:59:10]wFMCommunicate request_size=4 [08:59:10]MH_SAM_APDU [08:59:10]CAPDU: 80 0D 01 02 [08:59:10]Write to MH i2c: E2 08 00 33 05 80 0D 01 02 00 00 00 00 B1 [08:59:10]Write i2c OK [08:59:10]MH_I2C_Read... [08:59:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:59:10]Read from MH i2c: E2 [08:59:10]MH_I2C_Read... [08:59:10]Read from MH i2c: E2 03 00 [08:59:10]MH_I2C_Read... [08:59:10]Read from MH i2c: E2 03 00 33 05 00 90 00 AC [08:59:10]RAPDU: 90 00 [08:59:10]wFMCommunicate OK [08:59:10]wFMCommunicate request_size=255 [08:59:10]MH_SAM_APDU [08:59:10]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E1 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D3 90 00 00 35 04 06 00 F6 [08:59:10]Write to MH i2c: E2 02 01 34 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E1 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D3 90 00 00 35 04 06 00 F6 00 00 46 [08:59:10]Write i2c OK [08:59:10]MH_I2C_Read... [08:59:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:11]Read from MH i2c: E2 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 03 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 03 00 34 05 00 90 00 AD [08:59:11]RAPDU: 90 00 [08:59:11]wFMCommunicate OK [08:59:11]wFMCommunicate request_size=10 [08:59:11]MH_SAM_APDU [08:59:11]CAPDU: 80 0D 02 02 05 38 EB 75 8E C6 [08:59:11]Write to MH i2c: E2 0D 00 35 05 80 0D 02 02 05 00 38 EB 75 8E C6 00 00 AA [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:59:11]Read from MH i2c: E2 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 03 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 03 00 35 05 00 90 00 AE [08:59:11]RAPDU: 90 00 [08:59:11]wFMCommunicate OK [08:59:11]wFMCommunicate request_size=4 [08:59:11]MH_SAM_APDU [08:59:11]CAPDU: 80 0D 03 02 [08:59:11]Write to MH i2c: E2 08 00 36 05 80 0D 03 02 00 00 00 00 B6 [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:59:11]Read from MH i2c: E2 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 0B 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 0B 00 36 05 00 BD 21 09 45 BA F7 92 D6 90 00 FC [08:59:11]RAPDU: BD 21 09 45 BA F7 92 D6 90 00 [08:59:11]wFMCommunicate OK [08:59:11]SAM_PROTO_SignData done [08:59:11]FM_MakeSignedData done [08:59:11]CreateOFDProtocolMessage [08:59:11]wFMCommunicate request_size=4 [08:59:11]MH_SAM_APDU [08:59:11]CAPDU: 80 11 00 00 [08:59:11]Write to MH i2c: E2 08 00 37 05 80 11 00 00 00 00 00 00 B6 [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:11]Read from MH i2c: E2 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 17 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: E2 17 00 37 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 09 [08:59:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:59:11]wFMCommunicate OK [08:59:11]CreateOFDProtocolMessage done [08:59:11]OFDSenderStorePacket 37075 [08:59:11]StoreOFDPacket docnum=37075 [08:59:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 50 ED 07 01 5D 61 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E1 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D3 90 00 00 35 04 06 00 F6 38 EB 75 8E C6 BD 21 09 45 BA F7 92 D6 [08:59:11]CheckFolder [08:59:11]dirname=/storage/ofd_packets [08:59:11]CheckFolder done [08:59:11]ProducePacketName [08:59:11]name=ofd_packets/00037075 [08:59:11]NVStorageSaveData ofd_packets/00037075 [08:59:11]File name is /storage/ofd_packets/00037075 [08:59:11]Write 301 bytes [08:59:11]NVStorageSaveData done [08:59:11]OFDSenderStorePacket done [08:59:11]KKMCreateOFDPacket done [08:59:11]NVStorageSaveData kkm_last_timestamp [08:59:11]File name is /storage/kkm_last_timestamp [08:59:11]Write 4 bytes [08:59:11]NVStorageSaveData done [08:59:11]ExternCall_PrintAddStr [08:59:11]wPrintStart [08:59:11]Write to MH i2c: 01 00 00 38 05 3D [08:59:11]Write i2c OK [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: 01 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: 01 07 00 [08:59:11]MH_I2C_Read... [08:59:11]Read from MH i2c: 01 07 00 38 05 00 00 00 00 00 FF 0F 52 [08:59:11]RasterBufferAndPrint [08:59:11]line Счет N : (1)873588 [08:59:11]line ИНН: 02508201610067 [08:59:11]line Контрольно-Кассовый Чек [08:59:11]line ПРОДАЖА [08:59:11]line ТРК (МРК, ГНК) : 22 [08:59:11]line Товар: 2710124130 [08:59:11]line Аи-92-К-5 [08:59:11]line 7.480 * 66.90 [08:59:11]line = 500.41 [08:59:11]line НДС 12% НСП 1% [08:59:11]line > о реализуемом товаре [08:59:11]line ОКРУГЛЕНИЕ: -0.41 [08:59:11]line ИТОГО: 500.00 [08:59:11]line Внесено: 500.00 [08:59:11]line СДАЧА: 0.00 [08:59:11]line НСП 1% : 4.43 [08:59:11]line НДС 12% : 53.14 [08:59:11]line Наличными: 500.00 [08:59:11]line Безнал.: 0.00 [08:59:11]line Место: АЗС № 165 "Партнер Нефть" [08:59:11]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [08:59:11]line СНО: Общий режим [08:59:11]line Чек 11 19.10.2024 08:59 [08:59:11]line Смена: 460 ФФД: 1.0 [08:59:11]line ЗНМ: 0300000235 [08:59:11]line РНМ: 0000000000098149 [08:59:11]line Версия ККМ: 001 [08:59:11]line ФМ: 0000000000965372 [08:59:11]line ФД: 37075 [08:59:11]line ФПД: 270724328951494 [08:59:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T085913&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37075&fm=270724328951494&tin=02508201610067®Number=0000000000098149&sum=50000 [08:59:11]OFD Sender: Processing packet 37075 [packets to send 25, broken 24] [08:59:11]ProducePacketName [08:59:11]name=ofd_packets/00037075 [08:59:11]OFD Sender: To server: pG, [08:59:11]CommunicateWithHost lk.salyk.kg:30040 [08:59:11]ConnectInit lk.salyk.kg [08:59:11]written 0, free lines is 4095 [08:59:11]Connected sock=10 [08:59: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 33 37 32 0F 01 00 00 50 ED 07 01 5D 61 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E1 74 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D3 90 00 00 35 04 06 00 F6 38 EB 75 8E C6 BD 21 09 45 BA F7 92 D6 [08:59:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 6A 60 47 00 2E 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D3 90 00 00 F4 03 04 00 77 1D 13 67 B6 04 01 00 00 53 64 AC 63 99 96 40 40 [08:59:12]CommunicateWithHost err = 0 [08:59:12]CheckOFDResponse [08:59:12]1017 (14) - 77093643461234 [08:59:12]1041 (16) - 0000000000965372 [08:59:12]1040 (4) - 37075 [08:59:12]1012 (4) - 19.10.2024 02:46 [08:59:12]1206 (1) - 0 [08:59:12]OFD Sender: Remove packet 37075 [08:59:12]ProducePacketName [08:59:12]name=ofd_packets/00037075 [08:59:12]NVStorageDeleteData [08:59:12]Write to MH i2c: 01 00 00 63 05 68 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: 01 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: 01 07 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: 01 07 00 63 05 00 00 00 00 00 DC 0C 57 [08:59:12]RasterBufferAndPrint [08:59:12]line [08:59:12]line [08:59:12]line [08:59:12]line [08:59:12]line [08:59:12]written 0, free lines is 3298 [08:59:12]process_action close_receipt done [08:59:12]requested_data is exist [08:59:12]produce_requested_data [08:59:12]requested_item fm.sn is exist - process it [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 11 00 00 [08:59:12]Write to MH i2c: E2 08 00 6A 05 80 11 00 00 00 00 00 00 E9 [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 17 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 17 00 6A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3C [08:59:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [08:59:12]wFMCommunicate OK [08:59:12]requested_item fd.num is exist - process it [08:59:12]SAM_PROTO_GetFieldsCounters [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 13 00 00 [08:59:12]Write to MH i2c: E2 08 00 6B 05 80 13 00 00 00 00 00 00 EC [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 62 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 62 00 6B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D3 90 00 00 0E 04 04 00 CC 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 64 [08:59:12]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D3 90 00 00 0E 04 04 00 CC 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 [08:59:12]wFMCommunicate OK [08:59:12]SAM_PROTO_GetFieldsCounters done [08:59:12]requested_item shift.num is exist - process it [08:59:12]requested_item shift.opened is exist - process it [08:59:12]req_shift_opened [08:59:12]FM_GetShiftState [08:59:12]SAM_PROTO_GetShiftState [08:59:12]wFMCommunicate request_size=4 [08:59:12]MH_SAM_APDU [08:59:12]CAPDU: 80 13 01 00 [08:59:12]Write to MH i2c: E2 08 00 6C 05 80 13 01 00 00 00 00 00 EE [08:59:12]Write i2c OK [08:59:12]MH_I2C_Read... [08:59:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:59:12]Read from MH i2c: E2 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0E 00 [08:59:12]MH_I2C_Read... [08:59:12]Read from MH i2c: E2 0E 00 6C 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 08 [08:59:12]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [08:59:12]wFMCommunicate OK [08:59:12]SAM_PROTO_GetShiftState done [08:59:12]FM_GetShiftState done [08:59:12]req_shift_opened done [08:59:12]requested_item shift.open_date is exist - process it [08:59:12]req_shift_open_date [08:59:12]req_shift_open_date done [08:59:12]produce_requested_data done [08:59:12]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37075,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [08:59:12]process_action_free close_receipt [08:59:12]json_value_free [08:59:12]json_value_free done [08:59:12]process_json_proto returns [08:59:12]Send response to host [08:59:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37075,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [08:59:12]free response buf [08:59:12]execute_script done [08:59:12]execute_script returns [08:59:12]free content buf [08:59:12]Sock 7.Close socket [08:59:12]Sock 7.Thread stoped [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:05:59]accept exits with 9 [09:05:59]New connection [09:05:59]New thread 3067563364 created [09:05:59]Thread 3067420004 joined [09:05:59]Waiting for new connection... [09:05:59] Sock 9.Parse request [09:05:59]Sock 9.Check first char [09:05:59]Sock 9.First char is OK [09:05:59]request: POST /json_proto HTTP/1.0 [09:05:59]Method: POST [09:05:59]URL: /json_proto [09:05:59]Method is POST - this is cgi request [09:05:59]url: /json_proto [09:05:59]query_string will be loaded in cgi processing [09:05:59]execute_cgi json_proto POST (null) [09:05:59]execute_cgi path=json_proto method=POST [09:05:59]POST find Content-Length [09:05:59]Host: 172.17.53.68:8080 [09:05:59]Content-Length: 682 [09:05:59]Content-Type: application/json [09:05:59] [09:05:59]POST finish read [09:05:59]Found Content-Length = 682 [09:05:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873594", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:05:59]execute_script... [09:05:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873594", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:05:59]POST & json_proto [09:05:59]process_json_proto [09:05:59]json parsed OK: [09:05:59]protocol is kg_v1.0 [09:05:59]action value=close_receipt [09:05:59]process_action close_receipt [09:05:59]cmd_close_receipt [09:05:59]MH_GetDate [09:05:59]Write to MH i2c: F0 00 00 6D 05 61 [09:05:59]Write i2c OK [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: F0 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: F0 09 00 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: F0 09 00 6D 05 00 7B 76 13 67 C5 A4 76 66 1A [09:05:59]GetLastDocTimeStamp 1729328353 [09:05:59]current date 1729328763 [09:05:59]FM_GetShiftState [09:05:59]SAM_PROTO_GetShiftState [09:05:59]wFMCommunicate request_size=4 [09:05:59]MH_SAM_APDU [09:05:59]CAPDU: 80 13 01 00 [09:05:59]Write to MH i2c: E2 08 00 6E 05 80 13 01 00 00 00 00 00 F0 [09:05:59]Write i2c OK [09:05:59]MH_I2C_Read... [09:06:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:00]Read from MH i2c: E2 [09:06:00]MH_I2C_Read... [09:06:00]Read from MH i2c: E2 0E 00 [09:06:00]MH_I2C_Read... [09:06:00]Read from MH i2c: E2 0E 00 6E 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0A [09:06:00]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:00]wFMCommunicate OK [09:06:00]SAM_PROTO_GetShiftState done [09:06:00]FM_GetShiftState done [09:06:00]opened in 1729296796 [09:06:00]opened+sec_in_day 1729383196 [09:06:00]quantity*price = 100021 [09:06:00]sum+1 = 100023 [09:06:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 12 19.10.2024 09:06 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37076 ФПД: 134781044496753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090603&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37076&fm=134781044496753&tin=02508201610067®Number=0000000000098149&sum=100000 [09:06:01]StoreToDocumentArchive [09:06:01]shift 460 fd 37076 [09:06:01]save to /storage/0460/doc_00037076 [09:06:01]save last doc name /storage/0460/doc_00037076 to /storage/kkm_last_doc_name [09:06:01]save OK [09:06:01]Clear old archive folders... [09:06:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:06:01]tlvbuf is 005D9D50 [09:06:01]SAM_PROTO_ClearQueue [09:06:01]wFMCommunicate request_size=4 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 09 00 00 [09:06:01]Write to MH i2c: E2 08 00 7B 05 80 09 00 00 00 00 00 00 F2 [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 7B 05 00 90 00 F4 [09:06:01]RAPDU: 90 00 [09:06:01]wFMCommunicate OK [09:06:01]SAM_PROTO_ClearQueue done [09:06:01]KKMCreateOFDPacket [09:06:01]OFDProtocolAddRootSTLVToBuf [09:06:01]FM_MakeSignedData [09:06:01]FM_MakeSignedData [09:06:01]SAM_PROTO_SignData [09:06:01]wFMCommunicate request_size=4 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 0D 01 02 [09:06:01]Write to MH i2c: E2 08 00 7C 05 80 0D 01 02 00 00 00 00 FA [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 7C 05 00 90 00 F5 [09:06:01]RAPDU: 90 00 [09:06:01]wFMCommunicate OK [09:06:01]wFMCommunicate request_size=255 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7B 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D4 90 00 00 35 04 06 00 7A [09:06:01]Write to MH i2c: E2 02 01 7D 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7B 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D4 90 00 00 35 04 06 00 7A 00 00 CE [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 7D 05 00 90 00 F6 [09:06:01]RAPDU: 90 00 [09:06:01]wFMCommunicate OK [09:06:01]wFMCommunicate request_size=10 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 0D 02 02 05 95 28 47 99 71 [09:06:01]Write to MH i2c: E2 0D 00 7E 05 80 0D 02 02 05 00 95 28 47 99 71 00 00 15 [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 03 00 7E 05 00 90 00 F7 [09:06:01]RAPDU: 90 00 [09:06:01]wFMCommunicate OK [09:06:01]wFMCommunicate request_size=4 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 0D 03 02 [09:06:01]Write to MH i2c: E2 08 00 7F 05 80 0D 03 02 00 00 00 00 FF [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 0B 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 0B 00 7F 05 00 D6 01 B7 15 DE 3F D9 5C 90 00 F5 [09:06:01]RAPDU: D6 01 B7 15 DE 3F D9 5C 90 00 [09:06:01]wFMCommunicate OK [09:06:01]SAM_PROTO_SignData done [09:06:01]FM_MakeSignedData done [09:06:01]CreateOFDProtocolMessage [09:06:01]wFMCommunicate request_size=4 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 11 00 00 [09:06:01]Write to MH i2c: E2 08 00 80 05 80 11 00 00 00 00 00 00 FF [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 17 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 17 00 80 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 52 [09:06:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:01]wFMCommunicate OK [09:06:01]CreateOFDProtocolMessage done [09:06:01]OFDSenderStorePacket 37076 [09:06:01]StoreOFDPacket docnum=37076 [09:06:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 F9 E8 07 01 7E 21 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7B 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D4 90 00 00 35 04 06 00 7A 95 28 47 99 71 D6 01 B7 15 DE 3F D9 5C [09:06:01]CheckFolder [09:06:01]dirname=/storage/ofd_packets [09:06:01]CheckFolder done [09:06:01]ProducePacketName [09:06:01]name=ofd_packets/00037076 [09:06:01]NVStorageSaveData ofd_packets/00037076 [09:06:01]File name is /storage/ofd_packets/00037076 [09:06:01]Write 301 bytes [09:06:01]NVStorageSaveData done [09:06:01]OFDSenderStorePacket done [09:06:01]KKMCreateOFDPacket done [09:06:01]NVStorageSaveData kkm_last_timestamp [09:06:01]File name is /storage/kkm_last_timestamp [09:06:01]Write 4 bytes [09:06:01]NVStorageSaveData done [09:06:01]ExternCall_PrintAddStr [09:06:01]wPrintStart [09:06:01]Write to MH i2c: 01 00 00 81 05 86 [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: 01 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: 01 07 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: 01 07 00 81 05 00 00 00 00 00 FF 0F 9B [09:06:01]RasterBufferAndPrint [09:06:01]line Счет N : (1)873594 [09:06:01]line ИНН: 02508201610067 [09:06:01]line Контрольно-Кассовый Чек [09:06:01]line ПРОДАЖА [09:06:01]line ТРК (МРК, ГНК) : 21 [09:06:01]line Товар: 2710124500 [09:06:01]line Аи-95-К-5 [09:06:01]line 13.480 * 74.20 [09:06:01]line = 1000.22 [09:06:01]line НДС 12% НСП 1% [09:06:01]line > о реализуемом товаре [09:06:01]line ОКРУГЛЕНИЕ: -0.22 [09:06:01]line ИТОГО: 1000.00 [09:06:01]line Внесено: 1000.00 [09:06:01]line СДАЧА: 0.00 [09:06:01]line НСП 1% : 8.85 [09:06:01]line НДС 12% : 106.22 [09:06:01]line Наличными: 1000.00 [09:06:01]line Безнал.: 0.00 [09:06:01]line Место: АЗС № 165 "Партнер Нефть" [09:06:01]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:06:01]line СНО: Общий режим [09:06:01]line Чек 12 19.10.2024 09:06 [09:06:01]line Смена: 460 ФФД: 1.0 [09:06:01]line ЗНМ: 0300000235 [09:06:01]line РНМ: 0000000000098149 [09:06:01]line Версия ККМ: 001 [09:06:01]line ФМ: 0000000000965372 [09:06:01]line ФД: 37076 [09:06:01]line ФПД: 134781044496753 [09:06:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090603&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37076&fm=134781044496753&tin=02508201610067®Number=0000000000098149&sum=100000 [09:06:01]OFD Sender: Processing packet 37076 [packets to send 25, broken 24] [09:06:01]ProducePacketName [09:06:01]name=ofd_packets/00037076 [09:06:01]OFD Sender: To server: pG, [09:06:01]CommunicateWithHost lk.salyk.kg:30040 [09:06:01]ConnectInit lk.salyk.kg [09:06:01]written 0, free lines is 4095 [09:06:02]Connected sock=10 [09:06: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 33 37 32 0F 01 00 00 F9 E8 07 01 7E 21 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7B 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D4 90 00 00 35 04 06 00 7A 95 28 47 99 71 D6 01 B7 15 DE 3F D9 5C [09:06:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D2 E4 47 00 6E 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 33 37 32 10 04 04 00 D4 90 00 00 F4 03 04 00 11 1F 13 67 B6 04 01 00 00 D1 FC E8 18 F8 4E 3F B5 [09:06:02]CommunicateWithHost err = 0 [09:06:02]CheckOFDResponse [09:06:02]1017 (14) - 77093643461234 [09:06:02]1041 (16) - 0000000000965372 [09:06:02]1040 (4) - 37076 [09:06:02]1012 (4) - 19.10.2024 02:53 [09:06:02]1206 (1) - 0 [09:06:02]OFD Sender: Remove packet 37076 [09:06:02]ProducePacketName [09:06:02]name=ofd_packets/00037076 [09:06:02]NVStorageDeleteData [09:06:02]Write to MH i2c: 01 00 00 AC 05 B1 [09:06:02]Write i2c OK [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: 01 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: 01 07 00 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: 01 07 00 AC 05 00 00 00 00 00 DD 0C A1 [09:06:02]RasterBufferAndPrint [09:06:02]line [09:06:02]line [09:06:02]line [09:06:02]line [09:06:02]line [09:06:02]written 0, free lines is 3299 [09:06:02]process_action close_receipt done [09:06:02]requested_data is exist [09:06:02]produce_requested_data [09:06:02]requested_item fm.sn is exist - process it [09:06:02]wFMCommunicate request_size=4 [09:06:02]MH_SAM_APDU [09:06:02]CAPDU: 80 11 00 00 [09:06:02]Write to MH i2c: E2 08 00 B3 05 80 11 00 00 00 00 00 00 32 [09:06:02]Write i2c OK [09:06:02]MH_I2C_Read... [09:06:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:02]Read from MH i2c: E2 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 17 00 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 17 00 B3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 85 [09:06:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:02]wFMCommunicate OK [09:06:02]requested_item fd.num is exist - process it [09:06:02]SAM_PROTO_GetFieldsCounters [09:06:02]wFMCommunicate request_size=4 [09:06:02]MH_SAM_APDU [09:06:02]CAPDU: 80 13 00 00 [09:06:02]Write to MH i2c: E2 08 00 B4 05 80 13 00 00 00 00 00 00 35 [09:06:02]Write i2c OK [09:06:02]MH_I2C_Read... [09:06:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:02]Read from MH i2c: E2 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 62 00 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 62 00 B4 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D4 90 00 00 0E 04 04 00 CC 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 B1 [09:06:02]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D4 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:02]wFMCommunicate OK [09:06:02]SAM_PROTO_GetFieldsCounters done [09:06:02]requested_item shift.num is exist - process it [09:06:02]requested_item shift.opened is exist - process it [09:06:02]req_shift_opened [09:06:02]FM_GetShiftState [09:06:02]SAM_PROTO_GetShiftState [09:06:02]wFMCommunicate request_size=4 [09:06:02]MH_SAM_APDU [09:06:02]CAPDU: 80 13 01 00 [09:06:02]Write to MH i2c: E2 08 00 B5 05 80 13 01 00 00 00 00 00 37 [09:06:02]Write i2c OK [09:06:02]MH_I2C_Read... [09:06:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:02]Read from MH i2c: E2 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 0E 00 [09:06:02]MH_I2C_Read... [09:06:02]Read from MH i2c: E2 0E 00 B5 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 51 [09:06:02]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:02]wFMCommunicate OK [09:06:02]SAM_PROTO_GetShiftState done [09:06:02]FM_GetShiftState done [09:06:02]req_shift_opened done [09:06:02]requested_item shift.open_date is exist - process it [09:06:02]req_shift_open_date [09:06:02]req_shift_open_date done [09:06:02]produce_requested_data done [09:06:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37076,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:06:02]process_action_free close_receipt [09:06:02]json_value_free [09:06:02]json_value_free done [09:06:02]process_json_proto returns [09:06:02]Send response to host [09:06:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37076,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:06:02]free response buf [09:06:02]execute_script done [09:06:02]execute_script returns [09:06:02]free content buf [09:06:02]Sock 9.Close socket [09:06:02]Sock 9.Thread stoped [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]accept exits with 7 [09:06:17]New connection [09:06:17]New thread 3067420004 created [09:06:17]Thread 3067563364 joined [09:06:17]Waiting for new connection... [09:06:17] Sock 7.Parse request [09:06:17]Sock 7.Check first char [09:06:17]Sock 7.First char is OK [09:06:17]request: POST /json_proto HTTP/1.0 [09:06:17]Method: POST [09:06:17]URL: /json_proto [09:06:17]Method is POST - this is cgi request [09:06:17]url: /json_proto [09:06:17]query_string will be loaded in cgi processing [09:06:17]execute_cgi json_proto POST (null) [09:06:17]execute_cgi path=json_proto method=POST [09:06:17]POST find Content-Length [09:06:17]Host: 172.17.53.68:8080 [09:06:17]Content-Length: 676 [09:06:17]Content-Type: application/json [09:06:17] [09:06:17]POST finish read [09:06:17]Found Content-Length = 676 [09:06:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76582", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:17]execute_script... [09:06: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)76582", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:17]POST & json_proto [09:06:17]process_json_proto [09:06:17]json parsed OK: [09:06:17]protocol is kg_v1.0 [09:06:17]action value=close_receipt [09:06:17]process_action close_receipt [09:06:17]cmd_close_receipt [09:06:17]MH_GetDate [09:06:17]Write to MH i2c: F0 00 00 B6 05 AA [09:06:17]Write i2c OK [09:06:17]MH_I2C_Read... [09:06:17]Read from MH i2c: F0 [09:06:17]MH_I2C_Read... [09:06:17]Read from MH i2c: F0 09 00 [09:06:17]MH_I2C_Read... [09:06:17]Read from MH i2c: F0 09 00 B6 05 00 8C 76 13 67 C5 A4 76 66 74 [09:06:17]GetLastDocTimeStamp 1729328763 [09:06:17]current date 1729328780 [09:06:17]FM_GetShiftState [09:06:17]SAM_PROTO_GetShiftState [09:06:17]wFMCommunicate request_size=4 [09:06:17]MH_SAM_APDU [09:06:17]CAPDU: 80 13 01 00 [09:06:17]Write to MH i2c: E2 08 00 B7 05 80 13 01 00 00 00 00 00 39 [09:06:17]Write i2c OK [09:06:17]MH_I2C_Read... [09:06:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:17]Read from MH i2c: E2 [09:06:17]MH_I2C_Read... [09:06:17]Read from MH i2c: E2 0E 00 [09:06:17]MH_I2C_Read... [09:06:17]Read from MH i2c: E2 0E 00 B7 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 53 [09:06:17]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:17]wFMCommunicate OK [09:06:17]SAM_PROTO_GetShiftState done [09:06:17]FM_GetShiftState done [09:06:17]opened in 1729296796 [09:06:17]opened+sec_in_day 1729383196 [09:06:17]quantity*price = 17800 [09:06:17]sum+1 = 17801 [09:06:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 178.00 НСП 1% : 1.57 НДС 12% : 18.90 Наличными: 178.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 13 19.10.2024 09:06 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37077 ФПД: 250299640064459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090621&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37077&fm=250299640064459&tin=02508201610067®Number=0000000000098149&sum=17800 0 [09:06:18]StoreToDocumentArchive [09:06:18]shift 460 fd 37077 [09:06:18]save to /storage/0460/doc_00037077 [09:06:18]save last doc name /storage/0460/doc_00037077 to /storage/kkm_last_doc_name [09:06:18]save OK [09:06:18]Clear old archive folders... [09:06:18]ProcessDocumentItem done err = 0, tmpTLVsize=286 [09:06:18]tlvbuf is 00624500 [09:06:18]SAM_PROTO_ClearQueue [09:06:18]wFMCommunicate request_size=4 [09:06:18]MH_SAM_APDU [09:06:18]CAPDU: 80 09 00 00 [09:06:18]Write to MH i2c: E2 08 00 C4 05 80 09 00 00 00 00 00 00 3B [09:06:18]Write i2c OK [09:06:18]MH_I2C_Read... [09:06:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:18]Read from MH i2c: E2 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 C4 05 00 90 00 3D [09:06:18]RAPDU: 90 00 [09:06:18]wFMCommunicate OK [09:06:18]SAM_PROTO_ClearQueue done [09:06:18]KKMCreateOFDPacket [09:06:18]OFDProtocolAddRootSTLVToBuf [09:06:18]FM_MakeSignedData [09:06:18]FM_MakeSignedData [09:06:18]SAM_PROTO_SignData [09:06:18]wFMCommunicate request_size=4 [09:06:18]MH_SAM_APDU [09:06:18]CAPDU: 80 0D 01 02 [09:06:18]Write to MH i2c: E2 08 00 C5 05 80 0D 01 02 00 00 00 00 43 [09:06:18]Write i2c OK [09:06:18]MH_I2C_Read... [09:06:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:18]Read from MH i2c: E2 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 C5 05 00 90 00 3E [09:06:18]RAPDU: 90 00 [09:06:18]wFMCommunicate OK [09:06:18]wFMCommunicate request_size=255 [09:06:18]MH_SAM_APDU [09:06:18]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 0D 00 00 00 F4 03 04 00 8D 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 [09:06:18]Write to MH i2c: E2 02 01 C6 05 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 0D 00 00 00 F4 03 04 00 8D 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 00 00 C1 [09:06:18]Write i2c OK [09:06:18]MH_I2C_Read... [09:06:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:18]Read from MH i2c: E2 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 [09:06:18]MH_I2C_Read... [09:06:18]Read from MH i2c: E2 03 00 C6 05 00 90 00 3F [09:06:18]RAPDU: 90 00 [09:06:18]wFMCommunicate OK [09:06:18]wFMCommunicate request_size=45 [09:06:18]MH_SAM_APDU [09:06:18]CAPDU: 80 0D 02 02 28 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D5 90 00 00 35 04 06 00 E3 A5 6D 22 29 CB [09:06:18]Write to MH i2c: E2 30 00 C7 05 80 0D 02 02 28 00 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D5 90 00 00 35 04 06 00 E3 A5 6D 22 29 CB 00 00 0F [09:06:18]Write i2c OK [09:06:18]MH_I2C_Read... [09:06:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:19]Read from MH i2c: E2 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 03 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 03 00 C7 05 00 90 00 40 [09:06:19]RAPDU: 90 00 [09:06:19]wFMCommunicate OK [09:06:19]wFMCommunicate request_size=4 [09:06:19]MH_SAM_APDU [09:06:19]CAPDU: 80 0D 03 02 [09:06:19]Write to MH i2c: E2 08 00 C8 05 80 0D 03 02 00 00 00 00 48 [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:19]Read from MH i2c: E2 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 0B 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 0B 00 C8 05 00 2D A1 7C 1A 62 6C F6 74 90 00 E5 [09:06:19]RAPDU: 2D A1 7C 1A 62 6C F6 74 90 00 [09:06:19]wFMCommunicate OK [09:06:19]SAM_PROTO_SignData done [09:06:19]FM_MakeSignedData done [09:06:19]CreateOFDProtocolMessage [09:06:19]wFMCommunicate request_size=4 [09:06:19]MH_SAM_APDU [09:06:19]CAPDU: 80 11 00 00 [09:06:19]Write to MH i2c: E2 08 00 C9 05 80 11 00 00 00 00 00 00 48 [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:19]Read from MH i2c: E2 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 17 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 17 00 C9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9B [09:06:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:19]wFMCommunicate OK [09:06:19]CreateOFDProtocolMessage done [09:06:19]OFDSenderStorePacket 37077 [09:06:19]StoreOFDPacket docnum=37077 [09:06:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 32 01 00 00 E3 12 2A 01 31 86 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 0D 00 00 00 F4 03 04 00 8D 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D5 90 00 00 35 04 06 00 E3 A5 6D 22 29 CB 2D A1 7C 1A 62 6C F6 74 [09:06:19]CheckFolder [09:06:19]dirname=/storage/ofd_packets [09:06:19]CheckFolder done [09:06:19]ProducePacketName [09:06:19]name=ofd_packets/00037077 [09:06:19]NVStorageSaveData ofd_packets/00037077 [09:06:19]File name is /storage/ofd_packets/00037077 [09:06:19]Write 336 bytes [09:06:19]NVStorageSaveData done [09:06:19]OFDSenderStorePacket done [09:06:19]KKMCreateOFDPacket done [09:06:19]NVStorageSaveData kkm_last_timestamp [09:06:19]File name is /storage/kkm_last_timestamp [09:06:19]Write 4 bytes [09:06:19]NVStorageSaveData done [09:06:19]ExternCall_PrintAddStr [09:06:19]wPrintStart [09:06:19]Write to MH i2c: 01 00 00 CA 05 CF [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 07 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 07 00 CA 05 00 00 00 00 00 FF 0F E4 [09:06:19]RasterBufferAndPrint [09:06:19]line Счет N : (3)76582 [09:06:19]line ИНН: 02508201610067 [09:06:19]line Контрольно-Кассовый Чек [09:06:19]line ПРОДАЖА [09:06:19]line Товар: 4700040114120 [09:06:19]line Султан чай 1л. чер персик [09:06:19]line 2.000 * 89.00 [09:06:19]line = 178.00 [09:06:19]line НДС 12% НСП 1% [09:06:19]line > о реализуемом товаре [09:06:19]line ИТОГО: 178.00 [09:06:19]line НСП 1% : 1.57 [09:06:19]line НДС 12% : 18.90 [09:06:19]line Наличными: 178.00 [09:06:19]line Безнал.: 0.00 [09:06:19]line Место: АЗС № 165 "Партнер Нефть" [09:06:19]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:06:19]line СНО: Общий режим [09:06:19]line Чек 13 19.10.2024 09:06 [09:06:19]line Смена: 460 ФФД: 1.0 [09:06:19]line ЗНМ: 0300000235 [09:06:19]line РНМ: 0000000000098149 [09:06:19]line Версия ККМ: 001 [09:06:19]line ФМ: 0000000000965372 [09:06:19]line ФД: 37077 [09:06:19]line ФПД: 250299640064459 [09:06:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090621&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37077&fm=250299640064459&tin=02508201610067®Number=0000000000098149&sum=17800 [09:06:19]line 0 [09:06:19]OFD Sender: Processing packet 37077 [packets to send 25, broken 24] [09:06:19]ProducePacketName [09:06:19]name=ofd_packets/00037077 [09:06:19]OFD Sender: To server: pG, [09:06:19]CommunicateWithHost lk.salyk.kg:30040 [09:06:19]ConnectInit lk.salyk.kg [09:06:19]written 0, free lines is 4095 [09:06:19]Connected sock=10 [09:06: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 33 37 32 32 01 00 00 E3 12 2A 01 31 86 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 0D 00 00 00 F4 03 04 00 8D 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D5 90 00 00 35 04 06 00 E3 A5 6D 22 29 CB 2D A1 7C 1A 62 6C F6 74 [09:06:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 4F 97 47 00 4A E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D5 90 00 00 F4 03 04 00 23 1F 13 67 B6 04 01 00 00 F8 31 0E 5B 03 9C 3A 8F [09:06:19]CommunicateWithHost err = 0 [09:06:19]CheckOFDResponse [09:06:19]1017 (14) - 77093643461234 [09:06:19]1041 (16) - 0000000000965372 [09:06:19]1040 (4) - 37077 [09:06:19]1012 (4) - 19.10.2024 02:53 [09:06:19]1206 (1) - 0 [09:06:19]OFD Sender: Remove packet 37077 [09:06:19]ProducePacketName [09:06:19]name=ofd_packets/00037077 [09:06:19]NVStorageDeleteData [09:06:19]Write to MH i2c: 01 00 00 F2 05 F7 [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 07 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: 01 07 00 F2 05 00 00 00 00 00 FC 0C 06 [09:06:19]RasterBufferAndPrint [09:06:19]line [09:06:19]line [09:06:19]line [09:06:19]line [09:06:19]line [09:06:19]written 0, free lines is 3332 [09:06:19]process_action close_receipt done [09:06:19]requested_data is exist [09:06:19]produce_requested_data [09:06:19]requested_item fm.sn is exist - process it [09:06:19]wFMCommunicate request_size=4 [09:06:19]MH_SAM_APDU [09:06:19]CAPDU: 80 11 00 00 [09:06:19]Write to MH i2c: E2 08 00 F9 05 80 11 00 00 00 00 00 00 78 [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:19]Read from MH i2c: E2 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 17 00 [09:06:19]MH_I2C_Read... [09:06:19]Read from MH i2c: E2 17 00 F9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CB [09:06:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:19]wFMCommunicate OK [09:06:19]requested_item fd.num is exist - process it [09:06:19]SAM_PROTO_GetFieldsCounters [09:06:19]wFMCommunicate request_size=4 [09:06:19]MH_SAM_APDU [09:06:19]CAPDU: 80 13 00 00 [09:06:19]Write to MH i2c: E2 08 00 FA 05 80 13 00 00 00 00 00 00 7B [09:06:19]Write i2c OK [09:06:19]MH_I2C_Read... [09:06:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:20]Read from MH i2c: E2 [09:06:20]MH_I2C_Read... [09:06:20]Read from MH i2c: E2 62 00 [09:06:20]MH_I2C_Read... [09:06:20]Read from MH i2c: E2 62 00 FA 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D5 90 00 00 0E 04 04 00 CC 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 FB [09:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D5 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:20]wFMCommunicate OK [09:06:20]SAM_PROTO_GetFieldsCounters done [09:06:20]requested_item shift.num is exist - process it [09:06:20]requested_item shift.opened is exist - process it [09:06:20]req_shift_opened [09:06:20]FM_GetShiftState [09:06:20]SAM_PROTO_GetShiftState [09:06:20]wFMCommunicate request_size=4 [09:06:20]MH_SAM_APDU [09:06:20]CAPDU: 80 13 01 00 [09:06:20]Write to MH i2c: E2 08 00 FB 05 80 13 01 00 00 00 00 00 7D [09:06:20]Write i2c OK [09:06:20]MH_I2C_Read... [09:06:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:20]Read from MH i2c: E2 [09:06:20]MH_I2C_Read... [09:06:20]Read from MH i2c: E2 0E 00 [09:06:20]MH_I2C_Read... [09:06:20]Read from MH i2c: E2 0E 00 FB 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 97 [09:06:20]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:20]wFMCommunicate OK [09:06:20]SAM_PROTO_GetShiftState done [09:06:20]FM_GetShiftState done [09:06:20]req_shift_opened done [09:06:20]requested_item shift.open_date is exist - process it [09:06:20]req_shift_open_date [09:06:20]req_shift_open_date done [09:06:20]produce_requested_data done [09:06:20]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37077,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:06:20]process_action_free close_receipt [09:06:20]json_value_free [09:06:20]json_value_free done [09:06:20]process_json_proto returns [09:06:20]Send response to host [09:06:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37077,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:06:20]free response buf [09:06:20]execute_script done [09:06:20]execute_script returns [09:06:20]free content buf [09:06:20]Sock 7.Close socket [09:06:20]Sock 7.Thread stoped [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:45]accept exits with 9 [09:06:45]New connection [09:06:45]New thread 3067563364 created [09:06:45]Thread 3067420004 joined [09:06:45]Waiting for new connection... [09:06:45] Sock 9.Parse request [09:06:45]Sock 9.Check first char [09:06:45]Sock 9.First char is OK [09:06:45]request: POST /json_proto HTTP/1.0 [09:06:45]Method: POST [09:06:45]URL: /json_proto [09:06:45]Method is POST - this is cgi request [09:06:45]url: /json_proto [09:06:45]query_string will be loaded in cgi processing [09:06:45]execute_cgi json_proto POST (null) [09:06:45]execute_cgi path=json_proto method=POST [09:06:45]POST find Content-Length [09:06:45]Host: 172.17.53.68:8080 [09:06:45]Content-Length: 682 [09:06:45]Content-Type: application/json [09:06:45] [09:06:45]POST finish read [09:06:45]Found Content-Length = 682 [09:06:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873595", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "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" ] } } [09:06:45]execute_script... [09:06:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873595", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "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" ] } } [09:06:45]POST & json_proto [09:06:45]process_json_proto [09:06:45]json parsed OK: [09:06:45]protocol is kg_v1.0 [09:06:45]action value=close_receipt [09:06:45]process_action close_receipt [09:06:45]cmd_close_receipt [09:06:45]MH_GetDate [09:06:45]Write to MH i2c: F0 00 00 FC 05 F0 [09:06:45]Write i2c OK [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: F0 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: F0 09 00 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: F0 09 00 FC 05 00 A8 76 13 67 C5 A4 76 66 D6 [09:06:45]GetLastDocTimeStamp 1729328781 [09:06:45]current date 1729328808 [09:06:45]FM_GetShiftState [09:06:45]SAM_PROTO_GetShiftState [09:06:45]wFMCommunicate request_size=4 [09:06:45]MH_SAM_APDU [09:06:45]CAPDU: 80 13 01 00 [09:06:45]Write to MH i2c: E2 08 00 FD 05 80 13 01 00 00 00 00 00 7F [09:06:45]Write i2c OK [09:06:45]MH_I2C_Read... [09:06:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:45]Read from MH i2c: E2 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: E2 0E 00 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: E2 0E 00 FD 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 99 [09:06:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:45]wFMCommunicate OK [09:06:45]SAM_PROTO_GetShiftState done [09:06:45]FM_GetShiftState done [09:06:45]opened in 1729296796 [09:06:45]opened+sec_in_day 1729383196 [09:06:45]quantity*price = 150032 [09:06:45]sum+1 = 150033 [09:06:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.32 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 14 19.10.2024 09:06 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37078 ФПД: 85842740798030 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090648&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37078&fm=85842740798030&tin=02508201610067®Number=0000000000098149&sum=150000 [09:06:46]StoreToDocumentArchive [09:06:46]shift 460 fd 37078 [09:06:46]save to /storage/0460/doc_00037078 [09:06:46]save last doc name /storage/0460/doc_00037078 to /storage/kkm_last_doc_name [09:06:46]save OK [09:06:46]Clear old archive folders... [09:06:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:06:46]tlvbuf is 005D9910 [09:06:46]SAM_PROTO_ClearQueue [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 09 00 00 [09:06:46]Write to MH i2c: E2 08 00 0A 06 80 09 00 00 00 00 00 00 82 [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 0A 06 00 90 00 84 [09:06:46]RAPDU: 90 00 [09:06:46]wFMCommunicate OK [09:06:46]SAM_PROTO_ClearQueue done [09:06:46]KKMCreateOFDPacket [09:06:46]OFDProtocolAddRootSTLVToBuf [09:06:46]FM_MakeSignedData [09:06:46]FM_MakeSignedData [09:06:46]SAM_PROTO_SignData [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 0D 01 02 [09:06:46]Write to MH i2c: E2 08 00 0B 06 80 0D 01 02 00 00 00 00 8A [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 0B 06 00 90 00 85 [09:06:46]RAPDU: 90 00 [09:06:46]wFMCommunicate OK [09:06:46]wFMCommunicate request_size=255 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A8 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D6 90 00 00 35 04 06 00 4E [09:06:46]Write to MH i2c: E2 02 01 0C 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A8 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D6 90 00 00 35 04 06 00 4E 00 00 A9 [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 0C 06 00 90 00 86 [09:06:46]RAPDU: 90 00 [09:06:46]wFMCommunicate OK [09:06:46]wFMCommunicate request_size=10 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 0D 02 02 05 12 D2 12 62 4E [09:06:46]Write to MH i2c: E2 0D 00 0D 06 80 0D 02 02 05 00 12 D2 12 62 4E 00 00 3D [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 03 00 0D 06 00 90 00 87 [09:06:46]RAPDU: 90 00 [09:06:46]wFMCommunicate OK [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 0D 03 02 [09:06:46]Write to MH i2c: E2 08 00 0E 06 80 0D 03 02 00 00 00 00 8F [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 0B 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 0B 00 0E 06 00 23 37 E9 40 98 7E BA 17 90 00 FA [09:06:46]RAPDU: 23 37 E9 40 98 7E BA 17 90 00 [09:06:46]wFMCommunicate OK [09:06:46]SAM_PROTO_SignData done [09:06:46]FM_MakeSignedData done [09:06:46]CreateOFDProtocolMessage [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 11 00 00 [09:06:46]Write to MH i2c: E2 08 00 0F 06 80 11 00 00 00 00 00 00 8F [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:47]Read from MH i2c: E2 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 17 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 17 00 0F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E2 [09:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:47]wFMCommunicate OK [09:06:47]CreateOFDProtocolMessage done [09:06:47]OFDSenderStorePacket 37078 [09:06:47]StoreOFDPacket docnum=37078 [09:06:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 26 75 07 01 C7 5F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A8 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D6 90 00 00 35 04 06 00 4E 12 D2 12 62 4E 23 37 E9 40 98 7E BA 17 [09:06:47]CheckFolder [09:06:47]dirname=/storage/ofd_packets [09:06:47]CheckFolder done [09:06:47]ProducePacketName [09:06:47]name=ofd_packets/00037078 [09:06:47]NVStorageSaveData ofd_packets/00037078 [09:06:47]File name is /storage/ofd_packets/00037078 [09:06:47]Write 301 bytes [09:06:47]NVStorageSaveData done [09:06:47]OFDSenderStorePacket done [09:06:47]KKMCreateOFDPacket done [09:06:47]NVStorageSaveData kkm_last_timestamp [09:06:47]File name is /storage/kkm_last_timestamp [09:06:47]Write 4 bytes [09:06:47]NVStorageSaveData done [09:06:47]ExternCall_PrintAddStr [09:06:47]wPrintStart [09:06:47]Write to MH i2c: 01 00 00 10 06 16 [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 07 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 07 00 10 06 00 00 00 00 00 FF 0F 2B [09:06:47]RasterBufferAndPrint [09:06:47]line Счет N : (1)873595 [09:06:47]line ИНН: 02508201610067 [09:06:47]line Контрольно-Кассовый Чек [09:06:47]line ПРОДАЖА [09:06:47]line ТРК (МРК, ГНК) : 41 [09:06:47]line Товар: 2710124500 [09:06:47]line Аи-95-К-5 [09:06:47]line 20.220 * 74.20 [09:06:47]line = 1500.32 [09:06:47]line НДС 12% НСП 1% [09:06:47]line > о реализуемом товаре [09:06:47]line ОКРУГЛЕНИЕ: -0.32 [09:06:47]line ИТОГО: 1500.00 [09:06:47]line Внесено: 1500.00 [09:06:47]line СДАЧА: 0.00 [09:06:47]line НСП 1% : 13.28 [09:06:47]line НДС 12% : 159.33 [09:06:47]line Наличными: 1500.00 [09:06:47]line Безнал.: 0.00 [09:06:47]line Место: АЗС № 165 "Партнер Нефть" [09:06:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:06:47]line СНО: Общий режим [09:06:47]line Чек 14 19.10.2024 09:06 [09:06:47]line Смена: 460 ФФД: 1.0 [09:06:47]line ЗНМ: 0300000235 [09:06:47]line РНМ: 0000000000098149 [09:06:47]line Версия ККМ: 001 [09:06:47]line ФМ: 0000000000965372 [09:06:47]line ФД: 37078 [09:06:47]line ФПД: 85842740798030 [09:06:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090648&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37078&fm=85842740798030&tin=02508201610067®Number=0000000000098149&sum=150000 [09:06:47]written 0, free lines is 4095 [09:06:47]OFD Sender: Processing packet 37078 [packets to send 25, broken 24] [09:06:47]ProducePacketName [09:06:47]name=ofd_packets/00037078 [09:06:47]OFD Sender: To server: pG, [09:06:47]CommunicateWithHost lk.salyk.kg:30040 [09:06:47]ConnectInit lk.salyk.kg [09:06:47]Connected sock=10 [09:06:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 26 75 07 01 C7 5F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 A8 76 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D6 90 00 00 35 04 06 00 4E 12 D2 12 62 4E 23 37 E9 40 98 7E BA 17 [09:06:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 69 00 47 00 71 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D6 90 00 00 F4 03 04 00 3F 1F 13 67 B6 04 01 00 00 4B F5 B9 BB 73 BA 39 21 [09:06:47]CommunicateWithHost err = 0 [09:06:47]CheckOFDResponse [09:06:47]1017 (14) - 77093643461234 [09:06:47]1041 (16) - 0000000000965372 [09:06:47]1040 (4) - 37078 [09:06:47]1012 (4) - 19.10.2024 02:53 [09:06:47]1206 (1) - 0 [09:06:47]OFD Sender: Remove packet 37078 [09:06:47]ProducePacketName [09:06:47]name=ofd_packets/00037078 [09:06:47]NVStorageDeleteData [09:06:47]Write to MH i2c: 01 00 00 3B 06 41 [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 07 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: 01 07 00 3B 06 00 00 00 00 00 E1 0C 35 [09:06:47]RasterBufferAndPrint [09:06:47]line [09:06:47]line [09:06:47]line [09:06:47]line [09:06:47]line [09:06:47]written 0, free lines is 3303 [09:06:47]process_action close_receipt done [09:06:47]requested_data is exist [09:06:47]produce_requested_data [09:06:47]requested_item fm.sn is exist - process it [09:06:47]wFMCommunicate request_size=4 [09:06:47]MH_SAM_APDU [09:06:47]CAPDU: 80 11 00 00 [09:06:47]Write to MH i2c: E2 08 00 42 06 80 11 00 00 00 00 00 00 C2 [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:47]Read from MH i2c: E2 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 17 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 17 00 42 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 15 [09:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:06:47]wFMCommunicate OK [09:06:47]requested_item fd.num is exist - process it [09:06:47]SAM_PROTO_GetFieldsCounters [09:06:47]wFMCommunicate request_size=4 [09:06:47]MH_SAM_APDU [09:06:47]CAPDU: 80 13 00 00 [09:06:47]Write to MH i2c: E2 08 00 43 06 80 13 00 00 00 00 00 00 C5 [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:48]Read from MH i2c: E2 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 62 00 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 62 00 43 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D6 90 00 00 0E 04 04 00 CC 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 49 [09:06:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D6 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:48]wFMCommunicate OK [09:06:48]SAM_PROTO_GetFieldsCounters done [09:06:48]requested_item shift.num is exist - process it [09:06:48]requested_item shift.opened is exist - process it [09:06:48]req_shift_opened [09:06:48]FM_GetShiftState [09:06:48]SAM_PROTO_GetShiftState [09:06:48]wFMCommunicate request_size=4 [09:06:48]MH_SAM_APDU [09:06:48]CAPDU: 80 13 01 00 [09:06:48]Write to MH i2c: E2 08 00 44 06 80 13 01 00 00 00 00 00 C7 [09:06:48]Write i2c OK [09:06:48]MH_I2C_Read... [09:06:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:48]Read from MH i2c: E2 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 0E 00 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 0E 00 44 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E1 [09:06:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:06:48]wFMCommunicate OK [09:06:48]SAM_PROTO_GetShiftState done [09:06:48]FM_GetShiftState done [09:06:48]req_shift_opened done [09:06:48]requested_item shift.open_date is exist - process it [09:06:48]req_shift_open_date [09:06:48]req_shift_open_date done [09:06:48]produce_requested_data done [09:06:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37078,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:06:48]process_action_free close_receipt [09:06:48]json_value_free [09:06:48]json_value_free done [09:06:48]process_json_proto returns [09:06:48]Send response to host [09:06:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37078,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:06:48]free response buf [09:06:48]execute_script done [09:06:48]execute_script returns [09:06:48]free content buf [09:06:48]Sock 9.Close socket [09:06:48]Sock 9.Thread stoped [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:13]accept exits with 7 [09:08:13]New connection [09:08:13]New thread 3067420004 created [09:08:13]Thread 3067563364 joined [09:08:13]Waiting for new connection... [09:08:13] Sock 7.Parse request [09:08:13]Sock 7.Check first char [09:08:13]Sock 7.First char is OK [09:08:13]request: POST /json_proto HTTP/1.0 [09:08:13]Method: POST [09:08:13]URL: /json_proto [09:08:13]Method is POST - this is cgi request [09:08:13]url: /json_proto [09:08:13]query_string will be loaded in cgi processing [09:08:13]execute_cgi json_proto POST (null) [09:08:13]execute_cgi path=json_proto method=POST [09:08:13]POST find Content-Length [09:08:13]Host: 172.17.53.68:8080 [09:08:13]Content-Length: 632 [09:08:13]Content-Type: application/json [09:08:13] [09:08:13]POST finish read [09:08:13]Found Content-Length = 632 [09:08:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76583", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:13]execute_script... [09:08:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76583", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:13]POST & json_proto [09:08:13]process_json_proto [09:08:13]json parsed OK: [09:08:13]protocol is kg_v1.0 [09:08:13]action value=close_receipt [09:08:13]process_action close_receipt [09:08:13]cmd_close_receipt [09:08:13]MH_GetDate [09:08:13]Write to MH i2c: F0 00 00 45 06 3A [09:08:13]Write i2c OK [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: F0 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: F0 09 00 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: F0 09 00 45 06 00 00 77 13 67 C5 A4 76 66 79 [09:08:13]GetLastDocTimeStamp 1729328808 [09:08:13]current date 1729328896 [09:08:13]FM_GetShiftState [09:08:13]SAM_PROTO_GetShiftState [09:08:13]wFMCommunicate request_size=4 [09:08:13]MH_SAM_APDU [09:08:13]CAPDU: 80 13 01 00 [09:08:13]Write to MH i2c: E2 08 00 46 06 80 13 01 00 00 00 00 00 C9 [09:08:13]Write i2c OK [09:08:13]MH_I2C_Read... [09:08:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:13]Read from MH i2c: E2 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 0E 00 [09:08:13]MH_I2C_Read... [09:08:13]Read from MH i2c: E2 0E 00 46 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E3 [09:08:13]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:08:13]wFMCommunicate OK [09:08:13]SAM_PROTO_GetShiftState done [09:08:13]FM_GetShiftState done [09:08:13]opened in 1729296796 [09:08:13]opened+sec_in_day 1729383196 [09:08:13]quantity*price = 13900 [09:08:13]sum+1 = 13901 [09:08:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 15 19.10.2024 09:08 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37079 ФПД: 207112703334518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090816&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37079&fm=207112703334518&tin=02508201610067®Number=0000000000098149&sum=13900 0 [09:08:14]StoreToDocumentArchive [09:08:14]shift 460 fd 37079 [09:08:14]save to /storage/0460/doc_00037079 [09:08:14]save last doc name /storage/0460/doc_00037079 to /storage/kkm_last_doc_name [09:08:14]save OK [09:08:14]Clear old archive folders... [09:08:14]ProcessDocumentItem done err = 0, tmpTLVsize=285 [09:08:14]tlvbuf is 005F4420 [09:08:14]SAM_PROTO_ClearQueue [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 09 00 00 [09:08:14]Write to MH i2c: E2 08 00 53 06 80 09 00 00 00 00 00 00 CB [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 53 06 00 90 00 CD [09:08:14]RAPDU: 90 00 [09:08:14]wFMCommunicate OK [09:08:14]SAM_PROTO_ClearQueue done [09:08:14]KKMCreateOFDPacket [09:08:14]OFDProtocolAddRootSTLVToBuf [09:08:14]FM_MakeSignedData [09:08:14]FM_MakeSignedData [09:08:14]SAM_PROTO_SignData [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 0D 01 02 [09:08:14]Write to MH i2c: E2 08 00 54 06 80 0D 01 02 00 00 00 00 D3 [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 54 06 00 90 00 CE [09:08:14]RAPDU: 90 00 [09:08:14]wFMCommunicate OK [09:08:14]wFMCommunicate request_size=255 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 00 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 [09:08:14]Write to MH i2c: E2 02 01 55 06 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 00 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 00 00 EE [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 55 06 00 90 00 CF [09:08:14]RAPDU: 90 00 [09:08:14]wFMCommunicate OK [09:08:14]wFMCommunicate request_size=44 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 0D 02 02 27 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D7 90 00 00 35 04 06 00 BC 5E 2F 1C 58 76 [09:08:14]Write to MH i2c: E2 2F 00 56 06 80 0D 02 02 27 00 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D7 90 00 00 35 04 06 00 BC 5E 2F 1C 58 76 00 00 93 [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 03 00 56 06 00 90 00 D0 [09:08:14]RAPDU: 90 00 [09:08:14]wFMCommunicate OK [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 0D 03 02 [09:08:14]Write to MH i2c: E2 08 00 57 06 80 0D 03 02 00 00 00 00 D8 [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:14]Read from MH i2c: E2 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 0B 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: E2 0B 00 57 06 00 42 1E DA F8 D5 C3 0F D4 90 00 86 [09:08:14]RAPDU: 42 1E DA F8 D5 C3 0F D4 90 00 [09:08:14]wFMCommunicate OK [09:08:14]SAM_PROTO_SignData done [09:08:14]FM_MakeSignedData done [09:08:14]CreateOFDProtocolMessage [09:08:14]wFMCommunicate request_size=4 [09:08:14]MH_SAM_APDU [09:08:14]CAPDU: 80 11 00 00 [09:08:14]Write to MH i2c: E2 08 00 58 06 80 11 00 00 00 00 00 00 D8 [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 17 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 17 00 58 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2B [09:08:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:08:15]wFMCommunicate OK [09:08:15]CreateOFDProtocolMessage done [09:08:15]OFDSenderStorePacket 37079 [09:08:15]StoreOFDPacket docnum=37079 [09:08:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 31 01 00 00 44 49 29 01 0E AC 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 00 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D7 90 00 00 35 04 06 00 BC 5E 2F 1C 58 76 42 1E DA F8 D5 C3 0F D4 [09:08:15]CheckFolder [09:08:15]dirname=/storage/ofd_packets [09:08:15]CheckFolder done [09:08:15]ProducePacketName [09:08:15]name=ofd_packets/00037079 [09:08:15]NVStorageSaveData ofd_packets/00037079 [09:08:15]File name is /storage/ofd_packets/00037079 [09:08:15]Write 335 bytes [09:08:15]NVStorageSaveData done [09:08:15]OFDSenderStorePacket done [09:08:15]KKMCreateOFDPacket done [09:08:15]NVStorageSaveData kkm_last_timestamp [09:08:15]File name is /storage/kkm_last_timestamp [09:08:15]Write 4 bytes [09:08:15]NVStorageSaveData done [09:08:15]ExternCall_PrintAddStr [09:08:15]wPrintStart [09:08:15]Write to MH i2c: 01 00 00 59 06 5F [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 07 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 07 00 59 06 00 00 00 00 00 FF 0F 74 [09:08:15]RasterBufferAndPrint [09:08:15]line Счет N : (3)76583 [09:08:15]line ИНН: 02508201610067 [09:08:15]line Контрольно-Кассовый Чек [09:08:15]line ПРОДАЖА [09:08:15]line Товар: 48745291 [09:08:15]line Сигареты Parliament SOHO NYC COMPACT BLU [09:08:15]line 1.000 * 139.00 [09:08:15]line = 139.00 [09:08:15]line НДС 12% НСП 1% [09:08:15]line > о реализуемом товаре [09:08:15]line ИТОГО: 139.00 [09:08:15]line НСП 1% : 1.23 [09:08:15]line НДС 12% : 14.76 [09:08:15]line Наличными: 139.00 [09:08:15]line Безнал.: 0.00 [09:08:15]line Место: АЗС № 165 "Партнер Нефть" [09:08:15]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:08:15]line СНО: Общий режим [09:08:15]line Чек 15 19.10.2024 09:08 [09:08:15]line Смена: 460 ФФД: 1.0 [09:08:15]line ЗНМ: 0300000235 [09:08:15]line РНМ: 0000000000098149 [09:08:15]line Версия ККМ: 001 [09:08:15]line ФМ: 0000000000965372 [09:08:15]line ФД: 37079 [09:08:15]line ФПД: 207112703334518 [09:08:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090816&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37079&fm=207112703334518&tin=02508201610067®Number=0000000000098149&sum=13900 [09:08:15]line 0 [09:08:15]OFD Sender: Processing packet 37079 [packets to send 25, broken 24] [09:08:15]ProducePacketName [09:08:15]name=ofd_packets/00037079 [09:08:15]OFD Sender: To server: pG, [09:08:15]CommunicateWithHost lk.salyk.kg:30040 [09:08:15]ConnectInit lk.salyk.kg [09:08:15]written 0, free lines is 4095 [09:08:15]Connected sock=10 [09:08: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 33 37 32 31 01 00 00 44 49 29 01 0E AC 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 00 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D7 90 00 00 35 04 06 00 BC 5E 2F 1C 58 76 42 1E DA F8 D5 C3 0F D4 [09:08:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 68 A8 47 00 0D 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D7 90 00 00 F4 03 04 00 97 1F 13 67 B6 04 01 00 00 DA 29 79 7F 0E 1F E7 29 [09:08:15]CommunicateWithHost err = 0 [09:08:15]CheckOFDResponse [09:08:15]1017 (14) - 77093643461234 [09:08:15]1041 (16) - 0000000000965372 [09:08:15]1040 (4) - 37079 [09:08:15]1012 (4) - 19.10.2024 02:55 [09:08:15]1206 (1) - 0 [09:08:15]OFD Sender: Remove packet 37079 [09:08:15]ProducePacketName [09:08:15]name=ofd_packets/00037079 [09:08:15]NVStorageDeleteData [09:08:15]Write to MH i2c: 01 00 00 82 06 88 [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 07 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: 01 07 00 82 06 00 00 00 00 00 E2 0C 7D [09:08:15]RasterBufferAndPrint [09:08:15]line [09:08:15]line [09:08:15]line [09:08:15]line [09:08:15]line [09:08:15]written 0, free lines is 3304 [09:08:15]process_action close_receipt done [09:08:15]requested_data is exist [09:08:15]produce_requested_data [09:08:15]requested_item fm.sn is exist - process it [09:08:15]wFMCommunicate request_size=4 [09:08:15]MH_SAM_APDU [09:08:15]CAPDU: 80 11 00 00 [09:08:15]Write to MH i2c: E2 08 00 89 06 80 11 00 00 00 00 00 00 09 [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 17 00 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 17 00 89 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5C [09:08:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:08:15]wFMCommunicate OK [09:08:15]requested_item fd.num is exist - process it [09:08:15]SAM_PROTO_GetFieldsCounters [09:08:15]wFMCommunicate request_size=4 [09:08:15]MH_SAM_APDU [09:08:15]CAPDU: 80 13 00 00 [09:08:15]Write to MH i2c: E2 08 00 8A 06 80 13 00 00 00 00 00 00 0C [09:08:15]Write i2c OK [09:08:15]MH_I2C_Read... [09:08:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:15]Read from MH i2c: E2 [09:08:15]MH_I2C_Read... [09:08:15]Read from MH i2c: E2 62 00 [09:08:15]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 62 00 8A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D7 90 00 00 0E 04 04 00 CC 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 94 [09:08:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D7 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:16]wFMCommunicate OK [09:08:16]SAM_PROTO_GetFieldsCounters done [09:08:16]requested_item shift.num is exist - process it [09:08:16]requested_item shift.opened is exist - process it [09:08:16]req_shift_opened [09:08:16]FM_GetShiftState [09:08:16]SAM_PROTO_GetShiftState [09:08:16]wFMCommunicate request_size=4 [09:08:16]MH_SAM_APDU [09:08:16]CAPDU: 80 13 01 00 [09:08:16]Write to MH i2c: E2 08 00 8B 06 80 13 01 00 00 00 00 00 0E [09:08:16]Write i2c OK [09:08:16]MH_I2C_Read... [09:08:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:16]Read from MH i2c: E2 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 0E 00 [09:08:16]MH_I2C_Read... [09:08:16]Read from MH i2c: E2 0E 00 8B 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 28 [09:08:16]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:08:16]wFMCommunicate OK [09:08:16]SAM_PROTO_GetShiftState done [09:08:16]FM_GetShiftState done [09:08:16]req_shift_opened done [09:08:16]requested_item shift.open_date is exist - process it [09:08:16]req_shift_open_date [09:08:16]req_shift_open_date done [09:08:16]produce_requested_data done [09:08:16]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37079,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:08:16]process_action_free close_receipt [09:08:16]json_value_free [09:08:16]json_value_free done [09:08:16]process_json_proto returns [09:08:16]Send response to host [09:08:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37079,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:08:16]free response buf [09:08:16]execute_script done [09:08:16]execute_script returns [09:08:16]free content buf [09:08:16]Sock 7.Close socket [09:08:16]Sock 7.Thread stoped [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:50]accept exits with 9 [09:08:50]New connection [09:08:50]New thread 3067563364 created [09:08:50]Thread 3067420004 joined [09:08:50]Waiting for new connection... [09:08:50] Sock 9.Parse request [09:08:50]Sock 9.Check first char [09:08:50]Sock 9.First char is OK [09:08:50]request: POST /json_proto HTTP/1.0 [09:08:50]Method: POST [09:08:50]URL: /json_proto [09:08:50]Method is POST - this is cgi request [09:08:50]url: /json_proto [09:08:50]query_string will be loaded in cgi processing [09:08:50]execute_cgi json_proto POST (null) [09:08:50]execute_cgi path=json_proto method=POST [09:08:50]POST find Content-Length [09:08:50]Host: 172.17.53.68:8080 [09:08:50]Content-Length: 898 [09:08:50]Content-Type: application/json [09:08:50] [09:08:50]POST finish read [09:08:50]Found Content-Length = 898 [09:08:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76584", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (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" : 244.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:50]execute_script... [09:08:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76584", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (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" : 244.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:50]POST & json_proto [09:08:50]process_json_proto [09:08:50]json parsed OK: [09:08:50]protocol is kg_v1.0 [09:08:50]action value=close_receipt [09:08:50]process_action close_receipt [09:08:50]cmd_close_receipt [09:08:50]MH_GetDate [09:08:50]Write to MH i2c: F0 00 00 8C 06 81 [09:08:50]Write i2c OK [09:08:50]MH_I2C_Read... [09:08:50]Read from MH i2c: F0 [09:08:50]MH_I2C_Read... [09:08:50]Read from MH i2c: F0 09 00 [09:08:50]MH_I2C_Read... [09:08:50]Read from MH i2c: F0 09 00 8C 06 00 26 77 13 67 C5 A4 76 66 E6 [09:08:50]GetLastDocTimeStamp 1729328896 [09:08:50]current date 1729328934 [09:08:50]FM_GetShiftState [09:08:50]SAM_PROTO_GetShiftState [09:08:50]wFMCommunicate request_size=4 [09:08:50]MH_SAM_APDU [09:08:50]CAPDU: 80 13 01 00 [09:08:50]Write to MH i2c: E2 08 00 8D 06 80 13 01 00 00 00 00 00 10 [09:08:50]Write i2c OK [09:08:50]MH_I2C_Read... [09:08:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:50]Read from MH i2c: E2 [09:08:50]MH_I2C_Read... [09:08:50]Read from MH i2c: E2 0E 00 [09:08:50]MH_I2C_Read... [09:08:50]Read from MH i2c: E2 0E 00 8D 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2A [09:08:50]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:08:50]wFMCommunicate OK [09:08:50]SAM_PROTO_GetShiftState done [09:08:50]FM_GetShiftState done [09:08:50]opened in 1729296796 [09:08:50]opened+sec_in_day 1729383196 [09:08:50]quantity*price = 13900 [09:08:50]sum+1 = 13901 [09:08:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 244.00 НСП 1% : 2.16 НДС 12% : 25.91 Наличными: 244.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 16 19.10.2024 09:08 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37080 ФПД: 212837877589452 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090854&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37080&fm=212837877589452&tin=02508201610067®Number=0000000000098149&sum=24400 0 [09:08:51]StoreToDocumentArchive [09:08:51]shift 460 fd 37080 [09:08:51]save to /storage/0460/doc_00037080 [09:08:51]save last doc name /storage/0460/doc_00037080 to /storage/kkm_last_doc_name [09:08:51]save OK [09:08:51]Clear old archive folders... [09:08:51]ProcessDocumentItem done err = 0, tmpTLVsize=397 [09:08:51]tlvbuf is 005FBAC0 [09:08:51]SAM_PROTO_ClearQueue [09:08:51]wFMCommunicate request_size=4 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 09 00 00 [09:08:51]Write to MH i2c: E2 08 00 9A 06 80 09 00 00 00 00 00 00 12 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 9A 06 00 90 00 14 [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]SAM_PROTO_ClearQueue done [09:08:51]KKMCreateOFDPacket [09:08:51]OFDProtocolAddRootSTLVToBuf [09:08:51]FM_MakeSignedData [09:08:51]FM_MakeSignedData [09:08:51]SAM_PROTO_SignData [09:08:51]wFMCommunicate request_size=4 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 01 02 [09:08:51]Write to MH i2c: E2 08 00 9B 06 80 0D 01 02 00 00 00 00 1A [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 9B 06 00 90 00 15 [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]wFMCommunicate request_size=255 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 50 5F 00 00 00 00 EB 03 26 00 [09:08:51]Write to MH i2c: E2 02 01 9C 06 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 50 5F 00 00 00 00 EB 03 26 00 00 00 A3 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:52]Read from MH i2c: E2 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 03 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 03 00 9C 06 00 90 00 16 [09:08:52]RAPDU: 90 00 [09:08:52]wFMCommunicate OK [09:08:52]wFMCommunicate request_size=156 [09:08:52]MH_SAM_APDU [09:08:52]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 0A 00 00 00 00 07 04 06 00 50 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 26 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D8 90 00 00 35 04 06 00 C1 93 2E 16 A5 CC [09:08:52]Write to MH i2c: E2 9F 00 9D 06 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 0A 00 00 00 00 07 04 06 00 50 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 26 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D8 90 00 00 35 04 06 00 C1 93 2E 16 A5 CC 00 00 8F [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:52]Read from MH i2c: E2 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 03 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 03 00 9D 06 00 90 00 17 [09:08:52]RAPDU: 90 00 [09:08:52]wFMCommunicate OK [09:08:52]wFMCommunicate request_size=4 [09:08:52]MH_SAM_APDU [09:08:52]CAPDU: 80 0D 03 02 [09:08:52]Write to MH i2c: E2 08 00 9E 06 80 0D 03 02 00 00 00 00 1F [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:52]Read from MH i2c: E2 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 0B 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 0B 00 9E 06 00 D3 69 DD FC 98 D3 31 1E 90 00 EF [09:08:52]RAPDU: D3 69 DD FC 98 D3 31 1E 90 00 [09:08:52]wFMCommunicate OK [09:08:52]SAM_PROTO_SignData done [09:08:52]FM_MakeSignedData done [09:08:52]CreateOFDProtocolMessage [09:08:52]wFMCommunicate request_size=4 [09:08:52]MH_SAM_APDU [09:08:52]CAPDU: 80 11 00 00 [09:08:52]Write to MH i2c: E2 08 00 9F 06 80 11 00 00 00 00 00 00 1F [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:52]Read from MH i2c: E2 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 17 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: E2 17 00 9F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 72 [09:08:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:08:52]wFMCommunicate OK [09:08:52]CreateOFDProtocolMessage done [09:08:52]OFDSenderStorePacket 37080 [09:08:52]StoreOFDPacket docnum=37080 [09:08:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A1 01 00 00 EE 4F 99 01 EE 35 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 50 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 0A 00 00 00 00 07 04 06 00 50 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 26 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D8 90 00 00 35 04 06 00 C1 93 2E 16 A5 CC D3 69 DD FC 98 D3 31 1E [09:08:52]CheckFolder [09:08:52]dirname=/storage/ofd_packets [09:08:52]CheckFolder done [09:08:52]ProducePacketName [09:08:52]name=ofd_packets/00037080 [09:08:52]NVStorageSaveData ofd_packets/00037080 [09:08:52]File name is /storage/ofd_packets/00037080 [09:08:52]Write 447 bytes [09:08:52]NVStorageSaveData done [09:08:52]OFDSenderStorePacket done [09:08:52]KKMCreateOFDPacket done [09:08:52]NVStorageSaveData kkm_last_timestamp [09:08:52]File name is /storage/kkm_last_timestamp [09:08:52]Write 4 bytes [09:08:52]NVStorageSaveData done [09:08:52]ExternCall_PrintAddStr [09:08:52]wPrintStart [09:08:52]Write to MH i2c: 01 00 00 A0 06 A6 [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 07 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 07 00 A0 06 00 00 00 00 00 FF 0F BB [09:08:52]RasterBufferAndPrint [09:08:52]line Счет N : (3)76584 [09:08:52]line ИНН: 02508201610067 [09:08:52]line Контрольно-Кассовый Чек [09:08:52]line ПРОДАЖА [09:08:52]line Товар: 48745291 [09:08:52]line Сигареты Parliament SOHO NYC COMPACT BLU [09:08:52]line 1.000 * 139.00 [09:08:52]line = 139.00 [09:08:52]line НДС 12% НСП 1% [09:08:52]line > о реализуемом товаре [09:08:52]line Товар: 2000034730018 [09:08:52]line Кофе Американо (GABB TRADE) [09:08:52]line 1.000 * 105.00 [09:08:52]line = 105.00 [09:08:52]line НДС 12% НСП 1% [09:08:52]line > о реализуемом товаре [09:08:52]line ИТОГО: 244.00 [09:08:52]line НСП 1% : 2.16 [09:08:52]line НДС 12% : 25.91 [09:08:52]line Наличными: 244.00 [09:08:52]line Безнал.: 0.00 [09:08:52]line Место: АЗС № 165 "Партнер Нефть" [09:08:52]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:08:52]line СНО: Общий режим [09:08:52]line Чек 16 19.10.2024 09:08 [09:08:52]line Смена: 460 ФФД: 1.0 [09:08:52]line ЗНМ: 0300000235 [09:08:52]line РНМ: 0000000000098149 [09:08:52]line Версия ККМ: 001 [09:08:52]line ФМ: 0000000000965372 [09:08:52]line ФД: 37080 [09:08:52]line ФПД: 212837877589452 [09:08:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090854&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37080&fm=212837877589452&tin=02508201610067®Number=0000000000098149&sum=24400 [09:08:52]line 0 [09:08:52]OFD Sender: Processing packet 37080 [packets to send 25, broken 24] [09:08:52]ProducePacketName [09:08:52]name=ofd_packets/00037080 [09:08:52]OFD Sender: To server: pG, [09:08:52]CommunicateWithHost lk.salyk.kg:30040 [09:08:52]ConnectInit lk.salyk.kg [09:08:52]written 0, free lines is 4095 [09:08:52]Connected sock=10 [09:08:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A1 01 00 00 EE 4F 99 01 EE 35 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 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 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 50 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 0A 00 00 00 00 07 04 06 00 50 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 26 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D8 90 00 00 35 04 06 00 C1 93 2E 16 A5 CC D3 69 DD FC 98 D3 31 1E [09:08:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 24 42 47 00 C5 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D8 90 00 00 F4 03 04 00 BC 1F 13 67 B6 04 01 00 00 FB 6B B2 08 B0 D7 0D A2 [09:08:52]CommunicateWithHost err = 0 [09:08:52]CheckOFDResponse [09:08:52]1017 (14) - 77093643461234 [09:08:52]1041 (16) - 0000000000965372 [09:08:52]1040 (4) - 37080 [09:08:52]1012 (4) - 19.10.2024 02:55 [09:08:52]1206 (1) - 0 [09:08:52]OFD Sender: Remove packet 37080 [09:08:52]ProducePacketName [09:08:52]name=ofd_packets/00037080 [09:08:52]NVStorageDeleteData [09:08:53]Write to MH i2c: 01 00 00 D0 06 D6 [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: 01 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: 01 07 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: 01 07 00 D0 06 00 00 00 00 00 87 0C 70 [09:08:53]RasterBufferAndPrint [09:08:53]line [09:08:53]line [09:08:53]line [09:08:53]line [09:08:53]line [09:08:53]written 0, free lines is 3213 [09:08:53]process_action close_receipt done [09:08:53]requested_data is exist [09:08:53]produce_requested_data [09:08:53]requested_item fm.sn is exist - process it [09:08:53]wFMCommunicate request_size=4 [09:08:53]MH_SAM_APDU [09:08:53]CAPDU: 80 11 00 00 [09:08:53]Write to MH i2c: E2 08 00 D7 06 80 11 00 00 00 00 00 00 57 [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:53]Read from MH i2c: E2 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 17 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 17 00 D7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AA [09:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:08:53]wFMCommunicate OK [09:08:53]requested_item fd.num is exist - process it [09:08:53]SAM_PROTO_GetFieldsCounters [09:08:53]wFMCommunicate request_size=4 [09:08:53]MH_SAM_APDU [09:08:53]CAPDU: 80 13 00 00 [09:08:53]Write to MH i2c: E2 08 00 D8 06 80 13 00 00 00 00 00 00 5A [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:53]Read from MH i2c: E2 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 62 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 62 00 D8 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D8 90 00 00 0E 04 04 00 CC 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 E6 [09:08: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D8 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:53]wFMCommunicate OK [09:08:53]SAM_PROTO_GetFieldsCounters done [09:08:53]requested_item shift.num is exist - process it [09:08:53]requested_item shift.opened is exist - process it [09:08:53]req_shift_opened [09:08:53]FM_GetShiftState [09:08:53]SAM_PROTO_GetShiftState [09:08:53]wFMCommunicate request_size=4 [09:08:53]MH_SAM_APDU [09:08:53]CAPDU: 80 13 01 00 [09:08:53]Write to MH i2c: E2 08 00 D9 06 80 13 01 00 00 00 00 00 5C [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:53]Read from MH i2c: E2 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 0E 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 0E 00 D9 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 76 [09:08:53]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:08:53]wFMCommunicate OK [09:08:53]SAM_PROTO_GetShiftState done [09:08:53]FM_GetShiftState done [09:08:53]req_shift_opened done [09:08:53]requested_item shift.open_date is exist - process it [09:08:53]req_shift_open_date [09:08:53]req_shift_open_date done [09:08:53]produce_requested_data done [09:08:53]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37080,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:08:53]process_action_free close_receipt [09:08:53]json_value_free [09:08:53]json_value_free done [09:08:53]process_json_proto returns [09:08:53]Send response to host [09:08:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37080,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:08:53]free response buf [09:08:53]execute_script done [09:08:53]execute_script returns [09:08:53]free content buf [09:08:53]Sock 9.Close socket [09:08:53]Sock 9.Thread stoped [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:45]accept exits with 7 [09:09:45]New connection [09:09:45]New thread 3067420004 created [09:09:45]Thread 3067563364 joined [09:09:45]Waiting for new connection... [09:09:45] Sock 7.Parse request [09:09:45]Sock 7.Check first char [09:09:45]Sock 7.First char is OK [09:09:45]request: POST /json_proto HTTP/1.0 [09:09:45]Method: POST [09:09:45]URL: /json_proto [09:09:45]Method is POST - this is cgi request [09:09:45]url: /json_proto [09:09:45]query_string will be loaded in cgi processing [09:09:45]execute_cgi json_proto POST (null) [09:09:45]execute_cgi path=json_proto method=POST [09:09:45]POST find Content-Length [09:09:45]Host: 172.17.53.68:8080 [09:09:45]Content-Length: 625 [09:09:45]Content-Type: application/json [09:09:45] [09:09:45]POST finish read [09:09:45]Found Content-Length = 625 [09:09:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76585", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:45]execute_script... [09:09:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76585", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:45]POST & json_proto [09:09:45]process_json_proto [09:09:45]json parsed OK: [09:09:45]protocol is kg_v1.0 [09:09:45]action value=close_receipt [09:09:45]process_action close_receipt [09:09:45]cmd_close_receipt [09:09:45]MH_GetDate [09:09:45]Write to MH i2c: F0 00 00 DA 06 CF [09:09:45]Write i2c OK [09:09:45]MH_I2C_Read... [09:09:45]Read from MH i2c: F0 [09:09:45]MH_I2C_Read... [09:09:45]Read from MH i2c: F0 09 00 [09:09:45]MH_I2C_Read... [09:09:45]Read from MH i2c: F0 09 00 DA 06 00 5C 77 13 67 C5 A4 76 66 6A [09:09:45]GetLastDocTimeStamp 1729328934 [09:09:45]current date 1729328988 [09:09:45]FM_GetShiftState [09:09:45]SAM_PROTO_GetShiftState [09:09:45]wFMCommunicate request_size=4 [09:09:45]MH_SAM_APDU [09:09:45]CAPDU: 80 13 01 00 [09:09:45]Write to MH i2c: E2 08 00 DB 06 80 13 01 00 00 00 00 00 5E [09:09:45]Write i2c OK [09:09:45]MH_I2C_Read... [09:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:45]Read from MH i2c: E2 [09:09:45]MH_I2C_Read... [09:09:45]Read from MH i2c: E2 0E 00 [09:09:45]MH_I2C_Read... [09:09:45]Read from MH i2c: E2 0E 00 DB 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 78 [09:09:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:09:45]wFMCommunicate OK [09:09:45]SAM_PROTO_GetShiftState done [09:09:45]FM_GetShiftState done [09:09:45]opened in 1729296796 [09:09:45]opened+sec_in_day 1729383196 [09:09:45]quantity*price = 31800 [09:09:45]sum+1 = 31801 [09:09:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 318.00 НСП 1% : 2.81 НДС 12% : 33.77 Наличными: 318.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 17 19.10.2024 09:09 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37081 ФПД: 89563353660362 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090948&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37081&fm=89563353660362&tin=02508201610067®Number=0000000000098149&sum=31800 0 [09:09:46]StoreToDocumentArchive [09:09:46]shift 460 fd 37081 [09:09:46]save to /storage/0460/doc_00037081 [09:09:46]save last doc name /storage/0460/doc_00037081 to /storage/kkm_last_doc_name [09:09:46]save OK [09:09:46]Clear old archive folders... [09:09:46]ProcessDocumentItem done err = 0, tmpTLVsize=278 [09:09:46]tlvbuf is 005F1830 [09:09:46]SAM_PROTO_ClearQueue [09:09:46]wFMCommunicate request_size=4 [09:09:46]MH_SAM_APDU [09:09:46]CAPDU: 80 09 00 00 [09:09:46]Write to MH i2c: E2 08 00 E8 06 80 09 00 00 00 00 00 00 60 [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 E8 06 00 90 00 62 [09:09:46]RAPDU: 90 00 [09:09:46]wFMCommunicate OK [09:09:46]SAM_PROTO_ClearQueue done [09:09:46]KKMCreateOFDPacket [09:09:46]OFDProtocolAddRootSTLVToBuf [09:09:46]FM_MakeSignedData [09:09:46]FM_MakeSignedData [09:09:46]SAM_PROTO_SignData [09:09:46]wFMCommunicate request_size=4 [09:09:46]MH_SAM_APDU [09:09:46]CAPDU: 80 0D 01 02 [09:09:46]Write to MH i2c: E2 08 00 E9 06 80 0D 01 02 00 00 00 00 68 [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 E9 06 00 90 00 63 [09:09:46]RAPDU: 90 00 [09:09:46]wFMCommunicate OK [09:09:46]wFMCommunicate request_size=255 [09:09:46]MH_SAM_APDU [09:09:46]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 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 5C 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 [09:09:46]Write to MH i2c: E2 02 01 EA 06 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 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 5C 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 00 00 EC [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 EA 06 00 90 00 64 [09:09:46]RAPDU: 90 00 [09:09:46]wFMCommunicate OK [09:09:46]wFMCommunicate request_size=37 [09:09:46]MH_SAM_APDU [09:09:46]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D9 90 00 00 35 04 06 00 51 75 17 E1 3B CA [09:09:46]Write to MH i2c: E2 28 00 EB 06 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D9 90 00 00 35 04 06 00 51 75 17 E1 3B CA 00 00 EE [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 03 00 EB 06 00 90 00 65 [09:09:46]RAPDU: 90 00 [09:09:46]wFMCommunicate OK [09:09:46]wFMCommunicate request_size=4 [09:09:46]MH_SAM_APDU [09:09:46]CAPDU: 80 0D 03 02 [09:09:46]Write to MH i2c: E2 08 00 EC 06 80 0D 03 02 00 00 00 00 6D [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 0B 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 0B 00 EC 06 00 8B 1A D0 03 1A E3 48 43 90 00 6E [09:09:46]RAPDU: 8B 1A D0 03 1A E3 48 43 90 00 [09:09:46]wFMCommunicate OK [09:09:46]SAM_PROTO_SignData done [09:09:46]FM_MakeSignedData done [09:09:46]CreateOFDProtocolMessage [09:09:46]wFMCommunicate request_size=4 [09:09:46]MH_SAM_APDU [09:09:46]CAPDU: 80 11 00 00 [09:09:46]Write to MH i2c: E2 08 00 ED 06 80 11 00 00 00 00 00 00 6D [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:46]Read from MH i2c: E2 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 17 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: E2 17 00 ED 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C0 [09:09:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:09:46]wFMCommunicate OK [09:09:46]CreateOFDProtocolMessage done [09:09:46]OFDSenderStorePacket 37081 [09:09:46]StoreOFDPacket docnum=37081 [09:09:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2A 01 00 00 E1 FD 22 01 48 57 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 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 5C 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D9 90 00 00 35 04 06 00 51 75 17 E1 3B CA 8B 1A D0 03 1A E3 48 43 [09:09:46]CheckFolder [09:09:46]dirname=/storage/ofd_packets [09:09:46]CheckFolder done [09:09:46]ProducePacketName [09:09:46]name=ofd_packets/00037081 [09:09:46]NVStorageSaveData ofd_packets/00037081 [09:09:46]File name is /storage/ofd_packets/00037081 [09:09:46]Write 328 bytes [09:09:46]NVStorageSaveData done [09:09:46]OFDSenderStorePacket done [09:09:46]KKMCreateOFDPacket done [09:09:46]NVStorageSaveData kkm_last_timestamp [09:09:46]File name is /storage/kkm_last_timestamp [09:09:46]Write 4 bytes [09:09:46]NVStorageSaveData done [09:09:46]ExternCall_PrintAddStr [09:09:46]wPrintStart [09:09:46]Write to MH i2c: 01 00 00 EE 06 F4 [09:09:46]Write i2c OK [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: 01 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: 01 07 00 [09:09:46]MH_I2C_Read... [09:09:46]Read from MH i2c: 01 07 00 EE 06 00 00 00 00 00 FF 0F 09 [09:09:46]RasterBufferAndPrint [09:09:46]line Счет N : (3)76585 [09:09:46]line ИНН: 02508201610067 [09:09:46]line Контрольно-Кассовый Чек [09:09:46]line ПРОДАЖА [09:09:46]line Товар: 48745895 [09:09:46]line Сигареты RICHMOND KS GOLD EDITION [09:09:46]line 2.000 * 159.00 [09:09:46]line = 318.00 [09:09:46]line НДС 12% НСП 1% [09:09:46]line > о реализуемом товаре [09:09:46]line ИТОГО: 318.00 [09:09:46]line НСП 1% : 2.81 [09:09:46]line НДС 12% : 33.77 [09:09:46]line Наличными: 318.00 [09:09:46]line Безнал.: 0.00 [09:09:46]line Место: АЗС № 165 "Партнер Нефть" [09:09:46]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:09:46]line СНО: Общий режим [09:09:46]line Чек 17 19.10.2024 09:09 [09:09:46]line Смена: 460 ФФД: 1.0 [09:09:46]line ЗНМ: 0300000235 [09:09:46]line РНМ: 0000000000098149 [09:09:46]line Версия ККМ: 001 [09:09:46]line ФМ: 0000000000965372 [09:09:46]line ФД: 37081 [09:09:46]line ФПД: 89563353660362 [09:09:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T090948&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37081&fm=89563353660362&tin=02508201610067®Number=0000000000098149&sum=31800 [09:09:47]line 0 [09:09:47]OFD Sender: Processing packet 37081 [packets to send 25, broken 24] [09:09:47]ProducePacketName [09:09:47]name=ofd_packets/00037081 [09:09:47]OFD Sender: To server: pG, [09:09:47]CommunicateWithHost lk.salyk.kg:30040 [09:09:47]ConnectInit lk.salyk.kg [09:09:47]written 0, free lines is 4095 [09:09:47]Connected sock=10 [09:09:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2A 01 00 00 E1 FD 22 01 48 57 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 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 5C 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D9 90 00 00 35 04 06 00 51 75 17 E1 3B CA 8B 1A D0 03 1A E3 48 43 [09:09:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 CB 20 47 00 7E 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 D9 90 00 00 F4 03 04 00 F3 1F 13 67 B6 04 01 00 00 C9 A0 C8 2E 2C D3 33 AF [09:09:47]CommunicateWithHost err = 0 [09:09:47]CheckOFDResponse [09:09:47]1017 (14) - 77093643461234 [09:09:47]1041 (16) - 0000000000965372 [09:09:47]1040 (4) - 37081 [09:09:47]1012 (4) - 19.10.2024 02:56 [09:09:47]1206 (1) - 0 [09:09:47]OFD Sender: Remove packet 37081 [09:09:47]ProducePacketName [09:09:47]name=ofd_packets/00037081 [09:09:47]NVStorageDeleteData [09:09:47]Write to MH i2c: 01 00 00 17 07 1E [09:09:47]Write i2c OK [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: 01 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: 01 07 00 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: 01 07 00 17 07 00 00 00 00 00 E2 0C 13 [09:09:47]RasterBufferAndPrint [09:09:47]line [09:09:47]line [09:09:47]line [09:09:47]line [09:09:47]line [09:09:47]written 0, free lines is 3304 [09:09:47]process_action close_receipt done [09:09:47]requested_data is exist [09:09:47]produce_requested_data [09:09:47]requested_item fm.sn is exist - process it [09:09:47]wFMCommunicate request_size=4 [09:09:47]MH_SAM_APDU [09:09:47]CAPDU: 80 11 00 00 [09:09:47]Write to MH i2c: E2 08 00 1E 07 80 11 00 00 00 00 00 00 9F [09:09:47]Write i2c OK [09:09:47]MH_I2C_Read... [09:09:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:47]Read from MH i2c: E2 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: E2 17 00 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: E2 17 00 1E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F2 [09:09:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:09:47]wFMCommunicate OK [09:09:47]requested_item fd.num is exist - process it [09:09:47]SAM_PROTO_GetFieldsCounters [09:09:47]wFMCommunicate request_size=4 [09:09:47]MH_SAM_APDU [09:09:47]CAPDU: 80 13 00 00 [09:09:47]Write to MH i2c: E2 08 00 1F 07 80 13 00 00 00 00 00 00 A2 [09:09:47]Write i2c OK [09:09:47]MH_I2C_Read... [09:09:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:47]Read from MH i2c: E2 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: E2 62 00 [09:09:47]MH_I2C_Read... [09:09:47]Read from MH i2c: E2 62 00 1F 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D9 90 00 00 0E 04 04 00 CC 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 32 [09:09: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 D9 90 00 00 0E 04 04 00 CC 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 [09:09:47]wFMCommunicate OK [09:09:47]SAM_PROTO_GetFieldsCounters done [09:09:47]requested_item shift.num is exist - process it [09:09:47]requested_item shift.opened is exist - process it [09:09:47]req_shift_opened [09:09:47]FM_GetShiftState [09:09:47]SAM_PROTO_GetShiftState [09:09:47]wFMCommunicate request_size=4 [09:09:47]MH_SAM_APDU [09:09:47]CAPDU: 80 13 01 00 [09:09:47]Write to MH i2c: E2 08 00 20 07 80 13 01 00 00 00 00 00 A4 [09:09:47]Write i2c OK [09:09:47]MH_I2C_Read... [09:09:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:48]Read from MH i2c: E2 [09:09:48]MH_I2C_Read... [09:09:48]Read from MH i2c: E2 0E 00 [09:09:48]MH_I2C_Read... [09:09:48]Read from MH i2c: E2 0E 00 20 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 BE [09:09:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:09:48]wFMCommunicate OK [09:09:48]SAM_PROTO_GetShiftState done [09:09:48]FM_GetShiftState done [09:09:48]req_shift_opened done [09:09:48]requested_item shift.open_date is exist - process it [09:09:48]req_shift_open_date [09:09:48]req_shift_open_date done [09:09:48]produce_requested_data done [09:09:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37081,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:09:48]process_action_free close_receipt [09:09:48]json_value_free [09:09:48]json_value_free done [09:09:48]process_json_proto returns [09:09:48]Send response to host [09:09:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37081,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:09:48]free response buf [09:09:48]execute_script done [09:09:48]execute_script returns [09:09:48]free content buf [09:09:48]Sock 7.Close socket [09:09:48]Sock 7.Thread stoped [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:51]accept exits with 9 [09:10:51]New connection [09:10:51]New thread 3067563364 created [09:10:51]Thread 3067420004 joined [09:10:51]Waiting for new connection... [09:10:51] Sock 9.Parse request [09:10:51]Sock 9.Check first char [09:10:51]Sock 9.First char is OK [09:10:51]request: POST /json_proto HTTP/1.0 [09:10:51]Method: POST [09:10:51]URL: /json_proto [09:10:51]Method is POST - this is cgi request [09:10:51]url: /json_proto [09:10:51]query_string will be loaded in cgi processing [09:10:51]execute_cgi json_proto POST (null) [09:10:51]execute_cgi path=json_proto method=POST [09:10:51]POST find Content-Length [09:10:51]Host: 172.17.53.68:8080 [09:10:51]Content-Length: 766 [09:10:51]Content-Type: application/json [09:10:51] [09:10:51]POST finish read [09:10:51]Found Content-Length = 766 [09:10:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873597", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:51]execute_script... [09:10:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873597", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:10:51]POST & json_proto [09:10:51]process_json_proto [09:10:51]json parsed OK: [09:10:51]protocol is kg_v1.0 [09:10:51]action value=close_receipt [09:10:51]process_action close_receipt [09:10:51]cmd_close_receipt [09:10:51]MH_GetDate [09:10:51]Write to MH i2c: F0 00 00 21 07 17 [09:10:51]Write i2c OK [09:10:51]MH_I2C_Read... [09:10:51]Read from MH i2c: F0 [09:10:51]MH_I2C_Read... [09:10:51]Read from MH i2c: F0 09 00 [09:10:51]MH_I2C_Read... [09:10:51]Read from MH i2c: F0 09 00 21 07 00 9F 77 13 67 C5 A4 76 66 F5 [09:10:51]GetLastDocTimeStamp 1729328988 [09:10:51]current date 1729329055 [09:10:51]FM_GetShiftState [09:10:51]SAM_PROTO_GetShiftState [09:10:51]wFMCommunicate request_size=4 [09:10:51]MH_SAM_APDU [09:10:51]CAPDU: 80 13 01 00 [09:10:51]Write to MH i2c: E2 08 00 22 07 80 13 01 00 00 00 00 00 A6 [09:10:51]Write i2c OK [09:10:51]MH_I2C_Read... [09:10:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:51]Read from MH i2c: E2 [09:10:51]MH_I2C_Read... [09:10:51]Read from MH i2c: E2 0E 00 [09:10:51]MH_I2C_Read... [09:10:51]Read from MH i2c: E2 0E 00 22 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C0 [09:10:51]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:10:51]wFMCommunicate OK [09:10:51]SAM_PROTO_GetShiftState done [09:10:51]FM_GetShiftState done [09:10:51]opened in 1729296796 [09:10:51]opened+sec_in_day 1729383196 [09:10:51]quantity*price = 150037 [09:10:51]sum+1 = 150039 [09:10:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.38 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 0.00 Безнал.: 1500.38 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 18 19.10.2024 09:10 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37082 ФПД: 158249539103427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091055&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37082&fm=158249539103427&tin=02508201610067®Number=0000000000098149&sum=150038 [09:10:52]StoreToDocumentArchive [09:10:52]shift 460 fd 37082 [09:10:52]save to /storage/0460/doc_00037082 [09:10:52]save last doc name /storage/0460/doc_00037082 to /storage/kkm_last_doc_name [09:10:52]save OK [09:10:52]Clear old archive folders... [09:10:52]ProcessDocumentItem done err = 0, tmpTLVsize=248 [09:10:52]tlvbuf is 005F4F10 [09:10:52]SAM_PROTO_ClearQueue [09:10:52]wFMCommunicate request_size=4 [09:10:52]MH_SAM_APDU [09:10:52]CAPDU: 80 09 00 00 [09:10:52]Write to MH i2c: E2 08 00 2F 07 80 09 00 00 00 00 00 00 A8 [09:10:52]Write i2c OK [09:10:52]MH_I2C_Read... [09:10:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:10:52]Read from MH i2c: E2 [09:10:52]MH_I2C_Read... [09:10:52]Read from MH i2c: E2 03 00 [09:10:52]MH_I2C_Read... [09:10:52]Read from MH i2c: E2 03 00 2F 07 00 90 00 AA [09:10:52]RAPDU: 90 00 [09:10:52]wFMCommunicate OK [09:10:52]SAM_PROTO_ClearQueue done [09:10:52]KKMCreateOFDPacket [09:10:52]OFDProtocolAddRootSTLVToBuf [09:10:52]FM_MakeSignedData [09:10:52]FM_MakeSignedData [09:10:52]SAM_PROTO_SignData [09:10:52]wFMCommunicate request_size=4 [09:10:52]MH_SAM_APDU [09:10:52]CAPDU: 80 0D 01 02 [09:10:52]Write to MH i2c: E2 08 00 30 07 80 0D 01 02 00 00 00 00 B0 [09:10:52]Write i2c OK [09:10:52]MH_I2C_Read... [09:10:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:10:52]Read from MH i2c: E2 [09:10:52]MH_I2C_Read... [09:10:52]Read from MH i2c: E2 03 00 [09:10:52]MH_I2C_Read... [09:10:52]Read from MH i2c: E2 03 00 30 07 00 90 00 AB [09:10:52]RAPDU: 90 00 [09:10:52]wFMCommunicate OK [09:10:52]wFMCommunicate request_size=255 [09:10:52]MH_SAM_APDU [09:10:52]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 9F 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DA 90 00 00 35 04 06 00 8F ED 57 90 [09:10:52]Write to MH i2c: E2 02 01 31 07 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 9F 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DA 90 00 00 35 04 06 00 8F ED 57 90 00 00 39 [09:10:52]Write i2c OK [09:10:52]MH_I2C_Read... [09:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:53]Read from MH i2c: E2 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 03 00 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 03 00 31 07 00 90 00 AC [09:10:53]RAPDU: 90 00 [09:10:53]wFMCommunicate OK [09:10:53]wFMCommunicate request_size=7 [09:10:53]MH_SAM_APDU [09:10:53]CAPDU: 80 0D 02 02 02 6A C3 [09:10:53]Write to MH i2c: E2 0A 00 32 07 80 0D 02 02 02 00 6A C3 00 00 E4 [09:10:53]Write i2c OK [09:10:53]MH_I2C_Read... [09:10:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:10:53]Read from MH i2c: E2 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 03 00 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 03 00 32 07 00 90 00 AD [09:10:53]RAPDU: 90 00 [09:10:53]wFMCommunicate OK [09:10:53]wFMCommunicate request_size=4 [09:10:53]MH_SAM_APDU [09:10:53]CAPDU: 80 0D 03 02 [09:10:53]Write to MH i2c: E2 08 00 33 07 80 0D 03 02 00 00 00 00 B5 [09:10:53]Write i2c OK [09:10:53]MH_I2C_Read... [09:10:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:10:53]OFD Sender: No OFD packet to send [09:10:53]Read from MH i2c: E2 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 0B 00 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 0B 00 33 07 00 0E 28 8C CF 15 28 19 0C 90 00 A9 [09:10:53]RAPDU: 0E 28 8C CF 15 28 19 0C 90 00 [09:10:53]wFMCommunicate OK [09:10:53]SAM_PROTO_SignData done [09:10:53]FM_MakeSignedData done [09:10:53]CreateOFDProtocolMessage [09:10:53]wFMCommunicate request_size=4 [09:10:53]MH_SAM_APDU [09:10:53]CAPDU: 80 11 00 00 [09:10:53]Write to MH i2c: E2 08 00 34 07 80 11 00 00 00 00 00 00 B5 [09:10:53]Write i2c OK [09:10:53]MH_I2C_Read... [09:10:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:53]Read from MH i2c: E2 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 17 00 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: E2 17 00 34 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 08 [09:10:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:10:53]wFMCommunicate OK [09:10:53]CreateOFDProtocolMessage done [09:10:53]OFDSenderStorePacket 37082 [09:10:53]StoreOFDPacket docnum=37082 [09:10:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0C 01 00 00 FD 6B 04 01 AE 5D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 9F 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DA 90 00 00 35 04 06 00 8F ED 57 90 6A C3 0E 28 8C CF 15 28 19 0C [09:10:53]CheckFolder [09:10:53]dirname=/storage/ofd_packets [09:10:53]CheckFolder done [09:10:53]ProducePacketName [09:10:53]name=ofd_packets/00037082 [09:10:53]NVStorageSaveData ofd_packets/00037082 [09:10:53]File name is /storage/ofd_packets/00037082 [09:10:53]Write 298 bytes [09:10:53]NVStorageSaveData done [09:10:53]OFDSenderStorePacket done [09:10:53]KKMCreateOFDPacket done [09:10:53]NVStorageSaveData kkm_last_timestamp [09:10:53]File name is /storage/kkm_last_timestamp [09:10:53]Write 4 bytes [09:10:53]NVStorageSaveData done [09:10:53]ExternCall_PrintAddStr [09:10:53]wPrintStart [09:10:53]Write to MH i2c: 01 00 00 35 07 3C [09:10:53]Write i2c OK [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: 01 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: 01 07 00 [09:10:53]MH_I2C_Read... [09:10:53]Read from MH i2c: 01 07 00 35 07 00 00 00 00 00 FF 0F 51 [09:10:53]RasterBufferAndPrint [09:10:53]line Счет N : (1)873597 [09:10:53]line ИНН: 02508201610067 [09:10:53]line Контрольно-Кассовый Чек [09:10:53]line ПРОДАЖА [09:10:53]line ТРК (МРК, ГНК) : 44 [09:10:53]line Товар: 2710194210 [09:10:53]line ДТ-К-2 [09:10:53]line 19.690 * 76.20 [09:10:53]line = 1500.38 [09:10:53]line НДС 12% НСП 1% [09:10:53]line > о реализуемом товаре [09:10:53]line ИТОГО: 1500.38 [09:10:53]line НСП 1% : 13.28 [09:10:53]line НДС 12% : 159.33 [09:10:53]line Наличными: 0.00 [09:10:53]line Безнал.: 1500.38 [09:10:53]line Место: АЗС № 165 "Партнер Нефть" [09:10:53]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:10:53]line СНО: Общий режим [09:10:53]line Чек 18 19.10.2024 09:10 [09:10:53]line Смена: 460 ФФД: 1.0 [09:10:53]line ЗНМ: 0300000235 [09:10:53]line РНМ: 0000000000098149 [09:10:53]line Версия ККМ: 001 [09:10:53]line Платежная система: Mbank [09:10:53]line ФМ: 0000000000965372 [09:10:53]line ФД: 37082 [09:10:53]line ФПД: 158249539103427 [09:10:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091055&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37082&fm=158249539103427&tin=02508201610067®Number=0000000000098149&sum=150038 [09:10:53]OFD Sender: Processing packet 37082 [packets to send 25, broken 24] [09:10:53]ProducePacketName [09:10:53]name=ofd_packets/00037082 [09:10:53]OFD Sender: To server: pG, [09:10:53]CommunicateWithHost lk.salyk.kg:30040 [09:10:53]ConnectInit lk.salyk.kg [09:10:53]written 0, free lines is 4095 [09:10:53]Connected sock=7 [09:10: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 33 37 32 0C 01 00 00 FD 6B 04 01 AE 5D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 16 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 9F 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DA 90 00 00 35 04 06 00 8F ED 57 90 6A C3 0E 28 8C CF 15 28 19 0C [09:10:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 4E C9 47 00 67 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DA 90 00 00 F4 03 04 00 35 20 13 67 B6 04 01 00 00 2D D9 81 9F 00 66 65 C6 [09:10:53]CommunicateWithHost err = 0 [09:10:53]CheckOFDResponse [09:10:53]1017 (14) - 77093643461234 [09:10:53]1041 (16) - 0000000000965372 [09:10:53]1040 (4) - 37082 [09:10:53]1012 (4) - 19.10.2024 02:57 [09:10:53]1206 (1) - 0 [09:10:53]OFD Sender: Remove packet 37082 [09:10:53]ProducePacketName [09:10:53]name=ofd_packets/00037082 [09:10:53]NVStorageDeleteData [09:10:54]Write to MH i2c: 01 00 00 5E 07 65 [09:10:54]Write i2c OK [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 07 00 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 07 00 5E 07 00 00 00 00 00 0A 0D 83 [09:10:54]RasterBufferAndPrint [09:10:54]line [09:10:54]line [09:10:54]line [09:10:54]line [09:10:54]line [09:10:54]written 0, free lines is 3344 [09:10:54]process_action close_receipt done [09:10:54]requested_data is exist [09:10:54]produce_requested_data [09:10:54]requested_item fm.sn is exist - process it [09:10:54]wFMCommunicate request_size=4 [09:10:54]MH_SAM_APDU [09:10:54]CAPDU: 80 11 00 00 [09:10:54]Write to MH i2c: E2 08 00 65 07 80 11 00 00 00 00 00 00 E6 [09:10:54]Write i2c OK [09:10:54]MH_I2C_Read... [09:10:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:10:54]Read from MH i2c: E2 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 17 00 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 17 00 65 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 39 [09:10:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:10:54]wFMCommunicate OK [09:10:54]requested_item fd.num is exist - process it [09:10:54]SAM_PROTO_GetFieldsCounters [09:10:54]wFMCommunicate request_size=4 [09:10:54]MH_SAM_APDU [09:10:54]CAPDU: 80 13 00 00 [09:10:54]Write to MH i2c: E2 08 00 66 07 80 13 00 00 00 00 00 00 E9 [09:10:54]Write i2c OK [09:10:54]MH_I2C_Read... [09:10:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:10:54]Read from MH i2c: E2 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 62 00 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 62 00 66 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DA 90 00 00 0E 04 04 00 CC 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 7D [09:10: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DA 90 00 00 0E 04 04 00 CC 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 [09:10:54]wFMCommunicate OK [09:10:54]SAM_PROTO_GetFieldsCounters done [09:10:54]requested_item shift.num is exist - process it [09:10:54]requested_item shift.opened is exist - process it [09:10:54]req_shift_opened [09:10:54]FM_GetShiftState [09:10:54]SAM_PROTO_GetShiftState [09:10:54]wFMCommunicate request_size=4 [09:10:54]MH_SAM_APDU [09:10:54]CAPDU: 80 13 01 00 [09:10:54]Write to MH i2c: E2 08 00 67 07 80 13 01 00 00 00 00 00 EB [09:10:54]Write i2c OK [09:10:54]MH_I2C_Read... [09:10:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:10:54]Read from MH i2c: E2 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 0E 00 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: E2 0E 00 67 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 05 [09:10:54]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:10:54]wFMCommunicate OK [09:10:54]SAM_PROTO_GetShiftState done [09:10:54]FM_GetShiftState done [09:10:54]req_shift_opened done [09:10:54]requested_item shift.open_date is exist - process it [09:10:54]req_shift_open_date [09:10:54]req_shift_open_date done [09:10:54]produce_requested_data done [09:10:54]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37082,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:10:54]process_action_free close_receipt [09:10:54]json_value_free [09:10:54]json_value_free done [09:10:54]process_json_proto returns [09:10:54]Send response to host [09:10:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37082,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:10:54]free response buf [09:10:54]execute_script done [09:10:54]execute_script returns [09:10:54]free content buf [09:10:54]Sock 9.Close socket [09:10:54]Sock 9.Thread stoped [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:11]int [09:11:11]Write to MH i2c: 01 00 00 68 07 6F [09:11:11]*** FLAG_PRN_KEY set [09:11:11]Write i2c OK [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 68 07 00 08 00 00 00 FF 0F 8C [09:11:11]state=0 [09:11:11]Key pressed [09:11:11]Feed [09:11:11]Write to MH i2c: D8 00 00 69 07 47 [09:11:11]Write i2c OK [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: D8 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: D8 01 00 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: D8 01 00 69 07 00 48 [09:11:11]int [09:11:11]Write to MH i2c: 01 00 00 6A 07 71 [09:11:11]Write i2c OK [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 6A 07 00 48 00 00 00 3D 00 FD [09:11:11]state=2 [09:11:11]Key pressed [09:11:11]int [09:11:11]Write to MH i2c: 01 00 00 6B 07 72 [09:11:11]*** FLAG_PRN_KEY reset [09:11:11]Write i2c OK [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 [09:11:11]MH_I2C_Read... [09:11:11]Read from MH i2c: 01 07 00 6B 07 00 00 00 00 00 F6 0F 7E [09:11:11]state=2 [09:11:11]Stop feed [09:11:12]int [09:11:12]Write to MH i2c: 01 00 00 6C 07 73 [09:11:12]*** FLAG_PRN_KEY set [09:11:12]Write i2c OK [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 07 00 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 07 00 6C 07 00 08 00 00 00 FF 0F 90 [09:11:12]state=0 [09:11:12]Key pressed [09:11:12]Feed [09:11:12]Write to MH i2c: D8 00 00 6D 07 4B [09:11:12]Write i2c OK [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: D8 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: D8 01 00 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: D8 01 00 6D 07 00 4C [09:11:12]int [09:11:12]Write to MH i2c: 01 00 00 6E 07 75 [09:11:12]Write i2c OK [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 07 00 [09:11:12]MH_I2C_Read... [09:11:12]Read from MH i2c: 01 07 00 6E 07 00 48 00 00 00 3C 00 00 [09:11:12]state=2 [09:11:12]Key pressed [09:11:13]int [09:11:13]Write to MH i2c: 01 00 00 6F 07 76 [09:11:13]*** FLAG_PRN_KEY reset [09:11:13]Write i2c OK [09:11:13]MH_I2C_Read... [09:11:13]Read from MH i2c: 01 [09:11:13]MH_I2C_Read... [09:11:13]Read from MH i2c: 01 07 00 [09:11:13]MH_I2C_Read... [09:11:13]Read from MH i2c: 01 07 00 6F 07 00 00 00 00 00 F6 0F 82 [09:11:13]state=2 [09:11:13]Stop feed [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:19]accept exits with 10 [09:11:19]New connection [09:11:19]New thread 3067420004 created [09:11:19]Thread 3067563364 joined [09:11:19]Waiting for new connection... [09:11:19] Sock 10.Parse request [09:11:19]Sock 10.Check first char [09:11:19]Sock 10.First char is OK [09:11:19]request: POST /json_proto HTTP/1.0 [09:11:19]Method: POST [09:11:19]URL: /json_proto [09:11:19]Method is POST - this is cgi request [09:11:19]url: /json_proto [09:11:19]query_string will be loaded in cgi processing [09:11:19]execute_cgi json_proto POST (null) [09:11:19]execute_cgi path=json_proto method=POST [09:11:19]POST find Content-Length [09:11:19]Host: 172.17.53.68:8080 [09:11:19]Content-Length: 952 [09:11:19]Content-Type: application/json [09:11:19] [09:11:19]POST finish read [09:11:19]Found Content-Length = 952 [09:11:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76586", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" ] } } [09:11:19]execute_script... [09:11:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76586", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" ] } } [09:11:19]POST & json_proto [09:11:19]process_json_proto [09:11:19]json parsed OK: [09:11:19]protocol is kg_v1.0 [09:11:19]action value=close_receipt [09:11:19]process_action close_receipt [09:11:19]cmd_close_receipt [09:11:19]MH_GetDate [09:11:19]Write to MH i2c: F0 00 00 70 07 66 [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: F0 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: F0 09 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: F0 09 00 70 07 00 BB 77 13 67 C5 A4 76 66 60 [09:11:19]GetLastDocTimeStamp 1729329055 [09:11:19]current date 1729329083 [09:11:19]FM_GetShiftState [09:11:19]SAM_PROTO_GetShiftState [09:11:19]wFMCommunicate request_size=4 [09:11:19]MH_SAM_APDU [09:11:19]CAPDU: 80 13 01 00 [09:11:19]Write to MH i2c: E2 08 00 71 07 80 13 01 00 00 00 00 00 F5 [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:19]Read from MH i2c: E2 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 0E 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: E2 0E 00 71 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0F [09:11:19]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:11:19]wFMCommunicate OK [09:11:19]SAM_PROTO_GetShiftState done [09:11:19]FM_GetShiftState done [09:11:19]opened in 1729296796 [09:11:19]opened+sec_in_day 1729383196 [09:11:19]quantity*price = 13000 [09:11:19]sum+1 = 13001 [09:11:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 19 19.10.2024 09:11 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37083 ФПД: 270175908147523 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091123&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37083&fm=270175908147523&tin=02508201610067®Number=0000000000098149&sum=22000 0 [09:11:20]StoreToDocumentArchive [09:11:20]shift 460 fd 37083 [09:11:20]save to /storage/0460/doc_00037083 [09:11:20]save last doc name /storage/0460/doc_00037083 to /storage/kkm_last_doc_name [09:11:20]save OK [09:11:20]Clear old archive folders... [09:11:20]ProcessDocumentItem done err = 0, tmpTLVsize=405 [09:11:20]tlvbuf is 006136F0 [09:11:20]SAM_PROTO_ClearQueue [09:11:20]wFMCommunicate request_size=4 [09:11:20]MH_SAM_APDU [09:11:20]CAPDU: 80 09 00 00 [09:11:20]Write to MH i2c: E2 08 00 7E 07 80 09 00 00 00 00 00 00 F7 [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:11:20]Read from MH i2c: E2 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: E2 03 00 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: E2 03 00 7E 07 00 90 00 F9 [09:11:20]RAPDU: 90 00 [09:11:20]wFMCommunicate OK [09:11:20]SAM_PROTO_ClearQueue done [09:11:20]KKMCreateOFDPacket [09:11:20]OFDProtocolAddRootSTLVToBuf [09:11:20]FM_MakeSignedData [09:11:20]FM_MakeSignedData [09:11:20]SAM_PROTO_SignData [09:11:20]wFMCommunicate request_size=4 [09:11:20]MH_SAM_APDU [09:11:20]CAPDU: 80 0D 01 02 [09:11:20]Write to MH i2c: E2 08 00 7F 07 80 0D 01 02 00 00 00 00 FF [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:11:20]Read from MH i2c: E2 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: E2 03 00 [09:11:20]MH_I2C_Read... [09:11:20]Read from MH i2c: E2 03 00 7F 07 00 90 00 FA [09:11:20]RAPDU: 90 00 [09:11:20]wFMCommunicate OK [09:11:20]wFMCommunicate request_size=255 [09:11:20]MH_SAM_APDU [09:11:20]CAPDU: 80 0D 02 02 FA 03 00 95 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 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 [09:11:20]Write to MH i2c: E2 02 01 80 07 80 0D 02 02 FA 00 03 00 95 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 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 E2 [09:11:20]Write i2c OK [09:11:20]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 03 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 03 00 80 07 00 90 00 FB [09:11:21]RAPDU: 90 00 [09:11:21]wFMCommunicate OK [09:11:21]wFMCommunicate request_size=164 [09:11:21]MH_SAM_APDU [09:11:21]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 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 13 00 00 00 F4 03 04 00 BB 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DB 90 00 00 35 04 06 00 F5 B9 3B 08 31 43 [09:11:21]Write to MH i2c: E2 A7 00 81 07 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 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 13 00 00 00 F4 03 04 00 BB 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DB 90 00 00 35 04 06 00 F5 B9 3B 08 31 43 00 00 10 [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 03 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 03 00 81 07 00 90 00 FC [09:11:21]RAPDU: 90 00 [09:11:21]wFMCommunicate OK [09:11:21]wFMCommunicate request_size=4 [09:11:21]MH_SAM_APDU [09:11:21]CAPDU: 80 0D 03 02 [09:11:21]Write to MH i2c: E2 08 00 82 07 80 0D 03 02 00 00 00 00 04 [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 0B 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 0B 00 82 07 00 C8 C4 87 DD 8C 52 04 80 90 00 57 [09:11:21]RAPDU: C8 C4 87 DD 8C 52 04 80 90 00 [09:11:21]wFMCommunicate OK [09:11:21]SAM_PROTO_SignData done [09:11:21]FM_MakeSignedData done [09:11:21]CreateOFDProtocolMessage [09:11:21]wFMCommunicate request_size=4 [09:11:21]MH_SAM_APDU [09:11:21]CAPDU: 80 11 00 00 [09:11:21]Write to MH i2c: E2 08 00 83 07 80 11 00 00 00 00 00 00 04 [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:21]Read from MH i2c: E2 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 17 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: E2 17 00 83 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 57 [09:11:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:11:21]wFMCommunicate OK [09:11:21]CreateOFDProtocolMessage done [09:11:21]OFDSenderStorePacket 37083 [09:11:21]StoreOFDPacket docnum=37083 [09:11:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A9 01 00 00 3D D3 A1 01 D8 BF 5A 03 01 00 03 00 95 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 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 13 00 00 00 F4 03 04 00 BB 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DB 90 00 00 35 04 06 00 F5 B9 3B 08 31 43 C8 C4 87 DD 8C 52 04 80 [09:11:21]CheckFolder [09:11:21]dirname=/storage/ofd_packets [09:11:21]CheckFolder done [09:11:21]ProducePacketName [09:11:21]name=ofd_packets/00037083 [09:11:21]NVStorageSaveData ofd_packets/00037083 [09:11:21]File name is /storage/ofd_packets/00037083 [09:11:21]Write 455 bytes [09:11:21]NVStorageSaveData done [09:11:21]OFDSenderStorePacket done [09:11:21]KKMCreateOFDPacket done [09:11:21]NVStorageSaveData kkm_last_timestamp [09:11:21]File name is /storage/kkm_last_timestamp [09:11:21]Write 4 bytes [09:11:21]NVStorageSaveData done [09:11:21]ExternCall_PrintAddStr [09:11:21]wPrintStart [09:11:21]Write to MH i2c: 01 00 00 84 07 8B [09:11:21]Write i2c OK [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: 01 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: 01 07 00 [09:11:21]MH_I2C_Read... [09:11:21]Read from MH i2c: 01 07 00 84 07 00 00 00 00 00 FF 0F A0 [09:11:21]RasterBufferAndPrint [09:11:21]line Счет N : (3)76586 [09:11:21]line ИНН: 02508201610067 [09:11:21]line Контрольно-Кассовый Чек [09:11:21]line ПРОДАЖА [09:11:21]line Товар: 2000036230011 [09:11:21]line Кофе Латте XL(GABB TRADE) [09:11:21]line 1.000 * 130.00 [09:11:21]line = 130.00 [09:11:21]line НДС 12% НСП 1% [09:11:21]line > о реализуемом товаре [09:11:21]line Товар: 4660085515163 [09:11:21]line Шок Батончик Сникерс супер 95/80г [09:11:21]line 1.000 * 90.00 [09:11:21]line = 90.00 [09:11:21]line НДС 12% НСП 1% [09:11:21]line > о реализуемом товаре [09:11:21]line ИТОГО: 220.00 [09:11:21]line НСП 1% : 1.95 [09:11:21]line НДС 12% : 23.36 [09:11:21]line Наличными: 220.00 [09:11:21]line Безнал.: 0.00 [09:11:21]line Место: АЗС № 165 "Партнер Нефть" [09:11:21]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:11:21]line СНО: Общий режим [09:11:21]line Чек 19 19.10.2024 09:11 [09:11:21]line Смена: 460 ФФД: 1.0 [09:11:21]line ЗНМ: 0300000235 [09:11:21]line РНМ: 0000000000098149 [09:11:21]line Версия ККМ: 001 [09:11:21]line ФМ: 0000000000965372 [09:11:21]line ФД: 37083 [09:11:21]line ФПД: 270175908147523 [09:11:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091123&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37083&fm=270175908147523&tin=02508201610067®Number=0000000000098149&sum=22000 [09:11:21]line 0 [09:11:21]OFD Sender: Processing packet 37083 [packets to send 25, broken 24] [09:11:21]ProducePacketName [09:11:21]name=ofd_packets/00037083 [09:11:21]OFD Sender: To server: pG, [09:11:21]CommunicateWithHost lk.salyk.kg:30040 [09:11:21]ConnectInit lk.salyk.kg [09:11:21]written 0, free lines is 4095 [09:11:21]Connected sock=9 [09:11:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A9 01 00 00 3D D3 A1 01 D8 BF 5A 03 01 00 03 00 95 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 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 13 00 00 00 F4 03 04 00 BB 77 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DB 90 00 00 35 04 06 00 F5 B9 3B 08 31 43 C8 C4 87 DD 8C 52 04 80 [09:11:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 38 01 47 00 C7 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DB 90 00 00 F4 03 04 00 51 20 13 67 B6 04 01 00 00 05 2F 86 A4 D7 FF 98 D9 [09:11:22]CommunicateWithHost err = 0 [09:11:22]CheckOFDResponse [09:11:22]1017 (14) - 77093643461234 [09:11:22]1041 (16) - 0000000000965372 [09:11:22]1040 (4) - 37083 [09:11:22]1012 (4) - 19.10.2024 02:58 [09:11:22]1206 (1) - 0 [09:11:22]OFD Sender: Remove packet 37083 [09:11:22]ProducePacketName [09:11:22]name=ofd_packets/00037083 [09:11:22]NVStorageDeleteData [09:11:22]Write to MH i2c: 01 00 00 B3 07 BA [09:11:22]Write i2c OK [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: 01 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: 01 07 00 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: 01 07 00 B3 07 00 00 00 00 00 8D 0C 5A [09:11:22]RasterBufferAndPrint [09:11:22]line [09:11:22]line [09:11:22]line [09:11:22]line [09:11:22]line [09:11:22]written 0, free lines is 3220 [09:11:22]process_action close_receipt done [09:11:22]requested_data is exist [09:11:22]produce_requested_data [09:11:22]requested_item fm.sn is exist - process it [09:11:22]wFMCommunicate request_size=4 [09:11:22]MH_SAM_APDU [09:11:22]CAPDU: 80 11 00 00 [09:11:22]Write to MH i2c: E2 08 00 BA 07 80 11 00 00 00 00 00 00 3B [09:11:22]Write i2c OK [09:11:22]MH_I2C_Read... [09:11:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:11:22]Read from MH i2c: E2 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 17 00 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 17 00 BA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 8E [09:11:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:11:22]wFMCommunicate OK [09:11:22]requested_item fd.num is exist - process it [09:11:22]SAM_PROTO_GetFieldsCounters [09:11:22]wFMCommunicate request_size=4 [09:11:22]MH_SAM_APDU [09:11:22]CAPDU: 80 13 00 00 [09:11:22]Write to MH i2c: E2 08 00 BB 07 80 13 00 00 00 00 00 00 3E [09:11:22]Write i2c OK [09:11:22]MH_I2C_Read... [09:11:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:11:22]Read from MH i2c: E2 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 62 00 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 62 00 BB 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DB 90 00 00 0E 04 04 00 CC 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 D6 [09:11:22]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DB 90 00 00 0E 04 04 00 CC 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 [09:11:22]wFMCommunicate OK [09:11:22]SAM_PROTO_GetFieldsCounters done [09:11:22]requested_item shift.num is exist - process it [09:11:22]requested_item shift.opened is exist - process it [09:11:22]req_shift_opened [09:11:22]FM_GetShiftState [09:11:22]SAM_PROTO_GetShiftState [09:11:22]wFMCommunicate request_size=4 [09:11:22]MH_SAM_APDU [09:11:22]CAPDU: 80 13 01 00 [09:11:22]Write to MH i2c: E2 08 00 BC 07 80 13 01 00 00 00 00 00 40 [09:11:22]Write i2c OK [09:11:22]MH_I2C_Read... [09:11:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:11:22]Read from MH i2c: E2 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 0E 00 [09:11:22]MH_I2C_Read... [09:11:22]Read from MH i2c: E2 0E 00 BC 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 5A [09:11:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:11:22]wFMCommunicate OK [09:11:22]SAM_PROTO_GetShiftState done [09:11:22]FM_GetShiftState done [09:11:22]req_shift_opened done [09:11:22]requested_item shift.open_date is exist - process it [09:11:22]req_shift_open_date [09:11:22]req_shift_open_date done [09:11:22]produce_requested_data done [09:11:22]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37083,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:11:22]process_action_free close_receipt [09:11:22]json_value_free [09:11:22]json_value_free done [09:11:22]process_json_proto returns [09:11:22]Send response to host [09:11:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37083,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:11:22]free response buf [09:11:22]execute_script done [09:11:22]execute_script returns [09:11:22]free content buf [09:11:22]Sock 10.Close socket [09:11:22]Sock 10.Thread stoped [09:11:22]OFD Sender: No OFD packet to send [09:11:23]int [09:11:23]Write to MH i2c: 01 00 00 BD 07 C4 [09:11:23]*** FLAG_PRN_KEY set [09:11:23]Write i2c OK [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 BD 07 00 08 00 00 00 FF 0F E1 [09:11:23]state=0 [09:11:23]Key pressed [09:11:23]Feed [09:11:23]Write to MH i2c: D8 00 00 BE 07 9C [09:11:23]Write i2c OK [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: D8 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: D8 01 00 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: D8 01 00 BE 07 00 9D [09:11:23]int [09:11:23]Write to MH i2c: 01 00 00 BF 07 C6 [09:11:23]Write i2c OK [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 BF 07 00 48 00 00 00 3C 00 51 [09:11:23]state=2 [09:11:23]Key pressed [09:11:23]int [09:11:23]Write to MH i2c: 01 00 00 C0 07 C7 [09:11:23]*** FLAG_PRN_KEY reset [09:11:23]Write i2c OK [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 [09:11:23]MH_I2C_Read... [09:11:23]Read from MH i2c: 01 07 00 C0 07 00 00 00 00 00 F9 0F D6 [09:11:23]state=2 [09:11:23]Stop feed [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:37]accept exits with 7 [09:13:37]New connection [09:13:37]New thread 3067563364 created [09:13:37]Thread 3067420004 joined [09:13:37]Waiting for new connection... [09:13:37] Sock 7.Parse request [09:13:37]Sock 7.Check first char [09:13:37]Sock 7.First char is OK [09:13:37]request: POST /json_proto HTTP/1.0 [09:13:37]Method: POST [09:13:37]URL: /json_proto [09:13:37]Method is POST - this is cgi request [09:13:37]url: /json_proto [09:13:37]query_string will be loaded in cgi processing [09:13:37]execute_cgi json_proto POST (null) [09:13:37]execute_cgi path=json_proto method=POST [09:13:37]POST find Content-Length [09:13:37]Host: 172.17.53.68:8080 [09:13:37]Content-Length: 632 [09:13:37]Content-Type: application/json [09:13:37] [09:13:37]POST finish read [09:13:37]Found Content-Length = 632 [09:13:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873599", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:13:37]execute_script... [09:13:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873599", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:13:37]POST & json_proto [09:13:37]process_json_proto [09:13:37]json parsed OK: [09:13:37]protocol is kg_v1.0 [09:13:37]action value=close_receipt [09:13:37]process_action close_receipt [09:13:37]cmd_close_receipt [09:13:37]MH_GetDate [09:13:37]Write to MH i2c: F0 00 00 C1 07 B7 [09:13:37]Write i2c OK [09:13:37]MH_I2C_Read... [09:13:37]Read from MH i2c: F0 [09:13:37]MH_I2C_Read... [09:13:37]Read from MH i2c: F0 09 00 [09:13:37]MH_I2C_Read... [09:13:37]Read from MH i2c: F0 09 00 C1 07 00 45 78 13 67 C5 A4 76 66 3C [09:13:37]GetLastDocTimeStamp 1729329083 [09:13:37]current date 1729329221 [09:13:37]FM_GetShiftState [09:13:37]SAM_PROTO_GetShiftState [09:13:37]wFMCommunicate request_size=4 [09:13:37]MH_SAM_APDU [09:13:37]CAPDU: 80 13 01 00 [09:13:37]Write to MH i2c: E2 08 00 C2 07 80 13 01 00 00 00 00 00 46 [09:13:37]Write i2c OK [09:13:37]MH_I2C_Read... [09:13:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:37]Read from MH i2c: E2 [09:13:37]MH_I2C_Read... [09:13:37]Read from MH i2c: E2 0E 00 [09:13:37]MH_I2C_Read... [09:13:37]Read from MH i2c: E2 0E 00 C2 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 60 [09:13:37]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:13:37]wFMCommunicate OK [09:13:37]SAM_PROTO_GetShiftState done [09:13:37]FM_GetShiftState done [09:13:37]opened in 1729296796 [09:13:37]opened+sec_in_day 1729383196 [09:13:37]quantity*price = 50000 [09:13:37]sum+1 = 50001 [09:13:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 20 19.10.2024 09:13 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37084 ФПД: 140430754567020 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091341&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37084&fm=140430754567020&tin=02508201610067®Number=0000000000098149&sum=50000 [09:13:39]StoreToDocumentArchive [09:13:39]shift 460 fd 37084 [09:13:39]save to /storage/0460/doc_00037084 [09:13:39]save last doc name /storage/0460/doc_00037084 to /storage/kkm_last_doc_name [09:13:39]save OK [09:13:39]Clear old archive folders... [09:13:39]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:13:39]tlvbuf is 005F7D90 [09:13:39]SAM_PROTO_ClearQueue [09:13:39]wFMCommunicate request_size=4 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 09 00 00 [09:13:39]Write to MH i2c: E2 08 00 CF 07 80 09 00 00 00 00 00 00 48 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 CF 07 00 90 00 4A [09:13:39]RAPDU: 90 00 [09:13:39]wFMCommunicate OK [09:13:39]SAM_PROTO_ClearQueue done [09:13:39]KKMCreateOFDPacket [09:13:39]OFDProtocolAddRootSTLVToBuf [09:13:39]FM_MakeSignedData [09:13:39]FM_MakeSignedData [09:13:39]SAM_PROTO_SignData [09:13:39]wFMCommunicate request_size=4 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 0D 01 02 [09:13:39]Write to MH i2c: E2 08 00 D0 07 80 0D 01 02 00 00 00 00 50 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 D0 07 00 90 00 4B [09:13:39]RAPDU: 90 00 [09:13:39]wFMCommunicate OK [09:13:39]wFMCommunicate request_size=255 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 45 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DC 90 00 00 35 04 06 00 [09:13:39]Write to MH i2c: E2 02 01 D1 07 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 45 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DC 90 00 00 35 04 06 00 00 00 43 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 D1 07 00 90 00 4C [09:13:39]RAPDU: 90 00 [09:13:39]wFMCommunicate OK [09:13:39]wFMCommunicate request_size=11 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 0D 02 02 06 7F B8 95 3D D3 6C [09:13:39]Write to MH i2c: E2 0E 00 D2 07 80 0D 02 02 06 00 7F B8 95 3D D3 6C 00 00 A7 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 03 00 D2 07 00 90 00 4D [09:13:39]RAPDU: 90 00 [09:13:39]wFMCommunicate OK [09:13:39]wFMCommunicate request_size=4 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 0D 03 02 [09:13:39]Write to MH i2c: E2 08 00 D3 07 80 0D 03 02 00 00 00 00 55 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 0B 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 0B 00 D3 07 00 AA 5E D9 73 40 04 7D 47 90 00 B2 [09:13:39]RAPDU: AA 5E D9 73 40 04 7D 47 90 00 [09:13:39]wFMCommunicate OK [09:13:39]SAM_PROTO_SignData done [09:13:39]FM_MakeSignedData done [09:13:39]CreateOFDProtocolMessage [09:13:39]wFMCommunicate request_size=4 [09:13:39]MH_SAM_APDU [09:13:39]CAPDU: 80 11 00 00 [09:13:39]Write to MH i2c: E2 08 00 D4 07 80 11 00 00 00 00 00 00 55 [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:39]Read from MH i2c: E2 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 17 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: E2 17 00 D4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A8 [09:13:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:13:39]wFMCommunicate OK [09:13:39]CreateOFDProtocolMessage done [09:13:39]OFDSenderStorePacket 37084 [09:13:39]StoreOFDPacket docnum=37084 [09:13:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 05 9D 08 01 C1 74 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 45 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DC 90 00 00 35 04 06 00 7F B8 95 3D D3 6C AA 5E D9 73 40 04 7D 47 [09:13:39]CheckFolder [09:13:39]dirname=/storage/ofd_packets [09:13:39]CheckFolder done [09:13:39]ProducePacketName [09:13:39]name=ofd_packets/00037084 [09:13:39]NVStorageSaveData ofd_packets/00037084 [09:13:39]File name is /storage/ofd_packets/00037084 [09:13:39]Write 302 bytes [09:13:39]NVStorageSaveData done [09:13:39]OFDSenderStorePacket done [09:13:39]KKMCreateOFDPacket done [09:13:39]NVStorageSaveData kkm_last_timestamp [09:13:39]File name is /storage/kkm_last_timestamp [09:13:39]Write 4 bytes [09:13:39]NVStorageSaveData done [09:13:39]ExternCall_PrintAddStr [09:13:39]wPrintStart [09:13:39]Write to MH i2c: 01 00 00 D5 07 DC [09:13:39]Write i2c OK [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: 01 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: 01 07 00 [09:13:39]MH_I2C_Read... [09:13:39]Read from MH i2c: 01 07 00 D5 07 00 00 00 00 00 FF 0F F1 [09:13:39]RasterBufferAndPrint [09:13:39]line Счет N : (1)873599 [09:13:39]line ИНН: 02508201610067 [09:13:39]line Контрольно-Кассовый Чек [09:13:39]line ПРОДАЖА [09:13:39]line ТРК (МРК, ГНК) : 23 [09:13:39]line Товар: 2710124130 [09:13:39]line Super 92-К-5 [09:13:39]line 7.310 * 68.40 [09:13:39]line = 500.00 [09:13:39]line НДС 12% НСП 1% [09:13:39]line > о реализуемом товаре [09:13:39]line ИТОГО: 500.00 [09:13:39]line НСП 1% : 4.42 [09:13:39]line НДС 12% : 53.10 [09:13:39]line Наличными: 500.00 [09:13:39]line Безнал.: 0.00 [09:13:39]line Место: АЗС № 165 "Партнер Нефть" [09:13:39]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:13:39]line СНО: Общий режим [09:13:39]line Чек 20 19.10.2024 09:13 [09:13:39]line Смена: 460 ФФД: 1.0 [09:13:39]line ЗНМ: 0300000235 [09:13:39]line РНМ: 0000000000098149 [09:13:39]line Версия ККМ: 001 [09:13:39]line ФМ: 0000000000965372 [09:13:39]line ФД: 37084 [09:13:39]line ФПД: 140430754567020 [09:13:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091341&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37084&fm=140430754567020&tin=02508201610067®Number=0000000000098149&sum=50000 [09:13:39]written 0, free lines is 4095 [09:13:39]OFD Sender: Processing packet 37084 [packets to send 25, broken 24] [09:13:39]ProducePacketName [09:13:39]name=ofd_packets/00037084 [09:13:39]OFD Sender: To server: pG, [09:13:39]CommunicateWithHost lk.salyk.kg:30040 [09:13:39]ConnectInit lk.salyk.kg [09:13:39]Connected sock=10 [09:13: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 33 37 32 10 01 00 00 05 9D 08 01 C1 74 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 45 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DC 90 00 00 35 04 06 00 7F B8 95 3D D3 6C AA 5E D9 73 40 04 7D 47 [09:13:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 03 06 47 00 98 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 33 37 32 10 04 04 00 DC 90 00 00 F4 03 04 00 DB 20 13 67 B6 04 01 00 00 DE F9 1A EE AA 8E 22 9E [09:13:40]CommunicateWithHost err = 0 [09:13:40]CheckOFDResponse [09:13:40]1017 (14) - 77093643461234 [09:13:40]1041 (16) - 0000000000965372 [09:13:40]1040 (4) - 37084 [09:13:40]1012 (4) - 19.10.2024 03:00 [09:13:40]1206 (1) - 0 [09:13:40]OFD Sender: Remove packet 37084 [09:13:40]ProducePacketName [09:13:40]name=ofd_packets/00037084 [09:13:40]NVStorageDeleteData [09:13:40]Write to MH i2c: 01 00 00 FD 07 04 [09:13:40]Write i2c OK [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 07 00 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 07 00 FD 07 00 00 00 00 00 16 0D 2E [09:13:40]RasterBufferAndPrint [09:13:40]line [09:13:40]line [09:13:40]line [09:13:40]line [09:13:40]line [09:13:40]written 0, free lines is 3357 [09:13:40]process_action close_receipt done [09:13:40]requested_data is exist [09:13:40]produce_requested_data [09:13:40]requested_item fm.sn is exist - process it [09:13:40]wFMCommunicate request_size=4 [09:13:40]MH_SAM_APDU [09:13:40]CAPDU: 80 11 00 00 [09:13:40]Write to MH i2c: E2 08 00 04 08 80 11 00 00 00 00 00 00 86 [09:13:40]Write i2c OK [09:13:40]MH_I2C_Read... [09:13:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:40]Read from MH i2c: E2 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 17 00 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 17 00 04 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D9 [09:13:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:13:40]wFMCommunicate OK [09:13:40]requested_item fd.num is exist - process it [09:13:40]SAM_PROTO_GetFieldsCounters [09:13:40]wFMCommunicate request_size=4 [09:13:40]MH_SAM_APDU [09:13:40]CAPDU: 80 13 00 00 [09:13:40]Write to MH i2c: E2 08 00 05 08 80 13 00 00 00 00 00 00 89 [09:13:40]Write i2c OK [09:13:40]MH_I2C_Read... [09:13:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:13:40]Read from MH i2c: E2 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 62 00 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 62 00 05 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DC 90 00 00 0E 04 04 00 CC 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 25 [09:13: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DC 90 00 00 0E 04 04 00 CC 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 [09:13:40]wFMCommunicate OK [09:13:40]SAM_PROTO_GetFieldsCounters done [09:13:40]requested_item shift.num is exist - process it [09:13:40]requested_item shift.opened is exist - process it [09:13:40]req_shift_opened [09:13:40]FM_GetShiftState [09:13:40]SAM_PROTO_GetShiftState [09:13:40]wFMCommunicate request_size=4 [09:13:40]MH_SAM_APDU [09:13:40]CAPDU: 80 13 01 00 [09:13:40]Write to MH i2c: E2 08 00 06 08 80 13 01 00 00 00 00 00 8B [09:13:40]Write i2c OK [09:13:40]MH_I2C_Read... [09:13:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:40]Read from MH i2c: E2 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 0E 00 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: E2 0E 00 06 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A5 [09:13:40]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:13:40]wFMCommunicate OK [09:13:40]SAM_PROTO_GetShiftState done [09:13:40]FM_GetShiftState done [09:13:40]req_shift_opened done [09:13:40]requested_item shift.open_date is exist - process it [09:13:40]req_shift_open_date [09:13:40]req_shift_open_date done [09:13:40]produce_requested_data done [09:13:40]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37084,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:13:40]process_action_free close_receipt [09:13:40]json_value_free [09:13:40]json_value_free done [09:13:40]process_json_proto returns [09:13:40]Send response to host [09:13:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37084,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:13:40]free response buf [09:13:40]execute_script done [09:13:40]execute_script returns [09:13:40]free content buf [09:13:40]Sock 7.Close socket [09:13:40]Sock 7.Thread stoped [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:36]accept exits with 9 [09:15:36]New connection [09:15:36]New thread 3067420004 created [09:15:36]Thread 3067563364 joined [09:15:36]Waiting for new connection... [09:15:36] Sock 9.Parse request [09:15:36]Sock 9.Check first char [09:15:36]Sock 9.First char is OK [09:15:36]request: POST /json_proto HTTP/1.0 [09:15:36]Method: POST [09:15:36]URL: /json_proto [09:15:36]Method is POST - this is cgi request [09:15:36]url: /json_proto [09:15:36]query_string will be loaded in cgi processing [09:15:36]execute_cgi json_proto POST (null) [09:15:36]execute_cgi path=json_proto method=POST [09:15:36]POST find Content-Length [09:15:36]Host: 172.17.53.68:8080 [09:15:36]Content-Length: 767 [09:15:36]Content-Type: application/json [09:15:36] [09:15:36]POST finish read [09:15:36]Found Content-Length = 767 [09:15:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873600", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.420, "sum" : 995.76, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 995.76 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:36]execute_script... [09:15:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873600", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.420, "sum" : 995.76, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 995.76 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:36]POST & json_proto [09:15:36]process_json_proto [09:15:36]json parsed OK: [09:15:36]protocol is kg_v1.0 [09:15:36]action value=close_receipt [09:15:36]process_action close_receipt [09:15:36]cmd_close_receipt [09:15:36]MH_GetDate [09:15:36]Write to MH i2c: F0 00 00 07 08 FE [09:15:36]Write i2c OK [09:15:36]MH_I2C_Read... [09:15:36]Read from MH i2c: F0 [09:15:36]MH_I2C_Read... [09:15:36]Read from MH i2c: F0 09 00 [09:15:36]MH_I2C_Read... [09:15:36]Read from MH i2c: F0 09 00 07 08 00 BC 78 13 67 C5 A4 76 66 FA [09:15:36]GetLastDocTimeStamp 1729329221 [09:15:36]current date 1729329340 [09:15:36]FM_GetShiftState [09:15:36]SAM_PROTO_GetShiftState [09:15:36]wFMCommunicate request_size=4 [09:15:36]MH_SAM_APDU [09:15:36]CAPDU: 80 13 01 00 [09:15:36]Write to MH i2c: E2 08 00 08 08 80 13 01 00 00 00 00 00 8D [09:15:36]Write i2c OK [09:15:36]MH_I2C_Read... [09:15:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:36]Read from MH i2c: E2 [09:15:36]MH_I2C_Read... [09:15:36]Read from MH i2c: E2 0E 00 [09:15:36]MH_I2C_Read... [09:15:36]Read from MH i2c: E2 0E 00 08 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A7 [09:15:36]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:15:36]wFMCommunicate OK [09:15:36]SAM_PROTO_GetShiftState done [09:15:36]FM_GetShiftState done [09:15:36]opened in 1729296796 [09:15:36]opened+sec_in_day 1729383196 [09:15:36]quantity*price = 99576 [09:15:36]sum+1 = 99577 [09:15:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 995.76 НСП 1% : 8.81 НДС 12% : 105.74 Наличными: 0.00 Безнал.: 995.76 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 21 19.10.2024 09:15 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37085 ФПД: 109424557594234 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091540&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37085&fm=109424557594234&tin=02508201610067®Number=0000000000098149&sum=99576 [09:15:37]StoreToDocumentArchive [09:15:37]shift 460 fd 37085 [09:15:37]save to /storage/0460/doc_00037085 [09:15:37]save last doc name /storage/0460/doc_00037085 to /storage/kkm_last_doc_name [09:15:37]save OK [09:15:37]Clear old archive folders... [09:15:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:15:37]tlvbuf is 00606E50 [09:15:37]SAM_PROTO_ClearQueue [09:15:37]wFMCommunicate request_size=4 [09:15:37]MH_SAM_APDU [09:15:37]CAPDU: 80 09 00 00 [09:15:37]Write to MH i2c: E2 08 00 15 08 80 09 00 00 00 00 00 00 8F [09:15:37]Write i2c OK [09:15:37]MH_I2C_Read... [09:15:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:15:37]Read from MH i2c: E2 [09:15:37]MH_I2C_Read... [09:15:37]Read from MH i2c: E2 03 00 [09:15:37]MH_I2C_Read... [09:15:37]Read from MH i2c: E2 03 00 15 08 00 90 00 91 [09:15:37]RAPDU: 90 00 [09:15:37]wFMCommunicate OK [09:15:37]SAM_PROTO_ClearQueue done [09:15:37]KKMCreateOFDPacket [09:15:37]OFDProtocolAddRootSTLVToBuf [09:15:37]FM_MakeSignedData [09:15:37]FM_MakeSignedData [09:15:37]SAM_PROTO_SignData [09:15:37]wFMCommunicate request_size=4 [09:15:37]MH_SAM_APDU [09:15:37]CAPDU: 80 0D 01 02 [09:15:37]Write to MH i2c: E2 08 00 16 08 80 0D 01 02 00 00 00 00 97 [09:15:37]Write i2c OK [09:15:37]MH_I2C_Read... [09:15:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:15:38]Read from MH i2c: E2 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 16 08 00 90 00 92 [09:15:38]RAPDU: 90 00 [09:15:38]wFMCommunicate OK [09:15:38]wFMCommunicate request_size=255 [09:15:38]MH_SAM_APDU [09:15:38]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 6C 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F8 84 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 84 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 BC 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DD 90 00 00 35 04 06 00 63 [09:15:38]Write to MH i2c: E2 02 01 17 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 6C 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F8 84 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 84 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 BC 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DD 90 00 00 35 04 06 00 63 00 00 25 [09:15:38]Write i2c OK [09:15:38]MH_I2C_Read... [09:15:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:38]Read from MH i2c: E2 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 17 08 00 90 00 93 [09:15:38]RAPDU: 90 00 [09:15:38]wFMCommunicate OK [09:15:38]wFMCommunicate request_size=10 [09:15:38]MH_SAM_APDU [09:15:38]CAPDU: 80 0D 02 02 05 85 63 E2 96 7A [09:15:38]Write to MH i2c: E2 0D 00 18 08 80 0D 02 02 05 00 85 63 E2 96 7A 00 00 7E [09:15:38]Write i2c OK [09:15:38]MH_I2C_Read... [09:15:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:38]Read from MH i2c: E2 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 03 00 18 08 00 90 00 94 [09:15:38]RAPDU: 90 00 [09:15:38]wFMCommunicate OK [09:15:38]wFMCommunicate request_size=4 [09:15:38]MH_SAM_APDU [09:15:38]CAPDU: 80 0D 03 02 [09:15:38]Write to MH i2c: E2 08 00 19 08 80 0D 03 02 00 00 00 00 9C [09:15:38]Write i2c OK [09:15:38]MH_I2C_Read... [09:15:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:15:38]Read from MH i2c: E2 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 0B 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 0B 00 19 08 00 D1 65 37 32 F9 E9 51 A6 90 00 15 [09:15:38]RAPDU: D1 65 37 32 F9 E9 51 A6 90 00 [09:15:38]wFMCommunicate OK [09:15:38]SAM_PROTO_SignData done [09:15:38]FM_MakeSignedData done [09:15:38]CreateOFDProtocolMessage [09:15:38]wFMCommunicate request_size=4 [09:15:38]MH_SAM_APDU [09:15:38]CAPDU: 80 11 00 00 [09:15:38]Write to MH i2c: E2 08 00 1A 08 80 11 00 00 00 00 00 00 9C [09:15:38]Write i2c OK [09:15:38]MH_I2C_Read... [09:15:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:38]Read from MH i2c: E2 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 17 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: E2 17 00 1A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EF [09:15:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:15:38]wFMCommunicate OK [09:15:38]CreateOFDProtocolMessage done [09:15:38]OFDSenderStorePacket 37085 [09:15:38]StoreOFDPacket docnum=37085 [09:15:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 96 5A 07 01 6F 38 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 6C 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F8 84 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 84 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 BC 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DD 90 00 00 35 04 06 00 63 85 63 E2 96 7A D1 65 37 32 F9 E9 51 A6 [09:15:38]CheckFolder [09:15:38]dirname=/storage/ofd_packets [09:15:38]CheckFolder done [09:15:38]ProducePacketName [09:15:38]name=ofd_packets/00037085 [09:15:38]NVStorageSaveData ofd_packets/00037085 [09:15:38]File name is /storage/ofd_packets/00037085 [09:15:38]Write 301 bytes [09:15:38]NVStorageSaveData done [09:15:38]OFDSenderStorePacket done [09:15:38]KKMCreateOFDPacket done [09:15:38]NVStorageSaveData kkm_last_timestamp [09:15:38]File name is /storage/kkm_last_timestamp [09:15:38]Write 4 bytes [09:15:38]NVStorageSaveData done [09:15:38]ExternCall_PrintAddStr [09:15:38]wPrintStart [09:15:38]Write to MH i2c: 01 00 00 1B 08 23 [09:15:38]Write i2c OK [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: 01 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: 01 07 00 [09:15:38]MH_I2C_Read... [09:15:38]Read from MH i2c: 01 07 00 1B 08 00 00 00 00 00 FF 0F 38 [09:15:38]RasterBufferAndPrint [09:15:38]line Счет N : (1)873600 [09:15:38]line ИНН: 02508201610067 [09:15:38]line Контрольно-Кассовый Чек [09:15:38]line ПРОДАЖА [09:15:38]line ТРК (МРК, ГНК) : 41 [09:15:38]line Товар: 2710124500 [09:15:38]line Аи-95-К-5 [09:15:38]line 13.420 * 74.20 [09:15:38]line = 995.76 [09:15:38]line НДС 12% НСП 1% [09:15:38]line > о реализуемом товаре [09:15:38]line ИТОГО: 995.76 [09:15:38]line НСП 1% : 8.81 [09:15:38]line НДС 12% : 105.74 [09:15:38]line Наличными: 0.00 [09:15:38]line Безнал.: 995.76 [09:15:38]line Место: АЗС № 165 "Партнер Нефть" [09:15:38]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:15:38]line СНО: Общий режим [09:15:38]line Чек 21 19.10.2024 09:15 [09:15:38]line Смена: 460 ФФД: 1.0 [09:15:38]line ЗНМ: 0300000235 [09:15:38]line РНМ: 0000000000098149 [09:15:38]line Версия ККМ: 001 [09:15:38]line Платежная система: Mbank [09:15:38]line ФМ: 0000000000965372 [09:15:38]line ФД: 37085 [09:15:38]line ФПД: 109424557594234 [09:15:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091540&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37085&fm=109424557594234&tin=02508201610067®Number=0000000000098149&sum=99576 [09:15:38]OFD Sender: Processing packet 37085 [packets to send 25, broken 24] [09:15:38]ProducePacketName [09:15:38]name=ofd_packets/00037085 [09:15:38]OFD Sender: To server: pG, [09:15:38]CommunicateWithHost lk.salyk.kg:30040 [09:15:38]ConnectInit lk.salyk.kg [09:15:38]written 0, free lines is 4095 [09:15:38]Connected sock=10 [09:15: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 33 37 32 0F 01 00 00 96 5A 07 01 6F 38 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 6C 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F8 84 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 84 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 71 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 84 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 BC 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DD 90 00 00 35 04 06 00 63 85 63 E2 96 7A D1 65 37 32 F9 E9 51 A6 [09:15:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 DA 9D 47 00 A8 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DD 90 00 00 F4 03 04 00 52 21 13 67 B6 04 01 00 00 C6 B7 70 01 88 36 AA AB [09:15:39]CommunicateWithHost err = 0 [09:15:39]CheckOFDResponse [09:15:39]1017 (14) - 77093643461234 [09:15:39]1041 (16) - 0000000000965372 [09:15:39]1040 (4) - 37085 [09:15:39]1012 (4) - 19.10.2024 03:02 [09:15:39]1206 (1) - 0 [09:15:39]OFD Sender: Remove packet 37085 [09:15:39]ProducePacketName [09:15:39]name=ofd_packets/00037085 [09:15:39]NVStorageDeleteData [09:15:39]Write to MH i2c: 01 00 00 44 08 4C [09:15:39]Write i2c OK [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: 01 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: 01 07 00 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: 01 07 00 44 08 00 00 00 00 00 02 0D 62 [09:15:39]RasterBufferAndPrint [09:15:39]line [09:15:39]line [09:15:39]line [09:15:39]line [09:15:39]line [09:15:39]written 0, free lines is 3336 [09:15:39]process_action close_receipt done [09:15:39]requested_data is exist [09:15:39]produce_requested_data [09:15:39]requested_item fm.sn is exist - process it [09:15:39]wFMCommunicate request_size=4 [09:15:39]MH_SAM_APDU [09:15:39]CAPDU: 80 11 00 00 [09:15:39]Write to MH i2c: E2 08 00 4B 08 80 11 00 00 00 00 00 00 CD [09:15:39]Write i2c OK [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 [09:15:39]MH_I2C_Read... [09:15:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:39]Read from MH i2c: E2 17 00 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 17 00 4B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 20 [09:15:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:15:39]wFMCommunicate OK [09:15:39]requested_item fd.num is exist - process it [09:15:39]SAM_PROTO_GetFieldsCounters [09:15:39]wFMCommunicate request_size=4 [09:15:39]MH_SAM_APDU [09:15:39]CAPDU: 80 13 00 00 [09:15:39]Write to MH i2c: E2 08 00 4C 08 80 13 00 00 00 00 00 00 D0 [09:15:39]Write i2c OK [09:15:39]MH_I2C_Read... [09:15:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:15:39]Read from MH i2c: E2 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 62 00 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 62 00 4C 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DD 90 00 00 0E 04 04 00 CC 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 70 [09:15:39]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DD 90 00 00 0E 04 04 00 CC 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 [09:15:39]wFMCommunicate OK [09:15:39]SAM_PROTO_GetFieldsCounters done [09:15:39]requested_item shift.num is exist - process it [09:15:39]requested_item shift.opened is exist - process it [09:15:39]req_shift_opened [09:15:39]FM_GetShiftState [09:15:39]SAM_PROTO_GetShiftState [09:15:39]wFMCommunicate request_size=4 [09:15:39]MH_SAM_APDU [09:15:39]CAPDU: 80 13 01 00 [09:15:39]Write to MH i2c: E2 08 00 4D 08 80 13 01 00 00 00 00 00 D2 [09:15:39]Write i2c OK [09:15:39]MH_I2C_Read... [09:15:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:39]Read from MH i2c: E2 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 0E 00 [09:15:39]MH_I2C_Read... [09:15:39]Read from MH i2c: E2 0E 00 4D 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 EC [09:15:39]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:15:39]wFMCommunicate OK [09:15:39]SAM_PROTO_GetShiftState done [09:15:39]FM_GetShiftState done [09:15:39]req_shift_opened done [09:15:39]requested_item shift.open_date is exist - process it [09:15:39]req_shift_open_date [09:15:39]req_shift_open_date done [09:15:39]produce_requested_data done [09:15:39]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37085,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:15:39]process_action_free close_receipt [09:15:39]json_value_free [09:15:39]json_value_free done [09:15:39]process_json_proto returns [09:15:39]Send response to host [09:15:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37085,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:15:39]free response buf [09:15:39]execute_script done [09:15:39]execute_script returns [09:15:39]free content buf [09:15:39]Sock 9.Close socket [09:15:39]Sock 9.Thread stoped [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:20]accept exits with 7 [09:16:20]New connection [09:16:20]New thread 3067563364 created [09:16:20]Thread 3067420004 joined [09:16:20]Waiting for new connection... [09:16:20] Sock 7.Parse request [09:16:20]Sock 7.Check first char [09:16:20]Sock 7.First char is OK [09:16:20]request: POST /json_proto HTTP/1.0 [09:16:20]Method: POST [09:16:20]URL: /json_proto [09:16:20]Method is POST - this is cgi request [09:16:20]url: /json_proto [09:16:20]query_string will be loaded in cgi processing [09:16:20]execute_cgi json_proto POST (null) [09:16:20]execute_cgi path=json_proto method=POST [09:16:20]POST find Content-Length [09:16:20]Host: 172.17.53.68:8080 [09:16:20]Content-Length: 677 [09:16:20]Content-Type: application/json [09:16:20] [09:16:20]POST finish read [09:16:20]Found Content-Length = 677 [09:16:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873601", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.890, "sum" : 260.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 260.00, "total" : 260.00, "payments": [ { "type": 0, "sum" : 260.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:20]execute_script... [09:16: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 : (1)873601", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.890, "sum" : 260.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 260.00, "total" : 260.00, "payments": [ { "type": 0, "sum" : 260.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:20]POST & json_proto [09:16:20]process_json_proto [09:16:20]json parsed OK: [09:16:20]protocol is kg_v1.0 [09:16:20]action value=close_receipt [09:16:20]process_action close_receipt [09:16:20]cmd_close_receipt [09:16:20]MH_GetDate [09:16:20]Write to MH i2c: F0 00 00 4E 08 45 [09:16:20]Write i2c OK [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: F0 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: F0 09 00 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: F0 09 00 4E 08 00 E7 78 13 67 C5 A4 76 66 6C [09:16:20]GetLastDocTimeStamp 1729329340 [09:16:20]current date 1729329383 [09:16:20]FM_GetShiftState [09:16:20]SAM_PROTO_GetShiftState [09:16:20]wFMCommunicate request_size=4 [09:16:20]MH_SAM_APDU [09:16:20]CAPDU: 80 13 01 00 [09:16:20]Write to MH i2c: E2 08 00 4F 08 80 13 01 00 00 00 00 00 D4 [09:16:20]Write i2c OK [09:16:20]MH_I2C_Read... [09:16:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:20]Read from MH i2c: E2 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: E2 0E 00 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: E2 0E 00 4F 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 EE [09:16:20]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:16:20]wFMCommunicate OK [09:16:20]SAM_PROTO_GetShiftState done [09:16:20]FM_GetShiftState done [09:16:20]opened in 1729296796 [09:16:20]opened+sec_in_day 1729383196 [09:16:20]quantity*price = 26024 [09:16:20]sum+1 = 26025 [09:16:20]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.24 ИТОГО: 260.00 Внесено: 260.00 СДАЧА: 0.00 НСП 1% : 2.30 НДС 12% : 27.64 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 22 19.10.2024 09:16 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37086 ФПД: 235413273272826 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091623&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37086&fm=235413273272826&tin=02508201610067®Number=0000000000098149&sum=26000 [09:16:21]StoreToDocumentArchive [09:16:21]shift 460 fd 37086 [09:16:21]save to /storage/0460/doc_00037086 [09:16:21]save last doc name /storage/0460/doc_00037086 to /storage/kkm_last_doc_name [09:16:21]save OK [09:16:21]Clear old archive folders... [09:16:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:16:21]tlvbuf is 00613D30 [09:16:21]SAM_PROTO_ClearQueue [09:16:21]wFMCommunicate request_size=4 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 09 00 00 [09:16:21]Write to MH i2c: E2 08 00 5C 08 80 09 00 00 00 00 00 00 D6 [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [09:16:21]RAPDU: 90 00 [09:16:21]wFMCommunicate OK [09:16:21]SAM_PROTO_ClearQueue done [09:16:21]KKMCreateOFDPacket [09:16:21]OFDProtocolAddRootSTLVToBuf [09:16:21]FM_MakeSignedData [09:16:21]FM_MakeSignedData [09:16:21]SAM_PROTO_SignData [09:16:21]wFMCommunicate request_size=4 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 0D 01 02 [09:16:21]Write to MH i2c: E2 08 00 5D 08 80 0D 01 02 00 00 00 00 DE [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 5D 08 00 90 00 D9 [09:16:21]RAPDU: 90 00 [09:16:21]wFMCommunicate OK [09:16:21]wFMCommunicate request_size=255 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 32 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A8 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 CC 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 16 00 00 00 F4 03 04 00 E7 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DE 90 00 00 35 04 06 00 D6 [09:16:21]Write to MH i2c: E2 02 01 5E 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 32 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A8 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 CC 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 16 00 00 00 F4 03 04 00 E7 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DE 90 00 00 35 04 06 00 D6 00 00 1E [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 5E 08 00 90 00 DA [09:16:21]RAPDU: 90 00 [09:16:21]wFMCommunicate OK [09:16:21]wFMCommunicate request_size=10 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 0D 02 02 05 1B 6C 87 61 FA [09:16:21]Write to MH i2c: E2 0D 00 5F 08 80 0D 02 02 05 00 1B 6C 87 61 FA 00 00 54 [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 03 00 5F 08 00 90 00 DB [09:16:21]RAPDU: 90 00 [09:16:21]wFMCommunicate OK [09:16:21]wFMCommunicate request_size=4 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 0D 03 02 [09:16:21]Write to MH i2c: E2 08 00 60 08 80 0D 03 02 00 00 00 00 E3 [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 0B 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 0B 00 60 08 00 2B 23 BD 12 73 0E 47 C7 90 00 90 [09:16:21]RAPDU: 2B 23 BD 12 73 0E 47 C7 90 00 [09:16:21]wFMCommunicate OK [09:16:21]SAM_PROTO_SignData done [09:16:21]FM_MakeSignedData done [09:16:21]CreateOFDProtocolMessage [09:16:21]wFMCommunicate request_size=4 [09:16:21]MH_SAM_APDU [09:16:21]CAPDU: 80 11 00 00 [09:16:21]Write to MH i2c: E2 08 00 61 08 80 11 00 00 00 00 00 00 E3 [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:21]Read from MH i2c: E2 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 17 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: E2 17 00 61 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 36 [09:16:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:16:21]wFMCommunicate OK [09:16:21]CreateOFDProtocolMessage done [09:16:21]OFDSenderStorePacket 37086 [09:16:21]StoreOFDPacket docnum=37086 [09:16:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 1B 4B 07 01 FD D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 32 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A8 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 CC 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 16 00 00 00 F4 03 04 00 E7 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DE 90 00 00 35 04 06 00 D6 1B 6C 87 61 FA 2B 23 BD 12 73 0E 47 C7 [09:16:21]CheckFolder [09:16:21]dirname=/storage/ofd_packets [09:16:21]CheckFolder done [09:16:21]ProducePacketName [09:16:21]name=ofd_packets/00037086 [09:16:21]NVStorageSaveData ofd_packets/00037086 [09:16:21]File name is /storage/ofd_packets/00037086 [09:16:21]Write 301 bytes [09:16:21]NVStorageSaveData done [09:16:21]OFDSenderStorePacket done [09:16:21]KKMCreateOFDPacket done [09:16:21]NVStorageSaveData kkm_last_timestamp [09:16:21]File name is /storage/kkm_last_timestamp [09:16:21]Write 4 bytes [09:16:21]NVStorageSaveData done [09:16:21]ExternCall_PrintAddStr [09:16:21]wPrintStart [09:16:21]Write to MH i2c: 01 00 00 62 08 6A [09:16:21]Write i2c OK [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: 01 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: 01 07 00 [09:16:21]MH_I2C_Read... [09:16:21]Read from MH i2c: 01 07 00 62 08 00 00 00 00 00 FF 0F 7F [09:16:21]RasterBufferAndPrint [09:16:21]line Счет N : (1)873601 [09:16:21]line ИНН: 02508201610067 [09:16:21]line Контрольно-Кассовый Чек [09:16:21]line ПРОДАЖА [09:16:21]line ТРК (МРК, ГНК) : 32 [09:16:21]line Товар: 2710124130 [09:16:21]line Аи-92-К-5 [09:16:21]line 3.890 * 66.90 [09:16:21]line = 260.24 [09:16:21]line НДС 12% НСП 1% [09:16:21]line > о реализуемом товаре [09:16:21]line ОКРУГЛЕНИЕ: -0.24 [09:16:21]line ИТОГО: 260.00 [09:16:21]line Внесено: 260.00 [09:16:21]line СДАЧА: 0.00 [09:16:21]line НСП 1% : 2.30 [09:16:21]line НДС 12% : 27.64 [09:16:21]line Наличными: 260.00 [09:16:21]line Безнал.: 0.00 [09:16:21]line Место: АЗС № 165 "Партнер Нефть" [09:16:21]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [09:16:21]line СНО: Общий режим [09:16:21]line Чек 22 19.10.2024 09:16 [09:16:21]line Смена: 460 ФФД: 1.0 [09:16:21]line ЗНМ: 0300000235 [09:16:21]line РНМ: 0000000000098149 [09:16:21]line Версия ККМ: 001 [09:16:21]line ФМ: 0000000000965372 [09:16:21]line ФД: 37086 [09:16:21]line ФПД: 235413273272826 [09:16:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T091623&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37086&fm=235413273272826&tin=02508201610067®Number=0000000000098149&sum=26000 [09:16:22]written 0, free lines is 4095 [09:16:22]OFD Sender: Processing packet 37086 [packets to send 25, broken 24] [09:16:22]ProducePacketName [09:16:22]name=ofd_packets/00037086 [09:16:22]OFD Sender: To server: pG, [09:16:22]CommunicateWithHost lk.salyk.kg:30040 [09:16:22]ConnectInit lk.salyk.kg [09:16:22]Connected sock=10 [09:16: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 33 37 32 0F 01 00 00 1B 4B 07 01 FD D2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 32 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A8 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 CC 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 16 00 00 00 F4 03 04 00 E7 78 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DE 90 00 00 35 04 06 00 D6 1B 6C 87 61 FA 2B 23 BD 12 73 0E 47 C7 [09:16:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 10 EA 47 00 0B 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DE 90 00 00 F4 03 04 00 7D 21 13 67 B6 04 01 00 00 4B 9B 4F 3C 03 6A D1 4E [09:16:22]CommunicateWithHost err = 0 [09:16:22]CheckOFDResponse [09:16:22]1017 (14) - 77093643461234 [09:16:22]1041 (16) - 0000000000965372 [09:16:22]1040 (4) - 37086 [09:16:22]1012 (4) - 19.10.2024 03:03 [09:16:22]1206 (1) - 0 [09:16:22]OFD Sender: Remove packet 37086 [09:16:22]ProducePacketName [09:16:22]name=ofd_packets/00037086 [09:16:22]NVStorageDeleteData [09:16:22]Write to MH i2c: 01 00 00 8D 08 95 [09:16:22]Write i2c OK [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: 01 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: 01 07 00 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: 01 07 00 8D 08 00 00 00 00 00 E5 0C 8D [09:16:22]RasterBufferAndPrint [09:16:22]line [09:16:22]line [09:16:22]line [09:16:22]line [09:16:22]line [09:16:22]written 0, free lines is 3307 [09:16:22]process_action close_receipt done [09:16:22]requested_data is exist [09:16:22]produce_requested_data [09:16:22]requested_item fm.sn is exist - process it [09:16:22]wFMCommunicate request_size=4 [09:16:22]MH_SAM_APDU [09:16:22]CAPDU: 80 11 00 00 [09:16:22]Write to MH i2c: E2 08 00 94 08 80 11 00 00 00 00 00 00 16 [09:16:22]Write i2c OK [09:16:22]MH_I2C_Read... [09:16:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:22]Read from MH i2c: E2 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 17 00 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 17 00 94 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 69 [09:16:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:16:22]wFMCommunicate OK [09:16:22]requested_item fd.num is exist - process it [09:16:22]SAM_PROTO_GetFieldsCounters [09:16:22]wFMCommunicate request_size=4 [09:16:22]MH_SAM_APDU [09:16:22]CAPDU: 80 13 00 00 [09:16:22]Write to MH i2c: E2 08 00 95 08 80 13 00 00 00 00 00 00 19 [09:16:22]Write i2c OK [09:16:22]MH_I2C_Read... [09:16:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:16:22]Read from MH i2c: E2 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 62 00 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 62 00 95 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 BD [09:16:22]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 [09:16:22]wFMCommunicate OK [09:16:22]SAM_PROTO_GetFieldsCounters done [09:16:22]requested_item shift.num is exist - process it [09:16:22]requested_item shift.opened is exist - process it [09:16:22]req_shift_opened [09:16:22]FM_GetShiftState [09:16:22]SAM_PROTO_GetShiftState [09:16:22]wFMCommunicate request_size=4 [09:16:22]MH_SAM_APDU [09:16:22]CAPDU: 80 13 01 00 [09:16:22]Write to MH i2c: E2 08 00 96 08 80 13 01 00 00 00 00 00 1B [09:16:22]Write i2c OK [09:16:22]MH_I2C_Read... [09:16:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:22]Read from MH i2c: E2 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 0E 00 [09:16:22]MH_I2C_Read... [09:16:22]Read from MH i2c: E2 0E 00 96 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 35 [09:16:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:16:22]wFMCommunicate OK [09:16:22]SAM_PROTO_GetShiftState done [09:16:22]FM_GetShiftState done [09:16:22]req_shift_opened done [09:16:22]requested_item shift.open_date is exist - process it [09:16:22]req_shift_open_date [09:16:22]req_shift_open_date done [09:16:22]produce_requested_data done [09:16:22]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:16:22]process_action_free close_receipt [09:16:22]json_value_free [09:16:22]json_value_free done [09:16:22]process_json_proto returns [09:16:22]Send response to host [09:16:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:16:22]free response buf [09:16:22]execute_script done [09:16:22]execute_script returns [09:16:22]free content buf [09:16:22]Sock 7.Close socket [09:16:22]Sock 7.Thread stoped [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18: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 [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 70 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 15 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 5400000000572570 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 10278421+1719051461=1729329882 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x220ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33540624 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 70 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 16 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 DA 7A 13 67 C5 A4 76 66 12 [09:24:42]Current date/time: 19.10.2024 09:24 [09:24:42]FM_Init [09:24:42]wFMConnect [09:24:42]MH_SAM_On [09:24:42]Write to MH i2c: E0 00 00 08 00 E7 [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_init finished! [09:24:42]*** atr: [09:24:42]*** 0F 3B D5 18 FF 81 91 FE [09:24:42]*** 1F C3 80 73 C8 21 10 0A [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]*** 00 00 00 00 00 00 00 00 [09:24:42]Read from MH i2c: E0 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E0 10 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:24:42]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:24:42]wFMCommunicate request_size=10 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:24:42]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:24:42]RAPDU: 90 00 [09:24:42]wFMCommunicate OK [09:24:42]wFMCommunicate request_size=4 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 80 11 00 00 [09:24:42]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 17 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D7 [09:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:24:42]wFMCommunicate OK [09:24:42]Detected FM SN is 0000000000965372 [09:24:42]Stored FM SN is 0000000000965372 [09:24:42]wFMCommunicate request_size=9 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 80 16 00 00 04 B5 83 00 00 [09:24:42]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 B5 83 00 00 00 00 CA [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:24:42]RAPDU: 90 00 [09:24:42]wFMCommunicate OK [09:24:42]FM PIN OK [09:24:42]wFMCommunicate request_size=8 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 80 14 04 00 03 02 00 01 [09:24:42]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:24:42]RAPDU: 90 00 [09:24:42]wFMCommunicate OK [09:24:42]wFMCommunicate request_size=13 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:24:42]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:24:42]RAPDU: 90 00 [09:24:42]wFMCommunicate OK [09:24:42]wFMCommunicate request_size=4 [09:24:42]MH_SAM_APDU [09:24:42]CAPDU: 80 11 00 00 [09:24:42]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:24:42]Read from MH i2c: E2 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 17 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DB [09:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:24:42]wFMCommunicate OK [09:24:42]DocumentArchiveInit [09:24:42]Start Httpd... [09:24:42]Httpd thread 3066985828 created [09:24:42]Write to MH i2c: 01 00 00 0F 00 0F [09:24:42]Write i2c OK [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: 01 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: 01 07 00 [09:24:42]MH_I2C_Read... [09:24:42]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:24:42]MH Int Process started [09:24:42]Allocated Socket 8 [09:24:42]Bind OK [09:24:42]Listen OK [09:24:42]httpd running on port 8080 [09:24:42]Waiting for new connection... [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [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:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:00]accept exits with 9 [09:47:00]New connection [09:47:00]New thread 3066699108 created [09:47:00]Waiting for new connection... [09:47:00] Sock 9.Parse request [09:47:00]Sock 9.Check first char [09:47:00]Sock 9.First char is OK [09:47:00]request: POST /json_proto HTTP/1.0 [09:47:00]Method: POST [09:47:00]URL: /json_proto [09:47:00]Method is POST - this is cgi request [09:47:00]url: /json_proto [09:47:00]query_string will be loaded in cgi processing [09:47:00]execute_cgi json_proto POST (null) [09:47:00]execute_cgi path=json_proto method=POST [09:47:00]POST find Content-Length [09:47:00]Host: 172.17.53.68:8080 [09:47:00]Content-Length: 215 [09:47:00]Content-Type: application/json [09:47:00] [09:47:00]POST finish read [09:47:00]Found Content-Length = 215 [09:47:00]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:47:00]execute_script... [09:47:00]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:47:00]POST & json_proto [09:47:00]process_json_proto [09:47:00]json parsed OK: [09:47:00]protocol is kg_v1.0 [09:47:00]action value=get_value [09:47:00]process_action get_value [09:47:00]cmd_get_value [09:47:00]process_action get_value done [09:47:00]requested_data is exist [09:47:00]produce_requested_data [09:47:00]requested_item kkm.sn is exist - process it [09:47:00]requested_item kkm.ver is exist - process it [09:47:00]requested_item fm.sn is exist - process it [09:47:00]wFMCommunicate request_size=4 [09:47:00]MH_SAM_APDU [09:47:00]CAPDU: 80 11 00 00 [09:47:00]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:47:00]Write i2c OK [09:47:00]MH_I2C_Read... [09:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:00]Read from MH i2c: E2 [09:47:00]MH_I2C_Read... [09:47:00]Read from MH i2c: E2 17 00 [09:47:00]MH_I2C_Read... [09:47:00]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DD [09:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:47:00]wFMCommunicate OK [09:47:00]requested_item fd.num is exist - process it [09:47:00]SAM_PROTO_GetFieldsCounters [09:47:00]wFMCommunicate request_size=4 [09:47:00]MH_SAM_APDU [09:47:00]CAPDU: 80 13 00 00 [09:47:00]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:47:00]Write i2c OK [09:47:00]MH_I2C_Read... [09:47:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:47:01]Read from MH i2c: E2 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 62 00 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 31 [09:47: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 [09:47:01]wFMCommunicate OK [09:47:01]SAM_PROTO_GetFieldsCounters done [09:47:01]requested_item shift.num is exist - process it [09:47:01]requested_item shift.opened is exist - process it [09:47:01]req_shift_opened [09:47:01]FM_GetShiftState [09:47:01]SAM_PROTO_GetShiftState [09:47:01]wFMCommunicate request_size=4 [09:47:01]MH_SAM_APDU [09:47:01]CAPDU: 80 13 01 00 [09:47:01]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:47:01]Write i2c OK [09:47:01]MH_I2C_Read... [09:47:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:01]Read from MH i2c: E2 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 0E 00 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A9 [09:47:01]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:47:01]wFMCommunicate OK [09:47:01]SAM_PROTO_GetShiftState done [09:47:01]FM_GetShiftState done [09:47:01]req_shift_opened done [09:47:01]requested_item shift.open_date is exist - process it [09:47:01]req_shift_open_date [09:47:01]req_shift_open_date done [09:47:01]produce_requested_data done [09:47:01]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:47:01]process_action_free get_value [09:47:01]json_value_free [09:47:01]json_value_free done [09:47:01]process_json_proto returns [09:47:01]Send response to host [09:47:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:47:01]free response buf [09:47:01]execute_script done [09:47:01]execute_script returns [09:47:01]free content buf [09:47:01]Sock 9.Close socket [09:47:01]Sock 9.Thread stoped [09:47:01]accept exits with 7 [09:47:01]New connection [09:47:01]New thread 3066555748 created [09:47:01]Thread 3066699108 joined [09:47:01]Waiting for new connection... [09:47:01] Sock 7.Parse request [09:47:01]Sock 7.Check first char [09:47:01]Sock 7.First char is OK [09:47:01]request: POST /json_proto HTTP/1.0 [09:47:01]Method: POST [09:47:01]URL: /json_proto [09:47:01]Method is POST - this is cgi request [09:47:01]url: /json_proto [09:47:01]query_string will be loaded in cgi processing [09:47:01]execute_cgi json_proto POST (null) [09:47:01]execute_cgi path=json_proto method=POST [09:47:01]POST find Content-Length [09:47:01]Host: 172.17.53.68:8080 [09:47:01]Content-Length: 331 [09:47:01]Content-Type: application/json [09:47:01] [09:47:01]POST finish read [09:47:01]Found Content-Length = 331 [09:47:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:47:01]execute_script... [09:47:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:47:01]POST & json_proto [09:47:01]process_json_proto [09:47:01]json parsed OK: [09:47:01]protocol is kg_v1.0 [09:47:01]action value=get_value [09:47:01]process_action get_value [09:47:01]cmd_get_value [09:47:01]process_action get_value done [09:47:01]requested_data is exist [09:47:01]produce_requested_data [09:47:01]requested_item fm.sale.total is exist - process it [09:47:01]SAM_PROTO_GetFMData [09:47:01]wFMCommunicate request_size=4 [09:47:01]MH_SAM_APDU [09:47:01]CAPDU: 80 13 03 00 [09:47:01]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:47:01]Write i2c OK [09:47:01]MH_I2C_Read... [09:47:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:47:01]Read from MH i2c: E2 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 FD 00 [09:47:01]MH_I2C_Read... [09:47:01]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 46 8D 00 00 69 04 A0 00 6F 04 04 00 FD 8B 00 00 B1 04 04 00 18 86 4B 45 70 04 04 00 A8 C9 AF 3D 72 04 04 00 70 BC 9B 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 55 5C 07 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 7C F8 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 90 [09:47:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 46 8D 00 00 69 04 A0 00 6F 04 04 00 FD 8B 00 00 B1 04 04 00 18 86 4B 45 70 04 04 00 A8 C9 AF 3D 72 04 04 00 70 BC 9B 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 55 5C 07 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 7C F8 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [09:47:01]wFMCommunicate OK [09:47:01]wFMCommunicate request_size=4 [09:47:01]MH_SAM_APDU [09:47:01]CAPDU: 80 17 00 00 [09:47:01]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:47:01]Write i2c OK [09:47:01]MH_I2C_Read... [09:47:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:02]Read from MH i2c: E2 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 AC [09:47:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:47:02]wFMCommunicate OK [09:47:02]wFMCommunicate request_size=4 [09:47:02]MH_SAM_APDU [09:47:02]CAPDU: 80 17 00 00 [09:47:02]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:47:02]Write i2c OK [09:47:02]MH_I2C_Read... [09:47:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:02]Read from MH i2c: E2 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [09:47:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:47:02]wFMCommunicate OK [09:47:02]wFMCommunicate request_size=4 [09:47:02]MH_SAM_APDU [09:47:02]CAPDU: 80 17 00 00 [09:47:02]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:47:02]Write i2c OK [09:47:02]MH_I2C_Read... [09:47:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:02]Read from MH i2c: E2 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [09:47:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:47:02]wFMCommunicate OK [09:47:02]wFMCommunicate request_size=4 [09:47:02]MH_SAM_APDU [09:47:02]CAPDU: 80 17 00 00 [09:47:02]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:47:02]Write i2c OK [09:47:02]MH_I2C_Read... [09:47:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:47:02]Read from MH i2c: E2 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 E1 00 [09:47:02]MH_I2C_Read... [09:47:02]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [09:47:02]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:47:02]wFMCommunicate OK [09:47:02]SAM_PROTO_GetFMData done [09:47:02]requested_item fm.sale_refund.total is exist - process it [09:47:02]requested_item fm.buy.total is exist - process it [09:47:02]requested_item shift.sale.total is exist - process it [09:47:02]SAM_PROTO_GetShiftData [09:47:02]wFMCommunicate request_size=4 [09:47:02]MH_SAM_APDU [09:47:02]CAPDU: 80 13 02 00 [09:47:02]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:47:02]Write i2c OK [09:47:02]MH_I2C_Read... [09:47:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:47:03]Read from MH i2c: E2 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5A 72 0F 70 04 03 00 4C A3 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD A3 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 FE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F9 [09:47:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5A 72 0F 70 04 03 00 4C A3 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD A3 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 FE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:47:03]wFMCommunicate OK [09:47:03]wFMCommunicate request_size=4 [09:47:03]MH_SAM_APDU [09:47:03]CAPDU: 80 17 00 00 [09:47:03]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:47:03]Write i2c OK [09:47:03]MH_I2C_Read... [09:47:03]OFD Sender: No OFD packet to send [09:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:03]Read from MH i2c: E2 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [09:47:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [09:47:03]wFMCommunicate OK [09:47:03]wFMCommunicate request_size=4 [09:47:03]MH_SAM_APDU [09:47:03]CAPDU: 80 17 00 00 [09:47:03]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:47:03]Write i2c OK [09:47:03]MH_I2C_Read... [09:47:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:03]Read from MH i2c: E2 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 [09:47:03]MH_I2C_Read... [09:47:03]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [09:47:03]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 [09:47:03]wFMCommunicate OK [09:47:03]wFMCommunicate request_size=4 [09:47:03]MH_SAM_APDU [09:47:03]CAPDU: 80 17 00 00 [09:47:03]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:47:03]Write i2c OK [09:47:03]MH_I2C_Read... [09:47:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:04]Read from MH i2c: E2 [09:47:04]MH_I2C_Read... [09:47:04]Read from MH i2c: E2 FD 00 [09:47:04]MH_I2C_Read... [09:47:04]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [09:47:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [09:47:04]wFMCommunicate OK [09:47:04]wFMCommunicate request_size=4 [09:47:04]MH_SAM_APDU [09:47:04]CAPDU: 80 17 00 00 [09:47:04]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:47:04]Write i2c OK [09:47:04]MH_I2C_Read... [09:47:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:47:04]Read from MH i2c: E2 [09:47:04]MH_I2C_Read... [09:47:04]Read from MH i2c: E2 CB 00 [09:47:04]MH_I2C_Read... [09:47:04]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [09:47:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:47:04]wFMCommunicate OK [09:47:04]SAM_PROTO_GetShiftData done [09:47:04]requested_item shift.sale.total_cash is exist - process it [09:47:04]requested_item shift.sale_refund.total is exist - process it [09:47:04]requested_item shift.sale_refund.total_cash is exist - process it [09:47:04]requested_item shift.buy.total is exist - process it [09:47:04]requested_item shift.buy.total_cash is exist - process it [09:47:04]produce_requested_data done [09:47:04]produce_requested_data return {"fm.sale.total":11625774.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10123.14,"shift.sale.total_cash":7627.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:47:04]process_action_free get_value [09:47:04]json_value_free [09:47:04]json_value_free done [09:47:04]process_json_proto returns [09:47:04]Send response to host [09:47:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11625774.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10123.14,"shift.sale.total_cash":7627.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:47:04]free response buf [09:47:04]execute_script done [09:47:04]execute_script returns [09:47:04]free content buf [09:47:04]Sock 7.Close socket [09:47:04]Sock 7.Thread stoped [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:37]accept exits with 9 [09:47:37]New connection [09:47:37]New thread 3066699108 created [09:47:37]Thread 3066555748 joined [09:47:37]Waiting for new connection... [09:47:37] Sock 9.Parse request [09:47:37]Sock 9.Check first char [09:47:37]Sock 9.First char is OK [09:47:37]request: POST /json_proto HTTP/1.0 [09:47:37]Method: POST [09:47:37]URL: /json_proto [09:47:37]Method is POST - this is cgi request [09:47:37]url: /json_proto [09:47:37]query_string will be loaded in cgi processing [09:47:37]execute_cgi json_proto POST (null) [09:47:37]execute_cgi path=json_proto method=POST [09:47:37]POST find Content-Length [09:47:37]Host: 172.17.53.68:8080 [09:47:37]Content-Length: 215 [09:47:37]Content-Type: application/json [09:47:37] [09:47:37]POST finish read [09:47:37]Found Content-Length = 215 [09:47: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" ] } } [09:47:37]execute_script... [09:47: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" ] } } [09:47:37]POST & json_proto [09:47:37]process_json_proto [09:47:37]json parsed OK: [09:47:37]protocol is kg_v1.0 [09:47:37]action value=get_value [09:47:37]process_action get_value [09:47:37]cmd_get_value [09:47:37]process_action get_value done [09:47:37]requested_data is exist [09:47:37]produce_requested_data [09:47:37]requested_item kkm.sn is exist - process it [09:47:37]requested_item kkm.ver is exist - process it [09:47:37]requested_item fm.sn is exist - process it [09:47:37]wFMCommunicate request_size=4 [09:47:37]MH_SAM_APDU [09:47:37]CAPDU: 80 11 00 00 [09:47:37]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [09:47:37]Write i2c OK [09:47:37]MH_I2C_Read... [09:47:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:37]Read from MH i2c: E2 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 17 00 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EA [09:47:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [09:47:37]wFMCommunicate OK [09:47:37]requested_item fd.num is exist - process it [09:47:37]SAM_PROTO_GetFieldsCounters [09:47:37]wFMCommunicate request_size=4 [09:47:37]MH_SAM_APDU [09:47:37]CAPDU: 80 13 00 00 [09:47:37]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [09:47:37]Write i2c OK [09:47:37]MH_I2C_Read... [09:47:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:47:37]Read from MH i2c: E2 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 62 00 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 62 00 1E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 3E [09:47: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DE 90 00 00 0E 04 04 00 CC 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 [09:47:37]wFMCommunicate OK [09:47:37]SAM_PROTO_GetFieldsCounters done [09:47:37]requested_item shift.num is exist - process it [09:47:37]requested_item shift.opened is exist - process it [09:47:37]req_shift_opened [09:47:37]FM_GetShiftState [09:47:37]SAM_PROTO_GetShiftState [09:47:37]wFMCommunicate request_size=4 [09:47:37]MH_SAM_APDU [09:47:37]CAPDU: 80 13 01 00 [09:47:37]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [09:47:37]Write i2c OK [09:47:37]MH_I2C_Read... [09:47:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:37]Read from MH i2c: E2 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 0E 00 [09:47:37]MH_I2C_Read... [09:47:37]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B6 [09:47:37]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [09:47:37]wFMCommunicate OK [09:47:37]SAM_PROTO_GetShiftState done [09:47:37]FM_GetShiftState done [09:47:37]req_shift_opened done [09:47:37]requested_item shift.open_date is exist - process it [09:47:37]req_shift_open_date [09:47:37]req_shift_open_date done [09:47:37]produce_requested_data done [09:47:37]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [09:47:37]process_action_free get_value [09:47:37]json_value_free [09:47:37]json_value_free done [09:47:37]process_json_proto returns [09:47:37]Send response to host [09:47:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37086,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [09:47:37]free response buf [09:47:37]execute_script done [09:47:37]execute_script returns [09:47:37]free content buf [09:47:37]Sock 9.Close socket [09:47:37]Sock 9.Thread stoped [09:47:37]accept exits with 7 [09:47:37]New connection [09:47:37]New thread 3066555748 created [09:47:37]Thread 3066699108 joined [09:47:37]Waiting for new connection... [09:47:37] Sock 7.Parse request [09:47:37]Sock 7.Check first char [09:47:37]Sock 7.First char is OK [09:47:37]request: POST /json_proto HTTP/1.0 [09:47:37]Method: POST [09:47:37]URL: /json_proto [09:47:37]Method is POST - this is cgi request [09:47:37]url: /json_proto [09:47:37]query_string will be loaded in cgi processing [09:47:37]execute_cgi json_proto POST (null) [09:47:37]execute_cgi path=json_proto method=POST [09:47:37]POST find Content-Length [09:47:37]Host: 172.17.53.68:8080 [09:47:37]Content-Length: 331 [09:47:37]Content-Type: application/json [09:47:37] [09:47:37]POST finish read [09:47:37]Found Content-Length = 331 [09:47: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" ] } } [09:47:37]execute_script... [09:47: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" ] } } [09:47:37]POST & json_proto [09:47:37]process_json_proto [09:47:37]json parsed OK: [09:47:37]protocol is kg_v1.0 [09:47:37]action value=get_value [09:47:37]process_action get_value [09:47:37]cmd_get_value [09:47:37]process_action get_value done [09:47:37]requested_data is exist [09:47:37]produce_requested_data [09:47:37]requested_item fm.sale.total is exist - process it [09:47:37]SAM_PROTO_GetFMData [09:47:37]wFMCommunicate request_size=4 [09:47:37]MH_SAM_APDU [09:47:37]CAPDU: 80 13 03 00 [09:47:37]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [09:47:37]Write i2c OK [09:47:37]MH_I2C_Read... [09:47:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:47:38]Read from MH i2c: E2 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 20 00 00 C4 04 85 04 C0 04 6E 04 04 00 46 8D 00 00 69 04 A0 00 6F 04 04 00 FD 8B 00 00 B1 04 04 00 18 86 4B 45 70 04 04 00 A8 C9 AF 3D 72 04 04 00 70 BC 9B 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 55 5C 07 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 7C F8 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 9D [09:47:38]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 46 8D 00 00 69 04 A0 00 6F 04 04 00 FD 8B 00 00 B1 04 04 00 18 86 4B 45 70 04 04 00 A8 C9 AF 3D 72 04 04 00 70 BC 9B 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 92 55 5C 07 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 7C F8 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [09:47:38]wFMCommunicate OK [09:47:38]wFMCommunicate request_size=4 [09:47:38]MH_SAM_APDU [09:47:38]CAPDU: 80 17 00 00 [09:47:38]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [09:47:38]Write i2c OK [09:47:38]MH_I2C_Read... [09:47:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:38]Read from MH i2c: E2 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 21 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 B9 [09:47:38]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:47:38]wFMCommunicate OK [09:47:38]wFMCommunicate request_size=4 [09:47:38]MH_SAM_APDU [09:47:38]CAPDU: 80 17 00 00 [09:47:38]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [09:47:38]Write i2c OK [09:47:38]MH_I2C_Read... [09:47:38]OFD Sender: No OFD packet to send [09:47:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:38]Read from MH i2c: E2 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 [09:47:38]MH_I2C_Read... [09:47:38]Read from MH i2c: E2 FD 00 22 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 B7 [09:47:38]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:47:38]wFMCommunicate OK [09:47:38]wFMCommunicate request_size=4 [09:47:38]MH_SAM_APDU [09:47:38]CAPDU: 80 17 00 00 [09:47:38]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [09:47:38]Write i2c OK [09:47:38]MH_I2C_Read... [09:47:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:39]Read from MH i2c: E2 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 FD 00 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 FD 00 23 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 1B [09:47:39]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:47:39]wFMCommunicate OK [09:47:39]wFMCommunicate request_size=4 [09:47:39]MH_SAM_APDU [09:47:39]CAPDU: 80 17 00 00 [09:47:39]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [09:47:39]Write i2c OK [09:47:39]MH_I2C_Read... [09:47:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:47:39]Read from MH i2c: E2 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 E1 00 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 E1 00 24 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [09:47:39]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:47:39]wFMCommunicate OK [09:47:39]SAM_PROTO_GetFMData done [09:47:39]requested_item fm.sale_refund.total is exist - process it [09:47:39]requested_item fm.buy.total is exist - process it [09:47:39]requested_item shift.sale.total is exist - process it [09:47:39]SAM_PROTO_GetShiftData [09:47:39]wFMCommunicate request_size=4 [09:47:39]MH_SAM_APDU [09:47:39]CAPDU: 80 13 02 00 [09:47:39]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [09:47:39]Write i2c OK [09:47:39]MH_I2C_Read... [09:47:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:47:39]Read from MH i2c: E2 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 FD 00 [09:47:39]MH_I2C_Read... [09:47:39]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5A 72 0F 70 04 03 00 4C A3 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD A3 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 FE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 06 [09:47:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 5A 72 0F 70 04 03 00 4C A3 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 FD A3 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 FE 22 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:47:39]wFMCommunicate OK [09:47:39]wFMCommunicate request_size=4 [09:47:39]MH_SAM_APDU [09:47:39]CAPDU: 80 17 00 00 [09:47:39]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [09:47:39]Write i2c OK [09:47:39]MH_I2C_Read... [09:47:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:40]Read from MH i2c: E2 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [09:47: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 [09:47:40]wFMCommunicate OK [09:47:40]wFMCommunicate request_size=4 [09:47:40]MH_SAM_APDU [09:47:40]CAPDU: 80 17 00 00 [09:47:40]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [09:47:40]Write i2c OK [09:47:40]MH_I2C_Read... [09:47:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:40]Read from MH i2c: E2 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5E [09:47: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 [09:47:40]wFMCommunicate OK [09:47:40]wFMCommunicate request_size=4 [09:47:40]MH_SAM_APDU [09:47:40]CAPDU: 80 17 00 00 [09:47:40]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [09:47:40]Write i2c OK [09:47:40]MH_I2C_Read... [09:47:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:47:40]Read from MH i2c: E2 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [09:47: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 [09:47:40]wFMCommunicate OK [09:47:40]wFMCommunicate request_size=4 [09:47:40]MH_SAM_APDU [09:47:40]CAPDU: 80 17 00 00 [09:47:40]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [09:47:40]Write i2c OK [09:47:40]MH_I2C_Read... [09:47:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:47:40]Read from MH i2c: E2 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 CB 00 [09:47:40]MH_I2C_Read... [09:47:40]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [09:47:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:47:41]wFMCommunicate OK [09:47:41]SAM_PROTO_GetShiftData done [09:47:41]requested_item shift.sale.total_cash is exist - process it [09:47:41]requested_item shift.sale_refund.total is exist - process it [09:47:41]requested_item shift.sale_refund.total_cash is exist - process it [09:47:41]requested_item shift.buy.total is exist - process it [09:47:41]requested_item shift.buy.total_cash is exist - process it [09:47:41]produce_requested_data done [09:47:41]produce_requested_data return {"fm.sale.total":11625774.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10123.14,"shift.sale.total_cash":7627.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:47:41]process_action_free get_value [09:47:41]json_value_free [09:47:41]json_value_free done [09:47:41]process_json_proto returns [09:47:41]Send response to host [09:47:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11625774.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10123.14,"shift.sale.total_cash":7627.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:47:41]free response buf [09:47:41]execute_script done [09:47:41]execute_script returns [09:47:41]free content buf [09:47:41]Sock 7.Close socket [09:47:41]Sock 7.Thread stoped [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53: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:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:44]OFD Sender: No OFD packet to send [10:03:49]OFD Sender: No OFD packet to send [10:03:54]OFD Sender: No OFD packet to send [10:03:59]OFD Sender: No OFD packet to send [10:04:04]OFD Sender: No OFD packet to send [10:04:09]OFD Sender: No OFD packet to send [10:04:14]OFD Sender: No OFD packet to send [10:04:19]OFD Sender: No OFD packet to send [10:04:24]OFD Sender: No OFD packet to send [10:04:29]OFD Sender: No OFD packet to send [10:04:34]OFD Sender: No OFD packet to send [10:04:39]OFD Sender: No OFD packet to send [10:04:44]OFD Sender: No OFD packet to send [10:04:49]OFD Sender: No OFD packet to send [10:04:54]OFD Sender: No OFD packet to send [10:04:59]OFD Sender: No OFD packet to send [10:05:04]OFD Sender: No OFD packet to send [10:05:09]OFD Sender: No OFD packet to send [10:05:14]OFD Sender: No OFD packet to send [10:05:19]OFD Sender: No OFD packet to send [10:05:24]OFD Sender: No OFD packet to send [10:05:29]OFD Sender: No OFD packet to send [10:05:34]OFD Sender: No OFD packet to send [10:05:39]OFD Sender: No OFD packet to send [10:05:44]OFD Sender: No OFD packet to send [10:05:49]OFD Sender: No OFD packet to send [10:05:54]OFD Sender: No OFD packet to send [10:05:59]OFD Sender: No OFD packet to send [10:06:04]OFD Sender: No OFD packet to send [10:06:09]OFD Sender: No OFD packet to send [10:06:14]OFD Sender: No OFD packet to send [10:06:19]OFD Sender: No OFD packet to send [10:06:24]OFD Sender: No OFD packet to send [10:06:29]OFD Sender: No OFD packet to send [10:06:34]OFD Sender: No OFD packet to send [10:06:39]OFD Sender: No OFD packet to send [10:06:44]OFD Sender: No OFD packet to send [10:06:49]OFD Sender: No OFD packet to send [10:06:54]OFD Sender: No OFD packet to send [10:06:59]OFD Sender: No OFD packet to send [10:07:04]OFD Sender: No OFD packet to send [10:07:09]OFD Sender: No OFD packet to send [10:07:14]OFD Sender: No OFD packet to send [10:07:19]OFD Sender: No OFD packet to send [10:07:24]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:49]OFD Sender: No OFD packet to send [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]accept exits with 9 [10:12:44]New connection [10:12:44]New thread 3066699108 created [10:12:44]Thread 3066555748 joined [10:12:44]Waiting for new connection... [10:12:44] Sock 9.Parse request [10:12:44]Sock 9.Check first char [10:12:44]Sock 9.First char is OK [10:12:44]request: POST /json_proto HTTP/1.0 [10:12:44]Method: POST [10:12:44]URL: /json_proto [10:12:44]Method is POST - this is cgi request [10:12:44]url: /json_proto [10:12:44]query_string will be loaded in cgi processing [10:12:44]execute_cgi json_proto POST (null) [10:12:44]execute_cgi path=json_proto method=POST [10:12:44]POST find Content-Length [10:12:44]Host: 172.17.53.68:8080 [10:12:44]Content-Length: 640 [10:12:44]Content-Type: application/json [10:12:44] [10:12:44]POST finish read [10:12:44]Found Content-Length = 640 [10:12:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76587", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "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" ] } } [10:12:44]execute_script... [10:12:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76587", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "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" ] } } [10:12:44]POST & json_proto [10:12:44]process_json_proto [10:12:44]json parsed OK: [10:12:44]protocol is kg_v1.0 [10:12:44]action value=close_receipt [10:12:44]process_action close_receipt [10:12:44]cmd_close_receipt [10:12:44]MH_GetDate [10:12:44]Write to MH i2c: F0 00 00 2A 00 19 [10:12:44]Write i2c OK [10:12:44]MH_I2C_Read... [10:12:44]Read from MH i2c: F0 [10:12:44]MH_I2C_Read... [10:12:44]Read from MH i2c: F0 09 00 [10:12:44]MH_I2C_Read... [10:12:44]Read from MH i2c: F0 09 00 2A 00 00 1D 86 13 67 C5 A4 76 66 84 [10:12:44]GetLastDocTimeStamp 1729329383 [10:12:44]current date 1729332765 [10:12:44]FM_GetShiftState [10:12:44]SAM_PROTO_GetShiftState [10:12:44]wFMCommunicate request_size=4 [10:12:44]MH_SAM_APDU [10:12:44]CAPDU: 80 13 01 00 [10:12:44]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [10:12:44]Write i2c OK [10:12:44]MH_I2C_Read... [10:12:44]OFD Sender: No OFD packet to send [10:12:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:45]Read from MH i2c: E2 [10:12:45]MH_I2C_Read... [10:12:45]Read from MH i2c: E2 0E 00 [10:12:45]MH_I2C_Read... [10:12:45]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C2 [10:12:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:12:45]wFMCommunicate OK [10:12:45]SAM_PROTO_GetShiftState done [10:12:45]FM_GetShiftState done [10:12:45]opened in 1729296796 [10:12:45]opened+sec_in_day 1729383196 [10:12:45]quantity*price = 4000 [10:12:45]sum+1 = 4001 [10:12:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 23 19.10.2024 10:12 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37087 ФПД: 172599550736733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T101245&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37087&fm=172599550736733&tin=02508201610067®Number=0000000000098149&sum=4000 0 [10:12:46]StoreToDocumentArchive [10:12:46]shift 460 fd 37087 [10:12:46]save to /storage/0460/doc_00037087 [10:12:46]save last doc name /storage/0460/doc_00037087 to /storage/kkm_last_doc_name [10:12:46]save OK [10:12:46]Clear old archive folders... [10:12:46]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:12:46]tlvbuf is 00975790 [10:12:46]SAM_PROTO_ClearQueue [10:12:46]wFMCommunicate request_size=4 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 09 00 00 [10:12:46]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [10:12:46]RAPDU: 90 00 [10:12:46]wFMCommunicate OK [10:12:46]SAM_PROTO_ClearQueue done [10:12:46]KKMCreateOFDPacket [10:12:46]OFDProtocolAddRootSTLVToBuf [10:12:46]FM_MakeSignedData [10:12:46]FM_MakeSignedData [10:12:46]SAM_PROTO_SignData [10:12:46]wFMCommunicate request_size=4 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 0D 01 02 [10:12:46]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [10:12:46]RAPDU: 90 00 [10:12:46]wFMCommunicate OK [10:12:46]wFMCommunicate request_size=255 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 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 17 00 00 00 F4 03 04 00 1D 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 [10:12:46]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 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 17 00 00 00 F4 03 04 00 1D 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 00 00 D9 [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [10:12:46]RAPDU: 90 00 [10:12:46]wFMCommunicate OK [10:12:46]wFMCommunicate request_size=31 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 37 32 10 04 04 00 DF 90 00 00 35 04 06 00 9C FA 76 E8 F9 5D [10:12:46]Write to MH i2c: E2 22 00 3B 00 80 0D 02 02 1A 00 30 30 39 36 35 33 37 32 10 04 04 00 DF 90 00 00 35 04 06 00 9C FA 76 E8 F9 5D 00 00 99 [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [10:12:46]RAPDU: 90 00 [10:12:46]wFMCommunicate OK [10:12:46]wFMCommunicate request_size=4 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 0D 03 02 [10:12:46]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 0B 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 0B 00 3C 00 00 FE 52 B0 40 FB 74 95 6C 90 00 68 [10:12:46]RAPDU: FE 52 B0 40 FB 74 95 6C 90 00 [10:12:46]wFMCommunicate OK [10:12:46]SAM_PROTO_SignData done [10:12:46]FM_MakeSignedData done [10:12:46]CreateOFDProtocolMessage [10:12:46]wFMCommunicate request_size=4 [10:12:46]MH_SAM_APDU [10:12:46]CAPDU: 80 11 00 00 [10:12:46]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:46]Read from MH i2c: E2 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 17 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0A [10:12:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:12:46]wFMCommunicate OK [10:12:46]CreateOFDProtocolMessage done [10:12:46]OFDSenderStorePacket 37087 [10:12:46]StoreOFDPacket docnum=37087 [10:12:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 A2 AE 1C 01 92 F1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 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 17 00 00 00 F4 03 04 00 1D 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DF 90 00 00 35 04 06 00 9C FA 76 E8 F9 5D FE 52 B0 40 FB 74 95 6C [10:12:46]CheckFolder [10:12:46]dirname=/storage/ofd_packets [10:12:46]CheckFolder done [10:12:46]ProducePacketName [10:12:46]name=ofd_packets/00037087 [10:12:46]NVStorageSaveData ofd_packets/00037087 [10:12:46]File name is /storage/ofd_packets/00037087 [10:12:46]Write 322 bytes [10:12:46]NVStorageSaveData done [10:12:46]OFDSenderStorePacket done [10:12:46]KKMCreateOFDPacket done [10:12:46]NVStorageSaveData kkm_last_timestamp [10:12:46]File name is /storage/kkm_last_timestamp [10:12:46]Write 4 bytes [10:12:46]NVStorageSaveData done [10:12:46]OFD Sender: Processing packet 37087 [packets to send 25, broken 24] [10:12:46]ProducePacketName [10:12:46]name=ofd_packets/00037087 [10:12:46]OFD Sender: To server: pG, [10:12:46]CommunicateWithHost lk.salyk.kg:30040 [10:12:46]ConnectInit lk.salyk.kg [10:12:46]ExternCall_PrintAddStr [10:12:46]wPrintStart [10:12:46]Write to MH i2c: 01 00 00 3E 00 3E [10:12:46]Write i2c OK [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: 01 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: 01 07 00 [10:12:46]MH_I2C_Read... [10:12:46]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [10:12:46]RasterBufferAndPrint [10:12:46]line Счет N : (3)76587 [10:12:46]line ИНН: 02508201610067 [10:12:46]line Контрольно-Кассовый Чек [10:12:46]line ПРОДАЖА [10:12:46]line Товар: 40822426 [10:12:46]line Вода Бонаква 0,5л б/г [10:12:46]line 1.000 * 40.00 [10:12:46]line = 40.00 [10:12:46]line НДС 12% НСП 1% [10:12:46]line > о реализуемом товаре [10:12:46]line ИТОГО: 40.00 [10:12:46]line НСП 1% : 0.35 [10:12:46]line НДС 12% : 4.25 [10:12:46]line Наличными: 40.00 [10:12:46]line Безнал.: 0.00 [10:12:46]line Место: АЗС № 165 "Партнер Нефть" [10:12:46]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [10:12:46]line СНО: Общий режим [10:12:46]line Чек 23 19.10.2024 10:12 [10:12:46]line Смена: 460 ФФД: 1.0 [10:12:46]line ЗНМ: 0300000235 [10:12:46]line РНМ: 0000000000098149 [10:12:46]line Версия ККМ: 001 [10:12:46]line ФМ: 0000000000965372 [10:12:46]line ФД: 37087 [10:12:46]line ФПД: 172599550736733 [10:12:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T101245&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37087&fm=172599550736733&tin=02508201610067®Number=0000000000098149&sum=4000 [10:12:46]line 0 [10:12:46]written 0, free lines is 4095 [10:12:46]Connected sock=11 [10:12:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 A2 AE 1C 01 92 F1 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 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 17 00 00 00 F4 03 04 00 1D 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DF 90 00 00 35 04 06 00 9C FA 76 E8 F9 5D FE 52 B0 40 FB 74 95 6C [10:12:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 65 69 47 00 3F 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 DF 90 00 00 F4 03 04 00 B3 2E 13 67 B6 04 01 00 00 AE 4C 5D 78 83 62 30 7A [10:12:47]CommunicateWithHost err = 0 [10:12:47]CheckOFDResponse [10:12:47]1017 (14) - 77093643461234 [10:12:47]1041 (16) - 0000000000965372 [10:12:47]1040 (4) - 37087 [10:12:47]1012 (4) - 19.10.2024 03:59 [10:12:47]1206 (1) - 0 [10:12:47]OFD Sender: Remove packet 37087 [10:12:47]ProducePacketName [10:12:47]name=ofd_packets/00037087 [10:12:47]NVStorageDeleteData [10:12:47]Write to MH i2c: 01 00 00 66 00 66 [10:12:47]Write i2c OK [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: 01 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: 01 07 00 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: 01 07 00 66 00 00 00 00 00 00 05 0D 7F [10:12:47]RasterBufferAndPrint [10:12:47]line [10:12:47]line [10:12:47]line [10:12:47]line [10:12:47]line [10:12:47]written 0, free lines is 3340 [10:12:47]process_action close_receipt done [10:12:47]requested_data is exist [10:12:47]produce_requested_data [10:12:47]requested_item fm.sn is exist - process it [10:12:47]wFMCommunicate request_size=4 [10:12:47]MH_SAM_APDU [10:12:47]CAPDU: 80 11 00 00 [10:12:47]Write to MH i2c: E2 08 00 6D 00 80 11 00 00 00 00 00 00 E7 [10:12:47]Write i2c OK [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 [10:12:47]MH_I2C_Read... [10:12:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:47]Read from MH i2c: E2 17 00 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 17 00 6D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3A [10:12:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:12:47]wFMCommunicate OK [10:12:47]requested_item fd.num is exist - process it [10:12:47]SAM_PROTO_GetFieldsCounters [10:12:47]wFMCommunicate request_size=4 [10:12:47]MH_SAM_APDU [10:12:47]CAPDU: 80 13 00 00 [10:12:47]Write to MH i2c: E2 08 00 6E 00 80 13 00 00 00 00 00 00 EA [10:12:47]Write i2c OK [10:12:47]MH_I2C_Read... [10:12:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:47]Read from MH i2c: E2 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 62 00 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 62 00 6E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DF 90 00 00 0E 04 04 00 CC 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 92 [10:12: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 DF 90 00 00 0E 04 04 00 CC 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 [10:12:47]wFMCommunicate OK [10:12:47]SAM_PROTO_GetFieldsCounters done [10:12:47]requested_item shift.num is exist - process it [10:12:47]requested_item shift.opened is exist - process it [10:12:47]req_shift_opened [10:12:47]FM_GetShiftState [10:12:47]SAM_PROTO_GetShiftState [10:12:47]wFMCommunicate request_size=4 [10:12:47]MH_SAM_APDU [10:12:47]CAPDU: 80 13 01 00 [10:12:47]Write to MH i2c: E2 08 00 6F 00 80 13 01 00 00 00 00 00 EC [10:12:47]Write i2c OK [10:12:47]MH_I2C_Read... [10:12:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:47]Read from MH i2c: E2 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 0E 00 [10:12:47]MH_I2C_Read... [10:12:47]Read from MH i2c: E2 0E 00 6F 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 06 [10:12:47]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:12:47]wFMCommunicate OK [10:12:47]SAM_PROTO_GetShiftState done [10:12:47]FM_GetShiftState done [10:12:47]req_shift_opened done [10:12:47]requested_item shift.open_date is exist - process it [10:12:47]req_shift_open_date [10:12:47]req_shift_open_date done [10:12:47]produce_requested_data done [10:12:47]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37087,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [10:12:47]process_action_free close_receipt [10:12:47]json_value_free [10:12:47]json_value_free done [10:12:47]process_json_proto returns [10:12:47]Send response to host [10:12:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37087,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [10:12:47]free response buf [10:12:47]execute_script done [10:12:47]execute_script returns [10:12:47]free content buf [10:12:47]Sock 9.Close socket [10:12:47]Sock 9.Thread stoped [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:33]accept exits with 10 [10:15:33]New connection [10:15:33]New thread 3066555748 created [10:15:33]Thread 3066699108 joined [10:15:33]Waiting for new connection... [10:15:33] Sock 10.Parse request [10:15:33]Sock 10.Check first char [10:15:33]Sock 10.First char is OK [10:15:33]request: POST /json_proto HTTP/1.0 [10:15:33]Method: POST [10:15:33]URL: /json_proto [10:15:33]Method is POST - this is cgi request [10:15:33]url: /json_proto [10:15:33]query_string will be loaded in cgi processing [10:15:33]execute_cgi json_proto POST (null) [10:15:33]execute_cgi path=json_proto method=POST [10:15:33]POST find Content-Length [10:15:33]Host: 172.17.53.68:8080 [10:15:33]Content-Length: 865 [10:15:33]Content-Type: application/json [10:15:33] [10:15:33]POST finish read [10:15:33]Found Content-Length = 865 [10:15:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76588", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:33]execute_script... [10:15:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76588", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:33]POST & json_proto [10:15:33]process_json_proto [10:15:33]json parsed OK: [10:15:33]protocol is kg_v1.0 [10:15:33]action value=close_receipt [10:15:33]process_action close_receipt [10:15:33]cmd_close_receipt [10:15:33]MH_GetDate [10:15:33]Write to MH i2c: F0 00 00 70 00 5F [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: F0 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: F0 09 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: F0 09 00 70 00 00 C6 86 13 67 C5 A4 76 66 73 [10:15:33]GetLastDocTimeStamp 1729332765 [10:15:33]current date 1729332934 [10:15:33]FM_GetShiftState [10:15:33]SAM_PROTO_GetShiftState [10:15:33]wFMCommunicate request_size=4 [10:15:33]MH_SAM_APDU [10:15:33]CAPDU: 80 13 01 00 [10:15:33]Write to MH i2c: E2 08 00 71 00 80 13 01 00 00 00 00 00 EE [10:15:33]Write i2c OK [10:15:33]MH_I2C_Read... [10:15:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:34]Read from MH i2c: E2 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: E2 0E 00 [10:15:34]MH_I2C_Read... [10:15:34]Read from MH i2c: E2 0E 00 71 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 08 [10:15:34]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:15:34]wFMCommunicate OK [10:15:34]SAM_PROTO_GetShiftState done [10:15:34]FM_GetShiftState done [10:15:34]opened in 1729296796 [10:15:34]opened+sec_in_day 1729383196 [10:15:34]quantity*price = 14400 [10:15:34]sum+1 = 14401 [10:15:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 24 19.10.2024 10:15 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37088 ФПД: 1396102828969 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T101534&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37088&fm=1396102828969&tin=02508201610067®Number=0000000000098149&sum=15400 0 [10:15:35]StoreToDocumentArchive [10:15:35]shift 460 fd 37088 [10:15:35]save to /storage/0460/doc_00037088 [10:15:35]save last doc name /storage/0460/doc_00037088 to /storage/kkm_last_doc_name [10:15:35]save OK [10:15:35]Clear old archive folders... [10:15:35]ProcessDocumentItem done err = 0, tmpTLVsize=378 [10:15:35]tlvbuf is 00964D30 [10:15:35]SAM_PROTO_ClearQueue [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 09 00 00 [10:15:35]Write to MH i2c: E2 08 00 7E 00 80 09 00 00 00 00 00 00 F0 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 7E 00 00 90 00 F2 [10:15:35]RAPDU: 90 00 [10:15:35]wFMCommunicate OK [10:15:35]SAM_PROTO_ClearQueue done [10:15:35]KKMCreateOFDPacket [10:15:35]OFDProtocolAddRootSTLVToBuf [10:15:35]FM_MakeSignedData [10:15:35]FM_MakeSignedData [10:15:35]SAM_PROTO_SignData [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 0D 01 02 [10:15:35]Write to MH i2c: E2 08 00 7F 00 80 0D 01 02 00 00 00 00 F8 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 7F 00 00 90 00 F3 [10:15:35]RAPDU: 90 00 [10:15:35]wFMCommunicate OK [10:15:35]wFMCommunicate request_size=255 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 [10:15:35]Write to MH i2c: E2 02 01 80 00 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 00 00 E8 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:35]Read from MH i2c: E2 03 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 80 00 00 90 00 F4 [10:15:35]RAPDU: 90 00 [10:15:35]wFMCommunicate OK [10:15:35]wFMCommunicate request_size=137 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C6 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E0 90 00 00 35 04 06 00 01 45 0E 36 93 A9 [10:15:35]Write to MH i2c: E2 8C 00 81 00 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C6 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E0 90 00 00 35 04 06 00 01 45 0E 36 93 A9 00 00 E4 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [10:15:35]RAPDU: 90 00 [10:15:35]wFMCommunicate OK [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 0D 03 02 [10:15:35]Write to MH i2c: E2 08 00 82 00 80 0D 03 02 00 00 00 00 FD [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 0B 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 0B 00 82 00 00 D7 B4 60 4B FB A5 E2 05 90 00 BB [10:15:35]RAPDU: D7 B4 60 4B FB A5 E2 05 90 00 [10:15:35]wFMCommunicate OK [10:15:35]SAM_PROTO_SignData done [10:15:35]FM_MakeSignedData done [10:15:35]CreateOFDProtocolMessage [10:15:35]wFMCommunicate request_size=4 [10:15:35]MH_SAM_APDU [10:15:35]CAPDU: 80 11 00 00 [10:15:35]Write to MH i2c: E2 08 00 83 00 80 11 00 00 00 00 00 00 FD [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:35]Read from MH i2c: E2 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 17 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: E2 17 00 83 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 50 [10:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:15:35]wFMCommunicate OK [10:15:35]CreateOFDProtocolMessage done [10:15:35]OFDSenderStorePacket 37088 [10:15:35]StoreOFDPacket docnum=37088 [10:15:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 8E 01 00 00 55 7D 86 01 B5 78 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C6 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E0 90 00 00 35 04 06 00 01 45 0E 36 93 A9 D7 B4 60 4B FB A5 E2 05 [10:15:35]CheckFolder [10:15:35]dirname=/storage/ofd_packets [10:15:35]CheckFolder done [10:15:35]ProducePacketName [10:15:35]name=ofd_packets/00037088 [10:15:35]NVStorageSaveData ofd_packets/00037088 [10:15:35]File name is /storage/ofd_packets/00037088 [10:15:35]Write 428 bytes [10:15:35]NVStorageSaveData done [10:15:35]OFDSenderStorePacket done [10:15:35]KKMCreateOFDPacket done [10:15:35]NVStorageSaveData kkm_last_timestamp [10:15:35]File name is /storage/kkm_last_timestamp [10:15:35]Write 4 bytes [10:15:35]NVStorageSaveData done [10:15:35]ExternCall_PrintAddStr [10:15:35]wPrintStart [10:15:35]Write to MH i2c: 01 00 00 84 00 84 [10:15:35]Write i2c OK [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: 01 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: 01 07 00 [10:15:35]MH_I2C_Read... [10:15:35]Read from MH i2c: 01 07 00 84 00 00 00 00 00 00 FF 0F 99 [10:15:35]RasterBufferAndPrint [10:15:35]line Счет N : (3)76588 [10:15:35]line ИНН: 02508201610067 [10:15:35]line Контрольно-Кассовый Чек [10:15:35]line ПРОДАЖА [10:15:35]line Товар: 48743587 [10:15:35]line Сигареты Winston XStyle Silver [10:15:35]line 1.000 * 144.00 [10:15:35]line = 144.00 [10:15:35]line НДС 12% НСП 1% [10:15:35]line > о реализуемом товаре [10:15:35]line Товар: 46226624 [10:15:35]line Mentos ПВ Клубника 6*100*2 [10:15:35]line 1.000 * 10.00 [10:15:35]line = 10.00 [10:15:35]line НДС 12% НСП 1% [10:15:35]line > о реализуемом товаре [10:15:35]line ИТОГО: 154.00 [10:15:35]line НСП 1% : 1.36 [10:15:35]line НДС 12% : 16.35 [10:15:35]line Наличными: 154.00 [10:15:35]line Безнал.: 0.00 [10:15:36]line Место: АЗС № 165 "Партнер Нефть" [10:15:36]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [10:15:36]line СНО: Общий режим [10:15:36]line Чек 24 19.10.2024 10:15 [10:15:36]line Смена: 460 ФФД: 1.0 [10:15:36]line ЗНМ: 0300000235 [10:15:36]line РНМ: 0000000000098149 [10:15:36]line Версия ККМ: 001 [10:15:36]line ФМ: 0000000000965372 [10:15:36]line ФД: 37088 [10:15:36]line ФПД: 1396102828969 [10:15:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T101534&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37088&fm=1396102828969&tin=02508201610067®Number=0000000000098149&sum=15400 [10:15:36]line 0 [10:15:36]OFD Sender: Processing packet 37088 [packets to send 25, broken 24] [10:15:36]ProducePacketName [10:15:36]name=ofd_packets/00037088 [10:15:36]OFD Sender: To server: pG, [10:15:36]CommunicateWithHost lk.salyk.kg:30040 [10:15:36]ConnectInit lk.salyk.kg [10:15:36]written 0, free lines is 4095 [10:15:36]Connected sock=9 [10:15: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 33 37 32 8E 01 00 00 55 7D 86 01 B5 78 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C6 86 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E0 90 00 00 35 04 06 00 01 45 0E 36 93 A9 D7 B4 60 4B FB A5 E2 05 [10:15:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 23 31 47 00 C5 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E0 90 00 00 F4 03 04 00 5D 2F 13 67 B6 04 01 00 00 97 47 73 DF F9 70 DB 60 [10:15:36]CommunicateWithHost err = 0 [10:15:36]CheckOFDResponse [10:15:36]1017 (14) - 77093643461234 [10:15:36]1041 (16) - 0000000000965372 [10:15:36]1040 (4) - 37088 [10:15:36]1012 (4) - 19.10.2024 04:02 [10:15:36]1206 (1) - 0 [10:15:36]OFD Sender: Remove packet 37088 [10:15:36]ProducePacketName [10:15:36]name=ofd_packets/00037088 [10:15:36]NVStorageDeleteData [10:15:36]Write to MH i2c: 01 00 00 B3 00 B3 [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: 01 07 00 B3 00 00 00 00 00 00 A1 0C 67 [10:15:36]RasterBufferAndPrint [10:15:36]line [10:15:36]line [10:15:36]line [10:15:36]line [10:15:36]line [10:15:36]written 0, free lines is 3239 [10:15:36]process_action close_receipt done [10:15:36]requested_data is exist [10:15:36]produce_requested_data [10:15:36]requested_item fm.sn is exist - process it [10:15:36]wFMCommunicate request_size=4 [10:15:36]MH_SAM_APDU [10:15:36]CAPDU: 80 11 00 00 [10:15:36]Write to MH i2c: E2 08 00 BA 00 80 11 00 00 00 00 00 00 34 [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:36]Read from MH i2c: E2 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 17 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 17 00 BA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 87 [10:15:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:15:36]wFMCommunicate OK [10:15:36]requested_item fd.num is exist - process it [10:15:36]SAM_PROTO_GetFieldsCounters [10:15:36]wFMCommunicate request_size=4 [10:15:36]MH_SAM_APDU [10:15:36]CAPDU: 80 13 00 00 [10:15:36]Write to MH i2c: E2 08 00 BB 00 80 13 00 00 00 00 00 00 37 [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:36]Read from MH i2c: E2 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 62 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 62 00 BB 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E0 90 00 00 0E 04 04 00 CC 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 E3 [10:15: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E0 90 00 00 0E 04 04 00 CC 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 [10:15:36]wFMCommunicate OK [10:15:36]SAM_PROTO_GetFieldsCounters done [10:15:36]requested_item shift.num is exist - process it [10:15:36]requested_item shift.opened is exist - process it [10:15:36]req_shift_opened [10:15:36]FM_GetShiftState [10:15:36]SAM_PROTO_GetShiftState [10:15:36]wFMCommunicate request_size=4 [10:15:36]MH_SAM_APDU [10:15:36]CAPDU: 80 13 01 00 [10:15:36]Write to MH i2c: E2 08 00 BC 00 80 13 01 00 00 00 00 00 39 [10:15:36]Write i2c OK [10:15:36]MH_I2C_Read... [10:15:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:36]Read from MH i2c: E2 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 0E 00 [10:15:36]MH_I2C_Read... [10:15:36]Read from MH i2c: E2 0E 00 BC 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 53 [10:15:36]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:15:36]wFMCommunicate OK [10:15:36]SAM_PROTO_GetShiftState done [10:15:36]FM_GetShiftState done [10:15:36]req_shift_opened done [10:15:36]requested_item shift.open_date is exist - process it [10:15:36]req_shift_open_date [10:15:36]req_shift_open_date done [10:15:36]produce_requested_data done [10:15:36]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37088,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [10:15:36]process_action_free close_receipt [10:15:36]json_value_free [10:15:36]json_value_free done [10:15:36]process_json_proto returns [10:15:36]Send response to host [10:15:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37088,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [10:15:36]free response buf [10:15:36]execute_script done [10:15:36]execute_script returns [10:15:36]free content buf [10:15:36]Sock 10.Close socket [10:15:36]Sock 10.Thread stoped [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:22]accept exits with 7 [10:18:22]New connection [10:18:22]New thread 3066699108 created [10:18:22]Thread 3066555748 joined [10:18:22]Waiting for new connection... [10:18:22] Sock 7.Parse request [10:18:22]Sock 7.Check first char [10:18:22]Sock 7.First char is OK [10:18:22]request: POST /json_proto HTTP/1.0 [10:18:22]Method: POST [10:18:22]URL: /json_proto [10:18:22]Method is POST - this is cgi request [10:18:22]url: /json_proto [10:18:22]query_string will be loaded in cgi processing [10:18:22]execute_cgi json_proto POST (null) [10:18:22]execute_cgi path=json_proto method=POST [10:18:22]POST find Content-Length [10:18:22]Host: 172.17.53.68:8080 [10:18:22]Content-Length: 215 [10:18:22]Content-Type: application/json [10:18:22] [10:18:22]POST finish read [10:18:22]Found Content-Length = 215 [10:18:22]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:18:22]execute_script... [10:18:22]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:18:22]POST & json_proto [10:18:22]process_json_proto [10:18:22]json parsed OK: [10:18:22]protocol is kg_v1.0 [10:18:22]action value=get_value [10:18:22]process_action get_value [10:18:22]cmd_get_value [10:18:22]process_action get_value done [10:18:22]requested_data is exist [10:18:22]produce_requested_data [10:18:22]requested_item kkm.sn is exist - process it [10:18:22]requested_item kkm.ver is exist - process it [10:18:22]requested_item fm.sn is exist - process it [10:18:22]wFMCommunicate request_size=4 [10:18:22]MH_SAM_APDU [10:18:22]CAPDU: 80 11 00 00 [10:18:22]Write to MH i2c: E2 08 00 BD 00 80 11 00 00 00 00 00 00 37 [10:18:22]Write i2c OK [10:18:22]MH_I2C_Read... [10:18:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:18:22]Read from MH i2c: E2 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 17 00 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 17 00 BD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 8A [10:18:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:18:22]wFMCommunicate OK [10:18:22]requested_item fd.num is exist - process it [10:18:22]SAM_PROTO_GetFieldsCounters [10:18:22]wFMCommunicate request_size=4 [10:18:22]MH_SAM_APDU [10:18:22]CAPDU: 80 13 00 00 [10:18:22]Write to MH i2c: E2 08 00 BE 00 80 13 00 00 00 00 00 00 3A [10:18:22]Write i2c OK [10:18:22]MH_I2C_Read... [10:18:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:18:22]Read from MH i2c: E2 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 62 00 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 62 00 BE 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E0 90 00 00 0E 04 04 00 CC 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 E6 [10:18:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E0 90 00 00 0E 04 04 00 CC 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 [10:18:22]wFMCommunicate OK [10:18:22]SAM_PROTO_GetFieldsCounters done [10:18:22]requested_item shift.num is exist - process it [10:18:22]requested_item shift.opened is exist - process it [10:18:22]req_shift_opened [10:18:22]FM_GetShiftState [10:18:22]SAM_PROTO_GetShiftState [10:18:22]wFMCommunicate request_size=4 [10:18:22]MH_SAM_APDU [10:18:22]CAPDU: 80 13 01 00 [10:18:22]Write to MH i2c: E2 08 00 BF 00 80 13 01 00 00 00 00 00 3C [10:18:22]Write i2c OK [10:18:22]MH_I2C_Read... [10:18:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:18:22]Read from MH i2c: E2 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 0E 00 [10:18:22]MH_I2C_Read... [10:18:22]Read from MH i2c: E2 0E 00 BF 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 56 [10:18:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:18:22]wFMCommunicate OK [10:18:22]SAM_PROTO_GetShiftState done [10:18:22]FM_GetShiftState done [10:18:22]req_shift_opened done [10:18:22]requested_item shift.open_date is exist - process it [10:18:22]req_shift_open_date [10:18:22]req_shift_open_date done [10:18:22]produce_requested_data done [10:18:22]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37088,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [10:18:22]process_action_free get_value [10:18:22]json_value_free [10:18:22]json_value_free done [10:18:22]process_json_proto returns [10:18:22]Send response to host [10:18:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37088,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [10:18:22]free response buf [10:18:22]execute_script done [10:18:22]execute_script returns [10:18:22]free content buf [10:18:22]Sock 7.Close socket [10:18:22]Sock 7.Thread stoped [10:18:22]accept exits with 9 [10:18:22]New connection [10:18:22]New thread 3066555748 created [10:18:22]Thread 3066699108 joined [10:18:22]Waiting for new connection... [10:18:22] Sock 9.Parse request [10:18:22]Sock 9.Check first char [10:18:22]Sock 9.First char is OK [10:18:22]request: POST /json_proto HTTP/1.0 [10:18:22]Method: POST [10:18:22]URL: /json_proto [10:18:22]Method is POST - this is cgi request [10:18:22]url: /json_proto [10:18:22]query_string will be loaded in cgi processing [10:18:22]execute_cgi json_proto POST (null) [10:18:22]execute_cgi path=json_proto method=POST [10:18:22]POST find Content-Length [10:18:22]Host: 172.17.53.68:8080 [10:18:22]Content-Length: 331 [10:18:22]Content-Type: application/json [10:18:22] [10:18:22]POST finish read [10:18:22]Found Content-Length = 331 [10:18:22]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:18:22]execute_script... [10:18:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:18:23]POST & json_proto [10:18:23]process_json_proto [10:18:23]json parsed OK: [10:18:23]protocol is kg_v1.0 [10:18:23]action value=get_value [10:18:23]process_action get_value [10:18:23]cmd_get_value [10:18:23]process_action get_value done [10:18:23]requested_data is exist [10:18:23]produce_requested_data [10:18:23]requested_item fm.sale.total is exist - process it [10:18:23]SAM_PROTO_GetFMData [10:18:23]wFMCommunicate request_size=4 [10:18:23]MH_SAM_APDU [10:18:23]CAPDU: 80 13 03 00 [10:18:23]Write to MH i2c: E2 08 00 C0 00 80 13 03 00 00 00 00 00 3F [10:18:23]Write i2c OK [10:18:23]MH_I2C_Read... [10:18:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:18:23]Read from MH i2c: E2 [10:18:23]MH_I2C_Read... [10:18:23]Read from MH i2c: E2 FD 00 [10:18:23]MH_I2C_Read... [10:18:23]Read from MH i2c: E2 FD 00 C0 00 00 C4 04 85 04 C0 04 6E 04 04 00 48 8D 00 00 69 04 A0 00 6F 04 04 00 FF 8B 00 00 B1 04 04 00 E0 D1 4B 45 70 04 04 00 70 15 B0 3D 72 04 04 00 70 BC 9B 07 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 5D 5C 07 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 27 F9 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 29 [10:18:23]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 48 8D 00 00 69 04 A0 00 6F 04 04 00 FF 8B 00 00 B1 04 04 00 E0 D1 4B 45 70 04 04 00 70 15 B0 3D 72 04 04 00 70 BC 9B 07 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 5D 5C 07 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 27 F9 9C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [10:18:23]wFMCommunicate OK [10:18:23]wFMCommunicate request_size=4 [10:18:23]MH_SAM_APDU [10:18:23]CAPDU: 80 17 00 00 [10:18:23]Write to MH i2c: E2 08 00 C1 00 80 17 00 00 00 00 00 00 41 [10:18:23]Write i2c OK [10:18:23]MH_I2C_Read... [10:18:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:23]Read from MH i2c: E2 [10:18:23]MH_I2C_Read... [10:18:23]Read from MH i2c: E2 FD 00 [10:18:23]MH_I2C_Read... [10:18:23]Read from MH i2c: E2 FD 00 C1 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 59 [10:18:23]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [10:18:23]wFMCommunicate OK [10:18:23]wFMCommunicate request_size=4 [10:18:23]MH_SAM_APDU [10:18:23]CAPDU: 80 17 00 00 [10:18:23]Write to MH i2c: E2 08 00 C2 00 80 17 00 00 00 00 00 00 42 [10:18:23]Write i2c OK [10:18:23]MH_I2C_Read... [10:18:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:24]Read from MH i2c: E2 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 FD 00 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 FD 00 C2 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 57 [10:18:24]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [10:18:24]wFMCommunicate OK [10:18:24]wFMCommunicate request_size=4 [10:18:24]MH_SAM_APDU [10:18:24]CAPDU: 80 17 00 00 [10:18:24]Write to MH i2c: E2 08 00 C3 00 80 17 00 00 00 00 00 00 43 [10:18:24]Write i2c OK [10:18:24]MH_I2C_Read... [10:18:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:24]Read from MH i2c: E2 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 FD 00 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 FD 00 C3 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 BB [10:18:24]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [10:18:24]wFMCommunicate OK [10:18:24]wFMCommunicate request_size=4 [10:18:24]MH_SAM_APDU [10:18:24]CAPDU: 80 17 00 00 [10:18:24]Write to MH i2c: E2 08 00 C4 00 80 17 00 00 00 00 00 00 44 [10:18:24]Write i2c OK [10:18:24]MH_I2C_Read... [10:18:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [10:18:24]Read from MH i2c: E2 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 E1 00 [10:18:24]MH_I2C_Read... [10:18:24]Read from MH i2c: E2 E1 00 C4 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 32 [10:18:24]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:18:24]wFMCommunicate OK [10:18:24]SAM_PROTO_GetFMData done [10:18:24]requested_item fm.sale_refund.total is exist - process it [10:18:24]requested_item fm.buy.total is exist - process it [10:18:24]requested_item shift.sale.total is exist - process it [10:18:24]SAM_PROTO_GetShiftData [10:18:24]wFMCommunicate request_size=4 [10:18:24]MH_SAM_APDU [10:18:24]CAPDU: 80 13 02 00 [10:18:24]Write to MH i2c: E2 08 00 C5 00 80 13 02 00 00 00 00 00 43 [10:18:24]Write i2c OK [10:18:24]MH_I2C_Read... [10:18:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:18:25]Read from MH i2c: E2 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 C5 00 00 AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 22 BE 0F 70 04 03 00 14 EF 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 09 AC 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 A9 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 93 [10:18:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 22 BE 0F 70 04 03 00 14 EF 0B 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 09 AC 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 A9 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 [10:18:25]wFMCommunicate OK [10:18:25]wFMCommunicate request_size=4 [10:18:25]MH_SAM_APDU [10:18:25]CAPDU: 80 17 00 00 [10:18:25]Write to MH i2c: E2 08 00 C6 00 80 17 00 00 00 00 00 00 46 [10:18:25]Write i2c OK [10:18:25]MH_I2C_Read... [10:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:25]Read from MH i2c: E2 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 C6 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 68 [10:18:25]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 [10:18:25]wFMCommunicate OK [10:18:25]wFMCommunicate request_size=4 [10:18:25]MH_SAM_APDU [10:18:25]CAPDU: 80 17 00 00 [10:18:25]Write to MH i2c: E2 08 00 C7 00 80 17 00 00 00 00 00 00 47 [10:18:25]Write i2c OK [10:18:25]MH_I2C_Read... [10:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:25]Read from MH i2c: E2 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 C7 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FE [10:18:25]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 [10:18:25]wFMCommunicate OK [10:18:25]wFMCommunicate request_size=4 [10:18:25]MH_SAM_APDU [10:18:25]CAPDU: 80 17 00 00 [10:18:25]Write to MH i2c: E2 08 00 C8 00 80 17 00 00 00 00 00 00 48 [10:18:25]Write i2c OK [10:18:25]MH_I2C_Read... [10:18:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:18:25]Read from MH i2c: E2 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 [10:18:25]MH_I2C_Read... [10:18:25]Read from MH i2c: E2 FD 00 C8 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 BA [10:18:25]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 [10:18:25]wFMCommunicate OK [10:18:25]wFMCommunicate request_size=4 [10:18:25]MH_SAM_APDU [10:18:25]CAPDU: 80 17 00 00 [10:18:25]Write to MH i2c: E2 08 00 C9 00 80 17 00 00 00 00 00 00 49 [10:18:25]Write i2c OK [10:18:25]MH_I2C_Read... [10:18:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:18:26]Read from MH i2c: E2 [10:18:26]MH_I2C_Read... [10:18:26]Read from MH i2c: E2 CB 00 [10:18:26]MH_I2C_Read... [10:18:26]Read from MH i2c: E2 CB 00 C9 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 32 [10:18:26]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 [10:18:26]wFMCommunicate OK [10:18:26]SAM_PROTO_GetShiftData done [10:18:26]requested_item shift.sale.total_cash is exist - process it [10:18:26]requested_item shift.sale_refund.total is exist - process it [10:18:26]requested_item shift.sale_refund.total_cash is exist - process it [10:18:26]requested_item shift.buy.total is exist - process it [10:18:26]requested_item shift.buy.total_cash is exist - process it [10:18:26]produce_requested_data done [10:18:26]produce_requested_data return {"fm.sale.total":11625968.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10317.14,"shift.sale.total_cash":7821.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:18:26]process_action_free get_value [10:18:26]json_value_free [10:18:26]json_value_free done [10:18:26]process_json_proto returns [10:18:26]Send response to host [10:18:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11625968.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":10317.14,"shift.sale.total_cash":7821.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:18:26]free response buf [10:18:26]execute_script done [10:18:26]execute_script returns [10:18:26]free content buf [10:18:26]Sock 9.Close socket [10:18:26]Sock 9.Thread stoped [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:34:58]accept exits with 7 [10:34:58]New connection [10:34:58]New thread 3066699108 created [10:34:58]Thread 3066555748 joined [10:34:58]Waiting for new connection... [10:34:58] Sock 7.Parse request [10:34:58]Sock 7.Check first char [10:34:58]Sock 7.First char is OK [10:34:58]request: POST /json_proto HTTP/1.0 [10:34:58]Method: POST [10:34:58]URL: /json_proto [10:34:58]Method is POST - this is cgi request [10:34:58]url: /json_proto [10:34:58]query_string will be loaded in cgi processing [10:34:58]execute_cgi json_proto POST (null) [10:34:58]execute_cgi path=json_proto method=POST [10:34:58]POST find Content-Length [10:34:58]Host: 172.17.53.68:8080 [10:34:58]Content-Length: 1859 [10:34:58]Content-Type: application/json [10:34:58] [10:34:58]POST finish read [10:34:58]Found Content-Length = 1859 [10:34:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76589", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:58]execute_script... [10:34:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76589", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:34:58]POST & json_proto [10:34:58]process_json_proto [10:34:58]json parsed OK: [10:34:58]protocol is kg_v1.0 [10:34:58]action value=close_receipt [10:34:58]process_action close_receipt [10:34:58]cmd_close_receipt [10:34:58]MH_GetDate [10:34:58]Write to MH i2c: F0 00 00 CA 00 B9 [10:34:58]Write i2c OK [10:34:58]MH_I2C_Read... [10:34:58]Read from MH i2c: F0 [10:34:58]MH_I2C_Read... [10:34:58]Read from MH i2c: F0 09 00 [10:34:58]MH_I2C_Read... [10:34:58]Read from MH i2c: F0 09 00 CA 00 00 54 8B 13 67 C5 A4 76 66 60 [10:34:58]GetLastDocTimeStamp 1729332934 [10:34:58]current date 1729334100 [10:34:58]FM_GetShiftState [10:34:58]SAM_PROTO_GetShiftState [10:34:58]wFMCommunicate request_size=4 [10:34:58]MH_SAM_APDU [10:34:58]CAPDU: 80 13 01 00 [10:34:58]Write to MH i2c: E2 08 00 CB 00 80 13 01 00 00 00 00 00 48 [10:34:58]Write i2c OK [10:34:58]MH_I2C_Read... [10:34:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:34:59]Read from MH i2c: E2 [10:34:59]MH_I2C_Read... [10:34:59]Read from MH i2c: E2 0E 00 [10:34:59]MH_I2C_Read... [10:34:59]Read from MH i2c: E2 0E 00 CB 00 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 62 [10:34:59]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:34:59]wFMCommunicate OK [10:34:59]SAM_PROTO_GetShiftState done [10:34:59]FM_GetShiftState done [10:34:59]opened in 1729296796 [10:34:59]opened+sec_in_day 1729383196 [10:34:59]quantity*price = 3500 [10:34:59]sum+1 = 3501 [10:34:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571528 Вода ASU пит н.газ персик ПЭТ 1,0 л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310173 Вода Адыгене 0,5л б/г 1.000 * 30.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700040114120 Султан чай 1л. чер персик 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 374.00 НСП 1% : 3.30 НДС 12% : 39.72 Наличными: 374.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 25 19.10.2024 10:35 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37089 ФПД: 47337620073333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T103500&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37089&fm=47337620073333&tin=02508201610067®Number=0000000000098149&sum=37400 0 [10:35:00]StoreToDocumentArchive [10:35:00]shift 460 fd 37089 [10:35:00]save to /storage/0460/doc_00037089 [10:35:00]save last doc name /storage/0460/doc_00037089 to /storage/kkm_last_doc_name [10:35:00]save OK [10:35:00]Clear old archive folders... [10:35:00]ProcessDocumentItem done err = 0, tmpTLVsize=759 [10:35:00]tlvbuf is 00966790 [10:35:00]SAM_PROTO_ClearQueue [10:35:00]wFMCommunicate request_size=4 [10:35:00]MH_SAM_APDU [10:35:00]CAPDU: 80 09 00 00 [10:35:00]Write to MH i2c: E2 08 00 D8 00 80 09 00 00 00 00 00 00 4A [10:35:00]Write i2c OK [10:35:00]MH_I2C_Read... [10:35:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:35:00]Read from MH i2c: E2 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 D8 00 00 90 00 4C [10:35:00]RAPDU: 90 00 [10:35:00]wFMCommunicate OK [10:35:00]SAM_PROTO_ClearQueue done [10:35:00]KKMCreateOFDPacket [10:35:00]OFDProtocolAddRootSTLVToBuf [10:35:00]FM_MakeSignedData [10:35:00]FM_MakeSignedData [10:35:00]SAM_PROTO_SignData [10:35:00]wFMCommunicate request_size=4 [10:35:00]MH_SAM_APDU [10:35:00]CAPDU: 80 0D 01 02 [10:35:00]Write to MH i2c: E2 08 00 D9 00 80 0D 01 02 00 00 00 00 52 [10:35:00]Write i2c OK [10:35:00]MH_I2C_Read... [10:35:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:35:00]Read from MH i2c: E2 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 D9 00 00 90 00 4D [10:35:00]RAPDU: 90 00 [10:35:00]wFMCommunicate OK [10:35:00]wFMCommunicate request_size=255 [10:35:00]MH_SAM_APDU [10:35:00]CAPDU: 80 0D 02 02 FA 03 00 F7 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 23 04 67 00 8A 04 0D 00 [10:35:00]Write to MH i2c: E2 02 01 DA 00 80 0D 02 02 FA 00 03 00 F7 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 23 04 67 00 8A 04 0D 00 00 00 CA [10:35:00]Write i2c OK [10:35:00]MH_I2C_Read... [10:35:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:00]Read from MH i2c: E2 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 [10:35:00]MH_I2C_Read... [10:35:00]Read from MH i2c: E2 03 00 DA 00 00 90 00 4E [10:35:00]RAPDU: 90 00 [10:35:00]wFMCommunicate OK [10:35:00]wFMCommunicate request_size=255 [10:35:00]MH_SAM_APDU [10:35:00]CAPDU: 80 0D 02 02 FA 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 [10:35:00]Write to MH i2c: E2 02 01 DB 00 80 0D 02 02 FA 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 00 00 7F [10:35:00]Write i2c OK [10:35:00]MH_I2C_Read... [10:35:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:01]Read from MH i2c: E2 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 DB 00 00 90 00 4F [10:35:01]RAPDU: 90 00 [10:35:01]wFMCommunicate OK [10:35:01]wFMCommunicate request_size=255 [10:35:01]MH_SAM_APDU [10:35:01]CAPDU: 80 0D 02 02 FA 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 0F 00 00 00 00 07 04 06 00 18 92 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 54 8B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E1 [10:35:01]Write to MH i2c: E2 02 01 DC 00 80 0D 02 02 FA 00 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 0F 00 00 00 00 07 04 06 00 18 92 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 54 8B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E1 00 00 B7 [10:35:01]Write i2c OK [10:35:01]MH_I2C_Read... [10:35:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:01]Read from MH i2c: E2 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 DC 00 00 90 00 50 [10:35:01]RAPDU: 90 00 [10:35:01]wFMCommunicate OK [10:35:01]wFMCommunicate request_size=18 [10:35:01]MH_SAM_APDU [10:35:01]CAPDU: 80 0D 02 02 0D 90 00 00 35 04 06 00 2B 0D A6 07 6B 75 [10:35:01]Write to MH i2c: E2 15 00 DD 00 80 0D 02 02 0D 00 90 00 00 35 04 06 00 2B 0D A6 07 6B 75 00 00 05 [10:35:01]Write i2c OK [10:35:01]MH_I2C_Read... [10:35:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:01]Read from MH i2c: E2 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 03 00 DD 00 00 90 00 51 [10:35:01]RAPDU: 90 00 [10:35:01]wFMCommunicate OK [10:35:01]wFMCommunicate request_size=4 [10:35:01]MH_SAM_APDU [10:35:01]CAPDU: 80 0D 03 02 [10:35:01]Write to MH i2c: E2 08 00 DE 00 80 0D 03 02 00 00 00 00 59 [10:35:01]Write i2c OK [10:35:01]MH_I2C_Read... [10:35:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:35:01]Read from MH i2c: E2 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 0B 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 0B 00 DE 00 00 18 BD B0 ED A4 B1 9A 44 90 00 FF [10:35:01]RAPDU: 18 BD B0 ED A4 B1 9A 44 90 00 [10:35:01]wFMCommunicate OK [10:35:01]SAM_PROTO_SignData done [10:35:01]FM_MakeSignedData done [10:35:01]CreateOFDProtocolMessage [10:35:01]wFMCommunicate request_size=4 [10:35:01]MH_SAM_APDU [10:35:01]CAPDU: 80 11 00 00 [10:35:01]Write to MH i2c: E2 08 00 DF 00 80 11 00 00 00 00 00 00 59 [10:35:01]Write i2c OK [10:35:01]MH_I2C_Read... [10:35:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:01]Read from MH i2c: E2 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 17 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: E2 17 00 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AC [10:35:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:35:01]wFMCommunicate OK [10:35:01]CreateOFDProtocolMessage done [10:35:01]OFDSenderStorePacket 37089 [10:35:01]StoreOFDPacket docnum=37089 [10:35:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0B 03 00 00 C9 E4 03 03 39 57 5A 03 01 00 03 00 F7 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 0F 00 00 00 00 07 04 06 00 18 92 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 54 8B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E1 90 00 00 35 04 06 00 2B 0D A6 07 6B 75 18 BD B0 ED A4 B1 9A 44 [10:35:01]CheckFolder [10:35:01]dirname=/storage/ofd_packets [10:35:01]CheckFolder done [10:35:01]ProducePacketName [10:35:01]name=ofd_packets/00037089 [10:35:01]NVStorageSaveData ofd_packets/00037089 [10:35:01]File name is /storage/ofd_packets/00037089 [10:35:01]Write 809 bytes [10:35:01]NVStorageSaveData done [10:35:01]OFDSenderStorePacket done [10:35:01]KKMCreateOFDPacket done [10:35:01]NVStorageSaveData kkm_last_timestamp [10:35:01]File name is /storage/kkm_last_timestamp [10:35:01]Write 4 bytes [10:35:01]NVStorageSaveData done [10:35:01]ExternCall_PrintAddStr [10:35:01]wPrintStart [10:35:01]Write to MH i2c: 01 00 00 E0 00 E0 [10:35:01]Write i2c OK [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: 01 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: 01 07 00 [10:35:01]MH_I2C_Read... [10:35:01]Read from MH i2c: 01 07 00 E0 00 00 00 00 00 00 FF 0F F5 [10:35:01]RasterBufferAndPrint [10:35:01]line Счет N : (3)76589 [10:35:01]line ИНН: 02508201610067 [10:35:01]line Контрольно-Кассовый Чек [10:35:01]line ПРОДАЖА [10:35:01]line Товар: 4700000310326 [10:35:01]line Вода Адыгене 1л б/г [10:35:01]line 1.000 * 35.00 [10:35:01]line = 35.00 [10:35:01]line НДС 12% НСП 1% [10:35:01]line > о реализуемом товаре [10:35:01]line Товар: 4870001571528 [10:35:01]line Вода ASU пит н.газ персик ПЭТ 1,0 л [10:35:01]line 1.000 * 100.00 [10:35:01]line = 100.00 [10:35:01]line НДС 12% НСП 1% [10:35:01]line > о реализуемом товаре [10:35:01]line Товар: 4700000310173 [10:35:01]line Вода Адыгене 0,5л б/г [10:35:01]line 1.000 * 30.00 [10:35:01]line = 30.00 [10:35:01]line НДС 12% НСП 1% [10:35:01]line > о реализуемом товаре [10:35:01]line Товар: 4700000160792 [10:35:01]line Снек Курут классический (круглый) [10:35:01]line 2.000 * 60.00 [10:35:01]line = 120.00 [10:35:01]line НДС 12% НСП 1% [10:35:01]line > о реализуемом товаре [10:35:01]line Товар: 4700040114120 [10:35:01]line Султан чай 1л. чер персик [10:35:01]line 1.000 * 89.00 [10:35:01]line = 89.00 [10:35:01]line НДС 12% НСП 1% [10:35:01]line > о реализуемом товаре [10:35:01]line ИТОГО: 374.00 [10:35:01]line НСП 1% : 3.30 [10:35:01]line НДС 12% : 39.72 [10:35:01]line Наличными: 374.00 [10:35:01]line Безнал.: 0.00 [10:35:01]line Место: АЗС № 165 "Партнер Нефть" [10:35:01]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [10:35:01]line СНО: Общий режим [10:35:01]line Чек 25 19.10.2024 10:35 [10:35:01]line Смена: 460 ФФД: 1.0 [10:35:01]line ЗНМ: 0300000235 [10:35:01]line РНМ: 0000000000098149 [10:35:01]line Версия ККМ: 001 [10:35:01]line ФМ: 0000000000965372 [10:35:01]line ФД: 37089 [10:35:01]line ФПД: 47337620073333 [10:35:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T103500&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37089&fm=47337620073333&tin=02508201610067®Number=0000000000098149&sum=37400 [10:35:01]line 0 [10:35:01]OFD Sender: Processing packet 37089 [packets to send 25, broken 24] [10:35:01]ProducePacketName [10:35:01]name=ofd_packets/00037089 [10:35:01]OFD Sender: To server: pG, [10:35:01]CommunicateWithHost lk.salyk.kg:30040 [10:35:01]ConnectInit lk.salyk.kg [10:35:01]written 0, free lines is 4095 [10:35:02]Connected sock=10 [10:35: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 33 37 32 0B 03 00 00 C9 E4 03 03 39 57 5A 03 01 00 03 00 F7 02 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 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 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 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 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 0F 00 00 00 00 07 04 06 00 18 92 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 54 8B 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E1 90 00 00 35 04 06 00 2B 0D A6 07 6B 75 18 BD B0 ED A4 B1 9A 44 [10:35:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C0 2D 47 00 AF 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 33 37 32 10 04 04 00 E1 90 00 00 F4 03 04 00 EA 33 13 67 B6 04 01 00 00 10 84 D3 D2 84 FF 1C 61 [10:35:02]CommunicateWithHost err = 0 [10:35:02]CheckOFDResponse [10:35:02]1017 (14) - 77093643461234 [10:35:02]1041 (16) - 0000000000965372 [10:35:02]1040 (4) - 37089 [10:35:02]1012 (4) - 19.10.2024 04:22 [10:35:02]1206 (1) - 0 [10:35:02]OFD Sender: Remove packet 37089 [10:35:02]ProducePacketName [10:35:02]name=ofd_packets/00037089 [10:35:02]NVStorageDeleteData [10:35:02]Write to MH i2c: 01 00 00 22 01 23 [10:35:02]Write i2c OK [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: 01 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: 01 07 00 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: 01 07 00 22 01 00 00 00 00 00 7D 0B B2 [10:35:02]RasterBufferAndPrint [10:35:02]line [10:35:02]line [10:35:02]line [10:35:02]line [10:35:02]line [10:35:02]written 0, free lines is 2952 [10:35:02]process_action close_receipt done [10:35:02]requested_data is exist [10:35:02]produce_requested_data [10:35:02]requested_item fm.sn is exist - process it [10:35:02]wFMCommunicate request_size=4 [10:35:02]MH_SAM_APDU [10:35:02]CAPDU: 80 11 00 00 [10:35:02]Write to MH i2c: E2 08 00 29 01 80 11 00 00 00 00 00 00 A4 [10:35:02]Write i2c OK [10:35:02]MH_I2C_Read... [10:35:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:02]Read from MH i2c: E2 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 17 00 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 17 00 29 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F7 [10:35:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [10:35:02]wFMCommunicate OK [10:35:02]requested_item fd.num is exist - process it [10:35:02]SAM_PROTO_GetFieldsCounters [10:35:02]wFMCommunicate request_size=4 [10:35:02]MH_SAM_APDU [10:35:02]CAPDU: 80 13 00 00 [10:35:02]Write to MH i2c: E2 08 00 2A 01 80 13 00 00 00 00 00 00 A7 [10:35:02]Write i2c OK [10:35:02]MH_I2C_Read... [10:35:02]OFD Sender: No OFD packet to send [10:35:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:35:02]Read from MH i2c: E2 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 62 00 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 62 00 2A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E1 90 00 00 0E 04 04 00 CC 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 57 [10:35:02]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E1 90 00 00 0E 04 04 00 CC 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 [10:35:02]wFMCommunicate OK [10:35:02]SAM_PROTO_GetFieldsCounters done [10:35:02]requested_item shift.num is exist - process it [10:35:02]requested_item shift.opened is exist - process it [10:35:02]req_shift_opened [10:35:02]FM_GetShiftState [10:35:02]SAM_PROTO_GetShiftState [10:35:02]wFMCommunicate request_size=4 [10:35:02]MH_SAM_APDU [10:35:02]CAPDU: 80 13 01 00 [10:35:02]Write to MH i2c: E2 08 00 2B 01 80 13 01 00 00 00 00 00 A9 [10:35:02]Write i2c OK [10:35:02]MH_I2C_Read... [10:35:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:02]Read from MH i2c: E2 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 0E 00 [10:35:02]MH_I2C_Read... [10:35:02]Read from MH i2c: E2 0E 00 2B 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C3 [10:35:02]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [10:35:02]wFMCommunicate OK [10:35:02]SAM_PROTO_GetShiftState done [10:35:02]FM_GetShiftState done [10:35:02]req_shift_opened done [10:35:02]requested_item shift.open_date is exist - process it [10:35:02]req_shift_open_date [10:35:02]req_shift_open_date done [10:35:02]produce_requested_data done [10:35:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37089,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [10:35:02]process_action_free close_receipt [10:35:02]json_value_free [10:35:02]json_value_free done [10:35:02]process_json_proto returns [10:35:02]Send response to host [10:35:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37089,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [10:35:02]free response buf [10:35:02]execute_script done [10:35:02]execute_script returns [10:35:02]free content buf [10:35:02]Sock 7.Close socket [10:35:02]Sock 7.Thread stoped [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]OFD Sender: No OFD packet to send [10:36:07]OFD Sender: No OFD packet to send [10:36:12]OFD Sender: No OFD packet to send [10:36:17]OFD Sender: No OFD packet to send [10:36:22]OFD Sender: No OFD packet to send [10:36:27]OFD Sender: No OFD packet to send [10:36:32]OFD Sender: No OFD packet to send [10:36:37]OFD Sender: No OFD packet to send [10:36:42]OFD Sender: No OFD packet to send [10:36:47]OFD Sender: No OFD packet to send [10:36:52]OFD Sender: No OFD packet to send [10:36:57]OFD Sender: No OFD packet to send [10:37:02]OFD Sender: No OFD packet to send [10:37:07]OFD Sender: No OFD packet to send [10:37:12]OFD Sender: No OFD packet to send [10:37:17]OFD Sender: No OFD packet to send [10:37:22]OFD Sender: No OFD packet to send [10:37:27]OFD Sender: No OFD packet to send [10:37:32]OFD Sender: No OFD packet to send [10:37:37]OFD Sender: No OFD packet to send [10:37:42]OFD Sender: No OFD packet to send [10:37:47]OFD Sender: No OFD packet to send [10:37:52]OFD Sender: No OFD packet to send [10:37:57]OFD Sender: No OFD packet to send [10:38:02]OFD Sender: No OFD packet to send [10:38:07]OFD Sender: No OFD packet to send [10:38:12]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:58]OFD Sender: No OFD packet to send [10:55:03]OFD Sender: No OFD packet to send [10:55:08]OFD Sender: No OFD packet to send [10:55:13]OFD Sender: No OFD packet to send [10:55:18]OFD Sender: No OFD packet to send [10:55:23]OFD Sender: No OFD packet to send [10:55:28]OFD Sender: No OFD packet to send [10:55:33]OFD Sender: No OFD packet to send [10:55:38]OFD Sender: No OFD packet to send [10:55:43]OFD Sender: No OFD packet to send [10:55:48]OFD Sender: No OFD packet to send [10:55:53]OFD Sender: No OFD packet to send [10:55:58]OFD Sender: No OFD packet to send [10:56:03]OFD Sender: No OFD packet to send [10:56:08]OFD Sender: No OFD packet to send [10:56:13]OFD Sender: No OFD packet to send [10:56:18]OFD Sender: No OFD packet to send [10:56:23]OFD Sender: No OFD packet to send [10:56:28]OFD Sender: No OFD packet to send [10:56:33]OFD Sender: No OFD packet to send [10:56:38]OFD Sender: No OFD packet to send [10:56:43]OFD Sender: No OFD packet to send [10:56:48]OFD Sender: No OFD packet to send [10:56:53]OFD Sender: No OFD packet to send [10:56:58]OFD Sender: No OFD packet to send [10:57:03]OFD Sender: No OFD packet to send [10:57:08]OFD Sender: No OFD packet to send [10:57:13]OFD Sender: No OFD packet to send [10:57:18]OFD Sender: No OFD packet to send [10:57:23]OFD Sender: No OFD packet to send [10:57:28]OFD Sender: No OFD packet to send [10:57:33]OFD Sender: No OFD packet to send [10:57:38]OFD Sender: No OFD packet to send [10:57:43]OFD Sender: No OFD packet to send [10:57:48]OFD Sender: No OFD packet to send [10:57:53]OFD Sender: No OFD packet to send [10:57:58]OFD Sender: No OFD packet to send [10:58:03]OFD Sender: No OFD packet to send [10:58:08]OFD Sender: No OFD packet to send [10:58:13]OFD Sender: No OFD packet to send [10:58:18]OFD Sender: No OFD packet to send [10:58:23]OFD Sender: No OFD packet to send [10:58:28]OFD Sender: No OFD packet to send [10:58:33]OFD Sender: No OFD packet to send [10:58:38]OFD Sender: No OFD packet to send [10:58:43]OFD Sender: No OFD packet to send [10:58:48]OFD Sender: No OFD packet to send [10:58:53]OFD Sender: No OFD packet to send [10:58:58]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:36]accept exits with 9 [11:10:36]New connection [11:10:36]New thread 3066555748 created [11:10:36]Thread 3066699108 joined [11:10:36]Waiting for new connection... [11:10:36] Sock 9.Parse request [11:10:36]Sock 9.Check first char [11:10:36]Sock 9.First char is OK [11:10:36]request: POST /json_proto HTTP/1.0 [11:10:36]Method: POST [11:10:36]URL: /json_proto [11:10:36]Method is POST - this is cgi request [11:10:36]url: /json_proto [11:10:36]query_string will be loaded in cgi processing [11:10:36]execute_cgi json_proto POST (null) [11:10:36]execute_cgi path=json_proto method=POST [11:10:36]POST find Content-Length [11:10:36]Host: 172.17.53.68:8080 [11:10:36]Content-Length: 677 [11:10:36]Content-Type: application/json [11:10:36] [11:10:36]POST finish read [11:10:36]Found Content-Length = 677 [11:10:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873707", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:36]execute_script... [11:10:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)873707", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:10:36]POST & json_proto [11:10:36]process_json_proto [11:10:36]json parsed OK: [11:10:36]protocol is kg_v1.0 [11:10:36]action value=close_receipt [11:10:36]process_action close_receipt [11:10:36]cmd_close_receipt [11:10:36]MH_GetDate [11:10:36]Write to MH i2c: F0 00 00 2C 01 1C [11:10:36]Write i2c OK [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: F0 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: F0 09 00 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: F0 09 00 2C 01 00 AD 93 13 67 C5 A4 76 66 24 [11:10:36]GetLastDocTimeStamp 1729334100 [11:10:36]current date 1729336237 [11:10:36]FM_GetShiftState [11:10:36]SAM_PROTO_GetShiftState [11:10:36]wFMCommunicate request_size=4 [11:10:36]MH_SAM_APDU [11:10:36]CAPDU: 80 13 01 00 [11:10:36]Write to MH i2c: E2 08 00 2D 01 80 13 01 00 00 00 00 00 AB [11:10:36]Write i2c OK [11:10:36]MH_I2C_Read... [11:10:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:36]Read from MH i2c: E2 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: E2 0E 00 [11:10:36]MH_I2C_Read... [11:10:36]Read from MH i2c: E2 0E 00 2D 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C5 [11:10:36]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:10:36]wFMCommunicate OK [11:10:36]SAM_PROTO_GetShiftState done [11:10:36]FM_GetShiftState done [11:10:36]opened in 1729296796 [11:10:36]opened+sec_in_day 1729383196 [11:10:36]quantity*price = 50041 [11:10:36]sum+1 = 50042 [11:10:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 26 19.10.2024 11:10 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37090 ФПД: 198043474216833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T111037&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37090&fm=198043474216833&tin=02508201610067®Number=0000000000098149&sum=50000 [11:10:37]StoreToDocumentArchive [11:10:37]shift 460 fd 37090 [11:10:37]save to /storage/0460/doc_00037090 [11:10:37]save last doc name /storage/0460/doc_00037090 to /storage/kkm_last_doc_name [11:10:37]save OK [11:10:37]Clear old archive folders... [11:10:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:10:37]tlvbuf is 0095FE70 [11:10:37]SAM_PROTO_ClearQueue [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 09 00 00 [11:10:37]Write to MH i2c: E2 08 00 3A 01 80 09 00 00 00 00 00 00 AD [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 3A 01 00 90 00 AF [11:10:37]RAPDU: 90 00 [11:10:37]wFMCommunicate OK [11:10:37]SAM_PROTO_ClearQueue done [11:10:37]KKMCreateOFDPacket [11:10:37]OFDProtocolAddRootSTLVToBuf [11:10:37]FM_MakeSignedData [11:10:37]FM_MakeSignedData [11:10:37]SAM_PROTO_SignData [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 0D 01 02 [11:10:37]Write to MH i2c: E2 08 00 3B 01 80 0D 01 02 00 00 00 00 B5 [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 3B 01 00 90 00 B0 [11:10:37]RAPDU: 90 00 [11:10:37]wFMCommunicate OK [11:10:37]wFMCommunicate request_size=255 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 AD 93 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E2 90 00 00 35 04 06 00 B4 [11:10:37]Write to MH i2c: E2 02 01 3C 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 AD 93 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E2 90 00 00 35 04 06 00 B4 00 00 11 [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 3C 01 00 90 00 B1 [11:10:37]RAPDU: 90 00 [11:10:37]wFMCommunicate OK [11:10:37]wFMCommunicate request_size=10 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 0D 02 02 05 1E 96 EE 47 81 [11:10:37]Write to MH i2c: E2 0D 00 3D 01 80 0D 02 02 05 00 1E 96 EE 47 81 00 00 2C [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 03 00 3D 01 00 90 00 B2 [11:10:37]RAPDU: 90 00 [11:10:37]wFMCommunicate OK [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 0D 03 02 [11:10:37]Write to MH i2c: E2 08 00 3E 01 80 0D 03 02 00 00 00 00 BA [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 0B 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 0B 00 3E 01 00 29 6E E6 A6 03 B6 EE C1 90 00 46 [11:10:37]RAPDU: 29 6E E6 A6 03 B6 EE C1 90 00 [11:10:37]wFMCommunicate OK [11:10:37]SAM_PROTO_SignData done [11:10:37]FM_MakeSignedData done [11:10:37]CreateOFDProtocolMessage [11:10:37]wFMCommunicate request_size=4 [11:10:37]MH_SAM_APDU [11:10:37]CAPDU: 80 11 00 00 [11:10:37]Write to MH i2c: E2 08 00 3F 01 80 11 00 00 00 00 00 00 BA [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:37]Read from MH i2c: E2 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 17 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: E2 17 00 3F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0D [11:10:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:10:37]wFMCommunicate OK [11:10:37]CreateOFDProtocolMessage done [11:10:37]OFDSenderStorePacket 37090 [11:10:37]StoreOFDPacket docnum=37090 [11:10:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 2B D4 07 01 79 C1 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 AD 93 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E2 90 00 00 35 04 06 00 B4 1E 96 EE 47 81 29 6E E6 A6 03 B6 EE C1 [11:10:37]CheckFolder [11:10:37]dirname=/storage/ofd_packets [11:10:37]CheckFolder done [11:10:37]ProducePacketName [11:10:37]name=ofd_packets/00037090 [11:10:37]NVStorageSaveData ofd_packets/00037090 [11:10:37]File name is /storage/ofd_packets/00037090 [11:10:37]Write 301 bytes [11:10:37]NVStorageSaveData done [11:10:37]OFDSenderStorePacket done [11:10:37]KKMCreateOFDPacket done [11:10:37]NVStorageSaveData kkm_last_timestamp [11:10:37]File name is /storage/kkm_last_timestamp [11:10:37]Write 4 bytes [11:10:37]NVStorageSaveData done [11:10:37]ExternCall_PrintAddStr [11:10:37]wPrintStart [11:10:37]Write to MH i2c: 01 00 00 40 01 41 [11:10:37]Write i2c OK [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: 01 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: 01 07 00 [11:10:37]MH_I2C_Read... [11:10:37]Read from MH i2c: 01 07 00 40 01 00 00 00 00 00 FF 0F 56 [11:10:37]RasterBufferAndPrint [11:10:37]line Счет N : (1)873707 [11:10:37]line ИНН: 02508201610067 [11:10:37]line Контрольно-Кассовый Чек [11:10:37]line ПРОДАЖА [11:10:37]line ТРК (МРК, ГНК) : 12 [11:10:37]line Товар: 2710124130 [11:10:37]line Аи-92-К-5 [11:10:37]line 7.480 * 66.90 [11:10:37]line = 500.41 [11:10:37]line НДС 12% НСП 1% [11:10:37]line > о реализуемом товаре [11:10:37]line ОКРУГЛЕНИЕ: -0.41 [11:10:37]line ИТОГО: 500.00 [11:10:37]line Внесено: 500.00 [11:10:37]line СДАЧА: 0.00 [11:10:37]line НСП 1% : 4.43 [11:10:37]line НДС 12% : 53.14 [11:10:37]line Наличными: 500.00 [11:10:37]line Безнал.: 0.00 [11:10:37]line Место: АЗС № 165 "Партнер Нефть" [11:10:37]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [11:10:37]line СНО: Общий режим [11:10:37]line Чек 26 19.10.2024 11:10 [11:10:37]line Смена: 460 ФФД: 1.0 [11:10:37]line ЗНМ: 0300000235 [11:10:37]line РНМ: 0000000000098149 [11:10:37]line Версия ККМ: 001 [11:10:37]line ФМ: 0000000000965372 [11:10:37]line ФД: 37090 [11:10:37]line ФПД: 198043474216833 [11:10:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T111037&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37090&fm=198043474216833&tin=02508201610067®Number=0000000000098149&sum=50000 [11:10:38]OFD Sender: Processing packet 37090 [packets to send 25, broken 24] [11:10:38]ProducePacketName [11:10:38]name=ofd_packets/00037090 [11:10:38]OFD Sender: To server: pG, [11:10:38]CommunicateWithHost lk.salyk.kg:30040 [11:10:38]ConnectInit lk.salyk.kg [11:10:38]written 0, free lines is 4095 [11:10:38]Connected sock=5 [11:10: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 33 37 32 0F 01 00 00 2B D4 07 01 79 C1 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 AD 93 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E2 90 00 00 35 04 06 00 B4 1E 96 EE 47 81 29 6E E6 A6 03 B6 EE C1 [11:10:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 89 FE 47 00 85 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 E2 90 00 00 F4 03 04 00 43 3C 13 67 B6 04 01 00 00 A8 72 D2 B9 C3 94 06 90 [11:10:38]CommunicateWithHost err = 0 [11:10:38]CheckOFDResponse [11:10:38]1017 (14) - 77093643461234 [11:10:38]1041 (16) - 0000000000965372 [11:10:38]1040 (4) - 37090 [11:10:38]1012 (4) - 19.10.2024 04:57 [11:10:38]1206 (1) - 0 [11:10:38]OFD Sender: Remove packet 37090 [11:10:38]ProducePacketName [11:10:38]name=ofd_packets/00037090 [11:10:38]NVStorageDeleteData [11:10:38]Write to MH i2c: 01 00 00 6B 01 6C [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: 01 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: 01 07 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: 01 07 00 6B 01 00 00 00 00 00 E1 0C 60 [11:10:38]RasterBufferAndPrint [11:10:38]line [11:10:38]line [11:10:38]line [11:10:38]line [11:10:38]line [11:10:38]written 0, free lines is 3303 [11:10:38]process_action close_receipt done [11:10:38]requested_data is exist [11:10:38]produce_requested_data [11:10:38]requested_item fm.sn is exist - process it [11:10:38]wFMCommunicate request_size=4 [11:10:38]MH_SAM_APDU [11:10:38]CAPDU: 80 11 00 00 [11:10:38]Write to MH i2c: E2 08 00 72 01 80 11 00 00 00 00 00 00 ED [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:10:38]Read from MH i2c: E2 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 17 00 [11:10:38]MH_I2C_Read... [11:10:38]Read from MH i2c: E2 17 00 72 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 40 [11:10:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:10:38]wFMCommunicate OK [11:10:38]requested_item fd.num is exist - process it [11:10:38]SAM_PROTO_GetFieldsCounters [11:10:38]wFMCommunicate request_size=4 [11:10:38]MH_SAM_APDU [11:10:38]CAPDU: 80 13 00 00 [11:10:38]Write to MH i2c: E2 08 00 73 01 80 13 00 00 00 00 00 00 F0 [11:10:38]Write i2c OK [11:10:38]MH_I2C_Read... [11:10:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:10:39]Read from MH i2c: E2 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 62 00 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 62 00 73 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E2 90 00 00 0E 04 04 00 CC 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 A4 [11:10:39]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E2 90 00 00 0E 04 04 00 CC 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 [11:10:39]wFMCommunicate OK [11:10:39]SAM_PROTO_GetFieldsCounters done [11:10:39]requested_item shift.num is exist - process it [11:10:39]requested_item shift.opened is exist - process it [11:10:39]req_shift_opened [11:10:39]FM_GetShiftState [11:10:39]SAM_PROTO_GetShiftState [11:10:39]wFMCommunicate request_size=4 [11:10:39]MH_SAM_APDU [11:10:39]CAPDU: 80 13 01 00 [11:10:39]Write to MH i2c: E2 08 00 74 01 80 13 01 00 00 00 00 00 F2 [11:10:39]Write i2c OK [11:10:39]MH_I2C_Read... [11:10:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:10:39]Read from MH i2c: E2 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 0E 00 [11:10:39]MH_I2C_Read... [11:10:39]Read from MH i2c: E2 0E 00 74 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0C [11:10:39]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:10:39]wFMCommunicate OK [11:10:39]SAM_PROTO_GetShiftState done [11:10:39]FM_GetShiftState done [11:10:39]req_shift_opened done [11:10:39]requested_item shift.open_date is exist - process it [11:10:39]req_shift_open_date [11:10:39]req_shift_open_date done [11:10:39]produce_requested_data done [11:10:39]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37090,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [11:10:39]process_action_free close_receipt [11:10:39]json_value_free [11:10:39]json_value_free done [11:10:39]process_json_proto returns [11:10:39]Send response to host [11:10:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37090,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [11:10:39]free response buf [11:10:39]execute_script done [11:10:39]execute_script returns [11:10:39]free content buf [11:10:39]Sock 9.Close socket [11:10:39]Sock 9.Thread stoped [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:17]accept exits with 7 [11:12:17]New connection [11:12:17]New thread 3066699108 created [11:12:17]Thread 3066555748 joined [11:12:17]Waiting for new connection... [11:12:17] Sock 7.Parse request [11:12:17]Sock 7.Check first char [11:12:17]Sock 7.First char is OK [11:12:17]request: POST /json_proto HTTP/1.0 [11:12:17]Method: POST [11:12:17]URL: /json_proto [11:12:17]Method is POST - this is cgi request [11:12:17]url: /json_proto [11:12:17]query_string will be loaded in cgi processing [11:12:17]execute_cgi json_proto POST (null) [11:12:17]execute_cgi path=json_proto method=POST [11:12:17]POST find Content-Length [11:12:17]Host: 172.17.53.68:8080 [11:12:17]Content-Length: 708 [11:12:17]Content-Type: application/json [11:12:17] [11:12:17]POST finish read [11:12:17]Found Content-Length = 708 [11:12:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76590", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:17]execute_script... [11:12: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)76590", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:17]POST & json_proto [11:12:17]process_json_proto [11:12:17]json parsed OK: [11:12:17]protocol is kg_v1.0 [11:12:17]action value=close_receipt [11:12:17]process_action close_receipt [11:12:17]cmd_close_receipt [11:12:17]MH_GetDate [11:12:17]Write to MH i2c: F0 00 00 75 01 65 [11:12:17]Write i2c OK [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 09 00 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: F0 09 00 75 01 00 12 94 13 67 C5 A4 76 66 D3 [11:12:17]GetLastDocTimeStamp 1729336237 [11:12:17]current date 1729336338 [11:12:17]FM_GetShiftState [11:12:17]SAM_PROTO_GetShiftState [11:12:17]wFMCommunicate request_size=4 [11:12:17]MH_SAM_APDU [11:12:17]CAPDU: 80 13 01 00 [11:12:17]Write to MH i2c: E2 08 00 76 01 80 13 01 00 00 00 00 00 F4 [11:12:17]Write i2c OK [11:12:17]MH_I2C_Read... [11:12:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:17]Read from MH i2c: E2 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: E2 0E 00 [11:12:17]MH_I2C_Read... [11:12:17]Read from MH i2c: E2 0E 00 76 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0E [11:12:17]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:12:17]wFMCommunicate OK [11:12:17]SAM_PROTO_GetShiftState done [11:12:17]FM_GetShiftState done [11:12:17]opened in 1729296796 [11:12:17]opened+sec_in_day 1729383196 [11:12:17]quantity*price = 7500 [11:12:17]sum+1 = 7501 [11:12:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 27 19.10.2024 11:12 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37091 ФПД: 140540853086640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T111218&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37091&fm=140540853086640&tin=02508201610067®Number=0000000000098149&sum=7500 0 [11:12:18]StoreToDocumentArchive [11:12:18]shift 460 fd 37091 [11:12:18]save to /storage/0460/doc_00037091 [11:12:18]save last doc name /storage/0460/doc_00037091 to /storage/kkm_last_doc_name [11:12:18]save OK [11:12:18]Clear old archive folders... [11:12:18]ProcessDocumentItem done err = 0, tmpTLVsize=304 [11:12:18]tlvbuf is 00992F10 [11:12:18]SAM_PROTO_ClearQueue [11:12:18]wFMCommunicate request_size=4 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 09 00 00 [11:12:18]Write to MH i2c: E2 08 00 83 01 80 09 00 00 00 00 00 00 F6 [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:18]Read from MH i2c: E2 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 83 01 00 90 00 F8 [11:12:18]RAPDU: 90 00 [11:12:18]wFMCommunicate OK [11:12:18]SAM_PROTO_ClearQueue done [11:12:18]KKMCreateOFDPacket [11:12:18]OFDProtocolAddRootSTLVToBuf [11:12:18]FM_MakeSignedData [11:12:18]FM_MakeSignedData [11:12:18]SAM_PROTO_SignData [11:12:18]wFMCommunicate request_size=4 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 0D 01 02 [11:12:18]Write to MH i2c: E2 08 00 84 01 80 0D 01 02 00 00 00 00 FE [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:18]Read from MH i2c: E2 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 84 01 00 90 00 F9 [11:12:18]RAPDU: 90 00 [11:12:18]wFMCommunicate OK [11:12:18]wFMCommunicate request_size=255 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 94 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 [11:12:18]Write to MH i2c: E2 02 01 85 01 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 94 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 00 00 CA [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:18]Read from MH i2c: E2 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 [11:12:18]MH_I2C_Read... [11:12:18]Read from MH i2c: E2 03 00 85 01 00 90 00 FA [11:12:18]RAPDU: 90 00 [11:12:18]wFMCommunicate OK [11:12:18]wFMCommunicate request_size=63 [11:12:18]MH_SAM_APDU [11:12:18]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E3 90 00 00 35 04 06 00 7F D2 37 9F E9 B0 [11:12:18]Write to MH i2c: E2 42 00 86 01 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E3 90 00 00 35 04 06 00 7F D2 37 9F E9 B0 00 00 84 [11:12:18]Write i2c OK [11:12:18]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 03 00 86 01 00 90 00 FB [11:12:19]RAPDU: 90 00 [11:12:19]wFMCommunicate OK [11:12:19]wFMCommunicate request_size=4 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 0D 03 02 [11:12:19]Write to MH i2c: E2 08 00 87 01 80 0D 03 02 00 00 00 00 03 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 0B 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 0B 00 87 01 00 9A F7 3B F7 17 45 9C 99 90 00 58 [11:12:19]RAPDU: 9A F7 3B F7 17 45 9C 99 90 00 [11:12:19]wFMCommunicate OK [11:12:19]SAM_PROTO_SignData done [11:12:19]FM_MakeSignedData done [11:12:19]CreateOFDProtocolMessage [11:12:19]wFMCommunicate request_size=4 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 11 00 00 [11:12:19]Write to MH i2c: E2 08 00 88 01 80 11 00 00 00 00 00 00 03 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 17 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 17 00 88 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 56 [11:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:12:19]wFMCommunicate OK [11:12:19]CreateOFDProtocolMessage done [11:12:19]OFDSenderStorePacket 37091 [11:12:19]StoreOFDPacket docnum=37091 [11:12:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 44 01 00 00 52 52 3C 01 B2 95 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 94 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E3 90 00 00 35 04 06 00 7F D2 37 9F E9 B0 9A F7 3B F7 17 45 9C 99 [11:12:19]CheckFolder [11:12:19]dirname=/storage/ofd_packets [11:12:19]CheckFolder done [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00037091 [11:12:19]NVStorageSaveData ofd_packets/00037091 [11:12:19]File name is /storage/ofd_packets/00037091 [11:12:19]Write 354 bytes [11:12:19]NVStorageSaveData done [11:12:19]OFDSenderStorePacket done [11:12:19]KKMCreateOFDPacket done [11:12:19]NVStorageSaveData kkm_last_timestamp [11:12:19]File name is /storage/kkm_last_timestamp [11:12:19]Write 4 bytes [11:12:19]NVStorageSaveData done [11:12:19]ExternCall_PrintAddStr [11:12:19]wPrintStart [11:12:19]Write to MH i2c: 01 00 00 89 01 8A [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 89 01 00 00 00 00 00 FF 0F 9F [11:12:19]RasterBufferAndPrint [11:12:19]line Счет N : (3)76590 [11:12:19]line ИНН: 02508201610067 [11:12:19]line Контрольно-Кассовый Чек [11:12:19]line ПРОДАЖА [11:12:19]line Товар: 4870112003956 [11:12:19]line Шок батончик ALBENI SUPER Альбени Супер [11:12:19]line 1.000 * 75.00 [11:12:19]line = 75.00 [11:12:19]line НДС 12% НСП 1% [11:12:19]line > о реализуемом товаре [11:12:19]line ИТОГО: 75.00 [11:12:19]line НСП 1% : 0.66 [11:12:19]line НДС 12% : 7.96 [11:12:19]line Наличными: 75.00 [11:12:19]line Безнал.: 0.00 [11:12:19]line Место: АЗС № 165 "Партнер Нефть" [11:12:19]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [11:12:19]line СНО: Общий режим [11:12:19]line Чек 27 19.10.2024 11:12 [11:12:19]line Смена: 460 ФФД: 1.0 [11:12:19]line ЗНМ: 0300000235 [11:12:19]line РНМ: 0000000000098149 [11:12:19]line Версия ККМ: 001 [11:12:19]line ФМ: 0000000000965372 [11:12:19]line ФД: 37091 [11:12:19]line ФПД: 140540853086640 [11:12:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T111218&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37091&fm=140540853086640&tin=02508201610067®Number=0000000000098149&sum=7500 [11:12:19]line 0 [11:12:19]OFD Sender: Processing packet 37091 [packets to send 25, broken 24] [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00037091 [11:12:19]OFD Sender: To server: pG, [11:12:19]CommunicateWithHost lk.salyk.kg:30040 [11:12:19]ConnectInit lk.salyk.kg [11:12:19]written 0, free lines is 4095 [11:12:19]Connected sock=10 [11:12: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 33 37 32 44 01 00 00 52 52 3C 01 B2 95 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 94 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E3 90 00 00 35 04 06 00 7F D2 37 9F E9 B0 9A F7 3B F7 17 45 9C 99 [11:12:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 9D F4 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 33 37 32 10 04 04 00 E3 90 00 00 F4 03 04 00 A8 3C 13 67 B6 04 01 00 00 79 AD 2C 81 FD 96 D9 7D [11:12:19]CommunicateWithHost err = 0 [11:12:19]CheckOFDResponse [11:12:19]1017 (14) - 77093643461234 [11:12:19]1041 (16) - 0000000000965372 [11:12:19]1040 (4) - 37091 [11:12:19]1012 (4) - 19.10.2024 04:59 [11:12:19]1206 (1) - 0 [11:12:19]OFD Sender: Remove packet 37091 [11:12:19]ProducePacketName [11:12:19]name=ofd_packets/00037091 [11:12:19]NVStorageDeleteData [11:12:19]Write to MH i2c: 01 00 00 B2 01 B3 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: 01 07 00 B2 01 00 00 00 00 00 DE 0C A4 [11:12:19]RasterBufferAndPrint [11:12:19]line [11:12:19]line [11:12:19]line [11:12:19]line [11:12:19]line [11:12:19]written 0, free lines is 3303 [11:12:19]process_action close_receipt done [11:12:19]requested_data is exist [11:12:19]produce_requested_data [11:12:19]requested_item fm.sn is exist - process it [11:12:19]wFMCommunicate request_size=4 [11:12:19]MH_SAM_APDU [11:12:19]CAPDU: 80 11 00 00 [11:12:19]Write to MH i2c: E2 08 00 B9 01 80 11 00 00 00 00 00 00 34 [11:12:19]Write i2c OK [11:12:19]MH_I2C_Read... [11:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:19]Read from MH i2c: E2 [11:12:19]MH_I2C_Read... [11:12:19]Read from MH i2c: E2 17 00 [11:12:19]MH_I2C_Read... [11:12:20]Read from MH i2c: E2 17 00 B9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 87 [11:12:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:12:20]wFMCommunicate OK [11:12:20]requested_item fd.num is exist - process it [11:12:20]SAM_PROTO_GetFieldsCounters [11:12:20]wFMCommunicate request_size=4 [11:12:20]MH_SAM_APDU [11:12:20]CAPDU: 80 13 00 00 [11:12:20]Write to MH i2c: E2 08 00 BA 01 80 13 00 00 00 00 00 00 37 [11:12:20]Write i2c OK [11:12:20]MH_I2C_Read... [11:12:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:20]Read from MH i2c: E2 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: E2 62 00 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: E2 62 00 BA 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E3 90 00 00 0E 04 04 00 CC 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 EF [11:12: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E3 90 00 00 0E 04 04 00 CC 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 [11:12:20]wFMCommunicate OK [11:12:20]SAM_PROTO_GetFieldsCounters done [11:12:20]requested_item shift.num is exist - process it [11:12:20]requested_item shift.opened is exist - process it [11:12:20]req_shift_opened [11:12:20]FM_GetShiftState [11:12:20]SAM_PROTO_GetShiftState [11:12:20]wFMCommunicate request_size=4 [11:12:20]MH_SAM_APDU [11:12:20]CAPDU: 80 13 01 00 [11:12:20]Write to MH i2c: E2 08 00 BB 01 80 13 01 00 00 00 00 00 39 [11:12:20]Write i2c OK [11:12:20]MH_I2C_Read... [11:12:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:20]Read from MH i2c: E2 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: E2 0E 00 [11:12:20]MH_I2C_Read... [11:12:20]Read from MH i2c: E2 0E 00 BB 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 53 [11:12:20]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:12:20]wFMCommunicate OK [11:12:20]SAM_PROTO_GetShiftState done [11:12:20]FM_GetShiftState done [11:12:20]req_shift_opened done [11:12:20]requested_item shift.open_date is exist - process it [11:12:20]req_shift_open_date [11:12:20]req_shift_open_date done [11:12:20]produce_requested_data done [11:12:20]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37091,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [11:12:20]process_action_free close_receipt [11:12:20]json_value_free [11:12:20]json_value_free done [11:12:20]process_json_proto returns [11:12:20]Send response to host [11:12:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37091,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [11:12:20]free response buf [11:12:20]execute_script done [11:12:20]execute_script returns [11:12:20]free content buf [11:12:20]Sock 7.Close socket [11:12:20]Sock 7.Thread stoped [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:40]OFD Sender: No OFD packet to send [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:31]accept exits with 9 [11:20:31]New connection [11:20:31]New thread 3066555748 created [11:20:31]Thread 3066699108 joined [11:20:31]Waiting for new connection... [11:20:31] Sock 9.Parse request [11:20:31]Sock 9.Check first char [11:20:31]Sock 9.First char is OK [11:20:31]request: POST /json_proto HTTP/1.0 [11:20:31]Method: POST [11:20:31]URL: /json_proto [11:20:31]Method is POST - this is cgi request [11:20:31]url: /json_proto [11:20:31]query_string will be loaded in cgi processing [11:20:31]execute_cgi json_proto POST (null) [11:20:31]execute_cgi path=json_proto method=POST [11:20:31]POST find Content-Length [11:20:31]Host: 172.17.53.68:8080 [11:20:31]Content-Length: 645 [11:20:31]Content-Type: application/json [11:20:31] [11:20:31]POST finish read [11:20:31]Found Content-Length = 645 [11:20:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76591", "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" ] } } [11:20:31]execute_script... [11:20:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76591", "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" ] } } [11:20:31]POST & json_proto [11:20:31]process_json_proto [11:20:31]json parsed OK: [11:20:31]protocol is kg_v1.0 [11:20:31]action value=close_receipt [11:20:31]process_action close_receipt [11:20:31]cmd_close_receipt [11:20:31]MH_GetDate [11:20:31]Write to MH i2c: F0 00 00 BC 01 AC [11:20:31]Write i2c OK [11:20:31]MH_I2C_Read... [11:20:31]Read from MH i2c: F0 [11:20:31]MH_I2C_Read... [11:20:31]Read from MH i2c: F0 09 00 [11:20:31]MH_I2C_Read... [11:20:31]Read from MH i2c: F0 09 00 BC 01 00 00 96 13 67 C5 A4 76 66 0A [11:20:31]GetLastDocTimeStamp 1729336338 [11:20:31]current date 1729336832 [11:20:31]FM_GetShiftState [11:20:31]SAM_PROTO_GetShiftState [11:20:31]wFMCommunicate request_size=4 [11:20:31]MH_SAM_APDU [11:20:31]CAPDU: 80 13 01 00 [11:20:31]Write to MH i2c: E2 08 00 BD 01 80 13 01 00 00 00 00 00 3B [11:20:31]Write i2c OK [11:20:31]MH_I2C_Read... [11:20:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:31]Read from MH i2c: E2 [11:20:31]MH_I2C_Read... [11:20:31]Read from MH i2c: E2 0E 00 [11:20:31]MH_I2C_Read... [11:20:31]Read from MH i2c: E2 0E 00 BD 01 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 55 [11:20:31]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:20:31]wFMCommunicate OK [11:20:31]SAM_PROTO_GetShiftState done [11:20:31]FM_GetShiftState done [11:20:31]opened in 1729296796 [11:20:31]opened+sec_in_day 1729383196 [11:20:31]quantity*price = 13000 [11:20:31]sum+1 = 13001 [11:20:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 28 19.10.2024 11:20 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37092 ФПД: 20627914797048 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112032&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37092&fm=20627914797048&tin=02508201610067®Number=0000000000098149&sum=13000 0 [11:20:32]StoreToDocumentArchive [11:20:32]shift 460 fd 37092 [11:20:32]save to /storage/0460/doc_00037092 [11:20:32]save last doc name /storage/0460/doc_00037092 to /storage/kkm_last_doc_name [11:20:32]save OK [11:20:32]Clear old archive folders... [11:20:32]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:20:32]tlvbuf is 00973730 [11:20:32]SAM_PROTO_ClearQueue [11:20:32]wFMCommunicate request_size=4 [11:20:32]MH_SAM_APDU [11:20:32]CAPDU: 80 09 00 00 [11:20:32]Write to MH i2c: E2 08 00 CA 01 80 09 00 00 00 00 00 00 3D [11:20:32]Write i2c OK [11:20:32]MH_I2C_Read... [11:20:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:20:32]Read from MH i2c: E2 [11:20:32]MH_I2C_Read... [11:20:32]Read from MH i2c: E2 03 00 [11:20:32]MH_I2C_Read... [11:20:32]Read from MH i2c: E2 03 00 CA 01 00 90 00 3F [11:20:32]RAPDU: 90 00 [11:20:32]wFMCommunicate OK [11:20:32]SAM_PROTO_ClearQueue done [11:20:32]KKMCreateOFDPacket [11:20:32]OFDProtocolAddRootSTLVToBuf [11:20:32]FM_MakeSignedData [11:20:32]FM_MakeSignedData [11:20:32]SAM_PROTO_SignData [11:20:32]wFMCommunicate request_size=4 [11:20:32]MH_SAM_APDU [11:20:32]CAPDU: 80 0D 01 02 [11:20:32]Write to MH i2c: E2 08 00 CB 01 80 0D 01 02 00 00 00 00 45 [11:20:32]Write i2c OK [11:20:32]MH_I2C_Read... [11:20:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:20:32]Read from MH i2c: E2 [11:20:32]MH_I2C_Read... [11:20:32]Read from MH i2c: E2 03 00 [11:20:32]MH_I2C_Read... [11:20:32]Read from MH i2c: E2 03 00 CB 01 00 90 00 40 [11:20:32]RAPDU: 90 00 [11:20:32]wFMCommunicate OK [11:20:32]wFMCommunicate request_size=255 [11:20:32]MH_SAM_APDU [11:20:32]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 1C 00 00 00 F4 03 04 00 00 96 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [11:20:32]Write to MH i2c: E2 02 01 CC 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1C 00 00 00 F4 03 04 00 00 96 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 53 [11:20:32]Write i2c OK [11:20:32]MH_I2C_Read... [11:20:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:33]Read from MH i2c: E2 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 03 00 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 03 00 CC 01 00 90 00 41 [11:20:33]RAPDU: 90 00 [11:20:33]wFMCommunicate OK [11:20:33]wFMCommunicate request_size=41 [11:20:33]MH_SAM_APDU [11:20:33]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E4 90 00 00 35 04 06 00 12 C2 CF 88 AF F8 [11:20:33]Write to MH i2c: E2 2C 00 CD 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E4 90 00 00 35 04 06 00 12 C2 CF 88 AF F8 00 00 5D [11:20:33]Write i2c OK [11:20:33]MH_I2C_Read... [11:20:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:20:33]Read from MH i2c: E2 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 03 00 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 03 00 CD 01 00 90 00 42 [11:20:33]RAPDU: 90 00 [11:20:33]wFMCommunicate OK [11:20:33]wFMCommunicate request_size=4 [11:20:33]MH_SAM_APDU [11:20:33]CAPDU: 80 0D 03 02 [11:20:33]Write to MH i2c: E2 08 00 CE 01 80 0D 03 02 00 00 00 00 4A [11:20:33]Write i2c OK [11:20:33]MH_I2C_Read... [11:20:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:20:33]Read from MH i2c: E2 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 0B 00 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 0B 00 CE 01 00 2B 3E 69 8E 28 2E 63 EB 90 00 4F [11:20:33]RAPDU: 2B 3E 69 8E 28 2E 63 EB 90 00 [11:20:33]wFMCommunicate OK [11:20:33]SAM_PROTO_SignData done [11:20:33]FM_MakeSignedData done [11:20:33]CreateOFDProtocolMessage [11:20:33]wFMCommunicate request_size=4 [11:20:33]MH_SAM_APDU [11:20:33]CAPDU: 80 11 00 00 [11:20:33]Write to MH i2c: E2 08 00 CF 01 80 11 00 00 00 00 00 00 4A [11:20:33]Write i2c OK [11:20:33]MH_I2C_Read... [11:20:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:33]Read from MH i2c: E2 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 17 00 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: E2 17 00 CF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9D [11:20:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:20:33]wFMCommunicate OK [11:20:33]CreateOFDProtocolMessage done [11:20:33]OFDSenderStorePacket 37092 [11:20:33]StoreOFDPacket docnum=37092 [11:20:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 45 0B 26 01 13 62 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 1C 00 00 00 F4 03 04 00 00 96 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E4 90 00 00 35 04 06 00 12 C2 CF 88 AF F8 2B 3E 69 8E 28 2E 63 EB [11:20:33]CheckFolder [11:20:33]dirname=/storage/ofd_packets [11:20:33]CheckFolder done [11:20:33]ProducePacketName [11:20:33]name=ofd_packets/00037092 [11:20:33]NVStorageSaveData ofd_packets/00037092 [11:20:33]File name is /storage/ofd_packets/00037092 [11:20:33]Write 332 bytes [11:20:33]NVStorageSaveData done [11:20:33]OFDSenderStorePacket done [11:20:33]KKMCreateOFDPacket done [11:20:33]NVStorageSaveData kkm_last_timestamp [11:20:33]File name is /storage/kkm_last_timestamp [11:20:33]Write 4 bytes [11:20:33]NVStorageSaveData done [11:20:33]ExternCall_PrintAddStr [11:20:33]wPrintStart [11:20:33]Write to MH i2c: 01 00 00 D0 01 D1 [11:20:33]Write i2c OK [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: 01 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: 01 07 00 [11:20:33]MH_I2C_Read... [11:20:33]Read from MH i2c: 01 07 00 D0 01 00 00 00 00 00 FF 0F E6 [11:20:33]RasterBufferAndPrint [11:20:33]line Счет N : (3)76591 [11:20:33]line ИНН: 02508201610067 [11:20:33]line Контрольно-Кассовый Чек [11:20:33]line ПРОДАЖА [11:20:33]line Товар: 2000036220012 [11:20:33]line Кофе Капучино XL(GABB TRADE) [11:20:33]line 1.000 * 130.00 [11:20:33]line = 130.00 [11:20:33]line НДС 12% НСП 1% [11:20:33]line > о реализуемом товаре [11:20:33]line ИТОГО: 130.00 [11:20:33]line НСП 1% : 1.15 [11:20:33]line НДС 12% : 13.80 [11:20:33]line Наличными: 130.00 [11:20:33]line Безнал.: 0.00 [11:20:33]line Место: АЗС № 165 "Партнер Нефть" [11:20:33]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [11:20:33]line СНО: Общий режим [11:20:33]line Чек 28 19.10.2024 11:20 [11:20:33]line Смена: 460 ФФД: 1.0 [11:20:33]line ЗНМ: 0300000235 [11:20:33]line РНМ: 0000000000098149 [11:20:33]line Версия ККМ: 001 [11:20:33]line ФМ: 0000000000965372 [11:20:33]line ФД: 37092 [11:20:33]line ФПД: 20627914797048 [11:20:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112032&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37092&fm=20627914797048&tin=02508201610067®Number=0000000000098149&sum=13000 [11:20:33]line 0 [11:20:33]OFD Sender: Processing packet 37092 [packets to send 25, broken 24] [11:20:33]ProducePacketName [11:20:33]name=ofd_packets/00037092 [11:20:33]OFD Sender: To server: pG, [11:20:33]CommunicateWithHost lk.salyk.kg:30040 [11:20:33]ConnectInit lk.salyk.kg [11:20:33]written 0, free lines is 4095 [11:20:33]Connected sock=11 [11:20: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 33 37 32 2E 01 00 00 45 0B 26 01 13 62 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 1C 00 00 00 F4 03 04 00 00 96 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E4 90 00 00 35 04 06 00 12 C2 CF 88 AF F8 2B 3E 69 8E 28 2E 63 EB [11:20:34]Write to MH i2c: 01 00 00 F9 01 FA [11:20:34]Write i2c OK [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: 01 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: 01 07 00 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: 01 07 00 F9 01 00 00 00 00 00 F5 0C 02 [11:20:34]RasterBufferAndPrint [11:20:34]line [11:20:34]line [11:20:34]line [11:20:34]line [11:20:34]line [11:20:34]written 0, free lines is 3324 [11:20:34]process_action close_receipt done [11:20:34]requested_data is exist [11:20:34]produce_requested_data [11:20:34]requested_item fm.sn is exist - process it [11:20:34]wFMCommunicate request_size=4 [11:20:34]MH_SAM_APDU [11:20:34]CAPDU: 80 11 00 00 [11:20:34]Write to MH i2c: E2 08 00 00 02 80 11 00 00 00 00 00 00 7C [11:20:34]Write i2c OK [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 [11:20:34]MH_I2C_Read... [11:20:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:20:34]Read from MH i2c: E2 17 00 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 17 00 00 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CF [11:20:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:20:34]wFMCommunicate OK [11:20:34]requested_item fd.num is exist - process it [11:20:34]SAM_PROTO_GetFieldsCounters [11:20:34]wFMCommunicate request_size=4 [11:20:34]MH_SAM_APDU [11:20:34]CAPDU: 80 13 00 00 [11:20:34]Write to MH i2c: E2 08 00 01 02 80 13 00 00 00 00 00 00 7F [11:20:34]Write i2c OK [11:20:34]MH_I2C_Read... [11:20:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:20:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F8 0D 47 00 E1 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E4 90 00 00 F4 03 04 00 96 3E 13 67 B6 04 01 00 00 8C F4 9D 6C 93 7C BE 7D [11:20:34]CommunicateWithHost err = 0 [11:20:34]CheckOFDResponse [11:20:34]1017 (14) - 77093643461234 [11:20:34]1041 (16) - 0000000000965372 [11:20:34]1040 (4) - 37092 [11:20:34]1012 (4) - 19.10.2024 05:07 [11:20:34]1206 (1) - 0 [11:20:34]OFD Sender: Remove packet 37092 [11:20:34]ProducePacketName [11:20:34]name=ofd_packets/00037092 [11:20:34]NVStorageDeleteData [11:20:34]Read from MH i2c: E2 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 62 00 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 62 00 01 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E4 90 00 00 0E 04 04 00 CC 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 3B [11:20: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E4 90 00 00 0E 04 04 00 CC 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 [11:20:34]wFMCommunicate OK [11:20:34]SAM_PROTO_GetFieldsCounters done [11:20:34]requested_item shift.num is exist - process it [11:20:34]requested_item shift.opened is exist - process it [11:20:34]req_shift_opened [11:20:34]FM_GetShiftState [11:20:34]SAM_PROTO_GetShiftState [11:20:34]wFMCommunicate request_size=4 [11:20:34]MH_SAM_APDU [11:20:34]CAPDU: 80 13 01 00 [11:20:34]Write to MH i2c: E2 08 00 02 02 80 13 01 00 00 00 00 00 81 [11:20:34]Write i2c OK [11:20:34]MH_I2C_Read... [11:20:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:20:34]Read from MH i2c: E2 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 0E 00 [11:20:34]MH_I2C_Read... [11:20:34]Read from MH i2c: E2 0E 00 02 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 9B [11:20:34]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:20:34]wFMCommunicate OK [11:20:34]SAM_PROTO_GetShiftState done [11:20:34]FM_GetShiftState done [11:20:34]req_shift_opened done [11:20:34]requested_item shift.open_date is exist - process it [11:20:34]req_shift_open_date [11:20:34]req_shift_open_date done [11:20:34]produce_requested_data done [11:20:34]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37092,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [11:20:34]process_action_free close_receipt [11:20:34]json_value_free [11:20:34]json_value_free done [11:20:34]process_json_proto returns [11:20:34]Send response to host [11:20:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37092,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [11:20:34]free response buf [11:20:34]execute_script done [11:20:34]execute_script returns [11:20:34]free content buf [11:20:34]Sock 9.Close socket [11:20:34]Sock 9.Thread stoped [11:20:34]OFD Sender: No OFD packet to send [11:20:35]recv_with_timeout no data received [11:20:39]OFD Sender: No OFD packet to send [11:20:42]int [11:20:42]Write to MH i2c: 01 00 00 03 02 05 [11:20:42]*** FLAG_PRN_KEY set [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 07 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 07 00 03 02 00 08 00 00 00 FF 0F 22 [11:20:42]state=0 [11:20:42]Key pressed [11:20:42]Feed [11:20:42]Write to MH i2c: D8 00 00 04 02 DD [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: D8 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: D8 01 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: D8 01 00 04 02 00 DE [11:20:42]int [11:20:42]Write to MH i2c: 01 00 00 05 02 07 [11:20:42]Write i2c OK [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 07 00 [11:20:42]MH_I2C_Read... [11:20:42]Read from MH i2c: 01 07 00 05 02 00 48 00 00 00 3D 00 93 [11:20:42]state=2 [11:20:42]Key pressed [11:20:43]int [11:20:43]Write to MH i2c: 01 00 00 06 02 08 [11:20:43]*** FLAG_PRN_KEY reset [11:20:43]Write i2c OK [11:20:43]MH_I2C_Read... [11:20:43]Read from MH i2c: 01 [11:20:43]MH_I2C_Read... [11:20:43]Read from MH i2c: 01 07 00 [11:20:43]MH_I2C_Read... [11:20:43]Read from MH i2c: 01 07 00 06 02 00 00 00 00 00 FF 0F 1D [11:20:43]state=2 [11:20:43]Stop feed [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23: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:29]accept exits with 10 [11:25:29]New connection [11:25:29]New thread 3066699108 created [11:25:29]Thread 3066555748 joined [11:25:29]Waiting for new connection... [11:25:29] Sock 10.Parse request [11:25:29]Sock 10.Check first char [11:25:29]Sock 10.First char is OK [11:25:29]request: POST /json_proto HTTP/1.0 [11:25:29]Method: POST [11:25:29]URL: /json_proto [11:25:29]Method is POST - this is cgi request [11:25:29]url: /json_proto [11:25:29]query_string will be loaded in cgi processing [11:25:29]execute_cgi json_proto POST (null) [11:25:29]execute_cgi path=json_proto method=POST [11:25:29]POST find Content-Length [11:25:29]Host: 172.17.53.68:8080 [11:25:29]Content-Length: 675 [11:25:29]Content-Type: application/json [11:25:29] [11:25:29]POST finish read [11:25:29]Found Content-Length = 675 [11:25:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76592", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "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" ] } } [11:25:29]execute_script... [11:25: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)76592", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "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" ] } } [11:25:29]POST & json_proto [11:25:29]process_json_proto [11:25:29]json parsed OK: [11:25:29]protocol is kg_v1.0 [11:25:29]action value=close_receipt [11:25:29]process_action close_receipt [11:25:29]cmd_close_receipt [11:25:29]MH_GetDate [11:25:29]Write to MH i2c: F0 00 00 07 02 F8 [11:25:29]Write i2c OK [11:25:29]MH_I2C_Read... [11:25:29]Read from MH i2c: F0 [11:25:29]MH_I2C_Read... [11:25:29]Read from MH i2c: F0 09 00 [11:25:29]MH_I2C_Read... [11:25:29]Read from MH i2c: F0 09 00 07 02 00 2A 97 13 67 C5 A4 76 66 81 [11:25:29]GetLastDocTimeStamp 1729336832 [11:25:29]current date 1729337130 [11:25:29]FM_GetShiftState [11:25:29]SAM_PROTO_GetShiftState [11:25:29]wFMCommunicate request_size=4 [11:25:29]MH_SAM_APDU [11:25:29]CAPDU: 80 13 01 00 [11:25:29]Write to MH i2c: E2 08 00 08 02 80 13 01 00 00 00 00 00 87 [11:25:29]Write i2c OK [11:25:29]MH_I2C_Read... [11:25:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:29]Read from MH i2c: E2 [11:25:29]MH_I2C_Read... [11:25:29]Read from MH i2c: E2 0E 00 [11:25:29]MH_I2C_Read... [11:25:29]Read from MH i2c: E2 0E 00 08 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A1 [11:25:29]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:25:29]wFMCommunicate OK [11:25:29]SAM_PROTO_GetShiftState done [11:25:29]FM_GetShiftState done [11:25:29]opened in 1729296796 [11:25:29]opened+sec_in_day 1729383196 [11:25:29]quantity*price = 11000 [11:25:29]sum+1 = 11001 [11:25:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 29 19.10.2024 11:25 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37093 ФПД: 237429558144190 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112530&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37093&fm=237429558144190&tin=02508201610067®Number=0000000000098149&sum=11000 0 [11:25:30]StoreToDocumentArchive [11:25:30]shift 460 fd 37093 [11:25:30]save to /storage/0460/doc_00037093 [11:25:30]save last doc name /storage/0460/doc_00037093 to /storage/kkm_last_doc_name [11:25:30]save OK [11:25:30]Clear old archive folders... [11:25:30]ProcessDocumentItem done err = 0, tmpTLVsize=284 [11:25:30]tlvbuf is 0097B7E0 [11:25:30]SAM_PROTO_ClearQueue [11:25:30]wFMCommunicate request_size=4 [11:25:30]MH_SAM_APDU [11:25:30]CAPDU: 80 09 00 00 [11:25:30]Write to MH i2c: E2 08 00 15 02 80 09 00 00 00 00 00 00 89 [11:25:30]Write i2c OK [11:25:30]MH_I2C_Read... [11:25:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:30]Read from MH i2c: E2 [11:25:30]MH_I2C_Read... [11:25:30]Read from MH i2c: E2 03 00 [11:25:30]MH_I2C_Read... [11:25:30]Read from MH i2c: E2 03 00 15 02 00 90 00 8B [11:25:30]RAPDU: 90 00 [11:25:30]wFMCommunicate OK [11:25:30]SAM_PROTO_ClearQueue done [11:25:30]KKMCreateOFDPacket [11:25:30]OFDProtocolAddRootSTLVToBuf [11:25:30]FM_MakeSignedData [11:25:30]FM_MakeSignedData [11:25:30]SAM_PROTO_SignData [11:25:30]wFMCommunicate request_size=4 [11:25:30]MH_SAM_APDU [11:25:30]CAPDU: 80 0D 01 02 [11:25:30]Write to MH i2c: E2 08 00 16 02 80 0D 01 02 00 00 00 00 91 [11:25:30]Write i2c OK [11:25:30]MH_I2C_Read... [11:25:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:30]Read from MH i2c: E2 [11:25:30]MH_I2C_Read... [11:25:30]Read from MH i2c: E2 03 00 [11:25:30]MH_I2C_Read... [11:25:30]Read from MH i2c: E2 03 00 16 02 00 90 00 8C [11:25:30]RAPDU: 90 00 [11:25:30]wFMCommunicate OK [11:25:30]wFMCommunicate request_size=255 [11:25:30]MH_SAM_APDU [11:25:30]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1D 00 00 00 F4 03 04 00 2A 97 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [11:25:30]Write to MH i2c: E2 02 01 17 02 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1D 00 00 00 F4 03 04 00 2A 97 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 C3 [11:25:30]Write i2c OK [11:25:30]MH_I2C_Read... [11:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:31]Read from MH i2c: E2 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 03 00 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 03 00 17 02 00 90 00 8D [11:25:31]RAPDU: 90 00 [11:25:31]wFMCommunicate OK [11:25:31]wFMCommunicate request_size=43 [11:25:31]MH_SAM_APDU [11:25:31]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E5 90 00 00 35 04 06 00 D7 F0 E0 78 EC BE [11:25:31]Write to MH i2c: E2 2E 00 18 02 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E5 90 00 00 35 04 06 00 D7 F0 E0 78 EC BE 00 00 BA [11:25:31]Write i2c OK [11:25:31]MH_I2C_Read... [11:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:31]Read from MH i2c: E2 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 03 00 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 03 00 18 02 00 90 00 8E [11:25:31]RAPDU: 90 00 [11:25:31]wFMCommunicate OK [11:25:31]wFMCommunicate request_size=4 [11:25:31]MH_SAM_APDU [11:25:31]CAPDU: 80 0D 03 02 [11:25:31]Write to MH i2c: E2 08 00 19 02 80 0D 03 02 00 00 00 00 96 [11:25:31]Write i2c OK [11:25:31]MH_I2C_Read... [11:25:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:31]Read from MH i2c: E2 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 0B 00 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 0B 00 19 02 00 0C 33 76 9B B6 67 14 BC 90 00 D4 [11:25:31]RAPDU: 0C 33 76 9B B6 67 14 BC 90 00 [11:25:31]wFMCommunicate OK [11:25:31]SAM_PROTO_SignData done [11:25:31]FM_MakeSignedData done [11:25:31]CreateOFDProtocolMessage [11:25:31]wFMCommunicate request_size=4 [11:25:31]MH_SAM_APDU [11:25:31]CAPDU: 80 11 00 00 [11:25:31]Write to MH i2c: E2 08 00 1A 02 80 11 00 00 00 00 00 00 96 [11:25:31]Write i2c OK [11:25:31]MH_I2C_Read... [11:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:31]Read from MH i2c: E2 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 17 00 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: E2 17 00 1A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E9 [11:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:25:31]wFMCommunicate OK [11:25:31]CreateOFDProtocolMessage done [11:25:31]OFDSenderStorePacket 37093 [11:25:31]StoreOFDPacket docnum=37093 [11:25:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 30 01 00 00 3D AB 28 01 A1 83 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1D 00 00 00 F4 03 04 00 2A 97 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E5 90 00 00 35 04 06 00 D7 F0 E0 78 EC BE 0C 33 76 9B B6 67 14 BC [11:25:31]CheckFolder [11:25:31]dirname=/storage/ofd_packets [11:25:31]CheckFolder done [11:25:31]ProducePacketName [11:25:31]name=ofd_packets/00037093 [11:25:31]NVStorageSaveData ofd_packets/00037093 [11:25:31]File name is /storage/ofd_packets/00037093 [11:25:31]Write 334 bytes [11:25:31]NVStorageSaveData done [11:25:31]OFDSenderStorePacket done [11:25:31]KKMCreateOFDPacket done [11:25:31]NVStorageSaveData kkm_last_timestamp [11:25:31]File name is /storage/kkm_last_timestamp [11:25:31]Write 4 bytes [11:25:31]NVStorageSaveData done [11:25:31]ExternCall_PrintAddStr [11:25:31]wPrintStart [11:25:31]Write to MH i2c: 01 00 00 1B 02 1D [11:25:31]Write i2c OK [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: 01 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: 01 07 00 [11:25:31]MH_I2C_Read... [11:25:31]Read from MH i2c: 01 07 00 1B 02 00 00 00 00 00 FF 0F 32 [11:25:31]RasterBufferAndPrint [11:25:31]line Счет N : (3)76592 [11:25:31]line ИНН: 02508201610067 [11:25:31]line Контрольно-Кассовый Чек [11:25:31]line ПРОДАЖА [11:25:31]line Товар: 4700003241276 [11:25:31]line Напиток Молочный ТАН 1л [11:25:31]line 1.000 * 110.00 [11:25:31]line = 110.00 [11:25:31]line НДС 12% НСП 1% [11:25:31]line > о реализуемом товаре [11:25:31]line ИТОГО: 110.00 [11:25:31]line НСП 1% : 0.97 [11:25:31]line НДС 12% : 11.68 [11:25:31]line Наличными: 110.00 [11:25:31]line Безнал.: 0.00 [11:25:31]line Место: АЗС № 165 "Партнер Нефть" [11:25:31]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [11:25:31]line СНО: Общий режим [11:25:31]line Чек 29 19.10.2024 11:25 [11:25:31]line Смена: 460 ФФД: 1.0 [11:25:31]line ЗНМ: 0300000235 [11:25:31]line РНМ: 0000000000098149 [11:25:31]line Версия ККМ: 001 [11:25:31]line ФМ: 0000000000965372 [11:25:31]line ФД: 37093 [11:25:31]line ФПД: 237429558144190 [11:25:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T112530&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37093&fm=237429558144190&tin=02508201610067®Number=0000000000098149&sum=11000 [11:25:31]line 0 [11:25:31]OFD Sender: Processing packet 37093 [packets to send 25, broken 24] [11:25:31]ProducePacketName [11:25:31]name=ofd_packets/00037093 [11:25:31]OFD Sender: To server: pG, [11:25:31]CommunicateWithHost lk.salyk.kg:30040 [11:25:31]ConnectInit lk.salyk.kg [11:25:31]written 0, free lines is 4095 [11:25:31]Connected sock=9 [11:25: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 33 37 32 30 01 00 00 3D AB 28 01 A1 83 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1D 00 00 00 F4 03 04 00 2A 97 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E5 90 00 00 35 04 06 00 D7 F0 E0 78 EC BE 0C 33 76 9B B6 67 14 BC [11:25:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 48 E7 47 00 BE 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 E5 90 00 00 F4 03 04 00 C0 3F 13 67 B6 04 01 00 00 76 C2 99 34 B8 47 CE E9 [11:25:31]CommunicateWithHost err = 0 [11:25:31]CheckOFDResponse [11:25:31]1017 (14) - 77093643461234 [11:25:31]1041 (16) - 0000000000965372 [11:25:31]1040 (4) - 37093 [11:25:31]1012 (4) - 19.10.2024 05:12 [11:25:31]1206 (1) - 0 [11:25:31]OFD Sender: Remove packet 37093 [11:25:31]ProducePacketName [11:25:31]name=ofd_packets/00037093 [11:25:31]NVStorageDeleteData [11:25:32]Write to MH i2c: 01 00 00 43 02 45 [11:25:32]Write i2c OK [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: 01 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: 01 07 00 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: 01 07 00 43 02 00 00 00 00 00 FE 0C 56 [11:25:32]RasterBufferAndPrint [11:25:32]line [11:25:32]line [11:25:32]line [11:25:32]line [11:25:32]line [11:25:32]written 0, free lines is 3332 [11:25:32]process_action close_receipt done [11:25:32]requested_data is exist [11:25:32]produce_requested_data [11:25:32]requested_item fm.sn is exist - process it [11:25:32]wFMCommunicate request_size=4 [11:25:32]MH_SAM_APDU [11:25:32]CAPDU: 80 11 00 00 [11:25:32]Write to MH i2c: E2 08 00 4A 02 80 11 00 00 00 00 00 00 C6 [11:25:32]Write i2c OK [11:25:32]MH_I2C_Read... [11:25:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:32]Read from MH i2c: E2 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 17 00 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 17 00 4A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 19 [11:25:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [11:25:32]wFMCommunicate OK [11:25:32]requested_item fd.num is exist - process it [11:25:32]SAM_PROTO_GetFieldsCounters [11:25:32]wFMCommunicate request_size=4 [11:25:32]MH_SAM_APDU [11:25:32]CAPDU: 80 13 00 00 [11:25:32]Write to MH i2c: E2 08 00 4B 02 80 13 00 00 00 00 00 00 C9 [11:25:32]Write i2c OK [11:25:32]MH_I2C_Read... [11:25:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:25:32]Read from MH i2c: E2 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 62 00 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 62 00 4B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E5 90 00 00 0E 04 04 00 CC 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 89 [11:25: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E5 90 00 00 0E 04 04 00 CC 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 [11:25:32]wFMCommunicate OK [11:25:32]SAM_PROTO_GetFieldsCounters done [11:25:32]requested_item shift.num is exist - process it [11:25:32]requested_item shift.opened is exist - process it [11:25:32]req_shift_opened [11:25:32]FM_GetShiftState [11:25:32]SAM_PROTO_GetShiftState [11:25:32]wFMCommunicate request_size=4 [11:25:32]MH_SAM_APDU [11:25:32]CAPDU: 80 13 01 00 [11:25:32]Write to MH i2c: E2 08 00 4C 02 80 13 01 00 00 00 00 00 CB [11:25:32]Write i2c OK [11:25:32]MH_I2C_Read... [11:25:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:32]Read from MH i2c: E2 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 0E 00 [11:25:32]MH_I2C_Read... [11:25:32]Read from MH i2c: E2 0E 00 4C 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E5 [11:25:32]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [11:25:32]wFMCommunicate OK [11:25:32]SAM_PROTO_GetShiftState done [11:25:32]FM_GetShiftState done [11:25:32]req_shift_opened done [11:25:32]requested_item shift.open_date is exist - process it [11:25:32]req_shift_open_date [11:25:32]req_shift_open_date done [11:25:32]produce_requested_data done [11:25:32]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37093,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [11:25:32]process_action_free close_receipt [11:25:32]json_value_free [11:25:32]json_value_free done [11:25:32]process_json_proto returns [11:25:32]Send response to host [11:25:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37093,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [11:25:32]free response buf [11:25:32]execute_script done [11:25:32]execute_script returns [11:25:32]free content buf [11:25:32]Sock 10.Close socket [11:25:32]Sock 10.Thread stoped [11:25:32]OFD Sender: No OFD packet to send [11:25:37]OFD Sender: No OFD packet to send [11:25:42]OFD Sender: No OFD packet to send [11:25:47]OFD Sender: No OFD packet to send [11:25:52]OFD Sender: No OFD packet to send [11:25:57]OFD Sender: No OFD packet to send [11:26:02]OFD Sender: No OFD packet to send [11:26:07]OFD Sender: No OFD packet to send [11:26:12]OFD Sender: No OFD packet to send [11:26:17]OFD Sender: No OFD packet to send [11:26:22]OFD Sender: No OFD packet to send [11:26:27]OFD Sender: No OFD packet to send [11:26:32]OFD Sender: No OFD packet to send [11:26:37]OFD Sender: No OFD packet to send [11:26:42]OFD Sender: No OFD packet to send [11:26:47]OFD Sender: No OFD packet to send [11:26:52]OFD Sender: No OFD packet to send [11:26:57]OFD Sender: No OFD packet to send [11:27:02]OFD Sender: No OFD packet to send [11:27:07]OFD Sender: No OFD packet to send [11:27:12]OFD Sender: No OFD packet to send [11:27:17]OFD Sender: No OFD packet to send [11:27:22]OFD Sender: No OFD packet to send [11:27:27]OFD Sender: No OFD packet to send [11:27:32]OFD Sender: No OFD packet to send [11:27:37]OFD Sender: No OFD packet to send [11:27:42]OFD Sender: No OFD packet to send [11:27:47]OFD Sender: No OFD packet to send [11:27:52]OFD Sender: No OFD packet to send [11:27:57]OFD Sender: No OFD packet to send [11:28:02]OFD Sender: No OFD packet to send [11:28:07]OFD Sender: No OFD packet to send [11:28:12]OFD Sender: No OFD packet to send [11:28:17]OFD Sender: No OFD packet to send [11:28:22]OFD Sender: No OFD packet to send [11:28:27]OFD Sender: No OFD packet to send [11:28:32]OFD Sender: No OFD packet to send [11:28:37]OFD Sender: No OFD packet to send [11:28:42]OFD Sender: No OFD packet to send [11:28:47]OFD Sender: No OFD packet to send [11:28:52]OFD Sender: No OFD packet to send [11:28:57]OFD Sender: No OFD packet to send [11:29:02]OFD Sender: No OFD packet to send [11:29:07]OFD Sender: No OFD packet to send [11:29:12]OFD Sender: No OFD packet to send [11:29:17]OFD Sender: No OFD packet to send [11:29:22]OFD Sender: No OFD packet to send [11:29:27]OFD Sender: No OFD packet to send [11:29:32]OFD Sender: No OFD packet to send [11:29:37]OFD Sender: No OFD packet to send [11:29:42]OFD Sender: No OFD packet to send [11:29:47]OFD Sender: No OFD packet to send [11:29:52]OFD Sender: No OFD packet to send [11:29:57]OFD Sender: No OFD packet to send [11:30:02]OFD Sender: No OFD packet to send [11:30:07]OFD Sender: No OFD packet to send [11:30:12]OFD Sender: No OFD packet to send [11:30:17]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:03]OFD Sender: No OFD packet to send [11:36:08]OFD Sender: No OFD packet to send [11:36:13]OFD Sender: No OFD packet to send [11:36:18]OFD Sender: No OFD packet to send [11:36:23]OFD Sender: No OFD packet to send [11:36:28]OFD Sender: No OFD packet to send [11:36:33]OFD Sender: No OFD packet to send [11:36:38]OFD Sender: No OFD packet to send [11:36:43]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:33]OFD Sender: No OFD packet to send [11:38:38]OFD Sender: No OFD packet to send [11:38:43]OFD Sender: No OFD packet to send [11:38:48]OFD Sender: No OFD packet to send [11:38:53]OFD Sender: No OFD packet to send [11:38:58]OFD Sender: No OFD packet to send [11:39:03]OFD Sender: No OFD packet to send [11:39:08]OFD Sender: No OFD packet to send [11:39:13]OFD Sender: No OFD packet to send [11:39:18]OFD Sender: No OFD packet to send [11:39:23]OFD Sender: No OFD packet to send [11:39:28]OFD Sender: No OFD packet to send [11:39:33]OFD Sender: No OFD packet to send [11:39:38]OFD Sender: No OFD packet to send [11:39:43]OFD Sender: No OFD packet to send [11:39:48]OFD Sender: No OFD packet to send [11:39:53]OFD Sender: No OFD packet to send [11:39:58]OFD Sender: No OFD packet to send [11:40:03]OFD Sender: No OFD packet to send [11:40:08]OFD Sender: No OFD packet to send [11:40:13]OFD Sender: No OFD packet to send [11:40:18]OFD Sender: No OFD packet to send [11:40:23]OFD Sender: No OFD packet to send [11:40:28]OFD Sender: No OFD packet to send [11:40:33]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:23]OFD Sender: No OFD packet to send [11:45:28]OFD Sender: No OFD packet to send [11:45:33]OFD Sender: No OFD packet to send [11:45:38]OFD Sender: No OFD packet to send [11:45:43]OFD Sender: No OFD packet to send [11:45:48]OFD Sender: No OFD packet to send [11:45:53]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:11]accept exits with 7 [12:00:11]New connection [12:00:11]New thread 3066555748 created [12:00:11]Thread 3066699108 joined [12:00:11]Waiting for new connection... [12:00:11] Sock 7.Parse request [12:00:11]Sock 7.Check first char [12:00:11]Sock 7.First char is OK [12:00:11]request: POST /json_proto HTTP/1.0 [12:00:11]Method: POST [12:00:11]URL: /json_proto [12:00:11]Method is POST - this is cgi request [12:00:11]url: /json_proto [12:00:11]query_string will be loaded in cgi processing [12:00:11]execute_cgi json_proto POST (null) [12:00:11]execute_cgi path=json_proto method=POST [12:00:11]POST find Content-Length [12:00:11]Host: 172.17.53.68:8080 [12:00:11]Content-Length: 673 [12:00:11]Content-Type: application/json [12:00:11] [12:00:11]POST finish read [12:00:11]Found Content-Length = 673 [12:00:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76593", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:11]execute_script... [12:00:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76593", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:00:11]POST & json_proto [12:00:11]process_json_proto [12:00:11]json parsed OK: [12:00:11]protocol is kg_v1.0 [12:00:11]action value=close_receipt [12:00:11]process_action close_receipt [12:00:11]cmd_close_receipt [12:00:11]MH_GetDate [12:00:11]Write to MH i2c: F0 00 00 4D 02 3E [12:00:11]Write i2c OK [12:00:11]MH_I2C_Read... [12:00:11]Read from MH i2c: F0 [12:00:11]MH_I2C_Read... [12:00:11]Read from MH i2c: F0 09 00 [12:00:11]MH_I2C_Read... [12:00:11]Read from MH i2c: F0 09 00 4D 02 00 4C 9F 13 67 C5 A4 76 66 F1 [12:00:11]GetLastDocTimeStamp 1729337130 [12:00:11]current date 1729339212 [12:00:11]FM_GetShiftState [12:00:11]SAM_PROTO_GetShiftState [12:00:11]wFMCommunicate request_size=4 [12:00:11]MH_SAM_APDU [12:00:11]CAPDU: 80 13 01 00 [12:00:11]Write to MH i2c: E2 08 00 4E 02 80 13 01 00 00 00 00 00 CD [12:00:11]Write i2c OK [12:00:11]MH_I2C_Read... [12:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:11]Read from MH i2c: E2 [12:00:11]MH_I2C_Read... [12:00:11]Read from MH i2c: E2 0E 00 [12:00:11]MH_I2C_Read... [12:00:11]Read from MH i2c: E2 0E 00 4E 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E7 [12:00:11]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:00:11]wFMCommunicate OK [12:00:11]SAM_PROTO_GetShiftState done [12:00:11]FM_GetShiftState done [12:00:11]opened in 1729296796 [12:00:11]opened+sec_in_day 1729383196 [12:00:11]quantity*price = 7500 [12:00:11]sum+1 = 7501 [12:00:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 30 19.10.2024 12:00 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37094 ФПД: 156991271420611 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T120012&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37094&fm=156991271420611&tin=02508201610067®Number=0000000000098149&sum=7500 0 [12:00:12]StoreToDocumentArchive [12:00:12]shift 460 fd 37094 [12:00:12]save to /storage/0460/doc_00037094 [12:00:12]save last doc name /storage/0460/doc_00037094 to /storage/kkm_last_doc_name [12:00:12]save OK [12:00:12]Clear old archive folders... [12:00:12]ProcessDocumentItem done err = 0, tmpTLVsize=289 [12:00:12]tlvbuf is 009734C0 [12:00:12]SAM_PROTO_ClearQueue [12:00:12]wFMCommunicate request_size=4 [12:00:12]MH_SAM_APDU [12:00:12]CAPDU: 80 09 00 00 [12:00:12]Write to MH i2c: E2 08 00 5B 02 80 09 00 00 00 00 00 00 CF [12:00:12]Write i2c OK [12:00:12]MH_I2C_Read... [12:00:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:00:12]Read from MH i2c: E2 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 5B 02 00 90 00 D1 [12:00:12]RAPDU: 90 00 [12:00:12]wFMCommunicate OK [12:00:12]SAM_PROTO_ClearQueue done [12:00:12]KKMCreateOFDPacket [12:00:12]OFDProtocolAddRootSTLVToBuf [12:00:12]FM_MakeSignedData [12:00:12]FM_MakeSignedData [12:00:12]SAM_PROTO_SignData [12:00:12]wFMCommunicate request_size=4 [12:00:12]MH_SAM_APDU [12:00:12]CAPDU: 80 0D 01 02 [12:00:12]Write to MH i2c: E2 08 00 5C 02 80 0D 01 02 00 00 00 00 D7 [12:00:12]Write i2c OK [12:00:12]MH_I2C_Read... [12:00:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:00:12]Read from MH i2c: E2 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 5C 02 00 90 00 D2 [12:00:12]RAPDU: 90 00 [12:00:12]wFMCommunicate OK [12:00:12]wFMCommunicate request_size=255 [12:00:12]MH_SAM_APDU [12:00:12]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 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 4C 9F 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [12:00:12]Write to MH i2c: E2 02 01 5D 02 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 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 4C 9F 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 8E [12:00:12]Write i2c OK [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 [12:00:12]MH_I2C_Read... [12:00:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:12]Read from MH i2c: E2 03 00 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 5D 02 00 90 00 D3 [12:00:12]RAPDU: 90 00 [12:00:12]wFMCommunicate OK [12:00:12]wFMCommunicate request_size=48 [12:00:12]MH_SAM_APDU [12:00:12]CAPDU: 80 0D 02 02 2B 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E6 90 00 00 35 04 06 00 8E C8 60 F7 42 C3 [12:00:12]Write to MH i2c: E2 33 00 5E 02 80 0D 02 02 2B 00 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E6 90 00 00 35 04 06 00 8E C8 60 F7 42 C3 00 00 03 [12:00:12]Write i2c OK [12:00:12]MH_I2C_Read... [12:00:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:00:12]Read from MH i2c: E2 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 [12:00:12]MH_I2C_Read... [12:00:12]Read from MH i2c: E2 03 00 5E 02 00 90 00 D4 [12:00:12]RAPDU: 90 00 [12:00:12]wFMCommunicate OK [12:00:12]wFMCommunicate request_size=4 [12:00:12]MH_SAM_APDU [12:00:12]CAPDU: 80 0D 03 02 [12:00:12]Write to MH i2c: E2 08 00 5F 02 80 0D 03 02 00 00 00 00 DC [12:00:12]Write i2c OK [12:00:12]MH_I2C_Read... [12:00:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:00:13]Read from MH i2c: E2 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 0B 00 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 0B 00 5F 02 00 0E 92 D2 CE 14 A4 09 CF 90 00 AD [12:00:13]RAPDU: 0E 92 D2 CE 14 A4 09 CF 90 00 [12:00:13]wFMCommunicate OK [12:00:13]SAM_PROTO_SignData done [12:00:13]FM_MakeSignedData done [12:00:13]CreateOFDProtocolMessage [12:00:13]wFMCommunicate request_size=4 [12:00:13]MH_SAM_APDU [12:00:13]CAPDU: 80 11 00 00 [12:00:13]Write to MH i2c: E2 08 00 60 02 80 11 00 00 00 00 00 00 DC [12:00:13]Write i2c OK [12:00:13]MH_I2C_Read... [12:00:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:13]Read from MH i2c: E2 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 17 00 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 17 00 60 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2F [12:00:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:00:13]wFMCommunicate OK [12:00:13]CreateOFDProtocolMessage done [12:00:13]OFDSenderStorePacket 37094 [12:00:13]StoreOFDPacket docnum=37094 [12:00:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 01 00 00 8F AE 2D 01 DF 4A 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 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 4C 9F 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E6 90 00 00 35 04 06 00 8E C8 60 F7 42 C3 0E 92 D2 CE 14 A4 09 CF [12:00:13]CheckFolder [12:00:13]dirname=/storage/ofd_packets [12:00:13]CheckFolder done [12:00:13]ProducePacketName [12:00:13]name=ofd_packets/00037094 [12:00:13]NVStorageSaveData ofd_packets/00037094 [12:00:13]File name is /storage/ofd_packets/00037094 [12:00:13]Write 339 bytes [12:00:13]NVStorageSaveData done [12:00:13]OFDSenderStorePacket done [12:00:13]KKMCreateOFDPacket done [12:00:13]NVStorageSaveData kkm_last_timestamp [12:00:13]File name is /storage/kkm_last_timestamp [12:00:13]Write 4 bytes [12:00:13]NVStorageSaveData done [12:00:13]ExternCall_PrintAddStr [12:00:13]wPrintStart [12:00:13]Write to MH i2c: 01 00 00 61 02 63 [12:00:13]Write i2c OK [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 07 00 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 07 00 61 02 00 00 00 00 00 FF 0F 78 [12:00:13]RasterBufferAndPrint [12:00:13]line Счет N : (3)76593 [12:00:13]line ИНН: 02508201610067 [12:00:13]line Контрольно-Кассовый Чек [12:00:13]line ПРОДАЖА [12:00:13]line Товар: 5449000189325 [12:00:13]line Холодный чай Fuse персик 0,5л [12:00:13]line 1.000 * 75.00 [12:00:13]line = 75.00 [12:00:13]line НДС 12% НСП 1% [12:00:13]line > о реализуемом товаре [12:00:13]line ИТОГО: 75.00 [12:00:13]line НСП 1% : 0.66 [12:00:13]line НДС 12% : 7.96 [12:00:13]line Наличными: 75.00 [12:00:13]line Безнал.: 0.00 [12:00:13]line Место: АЗС № 165 "Партнер Нефть" [12:00:13]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [12:00:13]line СНО: Общий режим [12:00:13]line Чек 30 19.10.2024 12:00 [12:00:13]line Смена: 460 ФФД: 1.0 [12:00:13]line ЗНМ: 0300000235 [12:00:13]line РНМ: 0000000000098149 [12:00:13]line Версия ККМ: 001 [12:00:13]line ФМ: 0000000000965372 [12:00:13]line ФД: 37094 [12:00:13]line ФПД: 156991271420611 [12:00:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T120012&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37094&fm=156991271420611&tin=02508201610067®Number=0000000000098149&sum=7500 [12:00:13]line 0 [12:00:13]OFD Sender: Processing packet 37094 [packets to send 25, broken 24] [12:00:13]ProducePacketName [12:00:13]name=ofd_packets/00037094 [12:00:13]OFD Sender: To server: pG, [12:00:13]CommunicateWithHost lk.salyk.kg:30040 [12:00:13]ConnectInit lk.salyk.kg [12:00:13]written 0, free lines is 4095 [12:00:13]Connected sock=10 [12:00: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 33 37 32 35 01 00 00 8F AE 2D 01 DF 4A 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 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 4C 9F 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E6 90 00 00 35 04 06 00 8E C8 60 F7 42 C3 0E 92 D2 CE 14 A4 09 CF [12:00:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 1C 76 47 00 85 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 33 37 32 10 04 04 00 E6 90 00 00 F4 03 04 00 E2 47 13 67 B6 04 01 00 00 C1 7E 69 FB 69 EC A4 2B [12:00:13]CommunicateWithHost err = 0 [12:00:13]CheckOFDResponse [12:00:13]1017 (14) - 77093643461234 [12:00:13]1041 (16) - 0000000000965372 [12:00:13]1040 (4) - 37094 [12:00:13]1012 (4) - 19.10.2024 05:47 [12:00:13]1206 (1) - 0 [12:00:13]OFD Sender: Remove packet 37094 [12:00:13]ProducePacketName [12:00:13]name=ofd_packets/00037094 [12:00:13]NVStorageDeleteData [12:00:13]Write to MH i2c: 01 00 00 8A 02 8C [12:00:13]Write i2c OK [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 07 00 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: 01 07 00 8A 02 00 00 00 00 00 D1 0C 70 [12:00:13]RasterBufferAndPrint [12:00:13]line [12:00:13]line [12:00:13]line [12:00:13]line [12:00:13]line [12:00:13]written 0, free lines is 3287 [12:00:13]process_action close_receipt done [12:00:13]requested_data is exist [12:00:13]produce_requested_data [12:00:13]requested_item fm.sn is exist - process it [12:00:13]wFMCommunicate request_size=4 [12:00:13]MH_SAM_APDU [12:00:13]CAPDU: 80 11 00 00 [12:00:13]Write to MH i2c: E2 08 00 91 02 80 11 00 00 00 00 00 00 0D [12:00:13]Write i2c OK [12:00:13]MH_I2C_Read... [12:00:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:00:13]Read from MH i2c: E2 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 17 00 [12:00:13]MH_I2C_Read... [12:00:13]Read from MH i2c: E2 17 00 91 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 60 [12:00:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:00:13]wFMCommunicate OK [12:00:13]requested_item fd.num is exist - process it [12:00:13]SAM_PROTO_GetFieldsCounters [12:00:13]wFMCommunicate request_size=4 [12:00:13]MH_SAM_APDU [12:00:13]CAPDU: 80 13 00 00 [12:00:13]Write to MH i2c: E2 08 00 92 02 80 13 00 00 00 00 00 00 10 [12:00:13]Write i2c OK [12:00:13]MH_I2C_Read... [12:00:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:00:14]Read from MH i2c: E2 [12:00:14]MH_I2C_Read... [12:00:14]Read from MH i2c: E2 62 00 [12:00:14]MH_I2C_Read... [12:00:14]Read from MH i2c: E2 62 00 92 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E6 90 00 00 0E 04 04 00 CC 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 D4 [12:00: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E6 90 00 00 0E 04 04 00 CC 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 [12:00:14]wFMCommunicate OK [12:00:14]SAM_PROTO_GetFieldsCounters done [12:00:14]requested_item shift.num is exist - process it [12:00:14]requested_item shift.opened is exist - process it [12:00:14]req_shift_opened [12:00:14]FM_GetShiftState [12:00:14]SAM_PROTO_GetShiftState [12:00:14]wFMCommunicate request_size=4 [12:00:14]MH_SAM_APDU [12:00:14]CAPDU: 80 13 01 00 [12:00:14]Write to MH i2c: E2 08 00 93 02 80 13 01 00 00 00 00 00 12 [12:00:14]Write i2c OK [12:00:14]MH_I2C_Read... [12:00:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:00:14]Read from MH i2c: E2 [12:00:14]MH_I2C_Read... [12:00:14]Read from MH i2c: E2 0E 00 [12:00:14]MH_I2C_Read... [12:00:14]Read from MH i2c: E2 0E 00 93 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2C [12:00:14]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:00:14]wFMCommunicate OK [12:00:14]SAM_PROTO_GetShiftState done [12:00:14]FM_GetShiftState done [12:00:14]req_shift_opened done [12:00:14]requested_item shift.open_date is exist - process it [12:00:14]req_shift_open_date [12:00:14]req_shift_open_date done [12:00:14]produce_requested_data done [12:00:14]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37094,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [12:00:14]process_action_free close_receipt [12:00:14]json_value_free [12:00:14]json_value_free done [12:00:14]process_json_proto returns [12:00:14]Send response to host [12:00:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37094,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [12:00:14]free response buf [12:00:14]execute_script done [12:00:14]execute_script returns [12:00:14]free content buf [12:00:14]Sock 7.Close socket [12:00:14]Sock 7.Thread stoped [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]accept exits with 9 [12:09:04]New connection [12:09:04]New thread 3066699108 created [12:09:04]Thread 3066555748 joined [12:09:04]Waiting for new connection... [12:09:04] Sock 9.Parse request [12:09:04]Sock 9.Check first char [12:09:04]Sock 9.First char is OK [12:09:04]request: POST /json_proto HTTP/1.0 [12:09:04]Method: POST [12:09:04]URL: /json_proto [12:09:04]Method is POST - this is cgi request [12:09:04]url: /json_proto [12:09:04]query_string will be loaded in cgi processing [12:09:04]execute_cgi json_proto POST (null) [12:09:04]execute_cgi path=json_proto method=POST [12:09:04]POST find Content-Length [12:09:04]Host: 172.17.53.68:8080 [12:09:04]Content-Length: 873 [12:09:04]Content-Type: application/json [12:09:04] [12:09:04]POST finish read [12:09:04]Found Content-Length = 873 [12:09:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76594", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 164.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:04]execute_script... [12:09:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76594", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 164.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:04]POST & json_proto [12:09:04]process_json_proto [12:09:04]json parsed OK: [12:09:04]protocol is kg_v1.0 [12:09:04]action value=close_receipt [12:09:04]process_action close_receipt [12:09:04]cmd_close_receipt [12:09:04]MH_GetDate [12:09:04]Write to MH i2c: F0 00 00 94 02 85 [12:09:04]Write i2c OK [12:09:04]MH_I2C_Read... [12:09:04]Read from MH i2c: F0 [12:09:04]MH_I2C_Read... [12:09:04]Read from MH i2c: F0 09 00 [12:09:04]MH_I2C_Read... [12:09:04]Read from MH i2c: F0 09 00 94 02 00 61 A1 13 67 C5 A4 76 66 4F [12:09:04]GetLastDocTimeStamp 1729339212 [12:09:04]current date 1729339745 [12:09:04]FM_GetShiftState [12:09:04]SAM_PROTO_GetShiftState [12:09:04]wFMCommunicate request_size=4 [12:09:04]MH_SAM_APDU [12:09:04]CAPDU: 80 13 01 00 [12:09:04]Write to MH i2c: E2 08 00 95 02 80 13 01 00 00 00 00 00 14 [12:09:04]Write i2c OK [12:09:04]MH_I2C_Read... [12:09:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:04]Read from MH i2c: E2 [12:09:04]MH_I2C_Read... [12:09:04]Read from MH i2c: E2 0E 00 [12:09:04]MH_I2C_Read... [12:09:04]Read from MH i2c: E2 0E 00 95 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2E [12:09:04]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:09:04]wFMCommunicate OK [12:09:04]SAM_PROTO_GetShiftState done [12:09:04]FM_GetShiftState done [12:09:04]opened in 1729296796 [12:09:04]opened+sec_in_day 1729383196 [12:09:04]quantity*price = 15400 [12:09:04]sum+1 = 15401 [12:09:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231512 Mentos ПФ Виноград 6*100*2г 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 164.00 НСП 1% : 1.45 НДС 12% : 17.41 Наличными: 164.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 31 19.10.2024 12:09 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37095 ФПД: 247998374259994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T120906&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37095&fm=247998374259994&tin=02508201610067®Number=0000000000098149&sum=16400 0 [12:09:05]StoreToDocumentArchive [12:09:05]shift 460 fd 37095 [12:09:05]save to /storage/0460/doc_00037095 [12:09:05]save last doc name /storage/0460/doc_00037095 to /storage/kkm_last_doc_name [12:09:05]save OK [12:09:05]Clear old archive folders... [12:09:05]ProcessDocumentItem done err = 0, tmpTLVsize=382 [12:09:05]tlvbuf is 00978DB0 [12:09:05]SAM_PROTO_ClearQueue [12:09:05]wFMCommunicate request_size=4 [12:09:05]MH_SAM_APDU [12:09:05]CAPDU: 80 09 00 00 [12:09:05]Write to MH i2c: E2 08 00 A2 02 80 09 00 00 00 00 00 00 16 [12:09:05]Write i2c OK [12:09:05]MH_I2C_Read... [12:09:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:05]Read from MH i2c: E2 [12:09:05]MH_I2C_Read... [12:09:05]Read from MH i2c: E2 03 00 [12:09:05]MH_I2C_Read... [12:09:05]Read from MH i2c: E2 03 00 A2 02 00 90 00 18 [12:09:05]RAPDU: 90 00 [12:09:05]wFMCommunicate OK [12:09:05]SAM_PROTO_ClearQueue done [12:09:05]KKMCreateOFDPacket [12:09:05]OFDProtocolAddRootSTLVToBuf [12:09:05]FM_MakeSignedData [12:09:05]FM_MakeSignedData [12:09:05]SAM_PROTO_SignData [12:09:05]wFMCommunicate request_size=4 [12:09:05]MH_SAM_APDU [12:09:05]CAPDU: 80 0D 01 02 [12:09:05]Write to MH i2c: E2 08 00 A3 02 80 0D 01 02 00 00 00 00 1E [12:09:05]Write i2c OK [12:09:05]MH_I2C_Read... [12:09:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:05]Read from MH i2c: E2 [12:09:05]MH_I2C_Read... [12:09:05]Read from MH i2c: E2 03 00 [12:09:05]MH_I2C_Read... [12:09:05]Read from MH i2c: E2 03 00 A3 02 00 90 00 19 [12:09:05]RAPDU: 90 00 [12:09:05]wFMCommunicate OK [12:09:05]wFMCommunicate request_size=255 [12:09:05]MH_SAM_APDU [12:09:05]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 [12:09:05]Write to MH i2c: E2 02 01 A4 02 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 F6 [12:09:05]Write i2c OK [12:09:05]MH_I2C_Read... [12:09:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:06]Read from MH i2c: E2 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 03 00 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 03 00 A4 02 00 90 00 1A [12:09:06]RAPDU: 90 00 [12:09:06]wFMCommunicate OK [12:09:06]wFMCommunicate request_size=141 [12:09:06]MH_SAM_APDU [12:09:06]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 10 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 62 A1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E7 90 00 00 35 04 06 00 E1 8D 9F 00 AD 1A [12:09:06]Write to MH i2c: E2 90 00 A5 02 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 10 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 62 A1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E7 90 00 00 35 04 06 00 E1 8D 9F 00 AD 1A 00 00 3B [12:09:06]Write i2c OK [12:09:06]MH_I2C_Read... [12:09:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:06]Read from MH i2c: E2 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 03 00 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 03 00 A5 02 00 90 00 1B [12:09:06]RAPDU: 90 00 [12:09:06]wFMCommunicate OK [12:09:06]wFMCommunicate request_size=4 [12:09:06]MH_SAM_APDU [12:09:06]CAPDU: 80 0D 03 02 [12:09:06]Write to MH i2c: E2 08 00 A6 02 80 0D 03 02 00 00 00 00 23 [12:09:06]Write i2c OK [12:09:06]MH_I2C_Read... [12:09:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:06]Read from MH i2c: E2 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 0B 00 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 0B 00 A6 02 00 43 8D 2D B4 8C D2 5F 6A 90 00 FC [12:09:06]RAPDU: 43 8D 2D B4 8C D2 5F 6A 90 00 [12:09:06]wFMCommunicate OK [12:09:06]SAM_PROTO_SignData done [12:09:06]FM_MakeSignedData done [12:09:06]CreateOFDProtocolMessage [12:09:06]wFMCommunicate request_size=4 [12:09:06]MH_SAM_APDU [12:09:06]CAPDU: 80 11 00 00 [12:09:06]Write to MH i2c: E2 08 00 A7 02 80 11 00 00 00 00 00 00 23 [12:09:06]Write i2c OK [12:09:06]MH_I2C_Read... [12:09:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:06]Read from MH i2c: E2 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 17 00 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: E2 17 00 A7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 76 [12:09:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:09:06]wFMCommunicate OK [12:09:06]CreateOFDProtocolMessage done [12:09:06]OFDSenderStorePacket 37095 [12:09:06]StoreOFDPacket docnum=37095 [12:09:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 92 01 00 00 14 EA 8A 01 00 10 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 10 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 62 A1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E7 90 00 00 35 04 06 00 E1 8D 9F 00 AD 1A 43 8D 2D B4 8C D2 5F 6A [12:09:06]CheckFolder [12:09:06]dirname=/storage/ofd_packets [12:09:06]CheckFolder done [12:09:06]ProducePacketName [12:09:06]name=ofd_packets/00037095 [12:09:06]NVStorageSaveData ofd_packets/00037095 [12:09:06]File name is /storage/ofd_packets/00037095 [12:09:06]Write 432 bytes [12:09:06]NVStorageSaveData done [12:09:06]OFDSenderStorePacket done [12:09:06]KKMCreateOFDPacket done [12:09:06]NVStorageSaveData kkm_last_timestamp [12:09:06]File name is /storage/kkm_last_timestamp [12:09:06]Write 4 bytes [12:09:06]NVStorageSaveData done [12:09:06]ExternCall_PrintAddStr [12:09:06]wPrintStart [12:09:06]Write to MH i2c: 01 00 00 A8 02 AA [12:09:06]Write i2c OK [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: 01 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: 01 07 00 [12:09:06]MH_I2C_Read... [12:09:06]Read from MH i2c: 01 07 00 A8 02 00 00 00 00 00 FF 0F BF [12:09:06]RasterBufferAndPrint [12:09:06]line Счет N : (3)76594 [12:09:06]line ИНН: 02508201610067 [12:09:06]line Контрольно-Кассовый Чек [12:09:06]line ПРОДАЖА [12:09:06]line Товар: 46230607 [12:09:06]line Сигареты Richmond Bronze Edition [12:09:06]line 1.000 * 154.00 [12:09:06]line = 154.00 [12:09:06]line НДС 12% НСП 1% [12:09:06]line > о реализуемом товаре [12:09:06]line Товар: 46231512 [12:09:06]line Mentos ПФ Виноград 6*100*2г [12:09:06]line 1.000 * 10.00 [12:09:06]line = 10.00 [12:09:06]line НДС 12% НСП 1% [12:09:06]line > о реализуемом товаре [12:09:06]line ИТОГО: 164.00 [12:09:06]line НСП 1% : 1.45 [12:09:06]line НДС 12% : 17.41 [12:09:06]line Наличными: 164.00 [12:09:06]line Безнал.: 0.00 [12:09:06]line Место: АЗС № 165 "Партнер Нефть" [12:09:06]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [12:09:06]line СНО: Общий режим [12:09:06]line Чек 31 19.10.2024 12:09 [12:09:06]line Смена: 460 ФФД: 1.0 [12:09:06]line ЗНМ: 0300000235 [12:09:06]line РНМ: 0000000000098149 [12:09:06]line Версия ККМ: 001 [12:09:06]line ФМ: 0000000000965372 [12:09:06]line ФД: 37095 [12:09:06]line ФПД: 247998374259994 [12:09:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T120906&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37095&fm=247998374259994&tin=02508201610067®Number=0000000000098149&sum=16400 [12:09:06]line 0 [12:09:06]OFD Sender: Processing packet 37095 [packets to send 25, broken 24] [12:09:06]ProducePacketName [12:09:06]name=ofd_packets/00037095 [12:09:06]OFD Sender: To server: pG, [12:09:06]CommunicateWithHost lk.salyk.kg:30040 [12:09:06]ConnectInit lk.salyk.kg [12:09:06]written 0, free lines is 4095 [12:09:06]Connected sock=10 [12:09:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 92 01 00 00 14 EA 8A 01 00 10 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 10 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 62 A1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E7 90 00 00 35 04 06 00 E1 8D 9F 00 AD 1A 43 8D 2D B4 8C D2 5F 6A [12:09:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 1C DC 47 00 7B A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 E7 90 00 00 F4 03 04 00 F7 49 13 67 B6 04 01 00 00 AE 33 3B 25 FB 2B 7A 2E [12:09:07]CommunicateWithHost err = 0 [12:09:07]CheckOFDResponse [12:09:07]1017 (14) - 77093643461234 [12:09:07]1041 (16) - 0000000000965372 [12:09:07]1040 (4) - 37095 [12:09:07]1012 (4) - 19.10.2024 05:56 [12:09:07]1206 (1) - 0 [12:09:07]OFD Sender: Remove packet 37095 [12:09:07]ProducePacketName [12:09:07]name=ofd_packets/00037095 [12:09:07]NVStorageDeleteData [12:09:07]Write to MH i2c: 01 00 00 D7 02 D9 [12:09:07]Write i2c OK [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: 01 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: 01 07 00 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: 01 07 00 D7 02 00 00 00 00 00 82 0C 6E [12:09:07]RasterBufferAndPrint [12:09:07]line [12:09:07]line [12:09:07]line [12:09:07]line [12:09:07]line [12:09:07]written 0, free lines is 3208 [12:09:07]process_action close_receipt done [12:09:07]requested_data is exist [12:09:07]produce_requested_data [12:09:07]requested_item fm.sn is exist - process it [12:09:07]wFMCommunicate request_size=4 [12:09:07]MH_SAM_APDU [12:09:07]CAPDU: 80 11 00 00 [12:09:07]Write to MH i2c: E2 08 00 DE 02 80 11 00 00 00 00 00 00 5A [12:09:07]Write i2c OK [12:09:07]MH_I2C_Read... [12:09:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:07]Read from MH i2c: E2 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 17 00 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 17 00 DE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AD [12:09:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:09:07]wFMCommunicate OK [12:09:07]requested_item fd.num is exist - process it [12:09:07]SAM_PROTO_GetFieldsCounters [12:09:07]wFMCommunicate request_size=4 [12:09:07]MH_SAM_APDU [12:09:07]CAPDU: 80 13 00 00 [12:09:07]Write to MH i2c: E2 08 00 DF 02 80 13 00 00 00 00 00 00 5D [12:09:07]Write i2c OK [12:09:07]MH_I2C_Read... [12:09:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:07]Read from MH i2c: E2 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 62 00 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 62 00 DF 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E7 90 00 00 0E 04 04 00 CC 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 25 [12:09: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E7 90 00 00 0E 04 04 00 CC 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 [12:09:07]wFMCommunicate OK [12:09:07]SAM_PROTO_GetFieldsCounters done [12:09:07]requested_item shift.num is exist - process it [12:09:07]requested_item shift.opened is exist - process it [12:09:07]req_shift_opened [12:09:07]FM_GetShiftState [12:09:07]SAM_PROTO_GetShiftState [12:09:07]wFMCommunicate request_size=4 [12:09:07]MH_SAM_APDU [12:09:07]CAPDU: 80 13 01 00 [12:09:07]Write to MH i2c: E2 08 00 E0 02 80 13 01 00 00 00 00 00 5F [12:09:07]Write i2c OK [12:09:07]MH_I2C_Read... [12:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:07]Read from MH i2c: E2 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 0E 00 [12:09:07]MH_I2C_Read... [12:09:07]Read from MH i2c: E2 0E 00 E0 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 79 [12:09:07]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:09:07]wFMCommunicate OK [12:09:07]SAM_PROTO_GetShiftState done [12:09:07]FM_GetShiftState done [12:09:07]req_shift_opened done [12:09:07]requested_item shift.open_date is exist - process it [12:09:07]req_shift_open_date [12:09:07]req_shift_open_date done [12:09:07]produce_requested_data done [12:09:07]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37095,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [12:09:07]process_action_free close_receipt [12:09:07]json_value_free [12:09:07]json_value_free done [12:09:07]process_json_proto returns [12:09:07]Send response to host [12:09:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37095,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [12:09:07]free response buf [12:09:07]execute_script done [12:09:07]execute_script returns [12:09:07]free content buf [12:09:07]Sock 9.Close socket [12:09:07]Sock 9.Thread stoped [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16: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:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:47]accept exits with 7 [12:35:47]New connection [12:35:47]New thread 3066555748 created [12:35:47]Thread 3066699108 joined [12:35:47]Waiting for new connection... [12:35:47] Sock 7.Parse request [12:35:47]Sock 7.Check first char [12:35:47]Sock 7.First char is OK [12:35:47]request: POST /json_proto HTTP/1.0 [12:35:47]Method: POST [12:35:47]URL: /json_proto [12:35:47]Method is POST - this is cgi request [12:35:47]url: /json_proto [12:35:47]query_string will be loaded in cgi processing [12:35:47]execute_cgi json_proto POST (null) [12:35:47]execute_cgi path=json_proto method=POST [12:35:47]POST find Content-Length [12:35:47]Host: 172.17.53.68:8080 [12:35:47]Content-Length: 653 [12:35:47]Content-Type: application/json [12:35:47] [12:35:47]POST finish read [12:35:47]Found Content-Length = 653 [12:35:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76595", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:47]execute_script... [12:35:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76595", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:47]POST & json_proto [12:35:47]process_json_proto [12:35:47]json parsed OK: [12:35:47]protocol is kg_v1.0 [12:35:47]action value=close_receipt [12:35:47]process_action close_receipt [12:35:47]cmd_close_receipt [12:35:47]MH_GetDate [12:35:47]Write to MH i2c: F0 00 00 E1 02 D2 [12:35:47]Write i2c OK [12:35:47]MH_I2C_Read... [12:35:47]Read from MH i2c: F0 [12:35:47]MH_I2C_Read... [12:35:47]Read from MH i2c: F0 09 00 [12:35:47]MH_I2C_Read... [12:35:47]Read from MH i2c: F0 09 00 E1 02 00 A4 A7 13 67 C5 A4 76 66 E5 [12:35:47]GetLastDocTimeStamp 1729339746 [12:35:47]current date 1729341348 [12:35:47]FM_GetShiftState [12:35:47]SAM_PROTO_GetShiftState [12:35:47]wFMCommunicate request_size=4 [12:35:47]MH_SAM_APDU [12:35:47]CAPDU: 80 13 01 00 [12:35:47]Write to MH i2c: E2 08 00 E2 02 80 13 01 00 00 00 00 00 61 [12:35:47]Write i2c OK [12:35:47]MH_I2C_Read... [12:35:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:47]Read from MH i2c: E2 [12:35:47]MH_I2C_Read... [12:35:47]Read from MH i2c: E2 0E 00 [12:35:47]MH_I2C_Read... [12:35:47]Read from MH i2c: E2 0E 00 E2 02 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 7B [12:35:47]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:35:47]wFMCommunicate OK [12:35:47]SAM_PROTO_GetShiftState done [12:35:47]FM_GetShiftState done [12:35:47]opened in 1729296796 [12:35:47]opened+sec_in_day 1729383196 [12:35:47]quantity*price = 9500 [12:35:47]sum+1 = 9501 [12:35:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 32 19.10.2024 12:35 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37096 ФПД: 273314040117184 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T123548&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37096&fm=273314040117184&tin=02508201610067®Number=0000000000098149&sum=9500 0 [12:35:48]StoreToDocumentArchive [12:35:48]shift 460 fd 37096 [12:35:48]save to /storage/0460/doc_00037096 [12:35:48]save last doc name /storage/0460/doc_00037096 to /storage/kkm_last_doc_name [12:35:48]save OK [12:35:48]Clear old archive folders... [12:35:48]ProcessDocumentItem done err = 0, tmpTLVsize=293 [12:35:48]tlvbuf is 0098BA70 [12:35:48]SAM_PROTO_ClearQueue [12:35:48]wFMCommunicate request_size=4 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 09 00 00 [12:35:48]Write to MH i2c: E2 08 00 EF 02 80 09 00 00 00 00 00 00 63 [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 EF 02 00 90 00 65 [12:35:48]RAPDU: 90 00 [12:35:48]wFMCommunicate OK [12:35:48]SAM_PROTO_ClearQueue done [12:35:48]KKMCreateOFDPacket [12:35:48]OFDProtocolAddRootSTLVToBuf [12:35:48]FM_MakeSignedData [12:35:48]FM_MakeSignedData [12:35:48]SAM_PROTO_SignData [12:35:48]wFMCommunicate request_size=4 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 0D 01 02 [12:35:48]Write to MH i2c: E2 08 00 F0 02 80 0D 01 02 00 00 00 00 6B [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 F0 02 00 90 00 66 [12:35:48]RAPDU: 90 00 [12:35:48]wFMCommunicate OK [12:35:48]wFMCommunicate request_size=255 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A4 A7 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [12:35:48]Write to MH i2c: E2 02 01 F1 02 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A4 A7 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BD [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 F1 02 00 90 00 67 [12:35:48]RAPDU: 90 00 [12:35:48]wFMCommunicate OK [12:35:48]wFMCommunicate request_size=52 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E8 90 00 00 35 04 06 00 F8 93 E2 45 F7 C0 [12:35:48]Write to MH i2c: E2 37 00 F2 02 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E8 90 00 00 35 04 06 00 F8 93 E2 45 F7 C0 00 00 18 [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 03 00 F2 02 00 90 00 68 [12:35:48]RAPDU: 90 00 [12:35:48]wFMCommunicate OK [12:35:48]wFMCommunicate request_size=4 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 0D 03 02 [12:35:48]Write to MH i2c: E2 08 00 F3 02 80 0D 03 02 00 00 00 00 70 [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 0B 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 0B 00 F3 02 00 88 C2 63 61 51 3E 41 34 90 00 83 [12:35:48]RAPDU: 88 C2 63 61 51 3E 41 34 90 00 [12:35:48]wFMCommunicate OK [12:35:48]SAM_PROTO_SignData done [12:35:48]FM_MakeSignedData done [12:35:48]CreateOFDProtocolMessage [12:35:48]wFMCommunicate request_size=4 [12:35:48]MH_SAM_APDU [12:35:48]CAPDU: 80 11 00 00 [12:35:48]Write to MH i2c: E2 08 00 F4 02 80 11 00 00 00 00 00 00 70 [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:48]Read from MH i2c: E2 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 17 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: E2 17 00 F4 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C3 [12:35:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:35:48]wFMCommunicate OK [12:35:48]CreateOFDProtocolMessage done [12:35:48]OFDSenderStorePacket 37096 [12:35:48]StoreOFDPacket docnum=37096 [12:35:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 49 08 31 01 DD 8E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A4 A7 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E8 90 00 00 35 04 06 00 F8 93 E2 45 F7 C0 88 C2 63 61 51 3E 41 34 [12:35:48]CheckFolder [12:35:48]dirname=/storage/ofd_packets [12:35:48]CheckFolder done [12:35:48]ProducePacketName [12:35:48]name=ofd_packets/00037096 [12:35:48]NVStorageSaveData ofd_packets/00037096 [12:35:48]File name is /storage/ofd_packets/00037096 [12:35:48]Write 343 bytes [12:35:48]NVStorageSaveData done [12:35:48]OFDSenderStorePacket done [12:35:48]KKMCreateOFDPacket done [12:35:48]NVStorageSaveData kkm_last_timestamp [12:35:48]File name is /storage/kkm_last_timestamp [12:35:48]Write 4 bytes [12:35:48]NVStorageSaveData done [12:35:48]ExternCall_PrintAddStr [12:35:48]wPrintStart [12:35:48]Write to MH i2c: 01 00 00 F5 02 F7 [12:35:48]Write i2c OK [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: 01 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: 01 07 00 [12:35:48]MH_I2C_Read... [12:35:48]Read from MH i2c: 01 07 00 F5 02 00 00 00 00 00 FF 0F 0C [12:35:48]RasterBufferAndPrint [12:35:48]line Счет N : (3)76595 [12:35:48]line ИНН: 02508201610067 [12:35:48]line Контрольно-Кассовый Чек [12:35:48]line ПРОДАЖА [12:35:48]line Товар: 4700000480050 [12:35:48]line Напиток Nitro Energy эн green ж/б 0,45л [12:35:48]line 1.000 * 95.00 [12:35:48]line = 95.00 [12:35:48]line НДС 12% НСП 1% [12:35:48]line > о реализуемом товаре [12:35:48]line ИТОГО: 95.00 [12:35:48]line НСП 1% : 0.84 [12:35:48]line НДС 12% : 10.09 [12:35:48]line Наличными: 95.00 [12:35:48]line Безнал.: 0.00 [12:35:48]line Место: АЗС № 165 "Партнер Нефть" [12:35:48]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [12:35:48]line СНО: Общий режим [12:35:48]line Чек 32 19.10.2024 12:35 [12:35:48]line Смена: 460 ФФД: 1.0 [12:35:48]line ЗНМ: 0300000235 [12:35:48]line РНМ: 0000000000098149 [12:35:48]line Версия ККМ: 001 [12:35:48]line ФМ: 0000000000965372 [12:35:48]line ФД: 37096 [12:35:48]line ФПД: 273314040117184 [12:35:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T123548&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37096&fm=273314040117184&tin=02508201610067®Number=0000000000098149&sum=9500 [12:35:49]line 0 [12:35:49]OFD Sender: Processing packet 37096 [packets to send 25, broken 24] [12:35:49]ProducePacketName [12:35:49]name=ofd_packets/00037096 [12:35:49]OFD Sender: To server: pG, [12:35:49]CommunicateWithHost lk.salyk.kg:30040 [12:35:49]ConnectInit lk.salyk.kg [12:35:49]written 0, free lines is 4095 [12:35:49]Connected sock=10 [12:35:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 49 08 31 01 DD 8E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A4 A7 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E8 90 00 00 35 04 06 00 F8 93 E2 45 F7 C0 88 C2 63 61 51 3E 41 34 [12:35:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A5 CC 47 00 13 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E8 90 00 00 F4 03 04 00 3A 50 13 67 B6 04 01 00 00 50 58 7E 61 7B D4 E9 8B [12:35:49]CommunicateWithHost err = 0 [12:35:49]CheckOFDResponse [12:35:49]1017 (14) - 77093643461234 [12:35:49]1041 (16) - 0000000000965372 [12:35:49]1040 (4) - 37096 [12:35:49]1012 (4) - 19.10.2024 06:22 [12:35:49]1206 (1) - 0 [12:35:49]OFD Sender: Remove packet 37096 [12:35:49]ProducePacketName [12:35:49]name=ofd_packets/00037096 [12:35:49]NVStorageDeleteData [12:35:49]Write to MH i2c: 01 00 00 1E 03 21 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 1E 03 00 00 00 00 00 DD 0C 11 [12:35:49]RasterBufferAndPrint [12:35:49]line [12:35:49]line [12:35:49]line [12:35:49]line [12:35:49]line [12:35:49]written 0, free lines is 3299 [12:35:49]process_action close_receipt done [12:35:49]requested_data is exist [12:35:49]produce_requested_data [12:35:49]requested_item fm.sn is exist - process it [12:35:49]wFMCommunicate request_size=4 [12:35:49]MH_SAM_APDU [12:35:49]CAPDU: 80 11 00 00 [12:35:49]Write to MH i2c: E2 08 00 25 03 80 11 00 00 00 00 00 00 A2 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:49]Read from MH i2c: E2 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 17 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 17 00 25 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F5 [12:35:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:35:49]wFMCommunicate OK [12:35:49]requested_item fd.num is exist - process it [12:35:49]SAM_PROTO_GetFieldsCounters [12:35:49]wFMCommunicate request_size=4 [12:35:49]MH_SAM_APDU [12:35:49]CAPDU: 80 13 00 00 [12:35:49]Write to MH i2c: E2 08 00 26 03 80 13 00 00 00 00 00 00 A5 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:35:49]Read from MH i2c: E2 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 62 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 62 00 26 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E8 90 00 00 0E 04 04 00 CC 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 71 [12:35: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E8 90 00 00 0E 04 04 00 CC 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 [12:35:49]wFMCommunicate OK [12:35:49]SAM_PROTO_GetFieldsCounters done [12:35:49]requested_item shift.num is exist - process it [12:35:49]requested_item shift.opened is exist - process it [12:35:49]req_shift_opened [12:35:49]FM_GetShiftState [12:35:49]SAM_PROTO_GetShiftState [12:35:49]wFMCommunicate request_size=4 [12:35:49]MH_SAM_APDU [12:35:49]CAPDU: 80 13 01 00 [12:35:49]Write to MH i2c: E2 08 00 27 03 80 13 01 00 00 00 00 00 A7 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:49]Read from MH i2c: E2 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 0E 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: E2 0E 00 27 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C1 [12:35:49]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:35:49]wFMCommunicate OK [12:35:49]SAM_PROTO_GetShiftState done [12:35:49]FM_GetShiftState done [12:35:49]req_shift_opened done [12:35:49]requested_item shift.open_date is exist - process it [12:35:49]req_shift_open_date [12:35:49]req_shift_open_date done [12:35:49]produce_requested_data done [12:35:49]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37096,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [12:35:49]process_action_free close_receipt [12:35:49]json_value_free [12:35:49]json_value_free done [12:35:49]process_json_proto returns [12:35:49]Send response to host [12:35:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37096,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [12:35:49]free response buf [12:35:49]execute_script done [12:35:49]execute_script returns [12:35:49]free content buf [12:35:49]Sock 7.Close socket [12:35:49]Sock 7.Thread stoped [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:22]accept exits with 9 [12:42:22]New connection [12:42:22]New thread 3066699108 created [12:42:22]Thread 3066555748 joined [12:42:22]Waiting for new connection... [12:42:22] Sock 9.Parse request [12:42:22]Sock 9.Check first char [12:42:22]Sock 9.First char is OK [12:42:22]request: POST /json_proto HTTP/1.0 [12:42:22]Method: POST [12:42:22]URL: /json_proto [12:42:22]Method is POST - this is cgi request [12:42:22]url: /json_proto [12:42:22]query_string will be loaded in cgi processing [12:42:22]execute_cgi json_proto POST (null) [12:42:22]execute_cgi path=json_proto method=POST [12:42:22]POST find Content-Length [12:42:22]Host: 172.17.53.68:8080 [12:42:22]Content-Length: 647 [12:42:22]Content-Type: application/json [12:42:22] [12:42:22]POST finish read [12:42:22]Found Content-Length = 647 [12:42:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76596", "tax_sys" : 0, "items" : [ { "code": "46227737", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 \u0440\u043E\u043B\u043B 15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:42:22]execute_script... [12:42: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)76596", "tax_sys" : 0, "items" : [ { "code": "46227737", "name": "\u0420/\u0436 mentos pure fresh \u0430\u0440\u0431\u0443\u0437 \u0440\u043E\u043B\u043B 15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:42:22]POST & json_proto [12:42:22]process_json_proto [12:42:22]json parsed OK: [12:42:22]protocol is kg_v1.0 [12:42:22]action value=close_receipt [12:42:22]process_action close_receipt [12:42:22]cmd_close_receipt [12:42:22]MH_GetDate [12:42:22]Write to MH i2c: F0 00 00 28 03 1A [12:42:22]Write i2c OK [12:42:22]MH_I2C_Read... [12:42:22]Read from MH i2c: F0 [12:42:22]MH_I2C_Read... [12:42:22]Read from MH i2c: F0 09 00 [12:42:22]MH_I2C_Read... [12:42:22]Read from MH i2c: F0 09 00 28 03 00 2F A9 13 67 C5 A4 76 66 BA [12:42:22]GetLastDocTimeStamp 1729341348 [12:42:22]current date 1729341743 [12:42:22]FM_GetShiftState [12:42:22]SAM_PROTO_GetShiftState [12:42:22]wFMCommunicate request_size=4 [12:42:22]MH_SAM_APDU [12:42:22]CAPDU: 80 13 01 00 [12:42:22]Write to MH i2c: E2 08 00 29 03 80 13 01 00 00 00 00 00 A9 [12:42:22]Write i2c OK [12:42:22]MH_I2C_Read... [12:42:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:22]Read from MH i2c: E2 [12:42:22]MH_I2C_Read... [12:42:22]Read from MH i2c: E2 0E 00 [12:42:22]MH_I2C_Read... [12:42:22]Read from MH i2c: E2 0E 00 29 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C3 [12:42:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:42:22]wFMCommunicate OK [12:42:22]SAM_PROTO_GetShiftState done [12:42:22]FM_GetShiftState done [12:42:22]opened in 1729296796 [12:42:22]opened+sec_in_day 1729383196 [12:42:22]quantity*price = 4900 [12:42:22]sum+1 = 4901 [12:42:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 33 19.10.2024 12:42 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37097 ФПД: 126797085906653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T124223&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37097&fm=126797085906653&tin=02508201610067®Number=0000000000098149&sum=4900 0 [12:42:23]StoreToDocumentArchive [12:42:23]shift 460 fd 37097 [12:42:23]save to /storage/0460/doc_00037097 [12:42:23]save last doc name /storage/0460/doc_00037097 to /storage/kkm_last_doc_name [12:42:23]save OK [12:42:23]Clear old archive folders... [12:42:23]ProcessDocumentItem done err = 0, tmpTLVsize=287 [12:42:23]tlvbuf is 0098BA40 [12:42:23]SAM_PROTO_ClearQueue [12:42:23]wFMCommunicate request_size=4 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 09 00 00 [12:42:23]Write to MH i2c: E2 08 00 36 03 80 09 00 00 00 00 00 00 AB [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 36 03 00 90 00 AD [12:42:23]RAPDU: 90 00 [12:42:23]wFMCommunicate OK [12:42:23]SAM_PROTO_ClearQueue done [12:42:23]KKMCreateOFDPacket [12:42:23]OFDProtocolAddRootSTLVToBuf [12:42:23]FM_MakeSignedData [12:42:23]FM_MakeSignedData [12:42:23]SAM_PROTO_SignData [12:42:23]wFMCommunicate request_size=4 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 0D 01 02 [12:42:23]Write to MH i2c: E2 08 00 37 03 80 0D 01 02 00 00 00 00 B3 [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 37 03 00 90 00 AE [12:42:23]RAPDU: 90 00 [12:42:23]wFMCommunicate OK [12:42:23]wFMCommunicate request_size=255 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 2F A9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [12:42:23]Write to MH i2c: E2 02 01 38 03 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 2F A9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 25 [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 38 03 00 90 00 AF [12:42:23]RAPDU: 90 00 [12:42:23]wFMCommunicate OK [12:42:23]wFMCommunicate request_size=46 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 0D 02 02 29 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E9 90 00 00 35 04 06 00 73 52 3F 43 96 DD [12:42:23]Write to MH i2c: E2 31 00 39 03 80 0D 02 02 29 00 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E9 90 00 00 35 04 06 00 73 52 3F 43 96 DD 00 00 75 [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 03 00 39 03 00 90 00 B0 [12:42:23]RAPDU: 90 00 [12:42:23]wFMCommunicate OK [12:42:23]wFMCommunicate request_size=4 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 0D 03 02 [12:42:23]Write to MH i2c: E2 08 00 3A 03 80 0D 03 02 00 00 00 00 B8 [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 0B 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 0B 00 3A 03 00 CB 70 EF B6 45 8C 6C 75 90 00 4B [12:42:23]RAPDU: CB 70 EF B6 45 8C 6C 75 90 00 [12:42:23]wFMCommunicate OK [12:42:23]SAM_PROTO_SignData done [12:42:23]FM_MakeSignedData done [12:42:23]CreateOFDProtocolMessage [12:42:23]wFMCommunicate request_size=4 [12:42:23]MH_SAM_APDU [12:42:23]CAPDU: 80 11 00 00 [12:42:23]Write to MH i2c: E2 08 00 3B 03 80 11 00 00 00 00 00 00 B8 [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:42:23]Read from MH i2c: E2 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 17 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: E2 17 00 3B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0B [12:42:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:42:23]wFMCommunicate OK [12:42:23]CreateOFDProtocolMessage done [12:42:23]OFDSenderStorePacket 37097 [12:42:23]StoreOFDPacket docnum=37097 [12:42:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 25 1A 2B 01 57 04 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 2F A9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E9 90 00 00 35 04 06 00 73 52 3F 43 96 DD CB 70 EF B6 45 8C 6C 75 [12:42:23]CheckFolder [12:42:23]dirname=/storage/ofd_packets [12:42:23]CheckFolder done [12:42:23]ProducePacketName [12:42:23]name=ofd_packets/00037097 [12:42:23]NVStorageSaveData ofd_packets/00037097 [12:42:23]File name is /storage/ofd_packets/00037097 [12:42:23]Write 337 bytes [12:42:23]NVStorageSaveData done [12:42:23]OFDSenderStorePacket done [12:42:23]KKMCreateOFDPacket done [12:42:23]NVStorageSaveData kkm_last_timestamp [12:42:23]File name is /storage/kkm_last_timestamp [12:42:23]Write 4 bytes [12:42:23]NVStorageSaveData done [12:42:23]ExternCall_PrintAddStr [12:42:23]wPrintStart [12:42:23]Write to MH i2c: 01 00 00 3C 03 3F [12:42:23]Write i2c OK [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: 01 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: 01 07 00 [12:42:23]MH_I2C_Read... [12:42:23]Read from MH i2c: 01 07 00 3C 03 00 00 00 00 00 FF 0F 54 [12:42:23]RasterBufferAndPrint [12:42:23]line Счет N : (3)76596 [12:42:23]line ИНН: 02508201610067 [12:42:23]line Контрольно-Кассовый Чек [12:42:23]line ПРОДАЖА [12:42:23]line Товар: 46227737 [12:42:23]line Р/ж mentos pure fresh арбуз ролл 15,5г [12:42:23]line 1.000 * 49.00 [12:42:23]line = 49.00 [12:42:23]line НДС 12% НСП 1% [12:42:23]line > о реализуемом товаре [12:42:23]line ИТОГО: 49.00 [12:42:23]line НСП 1% : 0.43 [12:42:23]line НДС 12% : 5.20 [12:42:23]line Наличными: 49.00 [12:42:23]line Безнал.: 0.00 [12:42:23]line Место: АЗС № 165 "Партнер Нефть" [12:42:23]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [12:42:23]line СНО: Общий режим [12:42:23]line Чек 33 19.10.2024 12:42 [12:42:23]line Смена: 460 ФФД: 1.0 [12:42:23]line ЗНМ: 0300000235 [12:42:23]line РНМ: 0000000000098149 [12:42:23]line Версия ККМ: 001 [12:42:23]line ФМ: 0000000000965372 [12:42:23]line ФД: 37097 [12:42:23]line ФПД: 126797085906653 [12:42:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T124223&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37097&fm=126797085906653&tin=02508201610067®Number=0000000000098149&sum=4900 [12:42:24]line 0 [12:42:24]OFD Sender: Processing packet 37097 [packets to send 25, broken 24] [12:42:24]ProducePacketName [12:42:24]name=ofd_packets/00037097 [12:42:24]OFD Sender: To server: pG, [12:42:24]CommunicateWithHost lk.salyk.kg:30040 [12:42:24]ConnectInit lk.salyk.kg [12:42:24]written 0, free lines is 4095 [12:42:24]Connected sock=10 [12:42:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 25 1A 2B 01 57 04 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 32 37 37 33 37 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 66 72 65 73 68 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D1 80 D0 BE D0 BB D0 BB 20 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 2F A9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 E9 90 00 00 35 04 06 00 73 52 3F 43 96 DD CB 70 EF B6 45 8C 6C 75 [12:42:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F1 E0 47 00 0F 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 33 37 32 10 04 04 00 E9 90 00 00 F4 03 04 00 C5 51 13 67 B6 04 01 00 00 11 2F 3A 50 14 85 B3 44 [12:42:24]CommunicateWithHost err = 0 [12:42:24]CheckOFDResponse [12:42:24]1017 (14) - 77093643461234 [12:42:24]1041 (16) - 0000000000965372 [12:42:24]1040 (4) - 37097 [12:42:24]1012 (4) - 19.10.2024 06:29 [12:42:24]1206 (1) - 0 [12:42:24]OFD Sender: Remove packet 37097 [12:42:24]ProducePacketName [12:42:24]name=ofd_packets/00037097 [12:42:24]NVStorageDeleteData [12:42:24]Write to MH i2c: 01 00 00 65 03 68 [12:42:24]Write i2c OK [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: 01 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: 01 07 00 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: 01 07 00 65 03 00 00 00 00 00 E5 0C 60 [12:42:24]RasterBufferAndPrint [12:42:24]line [12:42:24]line [12:42:24]line [12:42:24]line [12:42:24]line [12:42:24]written 0, free lines is 3307 [12:42:24]process_action close_receipt done [12:42:24]requested_data is exist [12:42:24]produce_requested_data [12:42:24]requested_item fm.sn is exist - process it [12:42:24]wFMCommunicate request_size=4 [12:42:24]MH_SAM_APDU [12:42:24]CAPDU: 80 11 00 00 [12:42:24]Write to MH i2c: E2 08 00 6C 03 80 11 00 00 00 00 00 00 E9 [12:42:24]Write i2c OK [12:42:24]MH_I2C_Read... [12:42:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:42:24]Read from MH i2c: E2 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 17 00 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 17 00 6C 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3C [12:42:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [12:42:24]wFMCommunicate OK [12:42:24]requested_item fd.num is exist - process it [12:42:24]SAM_PROTO_GetFieldsCounters [12:42:24]wFMCommunicate request_size=4 [12:42:24]MH_SAM_APDU [12:42:24]CAPDU: 80 13 00 00 [12:42:24]Write to MH i2c: E2 08 00 6D 03 80 13 00 00 00 00 00 00 EC [12:42:24]Write i2c OK [12:42:24]MH_I2C_Read... [12:42:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:42:24]Read from MH i2c: E2 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 62 00 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 62 00 6D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E9 90 00 00 0E 04 04 00 CC 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 BC [12:42: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 E9 90 00 00 0E 04 04 00 CC 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 [12:42:24]wFMCommunicate OK [12:42:24]SAM_PROTO_GetFieldsCounters done [12:42:24]requested_item shift.num is exist - process it [12:42:24]requested_item shift.opened is exist - process it [12:42:24]req_shift_opened [12:42:24]FM_GetShiftState [12:42:24]SAM_PROTO_GetShiftState [12:42:24]wFMCommunicate request_size=4 [12:42:24]MH_SAM_APDU [12:42:24]CAPDU: 80 13 01 00 [12:42:24]Write to MH i2c: E2 08 00 6E 03 80 13 01 00 00 00 00 00 EE [12:42:24]Write i2c OK [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 [12:42:24]MH_I2C_Read... [12:42:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:42:24]Read from MH i2c: E2 0E 00 [12:42:24]MH_I2C_Read... [12:42:24]Read from MH i2c: E2 0E 00 6E 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 08 [12:42:24]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [12:42:24]wFMCommunicate OK [12:42:24]SAM_PROTO_GetShiftState done [12:42:24]FM_GetShiftState done [12:42:24]req_shift_opened done [12:42:24]requested_item shift.open_date is exist - process it [12:42:24]req_shift_open_date [12:42:24]req_shift_open_date done [12:42:24]produce_requested_data done [12:42:24]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37097,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [12:42:24]process_action_free close_receipt [12:42:24]json_value_free [12:42:24]json_value_free done [12:42:24]process_json_proto returns [12:42:24]Send response to host [12:42:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37097,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [12:42:24]free response buf [12:42:24]execute_script done [12:42:24]execute_script returns [12:42:24]free content buf [12:42:24]Sock 9.Close socket [12:42:24]Sock 9.Thread stoped [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:40]OFD Sender: No OFD packet to send [12:52:45]OFD Sender: No OFD packet to send [12:52:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:10]OFD Sender: No OFD packet to send [12:56:15]OFD Sender: No OFD packet to send [12:56:20]OFD Sender: No OFD packet to send [12:56:25]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]accept exits with 7 [13:01:30]New connection [13:01:30]New thread 3066555748 created [13:01:30]Thread 3066699108 joined [13:01:30]Waiting for new connection... [13:01:30] Sock 7.Parse request [13:01:30]Sock 7.Check first char [13:01:30]Sock 7.First char is OK [13:01:30]request: POST /json_proto HTTP/1.0 [13:01:30]Method: POST [13:01:30]URL: /json_proto [13:01:30]Method is POST - this is cgi request [13:01:30]url: /json_proto [13:01:30]query_string will be loaded in cgi processing [13:01:30]execute_cgi json_proto POST (null) [13:01:30]execute_cgi path=json_proto method=POST [13:01:30]POST find Content-Length [13:01:30]Host: 172.17.53.68:8080 [13:01:30]Content-Length: 620 [13:01:30]Content-Type: application/json [13:01:30] [13:01:30]POST finish read [13:01:30]Found Content-Length = 620 [13:01:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76597", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 3.000, "sum" : 432.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 432.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:01:30]execute_script... [13: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)76597", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 3.000, "sum" : 432.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 432.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:01:30]POST & json_proto [13:01:30]process_json_proto [13:01:30]json parsed OK: [13:01:30]protocol is kg_v1.0 [13:01:30]action value=close_receipt [13:01:30]process_action close_receipt [13:01:30]cmd_close_receipt [13:01:30]MH_GetDate [13:01:30]Write to MH i2c: F0 00 00 6F 03 61 [13:01:30]Write i2c OK [13:01:30]MH_I2C_Read... [13:01:30]Read from MH i2c: F0 [13:01:30]MH_I2C_Read... [13:01:30]Read from MH i2c: F0 09 00 [13:01:30]MH_I2C_Read... [13:01:30]Read from MH i2c: F0 09 00 6F 03 00 AB AD 13 67 C5 A4 76 66 81 [13:01:30]GetLastDocTimeStamp 1729341743 [13:01:30]current date 1729342891 [13:01:30]FM_GetShiftState [13:01:30]SAM_PROTO_GetShiftState [13:01:30]wFMCommunicate request_size=4 [13:01:30]MH_SAM_APDU [13:01:30]CAPDU: 80 13 01 00 [13:01:30]Write to MH i2c: E2 08 00 70 03 80 13 01 00 00 00 00 00 F0 [13:01:30]Write i2c OK [13:01:30]MH_I2C_Read... [13:01:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:30]Read from MH i2c: E2 [13:01:30]MH_I2C_Read... [13:01:30]Read from MH i2c: E2 0E 00 [13:01:30]MH_I2C_Read... [13:01:30]Read from MH i2c: E2 0E 00 70 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0A [13:01:30]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:01:30]wFMCommunicate OK [13:01:30]SAM_PROTO_GetShiftState done [13:01:30]FM_GetShiftState done [13:01:30]opened in 1729296796 [13:01:30]opened+sec_in_day 1729383196 [13:01:30]quantity*price = 43200 [13:01:30]sum+1 = 43201 [13:01:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 432.00 НСП 1% : 3.82 НДС 12% : 45.88 Наличными: 432.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 34 19.10.2024 13:01 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37098 ФПД: 88647120865003 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T130131&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37098&fm=88647120865003&tin=02508201610067®Number=0000000000098149&sum=43200 0 [13:01:31]StoreToDocumentArchive [13:01:31]shift 460 fd 37098 [13:01:31]save to /storage/0460/doc_00037098 [13:01:31]save last doc name /storage/0460/doc_00037098 to /storage/kkm_last_doc_name [13:01:31]save OK [13:01:31]Clear old archive folders... [13:01:31]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:01:31]tlvbuf is 0098F700 [13:01:31]SAM_PROTO_ClearQueue [13:01:31]wFMCommunicate request_size=4 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 09 00 00 [13:01:31]Write to MH i2c: E2 08 00 7D 03 80 09 00 00 00 00 00 00 F2 [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 7D 03 00 90 00 F4 [13:01:31]RAPDU: 90 00 [13:01:31]wFMCommunicate OK [13:01:31]SAM_PROTO_ClearQueue done [13:01:31]KKMCreateOFDPacket [13:01:31]OFDProtocolAddRootSTLVToBuf [13:01:31]FM_MakeSignedData [13:01:31]FM_MakeSignedData [13:01:31]SAM_PROTO_SignData [13:01:31]wFMCommunicate request_size=4 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 0D 01 02 [13:01:31]Write to MH i2c: E2 08 00 7E 03 80 0D 01 02 00 00 00 00 FA [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 7E 03 00 90 00 F5 [13:01:31]RAPDU: 90 00 [13:01:31]wFMCommunicate OK [13:01:31]wFMCommunicate request_size=255 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 A8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 11 00 00 00 00 07 04 06 00 C0 A8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 AB AD 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [13:01:31]Write to MH i2c: E2 02 01 7F 03 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 A8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 11 00 00 00 00 07 04 06 00 C0 A8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 AB AD 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 D2 [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 7F 03 00 90 00 F6 [13:01:31]RAPDU: 90 00 [13:01:31]wFMCommunicate OK [13:01:31]wFMCommunicate request_size=32 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 EA 90 00 00 35 04 06 00 50 9F C4 26 46 EB [13:01:31]Write to MH i2c: E2 23 00 80 03 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 EA 90 00 00 35 04 06 00 50 9F C4 26 46 EB 00 00 DE [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 03 00 80 03 00 90 00 F7 [13:01:31]RAPDU: 90 00 [13:01:31]wFMCommunicate OK [13:01:31]wFMCommunicate request_size=4 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 0D 03 02 [13:01:31]Write to MH i2c: E2 08 00 81 03 80 0D 03 02 00 00 00 00 FF [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 0B 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 0B 00 81 03 00 B5 9F 80 99 C6 10 06 E1 90 00 2A [13:01:31]RAPDU: B5 9F 80 99 C6 10 06 E1 90 00 [13:01:31]wFMCommunicate OK [13:01:31]SAM_PROTO_SignData done [13:01:31]FM_MakeSignedData done [13:01:31]CreateOFDProtocolMessage [13:01:31]wFMCommunicate request_size=4 [13:01:31]MH_SAM_APDU [13:01:31]CAPDU: 80 11 00 00 [13:01:31]Write to MH i2c: E2 08 00 82 03 80 11 00 00 00 00 00 00 FF [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:31]Read from MH i2c: E2 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 17 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: E2 17 00 82 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 52 [13:01:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:01:31]wFMCommunicate OK [13:01:31]CreateOFDProtocolMessage done [13:01:31]OFDSenderStorePacket 37098 [13:01:31]StoreOFDPacket docnum=37098 [13:01:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 AE ED 1D 01 DB C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 A8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 11 00 00 00 00 07 04 06 00 C0 A8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 AB AD 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EA 90 00 00 35 04 06 00 50 9F C4 26 46 EB B5 9F 80 99 C6 10 06 E1 [13:01:31]CheckFolder [13:01:31]dirname=/storage/ofd_packets [13:01:31]CheckFolder done [13:01:31]ProducePacketName [13:01:31]name=ofd_packets/00037098 [13:01:31]NVStorageSaveData ofd_packets/00037098 [13:01:31]File name is /storage/ofd_packets/00037098 [13:01:31]Write 323 bytes [13:01:31]NVStorageSaveData done [13:01:31]OFDSenderStorePacket done [13:01:31]KKMCreateOFDPacket done [13:01:31]NVStorageSaveData kkm_last_timestamp [13:01:31]File name is /storage/kkm_last_timestamp [13:01:31]Write 4 bytes [13:01:31]NVStorageSaveData done [13:01:31]ExternCall_PrintAddStr [13:01:31]wPrintStart [13:01:31]Write to MH i2c: 01 00 00 83 03 86 [13:01:31]Write i2c OK [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: 01 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: 01 07 00 [13:01:31]MH_I2C_Read... [13:01:31]Read from MH i2c: 01 07 00 83 03 00 00 00 00 00 FF 0F 9B [13:01:31]RasterBufferAndPrint [13:01:31]line Счет N : (3)76597 [13:01:31]line ИНН: 02508201610067 [13:01:31]line Контрольно-Кассовый Чек [13:01:31]line ПРОДАЖА [13:01:31]line Товар: 48743570 [13:01:31]line Сигареты Winston XStyle Blue [13:01:31]line 3.000 * 144.00 [13:01:31]line = 432.00 [13:01:31]line НДС 12% НСП 1% [13:01:31]line > о реализуемом товаре [13:01:31]line ИТОГО: 432.00 [13:01:31]line НСП 1% : 3.82 [13:01:31]line НДС 12% : 45.88 [13:01:31]line Наличными: 432.00 [13:01:31]line Безнал.: 0.00 [13:01:31]line Место: АЗС № 165 "Партнер Нефть" [13:01:31]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [13:01:31]line СНО: Общий режим [13:01:31]line Чек 34 19.10.2024 13:01 [13:01:31]line Смена: 460 ФФД: 1.0 [13:01:31]line ЗНМ: 0300000235 [13:01:31]line РНМ: 0000000000098149 [13:01:31]line Версия ККМ: 001 [13:01:31]line ФМ: 0000000000965372 [13:01:31]line ФД: 37098 [13:01:31]line ФПД: 88647120865003 [13:01:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T130131&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37098&fm=88647120865003&tin=02508201610067®Number=0000000000098149&sum=43200 [13:01:32]OFD Sender: Processing packet 37098 [packets to send 25, broken 24] [13:01:32]ProducePacketName [13:01:32]name=ofd_packets/00037098 [13:01:32]OFD Sender: To server: pG, [13:01:32]CommunicateWithHost lk.salyk.kg:30040 [13:01:32]ConnectInit lk.salyk.kg [13:01:32]line 0 [13:01:32]written 0, free lines is 4095 [13:01:32]Connected sock=10 [13:01: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 33 37 32 25 01 00 00 AE ED 1D 01 DB C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 C0 A8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 A8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EC 11 00 00 00 00 07 04 06 00 C0 A8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 AB AD 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EA 90 00 00 35 04 06 00 50 9F C4 26 46 EB B5 9F 80 99 C6 10 06 E1 [13:01:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 7C D5 47 00 E2 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 EA 90 00 00 F4 03 04 00 41 56 13 67 B6 04 01 00 00 98 FD E5 7E 78 06 E0 06 [13:01:32]CommunicateWithHost err = 0 [13:01:32]CheckOFDResponse [13:01:32]1017 (14) - 77093643461234 [13:01:32]1041 (16) - 0000000000965372 [13:01:32]1040 (4) - 37098 [13:01:32]1012 (4) - 19.10.2024 06:48 [13:01:32]1206 (1) - 0 [13:01:32]OFD Sender: Remove packet 37098 [13:01:32]ProducePacketName [13:01:32]name=ofd_packets/00037098 [13:01:32]NVStorageDeleteData [13:01:32]Write to MH i2c: 01 00 00 AB 03 AE [13:01:32]Write i2c OK [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: 01 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: 01 07 00 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: 01 07 00 AB 03 00 00 00 00 00 01 0D C3 [13:01:32]RasterBufferAndPrint [13:01:32]line [13:01:32]line [13:01:32]line [13:01:32]line [13:01:32]line [13:01:32]written 0, free lines is 3336 [13:01:32]process_action close_receipt done [13:01:32]requested_data is exist [13:01:32]produce_requested_data [13:01:32]requested_item fm.sn is exist - process it [13:01:32]wFMCommunicate request_size=4 [13:01:32]MH_SAM_APDU [13:01:32]CAPDU: 80 11 00 00 [13:01:32]Write to MH i2c: E2 08 00 B2 03 80 11 00 00 00 00 00 00 2F [13:01:32]Write i2c OK [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 [13:01:32]MH_I2C_Read... [13:01:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:32]Read from MH i2c: E2 17 00 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 17 00 B2 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 82 [13:01:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:01:32]wFMCommunicate OK [13:01:32]requested_item fd.num is exist - process it [13:01:32]SAM_PROTO_GetFieldsCounters [13:01:32]wFMCommunicate request_size=4 [13:01:32]MH_SAM_APDU [13:01:32]CAPDU: 80 13 00 00 [13:01:32]Write to MH i2c: E2 08 00 B3 03 80 13 00 00 00 00 00 00 32 [13:01:32]Write i2c OK [13:01:32]MH_I2C_Read... [13:01:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:01:32]Read from MH i2c: E2 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 62 00 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 62 00 B3 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EA 90 00 00 0E 04 04 00 CC 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 06 [13:01: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EA 90 00 00 0E 04 04 00 CC 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 [13:01:32]wFMCommunicate OK [13:01:32]SAM_PROTO_GetFieldsCounters done [13:01:32]requested_item shift.num is exist - process it [13:01:32]requested_item shift.opened is exist - process it [13:01:32]req_shift_opened [13:01:32]FM_GetShiftState [13:01:32]SAM_PROTO_GetShiftState [13:01:32]wFMCommunicate request_size=4 [13:01:32]MH_SAM_APDU [13:01:32]CAPDU: 80 13 01 00 [13:01:32]Write to MH i2c: E2 08 00 B4 03 80 13 01 00 00 00 00 00 34 [13:01:32]Write i2c OK [13:01:32]MH_I2C_Read... [13:01:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:32]Read from MH i2c: E2 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 0E 00 [13:01:32]MH_I2C_Read... [13:01:32]Read from MH i2c: E2 0E 00 B4 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 4E [13:01:32]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:01:32]wFMCommunicate OK [13:01:32]SAM_PROTO_GetShiftState done [13:01:32]FM_GetShiftState done [13:01:32]req_shift_opened done [13:01:32]requested_item shift.open_date is exist - process it [13:01:32]req_shift_open_date [13:01:32]req_shift_open_date done [13:01:32]produce_requested_data done [13:01:32]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37098,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [13:01:32]process_action_free close_receipt [13:01:32]json_value_free [13:01:32]json_value_free done [13:01:32]process_json_proto returns [13:01:32]Send response to host [13:01:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37098,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [13:01:32]free response buf [13:01:32]execute_script done [13:01:32]execute_script returns [13:01:32]free content buf [13:01:32]Sock 7.Close socket [13:01:32]Sock 7.Thread stoped [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03: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:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:34]accept exits with 9 [13:15:34]New connection [13:15:34]New thread 3066699108 created [13:15:34]Thread 3066555748 joined [13:15:34]Waiting for new connection... [13:15:34] Sock 9.Parse request [13:15:34]Sock 9.Check first char [13:15:34]Sock 9.First char is OK [13:15:34]request: POST /json_proto HTTP/1.0 [13:15:34]Method: POST [13:15:34]URL: /json_proto [13:15:34]Method is POST - this is cgi request [13:15:34]url: /json_proto [13:15:34]query_string will be loaded in cgi processing [13:15:34]execute_cgi json_proto POST (null) [13:15:34]execute_cgi path=json_proto method=POST [13:15:34]POST find Content-Length [13:15:34]Host: 172.17.53.68:8080 [13:15:34]Content-Length: 621 [13:15:34]Content-Type: application/json [13:15:34] [13:15:34]POST finish read [13:15:34]Found Content-Length = 621 [13:15:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76598", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:34]execute_script... [13:15: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)76598", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:34]POST & json_proto [13:15:34]process_json_proto [13:15:34]json parsed OK: [13:15:34]protocol is kg_v1.0 [13:15:34]action value=close_receipt [13:15:34]process_action close_receipt [13:15:34]cmd_close_receipt [13:15:34]MH_GetDate [13:15:34]Write to MH i2c: F0 00 00 B5 03 A7 [13:15:34]Write i2c OK [13:15:34]MH_I2C_Read... [13:15:34]Read from MH i2c: F0 [13:15:34]MH_I2C_Read... [13:15:34]Read from MH i2c: F0 09 00 [13:15:34]MH_I2C_Read... [13:15:34]Read from MH i2c: F0 09 00 B5 03 00 F8 B0 13 67 C5 A4 76 66 17 [13:15:34]GetLastDocTimeStamp 1729342891 [13:15:34]current date 1729343736 [13:15:34]FM_GetShiftState [13:15:34]SAM_PROTO_GetShiftState [13:15:34]wFMCommunicate request_size=4 [13:15:34]MH_SAM_APDU [13:15:34]CAPDU: 80 13 01 00 [13:15:34]Write to MH i2c: E2 08 00 B6 03 80 13 01 00 00 00 00 00 36 [13:15:34]Write i2c OK [13:15:34]MH_I2C_Read... [13:15:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:35]Read from MH i2c: E2 [13:15:35]MH_I2C_Read... [13:15:35]Read from MH i2c: E2 0E 00 [13:15:35]MH_I2C_Read... [13:15:35]Read from MH i2c: E2 0E 00 B6 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 50 [13:15:35]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:15:35]wFMCommunicate OK [13:15:35]SAM_PROTO_GetShiftState done [13:15:35]FM_GetShiftState done [13:15:35]opened in 1729296796 [13:15:35]opened+sec_in_day 1729383196 [13:15:35]quantity*price = 13900 [13:15:35]sum+1 = 13901 [13:15:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 35 19.10.2024 13:15 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37099 ФПД: 224667507342776 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131536&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37099&fm=224667507342776&tin=02508201610067®Number=0000000000098149&sum=13900 0 [13:15:36]StoreToDocumentArchive [13:15:36]shift 460 fd 37099 [13:15:36]save to /storage/0460/doc_00037099 [13:15:36]save last doc name /storage/0460/doc_00037099 to /storage/kkm_last_doc_name [13:15:36]save OK [13:15:36]Clear old archive folders... [13:15:36]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:15:36]tlvbuf is B6F176F0 [13:15:36]SAM_PROTO_ClearQueue [13:15:36]wFMCommunicate request_size=4 [13:15:36]MH_SAM_APDU [13:15:36]CAPDU: 80 09 00 00 [13:15:36]Write to MH i2c: E2 08 00 C3 03 80 09 00 00 00 00 00 00 38 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 C3 03 00 90 00 3A [13:15:36]RAPDU: 90 00 [13:15:36]wFMCommunicate OK [13:15:36]SAM_PROTO_ClearQueue done [13:15:36]KKMCreateOFDPacket [13:15:36]OFDProtocolAddRootSTLVToBuf [13:15:36]FM_MakeSignedData [13:15:36]FM_MakeSignedData [13:15:36]SAM_PROTO_SignData [13:15:36]wFMCommunicate request_size=4 [13:15:36]MH_SAM_APDU [13:15:36]CAPDU: 80 0D 01 02 [13:15:36]Write to MH i2c: E2 08 00 C4 03 80 0D 01 02 00 00 00 00 40 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:15:36]Read from MH i2c: E2 03 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 C4 03 00 90 00 3B [13:15:36]RAPDU: 90 00 [13:15:36]wFMCommunicate OK [13:15:36]wFMCommunicate request_size=255 [13:15:36]MH_SAM_APDU [13:15:36]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 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 F8 B0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [13:15:36]Write to MH i2c: E2 02 01 C5 03 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 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 F8 B0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 F0 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 C5 03 00 90 00 3C [13:15:36]RAPDU: 90 00 [13:15:36]wFMCommunicate OK [13:15:36]wFMCommunicate request_size=33 [13:15:36]MH_SAM_APDU [13:15:36]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EB 90 00 00 35 04 06 00 CC 55 7A F7 BD B8 [13:15:36]Write to MH i2c: E2 24 00 C6 03 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EB 90 00 00 35 04 06 00 CC 55 7A F7 BD B8 00 00 54 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 03 00 C6 03 00 90 00 3D [13:15:36]RAPDU: 90 00 [13:15:36]wFMCommunicate OK [13:15:36]wFMCommunicate request_size=4 [13:15:36]MH_SAM_APDU [13:15:36]CAPDU: 80 0D 03 02 [13:15:36]Write to MH i2c: E2 08 00 C7 03 80 0D 03 02 00 00 00 00 45 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 0B 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 0B 00 C7 03 00 95 1D C8 0D 04 0F AA 90 90 00 1A [13:15:36]RAPDU: 95 1D C8 0D 04 0F AA 90 90 00 [13:15:36]wFMCommunicate OK [13:15:36]SAM_PROTO_SignData done [13:15:36]FM_MakeSignedData done [13:15:36]CreateOFDProtocolMessage [13:15:36]wFMCommunicate request_size=4 [13:15:36]MH_SAM_APDU [13:15:36]CAPDU: 80 11 00 00 [13:15:36]Write to MH i2c: E2 08 00 C8 03 80 11 00 00 00 00 00 00 45 [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:36]Read from MH i2c: E2 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 17 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: E2 17 00 C8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 98 [13:15:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:15:36]wFMCommunicate OK [13:15:36]CreateOFDProtocolMessage done [13:15:36]OFDSenderStorePacket 37099 [13:15:36]StoreOFDPacket docnum=37099 [13:15:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 D4 07 1E 01 94 3B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 F8 B0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EB 90 00 00 35 04 06 00 CC 55 7A F7 BD B8 95 1D C8 0D 04 0F AA 90 [13:15:36]CheckFolder [13:15:36]dirname=/storage/ofd_packets [13:15:36]CheckFolder done [13:15:36]ProducePacketName [13:15:36]name=ofd_packets/00037099 [13:15:36]NVStorageSaveData ofd_packets/00037099 [13:15:36]File name is /storage/ofd_packets/00037099 [13:15:36]Write 324 bytes [13:15:36]NVStorageSaveData done [13:15:36]OFDSenderStorePacket done [13:15:36]KKMCreateOFDPacket done [13:15:36]NVStorageSaveData kkm_last_timestamp [13:15:36]File name is /storage/kkm_last_timestamp [13:15:36]Write 4 bytes [13:15:36]NVStorageSaveData done [13:15:36]ExternCall_PrintAddStr [13:15:36]wPrintStart [13:15:36]Write to MH i2c: 01 00 00 C9 03 CC [13:15:36]Write i2c OK [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: 01 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: 01 07 00 [13:15:36]MH_I2C_Read... [13:15:36]Read from MH i2c: 01 07 00 C9 03 00 00 00 00 00 FF 0F E1 [13:15:36]RasterBufferAndPrint [13:15:36]line Счет N : (3)76598 [13:15:36]line ИНН: 02508201610067 [13:15:36]line Контрольно-Кассовый Чек [13:15:36]line ПРОДАЖА [13:15:36]line Товар: 48744997 [13:15:36]line Сигареты Winston Compact Blue [13:15:36]line 1.000 * 139.00 [13:15:36]line = 139.00 [13:15:36]line НДС 12% НСП 1% [13:15:36]line > о реализуемом товаре [13:15:36]line ИТОГО: 139.00 [13:15:36]line НСП 1% : 1.23 [13:15:36]line НДС 12% : 14.76 [13:15:36]line Наличными: 139.00 [13:15:36]line Безнал.: 0.00 [13:15:36]line Место: АЗС № 165 "Партнер Нефть" [13:15:36]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [13:15:36]line СНО: Общий режим [13:15:36]line Чек 35 19.10.2024 13:15 [13:15:36]line Смена: 460 ФФД: 1.0 [13:15:36]line ЗНМ: 0300000235 [13:15:36]line РНМ: 0000000000098149 [13:15:37]line Версия ККМ: 001 [13:15:37]line ФМ: 0000000000965372 [13:15:37]line ФД: 37099 [13:15:37]line ФПД: 224667507342776 [13:15:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T131536&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37099&fm=224667507342776&tin=02508201610067®Number=0000000000098149&sum=13900 [13:15:37]line 0 [13:15:37]OFD Sender: Processing packet 37099 [packets to send 25, broken 24] [13:15:37]ProducePacketName [13:15:37]name=ofd_packets/00037099 [13:15:37]OFD Sender: To server: pG, [13:15:37]CommunicateWithHost lk.salyk.kg:30040 [13:15:37]ConnectInit lk.salyk.kg [13:15:37]written 0, free lines is 4095 [13:15:37]Connected sock=10 [13:15: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 33 37 32 26 01 00 00 D4 07 1E 01 94 3B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 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 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 F8 B0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EB 90 00 00 35 04 06 00 CC 55 7A F7 BD B8 95 1D C8 0D 04 0F AA 90 [13:15:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 54 62 47 00 C7 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EB 90 00 00 F4 03 04 00 8E 59 13 67 B6 04 01 00 00 88 0B 2E 81 9A A5 AD BE [13:15:37]CommunicateWithHost err = 0 [13:15:37]CheckOFDResponse [13:15:37]1017 (14) - 77093643461234 [13:15:37]1041 (16) - 0000000000965372 [13:15:37]1040 (4) - 37099 [13:15:37]1012 (4) - 19.10.2024 07:02 [13:15:37]1206 (1) - 0 [13:15:37]OFD Sender: Remove packet 37099 [13:15:37]ProducePacketName [13:15:37]name=ofd_packets/00037099 [13:15:37]NVStorageDeleteData [13:15:37]Write to MH i2c: 01 00 00 F2 03 F5 [13:15:37]Write i2c OK [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: 01 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: 01 07 00 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: 01 07 00 F2 03 00 00 00 00 00 D2 0C DA [13:15:37]RasterBufferAndPrint [13:15:37]line [13:15:37]line [13:15:37]line [13:15:37]line [13:15:37]line [13:15:37]written 0, free lines is 3288 [13:15:37]process_action close_receipt done [13:15:37]requested_data is exist [13:15:37]produce_requested_data [13:15:37]requested_item fm.sn is exist - process it [13:15:37]wFMCommunicate request_size=4 [13:15:37]MH_SAM_APDU [13:15:37]CAPDU: 80 11 00 00 [13:15:37]Write to MH i2c: E2 08 00 F9 03 80 11 00 00 00 00 00 00 76 [13:15:37]Write i2c OK [13:15:37]MH_I2C_Read... [13:15:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:37]Read from MH i2c: E2 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 17 00 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 17 00 F9 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C9 [13:15:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:15:37]wFMCommunicate OK [13:15:37]requested_item fd.num is exist - process it [13:15:37]SAM_PROTO_GetFieldsCounters [13:15:37]wFMCommunicate request_size=4 [13:15:37]MH_SAM_APDU [13:15:37]CAPDU: 80 13 00 00 [13:15:37]Write to MH i2c: E2 08 00 FA 03 80 13 00 00 00 00 00 00 79 [13:15:37]Write i2c OK [13:15:37]MH_I2C_Read... [13:15:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:15:37]Read from MH i2c: E2 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 62 00 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 62 00 FA 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EB 90 00 00 0E 04 04 00 CC 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 51 [13:15: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EB 90 00 00 0E 04 04 00 CC 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 [13:15:37]wFMCommunicate OK [13:15:37]SAM_PROTO_GetFieldsCounters done [13:15:37]requested_item shift.num is exist - process it [13:15:37]requested_item shift.opened is exist - process it [13:15:37]req_shift_opened [13:15:37]FM_GetShiftState [13:15:37]SAM_PROTO_GetShiftState [13:15:37]wFMCommunicate request_size=4 [13:15:37]MH_SAM_APDU [13:15:37]CAPDU: 80 13 01 00 [13:15:37]Write to MH i2c: E2 08 00 FB 03 80 13 01 00 00 00 00 00 7B [13:15:37]Write i2c OK [13:15:37]MH_I2C_Read... [13:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:37]Read from MH i2c: E2 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 0E 00 [13:15:37]MH_I2C_Read... [13:15:37]Read from MH i2c: E2 0E 00 FB 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 95 [13:15:37]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:15:37]wFMCommunicate OK [13:15:37]SAM_PROTO_GetShiftState done [13:15:37]FM_GetShiftState done [13:15:37]req_shift_opened done [13:15:37]requested_item shift.open_date is exist - process it [13:15:37]req_shift_open_date [13:15:37]req_shift_open_date done [13:15:37]produce_requested_data done [13:15:37]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37099,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [13:15:37]process_action_free close_receipt [13:15:37]json_value_free [13:15:37]json_value_free done [13:15:37]process_json_proto returns [13:15:37]Send response to host [13:15:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37099,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [13:15:37]free response buf [13:15:37]execute_script done [13:15:37]execute_script returns [13:15:37]free content buf [13:15:37]Sock 9.Close socket [13:15:37]Sock 9.Thread stoped [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:55]accept exits with 7 [13:24:55]New connection [13:24:55]New thread 3066555748 created [13:24:55]Thread 3066699108 joined [13:24:55]Waiting for new connection... [13:24:55] Sock 7.Parse request [13:24:55]Sock 7.Check first char [13:24:55]Sock 7.First char is OK [13:24:55]request: POST /json_proto HTTP/1.0 [13:24:55]Method: POST [13:24:55]URL: /json_proto [13:24:55]Method is POST - this is cgi request [13:24:55]url: /json_proto [13:24:55]query_string will be loaded in cgi processing [13:24:55]execute_cgi json_proto POST (null) [13:24:55]execute_cgi path=json_proto method=POST [13:24:55]POST find Content-Length [13:24:55]Host: 172.17.53.68:8080 [13:24:55]Content-Length: 645 [13:24:55]Content-Type: application/json [13:24:55] [13:24:55]POST finish read [13:24:55]Found Content-Length = 645 [13:24:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76599", "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" ] } } [13:24:55]execute_script... [13:24: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)76599", "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" ] } } [13:24:55]POST & json_proto [13:24:55]process_json_proto [13:24:55]json parsed OK: [13:24:55]protocol is kg_v1.0 [13:24:55]action value=close_receipt [13:24:55]process_action close_receipt [13:24:55]cmd_close_receipt [13:24:55]MH_GetDate [13:24:55]Write to MH i2c: F0 00 00 FC 03 EE [13:24:55]Write i2c OK [13:24:55]MH_I2C_Read... [13:24:55]Read from MH i2c: F0 [13:24:55]MH_I2C_Read... [13:24:55]Read from MH i2c: F0 09 00 [13:24:55]MH_I2C_Read... [13:24:55]Read from MH i2c: F0 09 00 FC 03 00 28 B3 13 67 C5 A4 76 66 91 [13:24:55]GetLastDocTimeStamp 1729343736 [13:24:55]current date 1729344296 [13:24:55]FM_GetShiftState [13:24:55]SAM_PROTO_GetShiftState [13:24:55]wFMCommunicate request_size=4 [13:24:55]MH_SAM_APDU [13:24:55]CAPDU: 80 13 01 00 [13:24:55]Write to MH i2c: E2 08 00 FD 03 80 13 01 00 00 00 00 00 7D [13:24:55]Write i2c OK [13:24:55]MH_I2C_Read... [13:24:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:55]Read from MH i2c: E2 [13:24:55]MH_I2C_Read... [13:24:55]Read from MH i2c: E2 0E 00 [13:24:55]MH_I2C_Read... [13:24:55]Read from MH i2c: E2 0E 00 FD 03 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 97 [13:24:55]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:24:55]wFMCommunicate OK [13:24:55]SAM_PROTO_GetShiftState done [13:24:55]FM_GetShiftState done [13:24:55]opened in 1729296796 [13:24:55]opened+sec_in_day 1729383196 [13:24:55]quantity*price = 13000 [13:24:55]sum+1 = 13001 [13:24:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 36 19.10.2024 13:24 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37100 ФПД: 220254032637155 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T132456&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37100&fm=220254032637155&tin=02508201610067®Number=0000000000098149&sum=13000 0 [13:24:56]StoreToDocumentArchive [13:24:56]shift 460 fd 37100 [13:24:56]save to /storage/0460/doc_00037100 [13:24:56]save last doc name /storage/0460/doc_00037100 to /storage/kkm_last_doc_name [13:24:56]save OK [13:24:56]Clear old archive folders... [13:24:56]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:24:56]tlvbuf is 0097E9D0 [13:24:56]SAM_PROTO_ClearQueue [13:24:56]wFMCommunicate request_size=4 [13:24:56]MH_SAM_APDU [13:24:56]CAPDU: 80 09 00 00 [13:24:56]Write to MH i2c: E2 08 00 0A 04 80 09 00 00 00 00 00 00 80 [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 0A 04 00 90 00 82 [13:24:56]RAPDU: 90 00 [13:24:56]wFMCommunicate OK [13:24:56]SAM_PROTO_ClearQueue done [13:24:56]KKMCreateOFDPacket [13:24:56]OFDProtocolAddRootSTLVToBuf [13:24:56]FM_MakeSignedData [13:24:56]FM_MakeSignedData [13:24:56]SAM_PROTO_SignData [13:24:56]wFMCommunicate request_size=4 [13:24:56]MH_SAM_APDU [13:24:56]CAPDU: 80 0D 01 02 [13:24:56]Write to MH i2c: E2 08 00 0B 04 80 0D 01 02 00 00 00 00 88 [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 0B 04 00 90 00 83 [13:24:56]RAPDU: 90 00 [13:24:56]wFMCommunicate OK [13:24:56]wFMCommunicate request_size=255 [13:24:56]MH_SAM_APDU [13:24:56]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 24 00 00 00 F4 03 04 00 28 B3 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [13:24:56]Write to MH i2c: E2 02 01 0C 04 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 24 00 00 00 F4 03 04 00 28 B3 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 E3 [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 0C 04 00 90 00 84 [13:24:56]RAPDU: 90 00 [13:24:56]wFMCommunicate OK [13:24:56]wFMCommunicate request_size=41 [13:24:56]MH_SAM_APDU [13:24:56]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EC 90 00 00 35 04 06 00 C8 51 E3 60 2C E3 [13:24:56]Write to MH i2c: E2 2C 00 0D 04 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EC 90 00 00 35 04 06 00 C8 51 E3 60 2C E3 00 00 41 [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 03 00 0D 04 00 90 00 85 [13:24:56]RAPDU: 90 00 [13:24:56]wFMCommunicate OK [13:24:56]wFMCommunicate request_size=4 [13:24:56]MH_SAM_APDU [13:24:56]CAPDU: 80 0D 03 02 [13:24:56]Write to MH i2c: E2 08 00 0E 04 80 0D 03 02 00 00 00 00 8D [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 0B 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 0B 00 0E 04 00 C7 39 04 8B BB 67 73 CC 90 00 7E [13:24:56]RAPDU: C7 39 04 8B BB 67 73 CC 90 00 [13:24:56]wFMCommunicate OK [13:24:56]SAM_PROTO_SignData done [13:24:56]FM_MakeSignedData done [13:24:56]CreateOFDProtocolMessage [13:24:56]wFMCommunicate request_size=4 [13:24:56]MH_SAM_APDU [13:24:56]CAPDU: 80 11 00 00 [13:24:56]Write to MH i2c: E2 08 00 0F 04 80 11 00 00 00 00 00 00 8D [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:56]Read from MH i2c: E2 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 17 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: E2 17 00 0F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E0 [13:24:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:24:56]wFMCommunicate OK [13:24:56]CreateOFDProtocolMessage done [13:24:56]OFDSenderStorePacket 37100 [13:24:56]StoreOFDPacket docnum=37100 [13:24:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 A8 A2 26 01 F6 FE 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 24 00 00 00 F4 03 04 00 28 B3 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EC 90 00 00 35 04 06 00 C8 51 E3 60 2C E3 C7 39 04 8B BB 67 73 CC [13:24:56]CheckFolder [13:24:56]dirname=/storage/ofd_packets [13:24:56]CheckFolder done [13:24:56]ProducePacketName [13:24:56]name=ofd_packets/00037100 [13:24:56]NVStorageSaveData ofd_packets/00037100 [13:24:56]File name is /storage/ofd_packets/00037100 [13:24:56]Write 332 bytes [13:24:56]NVStorageSaveData done [13:24:56]OFDSenderStorePacket done [13:24:56]KKMCreateOFDPacket done [13:24:56]NVStorageSaveData kkm_last_timestamp [13:24:56]File name is /storage/kkm_last_timestamp [13:24:56]Write 4 bytes [13:24:56]NVStorageSaveData done [13:24:56]ExternCall_PrintAddStr [13:24:56]wPrintStart [13:24:56]Write to MH i2c: 01 00 00 10 04 14 [13:24:56]Write i2c OK [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: 01 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: 01 07 00 [13:24:56]MH_I2C_Read... [13:24:56]Read from MH i2c: 01 07 00 10 04 00 00 00 00 00 FF 0F 29 [13:24:56]RasterBufferAndPrint [13:24:56]line Счет N : (3)76599 [13:24:56]line ИНН: 02508201610067 [13:24:56]line Контрольно-Кассовый Чек [13:24:56]line ПРОДАЖА [13:24:56]line Товар: 2000036220012 [13:24:56]line Кофе Капучино XL(GABB TRADE) [13:24:56]line 1.000 * 130.00 [13:24:56]line = 130.00 [13:24:56]line НДС 12% НСП 1% [13:24:56]line > о реализуемом товаре [13:24:56]line ИТОГО: 130.00 [13:24:56]line НСП 1% : 1.15 [13:24:56]line НДС 12% : 13.80 [13:24:56]line Наличными: 130.00 [13:24:56]line Безнал.: 0.00 [13:24:56]line Место: АЗС № 165 "Партнер Нефть" [13:24:56]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [13:24:56]line СНО: Общий режим [13:24:56]line Чек 36 19.10.2024 13:24 [13:24:56]line Смена: 460 ФФД: 1.0 [13:24:56]line ЗНМ: 0300000235 [13:24:56]line РНМ: 0000000000098149 [13:24:56]line Версия ККМ: 001 [13:24:56]line ФМ: 0000000000965372 [13:24:56]line ФД: 37100 [13:24:56]line ФПД: 220254032637155 [13:24:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T132456&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37100&fm=220254032637155&tin=02508201610067®Number=0000000000098149&sum=13000 [13:24:57]line 0 [13:24:57]OFD Sender: Processing packet 37100 [packets to send 25, broken 24] [13:24:57]ProducePacketName [13:24:57]name=ofd_packets/00037100 [13:24:57]OFD Sender: To server: pG, [13:24:57]CommunicateWithHost lk.salyk.kg:30040 [13:24:57]ConnectInit lk.salyk.kg [13:24:57]written 0, free lines is 4095 [13:24:57]Connected sock=11 [13:24: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 33 37 32 2E 01 00 00 A8 A2 26 01 F6 FE 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 24 00 00 00 F4 03 04 00 28 B3 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EC 90 00 00 35 04 06 00 C8 51 E3 60 2C E3 C7 39 04 8B BB 67 73 CC [13:24:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 2D 0A 47 00 5F 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 33 37 32 10 04 04 00 EC 90 00 00 F4 03 04 00 BE 5B 13 67 B6 04 01 00 00 12 97 1F 3A C0 F9 83 76 [13:24:57]CommunicateWithHost err = 0 [13:24:57]CheckOFDResponse [13:24:57]1017 (14) - 77093643461234 [13:24:57]1041 (16) - 0000000000965372 [13:24:57]1040 (4) - 37100 [13:24:57]1012 (4) - 19.10.2024 07:11 [13:24:57]1206 (1) - 0 [13:24:57]OFD Sender: Remove packet 37100 [13:24:57]ProducePacketName [13:24:57]name=ofd_packets/00037100 [13:24:57]NVStorageDeleteData [13:24:57]Write to MH i2c: 01 00 00 39 04 3D [13:24:57]Write i2c OK [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: 01 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: 01 07 00 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: 01 07 00 39 04 00 00 00 00 00 F3 0C 43 [13:24:57]RasterBufferAndPrint [13:24:57]line [13:24:57]line [13:24:57]line [13:24:57]line [13:24:57]line [13:24:57]written 0, free lines is 3322 [13:24:57]process_action close_receipt done [13:24:57]requested_data is exist [13:24:57]produce_requested_data [13:24:57]requested_item fm.sn is exist - process it [13:24:57]wFMCommunicate request_size=4 [13:24:57]MH_SAM_APDU [13:24:57]CAPDU: 80 11 00 00 [13:24:57]Write to MH i2c: E2 08 00 40 04 80 11 00 00 00 00 00 00 BE [13:24:57]Write i2c OK [13:24:57]MH_I2C_Read... [13:24:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:57]Read from MH i2c: E2 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 17 00 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 17 00 40 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 11 [13:24:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:24:57]wFMCommunicate OK [13:24:57]requested_item fd.num is exist - process it [13:24:57]SAM_PROTO_GetFieldsCounters [13:24:57]wFMCommunicate request_size=4 [13:24:57]MH_SAM_APDU [13:24:57]CAPDU: 80 13 00 00 [13:24:57]Write to MH i2c: E2 08 00 41 04 80 13 00 00 00 00 00 00 C1 [13:24:57]Write i2c OK [13:24:57]MH_I2C_Read... [13:24:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:57]Read from MH i2c: E2 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 62 00 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 62 00 41 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EC 90 00 00 0E 04 04 00 CC 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 9D [13:24: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EC 90 00 00 0E 04 04 00 CC 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 [13:24:57]wFMCommunicate OK [13:24:57]SAM_PROTO_GetFieldsCounters done [13:24:57]requested_item shift.num is exist - process it [13:24:57]requested_item shift.opened is exist - process it [13:24:57]req_shift_opened [13:24:57]FM_GetShiftState [13:24:57]SAM_PROTO_GetShiftState [13:24:57]wFMCommunicate request_size=4 [13:24:57]MH_SAM_APDU [13:24:57]CAPDU: 80 13 01 00 [13:24:57]Write to MH i2c: E2 08 00 42 04 80 13 01 00 00 00 00 00 C3 [13:24:57]Write i2c OK [13:24:57]MH_I2C_Read... [13:24:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:57]Read from MH i2c: E2 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 0E 00 [13:24:57]MH_I2C_Read... [13:24:57]Read from MH i2c: E2 0E 00 42 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 DD [13:24:57]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:24:57]wFMCommunicate OK [13:24:57]SAM_PROTO_GetShiftState done [13:24:57]FM_GetShiftState done [13:24:57]req_shift_opened done [13:24:57]requested_item shift.open_date is exist - process it [13:24:57]req_shift_open_date [13:24:57]req_shift_open_date done [13:24:57]produce_requested_data done [13:24:57]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37100,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [13:24:57]process_action_free close_receipt [13:24:57]json_value_free [13:24:57]json_value_free done [13:24:57]process_json_proto returns [13:24:57]Send response to host [13:24:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37100,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [13:24:57]free response buf [13:24:57]execute_script done [13:24:57]execute_script returns [13:24:57]free content buf [13:24:57]Sock 7.Close socket [13:24:57]Sock 7.Thread stoped [13:24:57]OFD Sender: No OFD packet to send [13:24:59]int [13:24:59]Write to MH i2c: 01 00 00 43 04 47 [13:24:59]*** FLAG_PRN_KEY set [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 43 04 00 08 00 00 00 FF 0F 64 [13:24:59]state=0 [13:24:59]Key pressed [13:24:59]Feed [13:24:59]Write to MH i2c: D8 00 00 44 04 1F [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: D8 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: D8 01 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: D8 01 00 44 04 00 20 [13:24:59]int [13:24:59]Write to MH i2c: 01 00 00 45 04 49 [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 45 04 00 48 00 00 00 3C 00 D4 [13:24:59]state=2 [13:24:59]Key pressed [13:24:59]int [13:24:59]Write to MH i2c: 01 00 00 46 04 4A [13:24:59]*** FLAG_PRN_KEY reset [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: 01 07 00 46 04 00 00 00 00 00 F7 0F 57 [13:24:59]state=2 [13:24:59]Stop feed [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:45]accept exits with 9 [13:37:45]New connection [13:37:45]New thread 3066699108 created [13:37:45]Thread 3066555748 joined [13:37:45]Waiting for new connection... [13:37:45] Sock 9.Parse request [13:37:45]Sock 9.Check first char [13:37:45]Sock 9.First char is OK [13:37:45]request: POST /json_proto HTTP/1.0 [13:37:45]Method: POST [13:37:45]URL: /json_proto [13:37:45]Method is POST - this is cgi request [13:37:45]url: /json_proto [13:37:45]query_string will be loaded in cgi processing [13:37:45]execute_cgi json_proto POST (null) [13:37:45]execute_cgi path=json_proto method=POST [13:37:45]POST find Content-Length [13:37:45]Host: 172.17.53.68:8080 [13:37:45]Content-Length: 655 [13:37:45]Content-Type: application/json [13:37:45] [13:37:45]POST finish read [13:37:45]Found Content-Length = 655 [13:37:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76600", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 4.000, "sum" : 380.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 380.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:45]execute_script... [13:37:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76600", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 4.000, "sum" : 380.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 380.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:45]POST & json_proto [13:37:45]process_json_proto [13:37:45]json parsed OK: [13:37:45]protocol is kg_v1.0 [13:37:45]action value=close_receipt [13:37:45]process_action close_receipt [13:37:45]cmd_close_receipt [13:37:45]MH_GetDate [13:37:45]Write to MH i2c: F0 00 00 47 04 3A [13:37:45]Write i2c OK [13:37:45]MH_I2C_Read... [13:37:45]Read from MH i2c: F0 [13:37:45]MH_I2C_Read... [13:37:45]Read from MH i2c: F0 09 00 [13:37:45]MH_I2C_Read... [13:37:45]Read from MH i2c: F0 09 00 47 04 00 2B B6 13 67 C5 A4 76 66 E3 [13:37:45]GetLastDocTimeStamp 1729344296 [13:37:45]current date 1729345067 [13:37:45]FM_GetShiftState [13:37:45]SAM_PROTO_GetShiftState [13:37:45]wFMCommunicate request_size=4 [13:37:45]MH_SAM_APDU [13:37:45]CAPDU: 80 13 01 00 [13:37:45]Write to MH i2c: E2 08 00 48 04 80 13 01 00 00 00 00 00 C9 [13:37:45]Write i2c OK [13:37:45]MH_I2C_Read... [13:37:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:37:45]Read from MH i2c: E2 [13:37:45]MH_I2C_Read... [13:37:45]Read from MH i2c: E2 0E 00 [13:37:45]MH_I2C_Read... [13:37:45]Read from MH i2c: E2 0E 00 48 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E3 [13:37:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:37:45]wFMCommunicate OK [13:37:45]SAM_PROTO_GetShiftState done [13:37:45]FM_GetShiftState done [13:37:45]opened in 1729296796 [13:37:45]opened+sec_in_day 1729383196 [13:37:45]quantity*price = 38000 [13:37:45]sum+1 = 38001 [13:37:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 380.00 НСП 1% : 3.36 НДС 12% : 40.35 Наличными: 380.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 37 19.10.2024 13:37 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37101 ФПД: 114857247000220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T133747&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37101&fm=114857247000220&tin=02508201610067®Number=0000000000098149&sum=38000 0 [13:37:46]StoreToDocumentArchive [13:37:46]shift 460 fd 37101 [13:37:46]save to /storage/0460/doc_00037101 [13:37:46]save last doc name /storage/0460/doc_00037101 to /storage/kkm_last_doc_name [13:37:46]save OK [13:37:46]Clear old archive folders... [13:37:46]ProcessDocumentItem done err = 0, tmpTLVsize=293 [13:37:46]tlvbuf is 0097FF00 [13:37:46]SAM_PROTO_ClearQueue [13:37:46]wFMCommunicate request_size=4 [13:37:46]MH_SAM_APDU [13:37:46]CAPDU: 80 09 00 00 [13:37:46]Write to MH i2c: E2 08 00 55 04 80 09 00 00 00 00 00 00 CB [13:37:46]Write i2c OK [13:37:46]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 55 04 00 90 00 CD [13:37:47]RAPDU: 90 00 [13:37:47]wFMCommunicate OK [13:37:47]SAM_PROTO_ClearQueue done [13:37:47]KKMCreateOFDPacket [13:37:47]OFDProtocolAddRootSTLVToBuf [13:37:47]FM_MakeSignedData [13:37:47]FM_MakeSignedData [13:37:47]SAM_PROTO_SignData [13:37:47]wFMCommunicate request_size=4 [13:37:47]MH_SAM_APDU [13:37:47]CAPDU: 80 0D 01 02 [13:37:47]Write to MH i2c: E2 08 00 56 04 80 0D 01 02 00 00 00 00 D3 [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 56 04 00 90 00 CE [13:37:47]RAPDU: 90 00 [13:37:47]wFMCommunicate OK [13:37:47]wFMCommunicate request_size=255 [13:37:47]MH_SAM_APDU [13:37:47]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 70 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 2B B6 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [13:37:47]Write to MH i2c: E2 02 01 57 04 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 70 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 2B B6 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 A8 [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 57 04 00 90 00 CF [13:37:47]RAPDU: 90 00 [13:37:47]wFMCommunicate OK [13:37:47]wFMCommunicate request_size=52 [13:37:47]MH_SAM_APDU [13:37:47]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 ED 90 00 00 35 04 06 00 68 76 49 68 46 9C [13:37:47]Write to MH i2c: E2 37 00 58 04 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 ED 90 00 00 35 04 06 00 68 76 49 68 46 9C 00 00 8D [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 03 00 58 04 00 90 00 D0 [13:37:47]RAPDU: 90 00 [13:37:47]wFMCommunicate OK [13:37:47]wFMCommunicate request_size=4 [13:37:47]MH_SAM_APDU [13:37:47]CAPDU: 80 0D 03 02 [13:37:47]Write to MH i2c: E2 08 00 59 04 80 0D 03 02 00 00 00 00 D8 [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 0B 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 0B 00 59 04 00 87 22 E7 A3 94 D0 AF 68 90 00 87 [13:37:47]RAPDU: 87 22 E7 A3 94 D0 AF 68 90 00 [13:37:47]wFMCommunicate OK [13:37:47]SAM_PROTO_SignData done [13:37:47]FM_MakeSignedData done [13:37:47]CreateOFDProtocolMessage [13:37:47]wFMCommunicate request_size=4 [13:37:47]MH_SAM_APDU [13:37:47]CAPDU: 80 11 00 00 [13:37:47]Write to MH i2c: E2 08 00 5A 04 80 11 00 00 00 00 00 00 D8 [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:37:47]Read from MH i2c: E2 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 17 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: E2 17 00 5A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2B [13:37:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:37:47]wFMCommunicate OK [13:37:47]CreateOFDProtocolMessage done [13:37:47]OFDSenderStorePacket 37101 [13:37:47]StoreOFDPacket docnum=37101 [13:37:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 51 FD 31 01 F1 BF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 70 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 2B B6 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 ED 90 00 00 35 04 06 00 68 76 49 68 46 9C 87 22 E7 A3 94 D0 AF 68 [13:37:47]CheckFolder [13:37:47]dirname=/storage/ofd_packets [13:37:47]CheckFolder done [13:37:47]ProducePacketName [13:37:47]name=ofd_packets/00037101 [13:37:47]NVStorageSaveData ofd_packets/00037101 [13:37:47]File name is /storage/ofd_packets/00037101 [13:37:47]Write 343 bytes [13:37:47]NVStorageSaveData done [13:37:47]OFDSenderStorePacket done [13:37:47]KKMCreateOFDPacket done [13:37:47]NVStorageSaveData kkm_last_timestamp [13:37:47]File name is /storage/kkm_last_timestamp [13:37:47]Write 4 bytes [13:37:47]NVStorageSaveData done [13:37:47]ExternCall_PrintAddStr [13:37:47]wPrintStart [13:37:47]Write to MH i2c: 01 00 00 5B 04 5F [13:37:47]Write i2c OK [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: 01 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: 01 07 00 [13:37:47]MH_I2C_Read... [13:37:47]Read from MH i2c: 01 07 00 5B 04 00 00 00 00 00 FF 0F 74 [13:37:47]RasterBufferAndPrint [13:37:47]line Счет N : (3)76600 [13:37:47]line ИНН: 02508201610067 [13:37:47]line Контрольно-Кассовый Чек [13:37:47]line ПРОДАЖА [13:37:47]line Товар: 4700000480050 [13:37:47]line Напиток Nitro Energy эн green ж/б 0,45л [13:37:47]line 4.000 * 95.00 [13:37:47]line = 380.00 [13:37:47]line НДС 12% НСП 1% [13:37:47]line > о реализуемом товаре [13:37:47]line ИТОГО: 380.00 [13:37:47]line НСП 1% : 3.36 [13:37:47]line НДС 12% : 40.35 [13:37:47]line Наличными: 380.00 [13:37:47]line Безнал.: 0.00 [13:37:47]line Место: АЗС № 165 "Партнер Нефть" [13:37:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [13:37:47]line СНО: Общий режим [13:37:47]line Чек 37 19.10.2024 13:37 [13:37:47]line Смена: 460 ФФД: 1.0 [13:37:47]line ЗНМ: 0300000235 [13:37:47]line РНМ: 0000000000098149 [13:37:47]line Версия ККМ: 001 [13:37:47]line ФМ: 0000000000965372 [13:37:47]line ФД: 37101 [13:37:47]line ФПД: 114857247000220 [13:37:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T133747&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37101&fm=114857247000220&tin=02508201610067®Number=0000000000098149&sum=38000 [13:37:47]line 0 [13:37:47]OFD Sender: Processing packet 37101 [packets to send 25, broken 24] [13:37:47]ProducePacketName [13:37:47]name=ofd_packets/00037101 [13:37:47]OFD Sender: To server: pG, [13:37:47]CommunicateWithHost lk.salyk.kg:30040 [13:37:47]ConnectInit lk.salyk.kg [13:37:47]written 0, free lines is 4095 [13:37:48]Connected sock=10 [13:37:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 51 FD 31 01 F1 BF 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 70 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C3 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 2B B6 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 ED 90 00 00 35 04 06 00 68 76 49 68 46 9C 87 22 E7 A3 94 D0 AF 68 [13:37:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 DB 56 47 00 9D 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 33 37 32 10 04 04 00 ED 90 00 00 F4 03 04 00 C1 5E 13 67 B6 04 01 00 00 DE D2 8E 16 91 6C B1 0F [13:37:48]CommunicateWithHost err = 0 [13:37:48]CheckOFDResponse [13:37:48]1017 (14) - 77093643461234 [13:37:48]1041 (16) - 0000000000965372 [13:37:48]1040 (4) - 37101 [13:37:48]1012 (4) - 19.10.2024 07:24 [13:37:48]1206 (1) - 0 [13:37:48]OFD Sender: Remove packet 37101 [13:37:48]ProducePacketName [13:37:48]name=ofd_packets/00037101 [13:37:48]NVStorageDeleteData [13:37:48]Write to MH i2c: 01 00 00 84 04 88 [13:37:48]Write i2c OK [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: 01 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: 01 07 00 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: 01 07 00 84 04 00 00 00 00 00 EB 0C 86 [13:37:48]RasterBufferAndPrint [13:37:48]line [13:37:48]line [13:37:48]line [13:37:48]line [13:37:48]line [13:37:48]written 0, free lines is 3313 [13:37:48]process_action close_receipt done [13:37:48]requested_data is exist [13:37:48]produce_requested_data [13:37:48]requested_item fm.sn is exist - process it [13:37:48]wFMCommunicate request_size=4 [13:37:48]MH_SAM_APDU [13:37:48]CAPDU: 80 11 00 00 [13:37:48]Write to MH i2c: E2 08 00 8B 04 80 11 00 00 00 00 00 00 09 [13:37:48]Write i2c OK [13:37:48]MH_I2C_Read... [13:37:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:37:48]Read from MH i2c: E2 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 17 00 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 17 00 8B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 5C [13:37:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [13:37:48]wFMCommunicate OK [13:37:48]requested_item fd.num is exist - process it [13:37:48]SAM_PROTO_GetFieldsCounters [13:37:48]wFMCommunicate request_size=4 [13:37:48]MH_SAM_APDU [13:37:48]CAPDU: 80 13 00 00 [13:37:48]Write to MH i2c: E2 08 00 8C 04 80 13 00 00 00 00 00 00 0C [13:37:48]Write i2c OK [13:37:48]MH_I2C_Read... [13:37:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:37:48]Read from MH i2c: E2 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 62 00 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 62 00 8C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 ED 90 00 00 0E 04 04 00 CC 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 EC [13:37:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 ED 90 00 00 0E 04 04 00 CC 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 [13:37:48]wFMCommunicate OK [13:37:48]SAM_PROTO_GetFieldsCounters done [13:37:48]requested_item shift.num is exist - process it [13:37:48]requested_item shift.opened is exist - process it [13:37:48]req_shift_opened [13:37:48]FM_GetShiftState [13:37:48]SAM_PROTO_GetShiftState [13:37:48]wFMCommunicate request_size=4 [13:37:48]MH_SAM_APDU [13:37:48]CAPDU: 80 13 01 00 [13:37:48]Write to MH i2c: E2 08 00 8D 04 80 13 01 00 00 00 00 00 0E [13:37:48]Write i2c OK [13:37:48]MH_I2C_Read... [13:37:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:37:48]Read from MH i2c: E2 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 0E 00 [13:37:48]MH_I2C_Read... [13:37:48]Read from MH i2c: E2 0E 00 8D 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 28 [13:37:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [13:37:48]wFMCommunicate OK [13:37:48]SAM_PROTO_GetShiftState done [13:37:48]FM_GetShiftState done [13:37:48]req_shift_opened done [13:37:48]requested_item shift.open_date is exist - process it [13:37:48]req_shift_open_date [13:37:48]req_shift_open_date done [13:37:48]produce_requested_data done [13:37:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37101,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [13:37:48]process_action_free close_receipt [13:37:48]json_value_free [13:37:48]json_value_free done [13:37:48]process_json_proto returns [13:37:48]Send response to host [13:37:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37101,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [13:37:48]free response buf [13:37:48]execute_script done [13:37:48]execute_script returns [13:37:48]free content buf [13:37:48]Sock 9.Close socket [13:37:48]Sock 9.Thread stoped [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:03]OFD Sender: No OFD packet to send [13:38:08]OFD Sender: No OFD packet to send [13:38:13]OFD Sender: No OFD packet to send [13:38:18]OFD Sender: No OFD packet to send [13:38:23]OFD Sender: No OFD packet to send [13:38:28]OFD Sender: No OFD packet to send [13:38:33]OFD Sender: No OFD packet to send [13:38:38]OFD Sender: No OFD packet to send [13:38:43]OFD Sender: No OFD packet to send [13:38:48]OFD Sender: No OFD packet to send [13:38:53]OFD Sender: No OFD packet to send [13:38:58]OFD Sender: No OFD packet to send [13:39:03]OFD Sender: No OFD packet to send [13:39:08]OFD Sender: No OFD packet to send [13:39:13]OFD Sender: No OFD packet to send [13:39:18]OFD Sender: No OFD packet to send [13:39:23]OFD Sender: No OFD packet to send [13:39:28]OFD Sender: No OFD packet to send [13:39:33]OFD Sender: No OFD packet to send [13:39:38]OFD Sender: No OFD packet to send [13:39:43]OFD Sender: No OFD packet to send [13:39:48]OFD Sender: No OFD packet to send [13:39:53]OFD Sender: No OFD packet to send [13:39:58]OFD Sender: No OFD packet to send [13:40:03]OFD Sender: No OFD packet to send [13:40:08]OFD Sender: No OFD packet to send [13:40:13]OFD Sender: No OFD packet to send [13:40:18]OFD Sender: No OFD packet to send [13:40:23]OFD Sender: No OFD packet to send [13:40:28]OFD Sender: No OFD packet to send [13:40:33]OFD Sender: No OFD packet to send [13:40:38]OFD Sender: No OFD packet to send [13:40:43]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:05]OFD Sender: No OFD packet to send [14:11:10]OFD Sender: No OFD packet to send [14:11:15]OFD Sender: No OFD packet to send [14:11:20]OFD Sender: No OFD packet to send [14:11:25]OFD Sender: No OFD packet to send [14:11:30]OFD Sender: No OFD packet to send [14:11:35]OFD Sender: No OFD packet to send [14:11:40]OFD Sender: No OFD packet to send [14:11:45]OFD Sender: No OFD packet to send [14:11:50]OFD Sender: No OFD packet to send [14:11:55]OFD Sender: No OFD packet to send [14:12:00]OFD Sender: No OFD packet to send [14:12:05]OFD Sender: No OFD packet to send [14:12:10]OFD Sender: No OFD packet to send [14:12:15]OFD Sender: No OFD packet to send [14:12:20]OFD Sender: No OFD packet to send [14:12:25]OFD Sender: No OFD packet to send [14:12:30]OFD Sender: No OFD packet to send [14:12:35]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:23]accept exits with 7 [14:13:23]New connection [14:13:23]New thread 3066555748 created [14:13:23]Thread 3066699108 joined [14:13:23]Waiting for new connection... [14:13:23] Sock 7.Parse request [14:13:23]Sock 7.Check first char [14:13:23]Sock 7.First char is OK [14:13:23]request: POST /json_proto HTTP/1.0 [14:13:23]Method: POST [14:13:23]URL: /json_proto [14:13:23]Method is POST - this is cgi request [14:13:23]url: /json_proto [14:13:23]query_string will be loaded in cgi processing [14:13:23]execute_cgi json_proto POST (null) [14:13:23]execute_cgi path=json_proto method=POST [14:13:23]POST find Content-Length [14:13:23]Host: 172.17.53.68:8080 [14:13:23]Content-Length: 622 [14:13:23]Content-Type: application/json [14:13:23] [14:13:23]POST finish read [14:13:23]Found Content-Length = 622 [14:13:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76601", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:23]execute_script... [14:13:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76601", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:13:23]POST & json_proto [14:13:23]process_json_proto [14:13:23]json parsed OK: [14:13:23]protocol is kg_v1.0 [14:13:23]action value=close_receipt [14:13:23]process_action close_receipt [14:13:23]cmd_close_receipt [14:13:23]MH_GetDate [14:13:23]Write to MH i2c: F0 00 00 8E 04 81 [14:13:23]Write i2c OK [14:13:23]MH_I2C_Read... [14:13:23]Read from MH i2c: F0 [14:13:23]MH_I2C_Read... [14:13:23]Read from MH i2c: F0 09 00 [14:13:23]MH_I2C_Read... [14:13:23]Read from MH i2c: F0 09 00 8E 04 00 85 BE 13 67 C5 A4 76 66 8C [14:13:23]GetLastDocTimeStamp 1729345067 [14:13:23]current date 1729347205 [14:13:23]FM_GetShiftState [14:13:23]SAM_PROTO_GetShiftState [14:13:23]wFMCommunicate request_size=4 [14:13:23]MH_SAM_APDU [14:13:23]CAPDU: 80 13 01 00 [14:13:23]Write to MH i2c: E2 08 00 8F 04 80 13 01 00 00 00 00 00 10 [14:13:23]Write i2c OK [14:13:23]MH_I2C_Read... [14:13:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:23]Read from MH i2c: E2 [14:13:23]MH_I2C_Read... [14:13:23]Read from MH i2c: E2 0E 00 [14:13:23]MH_I2C_Read... [14:13:23]Read from MH i2c: E2 0E 00 8F 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2A [14:13:23]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:13:23]wFMCommunicate OK [14:13:23]SAM_PROTO_GetShiftState done [14:13:23]FM_GetShiftState done [14:13:23]opened in 1729296796 [14:13:23]opened+sec_in_day 1729383196 [14:13:23]quantity*price = 14400 [14:13:23]sum+1 = 14401 [14:13:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 38 19.10.2024 14:13 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37102 ФПД: 233365834231437 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T141325&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37102&fm=233365834231437&tin=02508201610067®Number=0000000000098149&sum=14400 0 [14:13:24]StoreToDocumentArchive [14:13:24]shift 460 fd 37102 [14:13:24]save to /storage/0460/doc_00037102 [14:13:24]save last doc name /storage/0460/doc_00037102 to /storage/kkm_last_doc_name [14:13:24]save OK [14:13:24]Clear old archive folders... [14:13:24]ProcessDocumentItem done err = 0, tmpTLVsize=275 [14:13:24]tlvbuf is 0097FDD0 [14:13:24]SAM_PROTO_ClearQueue [14:13:24]wFMCommunicate request_size=4 [14:13:24]MH_SAM_APDU [14:13:24]CAPDU: 80 09 00 00 [14:13:24]Write to MH i2c: E2 08 00 9C 04 80 09 00 00 00 00 00 00 12 [14:13:24]Write i2c OK [14:13:24]MH_I2C_Read... [14:13:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:13:24]Read from MH i2c: E2 [14:13:24]MH_I2C_Read... [14:13:24]Read from MH i2c: E2 03 00 [14:13:24]MH_I2C_Read... [14:13:24]Read from MH i2c: E2 03 00 9C 04 00 90 00 14 [14:13:24]RAPDU: 90 00 [14:13:24]wFMCommunicate OK [14:13:24]SAM_PROTO_ClearQueue done [14:13:24]KKMCreateOFDPacket [14:13:24]OFDProtocolAddRootSTLVToBuf [14:13:24]FM_MakeSignedData [14:13:24]FM_MakeSignedData [14:13:24]SAM_PROTO_SignData [14:13:24]wFMCommunicate request_size=4 [14:13:24]MH_SAM_APDU [14:13:24]CAPDU: 80 0D 01 02 [14:13:24]Write to MH i2c: E2 08 00 9D 04 80 0D 01 02 00 00 00 00 1A [14:13:24]Write i2c OK [14:13:24]MH_I2C_Read... [14:13:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:13:24]Read from MH i2c: E2 [14:13:24]MH_I2C_Read... [14:13:24]Read from MH i2c: E2 03 00 [14:13:24]MH_I2C_Read... [14:13:24]Read from MH i2c: E2 03 00 9D 04 00 90 00 15 [14:13:24]RAPDU: 90 00 [14:13:24]wFMCommunicate OK [14:13:24]wFMCommunicate request_size=255 [14:13:24]MH_SAM_APDU [14:13:24]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [14:13:24]Write to MH i2c: E2 02 01 9E 04 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 D5 [14:13:24]Write i2c OK [14:13:24]MH_I2C_Read... [14:13:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:13:25]Read from MH i2c: E2 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 03 00 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 03 00 9E 04 00 90 00 16 [14:13:25]RAPDU: 90 00 [14:13:25]wFMCommunicate OK [14:13:25]wFMCommunicate request_size=34 [14:13:25]MH_SAM_APDU [14:13:25]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EE 90 00 00 35 04 06 00 D4 3E B7 A6 EE 8D [14:13:25]Write to MH i2c: E2 25 00 9F 04 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EE 90 00 00 35 04 06 00 D4 3E B7 A6 EE 8D 00 00 46 [14:13:25]Write i2c OK [14:13:25]MH_I2C_Read... [14:13:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:13:25]Read from MH i2c: E2 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 03 00 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 03 00 9F 04 00 90 00 17 [14:13:25]RAPDU: 90 00 [14:13:25]wFMCommunicate OK [14:13:25]wFMCommunicate request_size=4 [14:13:25]MH_SAM_APDU [14:13:25]CAPDU: 80 0D 03 02 [14:13:25]Write to MH i2c: E2 08 00 A0 04 80 0D 03 02 00 00 00 00 1F [14:13:25]Write i2c OK [14:13:25]MH_I2C_Read... [14:13:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:13:25]Read from MH i2c: E2 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 0B 00 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 0B 00 A0 04 00 27 07 8B F0 A0 F7 DF B5 90 00 F4 [14:13:25]RAPDU: 27 07 8B F0 A0 F7 DF B5 90 00 [14:13:25]wFMCommunicate OK [14:13:25]SAM_PROTO_SignData done [14:13:25]FM_MakeSignedData done [14:13:25]CreateOFDProtocolMessage [14:13:25]wFMCommunicate request_size=4 [14:13:25]MH_SAM_APDU [14:13:25]CAPDU: 80 11 00 00 [14:13:25]Write to MH i2c: E2 08 00 A1 04 80 11 00 00 00 00 00 00 1F [14:13:25]Write i2c OK [14:13:25]MH_I2C_Read... [14:13:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:13:25]Read from MH i2c: E2 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 17 00 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: E2 17 00 A1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 72 [14:13:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:13:25]wFMCommunicate OK [14:13:25]CreateOFDProtocolMessage done [14:13:25]OFDSenderStorePacket 37102 [14:13:25]StoreOFDPacket docnum=37102 [14:13:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 FB 4A 1F 01 AE 1A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EE 90 00 00 35 04 06 00 D4 3E B7 A6 EE 8D 27 07 8B F0 A0 F7 DF B5 [14:13:25]CheckFolder [14:13:25]dirname=/storage/ofd_packets [14:13:25]CheckFolder done [14:13:25]ProducePacketName [14:13:25]name=ofd_packets/00037102 [14:13:25]NVStorageSaveData ofd_packets/00037102 [14:13:25]File name is /storage/ofd_packets/00037102 [14:13:25]Write 325 bytes [14:13:25]NVStorageSaveData done [14:13:25]OFDSenderStorePacket done [14:13:25]KKMCreateOFDPacket done [14:13:25]NVStorageSaveData kkm_last_timestamp [14:13:25]File name is /storage/kkm_last_timestamp [14:13:25]Write 4 bytes [14:13:25]NVStorageSaveData done [14:13:25]ExternCall_PrintAddStr [14:13:25]wPrintStart [14:13:25]Write to MH i2c: 01 00 00 A2 04 A6 [14:13:25]Write i2c OK [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: 01 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: 01 07 00 [14:13:25]MH_I2C_Read... [14:13:25]Read from MH i2c: 01 07 00 A2 04 00 00 00 00 00 FF 0F BB [14:13:25]RasterBufferAndPrint [14:13:25]line Счет N : (3)76601 [14:13:25]line ИНН: 02508201610067 [14:13:25]line Контрольно-Кассовый Чек [14:13:25]line ПРОДАЖА [14:13:25]line Товар: 48743587 [14:13:25]line Сигареты Winston XStyle Silver [14:13:25]line 1.000 * 144.00 [14:13:25]line = 144.00 [14:13:25]line НДС 12% НСП 1% [14:13:25]line > о реализуемом товаре [14:13:25]line ИТОГО: 144.00 [14:13:25]line НСП 1% : 1.27 [14:13:25]line НДС 12% : 15.29 [14:13:25]line Наличными: 144.00 [14:13:25]line Безнал.: 0.00 [14:13:25]line Место: АЗС № 165 "Партнер Нефть" [14:13:25]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [14:13:25]line СНО: Общий режим [14:13:25]line Чек 38 19.10.2024 14:13 [14:13:25]line Смена: 460 ФФД: 1.0 [14:13:25]line ЗНМ: 0300000235 [14:13:25]line РНМ: 0000000000098149 [14:13:25]line Версия ККМ: 001 [14:13:25]line ФМ: 0000000000965372 [14:13:25]line ФД: 37102 [14:13:25]line ФПД: 233365834231437 [14:13:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T141325&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37102&fm=233365834231437&tin=02508201610067®Number=0000000000098149&sum=14400 [14:13:25]OFD Sender: Processing packet 37102 [packets to send 25, broken 24] [14:13:25]ProducePacketName [14:13:25]name=ofd_packets/00037102 [14:13:25]OFD Sender: To server: pG, [14:13:25]CommunicateWithHost lk.salyk.kg:30040 [14:13:25]ConnectInit lk.salyk.kg [14:13:25]line 0 [14:13:25]written 0, free lines is 4095 [14:13:25]Connected sock=10 [14:13: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 33 37 32 27 01 00 00 FB 4A 1F 01 AE 1A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 85 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EE 90 00 00 35 04 06 00 D4 3E B7 A6 EE 8D 27 07 8B F0 A0 F7 DF B5 [14:13:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 AF 56 47 00 7B 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 33 37 32 10 04 04 00 EE 90 00 00 F4 03 04 00 1B 67 13 67 B6 04 01 00 00 F4 80 12 20 C9 BB 3F 15 [14:13:26]CommunicateWithHost err = 0 [14:13:26]CheckOFDResponse [14:13:26]1017 (14) - 77093643461234 [14:13:26]1041 (16) - 0000000000965372 [14:13:26]1040 (4) - 37102 [14:13:26]1012 (4) - 19.10.2024 08:00 [14:13:26]1206 (1) - 0 [14:13:26]OFD Sender: Remove packet 37102 [14:13:26]ProducePacketName [14:13:26]name=ofd_packets/00037102 [14:13:26]NVStorageDeleteData [14:13:26]Write to MH i2c: 01 00 00 CB 04 CF [14:13:26]Write i2c OK [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: 01 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: 01 07 00 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: 01 07 00 CB 04 00 00 00 00 00 DF 0C C1 [14:13:26]RasterBufferAndPrint [14:13:26]line [14:13:26]line [14:13:26]line [14:13:26]line [14:13:26]line [14:13:26]written 0, free lines is 3301 [14:13:26]process_action close_receipt done [14:13:26]requested_data is exist [14:13:26]produce_requested_data [14:13:26]requested_item fm.sn is exist - process it [14:13:26]wFMCommunicate request_size=4 [14:13:26]MH_SAM_APDU [14:13:26]CAPDU: 80 11 00 00 [14:13:26]Write to MH i2c: E2 08 00 D2 04 80 11 00 00 00 00 00 00 50 [14:13:26]Write i2c OK [14:13:26]MH_I2C_Read... [14:13:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:13:26]Read from MH i2c: E2 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 17 00 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 17 00 D2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A3 [14:13:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:13:26]wFMCommunicate OK [14:13:26]requested_item fd.num is exist - process it [14:13:26]SAM_PROTO_GetFieldsCounters [14:13:26]wFMCommunicate request_size=4 [14:13:26]MH_SAM_APDU [14:13:26]CAPDU: 80 13 00 00 [14:13:26]Write to MH i2c: E2 08 00 D3 04 80 13 00 00 00 00 00 00 53 [14:13:26]Write i2c OK [14:13:26]MH_I2C_Read... [14:13:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:13:26]Read from MH i2c: E2 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 62 00 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 62 00 D3 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EE 90 00 00 0E 04 04 00 CC 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 37 [14:13: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EE 90 00 00 0E 04 04 00 CC 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 [14:13:26]wFMCommunicate OK [14:13:26]SAM_PROTO_GetFieldsCounters done [14:13:26]requested_item shift.num is exist - process it [14:13:26]requested_item shift.opened is exist - process it [14:13:26]req_shift_opened [14:13:26]FM_GetShiftState [14:13:26]SAM_PROTO_GetShiftState [14:13:26]wFMCommunicate request_size=4 [14:13:26]MH_SAM_APDU [14:13:26]CAPDU: 80 13 01 00 [14:13:26]Write to MH i2c: E2 08 00 D4 04 80 13 01 00 00 00 00 00 55 [14:13:26]Write i2c OK [14:13:26]MH_I2C_Read... [14:13:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:26]Read from MH i2c: E2 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 0E 00 [14:13:26]MH_I2C_Read... [14:13:26]Read from MH i2c: E2 0E 00 D4 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6F [14:13:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:13:26]wFMCommunicate OK [14:13:26]SAM_PROTO_GetShiftState done [14:13:26]FM_GetShiftState done [14:13:26]req_shift_opened done [14:13:26]requested_item shift.open_date is exist - process it [14:13:26]req_shift_open_date [14:13:26]req_shift_open_date done [14:13:26]produce_requested_data done [14:13:26]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37102,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [14:13:26]process_action_free close_receipt [14:13:26]json_value_free [14:13:26]json_value_free done [14:13:26]process_json_proto returns [14:13:26]Send response to host [14:13:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37102,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [14:13:26]free response buf [14:13:26]execute_script done [14:13:26]execute_script returns [14:13:26]free content buf [14:13:26]Sock 7.Close socket [14:13:26]Sock 7.Thread stoped [14:13:26]OFD Sender: No OFD packet to send [14:13:31]OFD Sender: No OFD packet to send [14:13:36]OFD Sender: No OFD packet to send [14:13:41]OFD Sender: No OFD packet to send [14:13:46]OFD Sender: No OFD packet to send [14:13:51]OFD Sender: No OFD packet to send [14:13:56]OFD Sender: No OFD packet to send [14:14:01]OFD Sender: No OFD packet to send [14:14:06]OFD Sender: No OFD packet to send [14:14:11]OFD Sender: No OFD packet to send [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:23]accept exits with 9 [14:14:23]New connection [14:14:23]New thread 3066699108 created [14:14:23]Thread 3066555748 joined [14:14:23]Waiting for new connection... [14:14:23] Sock 9.Parse request [14:14:23]Sock 9.Check first char [14:14:23]Sock 9.First char is OK [14:14:23]request: POST /json_proto HTTP/1.0 [14:14:23]Method: POST [14:14:23]URL: /json_proto [14:14:23]Method is POST - this is cgi request [14:14:23]url: /json_proto [14:14:23]query_string will be loaded in cgi processing [14:14:23]execute_cgi json_proto POST (null) [14:14:23]execute_cgi path=json_proto method=POST [14:14:23]POST find Content-Length [14:14:23]Host: 172.17.53.68:8080 [14:14:23]Content-Length: 620 [14:14:23]Content-Type: application/json [14:14:23] [14:14:23]POST finish read [14:14:23]Found Content-Length = 620 [14:14:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76602", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:23]execute_script... [14:14:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76602", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:23]POST & json_proto [14:14:23]process_json_proto [14:14:23]json parsed OK: [14:14:23]protocol is kg_v1.0 [14:14:23]action value=close_receipt [14:14:23]process_action close_receipt [14:14:23]cmd_close_receipt [14:14:23]MH_GetDate [14:14:23]Write to MH i2c: F0 00 00 D5 04 C8 [14:14:23]Write i2c OK [14:14:23]MH_I2C_Read... [14:14:23]Read from MH i2c: F0 [14:14:23]MH_I2C_Read... [14:14:23]Read from MH i2c: F0 09 00 [14:14:23]MH_I2C_Read... [14:14:23]Read from MH i2c: F0 09 00 D5 04 00 C1 BE 13 67 C5 A4 76 66 0F [14:14:23]GetLastDocTimeStamp 1729347205 [14:14:23]current date 1729347265 [14:14:23]FM_GetShiftState [14:14:23]SAM_PROTO_GetShiftState [14:14:23]wFMCommunicate request_size=4 [14:14:23]MH_SAM_APDU [14:14:23]CAPDU: 80 13 01 00 [14:14:23]Write to MH i2c: E2 08 00 D6 04 80 13 01 00 00 00 00 00 57 [14:14:23]Write i2c OK [14:14:23]MH_I2C_Read... [14:14:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:23]Read from MH i2c: E2 [14:14:23]MH_I2C_Read... [14:14:23]Read from MH i2c: E2 0E 00 [14:14:23]MH_I2C_Read... [14:14:23]Read from MH i2c: E2 0E 00 D6 04 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 71 [14:14:23]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:14:23]wFMCommunicate OK [14:14:23]SAM_PROTO_GetShiftState done [14:14:23]FM_GetShiftState done [14:14:23]opened in 1729296796 [14:14:23]opened+sec_in_day 1729383196 [14:14:23]quantity*price = 14400 [14:14:23]sum+1 = 14401 [14:14:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 39 19.10.2024 14:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37103 ФПД: 27055552359733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T141425&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37103&fm=27055552359733&tin=02508201610067®Number=0000000000098149&sum=14400 0 [14:14:24]StoreToDocumentArchive [14:14:24]shift 460 fd 37103 [14:14:24]save to /storage/0460/doc_00037103 [14:14:24]save last doc name /storage/0460/doc_00037103 to /storage/kkm_last_doc_name [14:14:24]save OK [14:14:24]Clear old archive folders... [14:14:24]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:14:24]tlvbuf is 009891C0 [14:14:24]SAM_PROTO_ClearQueue [14:14:24]wFMCommunicate request_size=4 [14:14:24]MH_SAM_APDU [14:14:24]CAPDU: 80 09 00 00 [14:14:24]Write to MH i2c: E2 08 00 E3 04 80 09 00 00 00 00 00 00 59 [14:14:24]Write i2c OK [14:14:24]MH_I2C_Read... [14:14:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:24]Read from MH i2c: E2 [14:14:24]MH_I2C_Read... [14:14:24]Read from MH i2c: E2 03 00 [14:14:24]MH_I2C_Read... [14:14:24]Read from MH i2c: E2 03 00 E3 04 00 90 00 5B [14:14:24]RAPDU: 90 00 [14:14:24]wFMCommunicate OK [14:14:24]SAM_PROTO_ClearQueue done [14:14:24]KKMCreateOFDPacket [14:14:24]OFDProtocolAddRootSTLVToBuf [14:14:24]FM_MakeSignedData [14:14:24]FM_MakeSignedData [14:14:24]SAM_PROTO_SignData [14:14:24]wFMCommunicate request_size=4 [14:14:24]MH_SAM_APDU [14:14:24]CAPDU: 80 0D 01 02 [14:14:24]Write to MH i2c: E2 08 00 E4 04 80 0D 01 02 00 00 00 00 61 [14:14:24]Write i2c OK [14:14:24]MH_I2C_Read... [14:14:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:24]Read from MH i2c: E2 [14:14:24]MH_I2C_Read... [14:14:24]Read from MH i2c: E2 03 00 [14:14:24]MH_I2C_Read... [14:14:24]Read from MH i2c: E2 03 00 E4 04 00 90 00 5C [14:14:24]RAPDU: 90 00 [14:14:24]wFMCommunicate OK [14:14:24]wFMCommunicate request_size=255 [14:14:24]MH_SAM_APDU [14:14:24]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [14:14:24]Write to MH i2c: E2 02 01 E5 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 BE [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:25]Read from MH i2c: E2 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 03 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 03 00 E5 04 00 90 00 5D [14:14:25]RAPDU: 90 00 [14:14:25]wFMCommunicate OK [14:14:25]wFMCommunicate request_size=32 [14:14:25]MH_SAM_APDU [14:14:25]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 EF 90 00 00 35 04 06 00 18 9B 5C 96 6D 35 [14:14:25]Write to MH i2c: E2 23 00 E6 04 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 EF 90 00 00 35 04 06 00 18 9B 5C 96 6D 35 00 00 87 [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:25]Read from MH i2c: E2 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 03 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 03 00 E6 04 00 90 00 5E [14:14:25]RAPDU: 90 00 [14:14:25]wFMCommunicate OK [14:14:25]wFMCommunicate request_size=4 [14:14:25]MH_SAM_APDU [14:14:25]CAPDU: 80 0D 03 02 [14:14:25]Write to MH i2c: E2 08 00 E7 04 80 0D 03 02 00 00 00 00 66 [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:25]Read from MH i2c: E2 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 0B 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 0B 00 E7 04 00 B2 A6 04 B6 8F 6E 86 96 90 00 92 [14:14:25]RAPDU: B2 A6 04 B6 8F 6E 86 96 90 00 [14:14:25]wFMCommunicate OK [14:14:25]SAM_PROTO_SignData done [14:14:25]FM_MakeSignedData done [14:14:25]CreateOFDProtocolMessage [14:14:25]wFMCommunicate request_size=4 [14:14:25]MH_SAM_APDU [14:14:25]CAPDU: 80 11 00 00 [14:14:25]Write to MH i2c: E2 08 00 E8 04 80 11 00 00 00 00 00 00 66 [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:25]Read from MH i2c: E2 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 17 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 17 00 E8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B9 [14:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:14:25]wFMCommunicate OK [14:14:25]CreateOFDProtocolMessage done [14:14:25]OFDSenderStorePacket 37103 [14:14:25]StoreOFDPacket docnum=37103 [14:14:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 DF 5F 1D 01 0F AF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EF 90 00 00 35 04 06 00 18 9B 5C 96 6D 35 B2 A6 04 B6 8F 6E 86 96 [14:14:25]CheckFolder [14:14:25]dirname=/storage/ofd_packets [14:14:25]CheckFolder done [14:14:25]ProducePacketName [14:14:25]name=ofd_packets/00037103 [14:14:25]NVStorageSaveData ofd_packets/00037103 [14:14:25]File name is /storage/ofd_packets/00037103 [14:14:25]Write 323 bytes [14:14:25]NVStorageSaveData done [14:14:25]OFDSenderStorePacket done [14:14:25]KKMCreateOFDPacket done [14:14:25]NVStorageSaveData kkm_last_timestamp [14:14:25]File name is /storage/kkm_last_timestamp [14:14:25]Write 4 bytes [14:14:25]NVStorageSaveData done [14:14:25]ExternCall_PrintAddStr [14:14:25]wPrintStart [14:14:25]Write to MH i2c: 01 00 00 E9 04 ED [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 07 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 07 00 E9 04 00 00 00 00 00 FF 0F 02 [14:14:25]RasterBufferAndPrint [14:14:25]line Счет N : (3)76602 [14:14:25]line ИНН: 02508201610067 [14:14:25]line Контрольно-Кассовый Чек [14:14:25]line ПРОДАЖА [14:14:25]line Товар: 48743570 [14:14:25]line Сигареты Winston XStyle Blue [14:14:25]line 1.000 * 144.00 [14:14:25]line = 144.00 [14:14:25]line НДС 12% НСП 1% [14:14:25]line > о реализуемом товаре [14:14:25]line ИТОГО: 144.00 [14:14:25]line НСП 1% : 1.27 [14:14:25]line НДС 12% : 15.29 [14:14:25]line Наличными: 144.00 [14:14:25]line Безнал.: 0.00 [14:14:25]line Место: АЗС № 165 "Партнер Нефть" [14:14:25]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [14:14:25]line СНО: Общий режим [14:14:25]line Чек 39 19.10.2024 14:14 [14:14:25]line Смена: 460 ФФД: 1.0 [14:14:25]line ЗНМ: 0300000235 [14:14:25]line РНМ: 0000000000098149 [14:14:25]line Версия ККМ: 001 [14:14:25]line ФМ: 0000000000965372 [14:14:25]line ФД: 37103 [14:14:25]line ФПД: 27055552359733 [14:14:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T141425&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37103&fm=27055552359733&tin=02508201610067®Number=0000000000098149&sum=14400 [14:14:25]line 0 [14:14:25]written 0, free lines is 4095 [14:14:25]OFD Sender: Processing packet 37103 [packets to send 25, broken 24] [14:14:25]ProducePacketName [14:14:25]name=ofd_packets/00037103 [14:14:25]OFD Sender: To server: pG, [14:14:25]CommunicateWithHost lk.salyk.kg:30040 [14:14:25]ConnectInit lk.salyk.kg [14:14:25]Connected sock=10 [14:14: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 33 37 32 25 01 00 00 DF 5F 1D 01 0F AF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C1 BE 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EF 90 00 00 35 04 06 00 18 9B 5C 96 6D 35 B2 A6 04 B6 8F 6E 86 96 [14:14:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 11 9C 47 00 5F CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 EF 90 00 00 F4 03 04 00 56 67 13 67 B6 04 01 00 00 1B DD ED 4B AB FA 3C 73 [14:14:25]CommunicateWithHost err = 0 [14:14:25]CheckOFDResponse [14:14:25]1017 (14) - 77093643461234 [14:14:25]1041 (16) - 0000000000965372 [14:14:25]1040 (4) - 37103 [14:14:25]1012 (4) - 19.10.2024 08:01 [14:14:25]1206 (1) - 0 [14:14:25]OFD Sender: Remove packet 37103 [14:14:25]ProducePacketName [14:14:25]name=ofd_packets/00037103 [14:14:25]NVStorageDeleteData [14:14:25]Write to MH i2c: 01 00 00 11 05 16 [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 07 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: 01 07 00 11 05 00 00 00 00 00 F3 0C 1C [14:14:25]RasterBufferAndPrint [14:14:25]line [14:14:25]line [14:14:25]line [14:14:25]line [14:14:25]line [14:14:25]written 0, free lines is 3322 [14:14:25]process_action close_receipt done [14:14:25]requested_data is exist [14:14:25]produce_requested_data [14:14:25]requested_item fm.sn is exist - process it [14:14:25]wFMCommunicate request_size=4 [14:14:25]MH_SAM_APDU [14:14:25]CAPDU: 80 11 00 00 [14:14:25]Write to MH i2c: E2 08 00 18 05 80 11 00 00 00 00 00 00 97 [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:25]Read from MH i2c: E2 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 17 00 [14:14:25]MH_I2C_Read... [14:14:25]Read from MH i2c: E2 17 00 18 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EA [14:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:14:25]wFMCommunicate OK [14:14:25]requested_item fd.num is exist - process it [14:14:25]SAM_PROTO_GetFieldsCounters [14:14:25]wFMCommunicate request_size=4 [14:14:25]MH_SAM_APDU [14:14:25]CAPDU: 80 13 00 00 [14:14:25]Write to MH i2c: E2 08 00 19 05 80 13 00 00 00 00 00 00 9A [14:14:25]Write i2c OK [14:14:25]MH_I2C_Read... [14:14:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:26]Read from MH i2c: E2 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 62 00 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 62 00 19 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EF 90 00 00 0E 04 04 00 CC 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 82 [14:14: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 EF 90 00 00 0E 04 04 00 CC 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 [14:14:26]wFMCommunicate OK [14:14:26]SAM_PROTO_GetFieldsCounters done [14:14:26]requested_item shift.num is exist - process it [14:14:26]requested_item shift.opened is exist - process it [14:14:26]req_shift_opened [14:14:26]FM_GetShiftState [14:14:26]SAM_PROTO_GetShiftState [14:14:26]wFMCommunicate request_size=4 [14:14:26]MH_SAM_APDU [14:14:26]CAPDU: 80 13 01 00 [14:14:26]Write to MH i2c: E2 08 00 1A 05 80 13 01 00 00 00 00 00 9C [14:14:26]Write i2c OK [14:14:26]MH_I2C_Read... [14:14:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:26]Read from MH i2c: E2 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 0E 00 [14:14:26]MH_I2C_Read... [14:14:26]Read from MH i2c: E2 0E 00 1A 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B6 [14:14:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:14:26]wFMCommunicate OK [14:14:26]SAM_PROTO_GetShiftState done [14:14:26]FM_GetShiftState done [14:14:26]req_shift_opened done [14:14:26]requested_item shift.open_date is exist - process it [14:14:26]req_shift_open_date [14:14:26]req_shift_open_date done [14:14:26]produce_requested_data done [14:14:26]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37103,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [14:14:26]process_action_free close_receipt [14:14:26]json_value_free [14:14:26]json_value_free done [14:14:26]process_json_proto returns [14:14:26]Send response to host [14:14:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37103,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [14:14:26]free response buf [14:14:26]execute_script done [14:14:26]execute_script returns [14:14:26]free content buf [14:14:26]Sock 9.Close socket [14:14:26]Sock 9.Thread stoped [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:26]OFD Sender: No OFD packet to send [14:15:31]OFD Sender: No OFD packet to send [14:15:36]OFD Sender: No OFD packet to send [14:15:41]OFD Sender: No OFD packet to send [14:15:46]OFD Sender: No OFD packet to send [14:15:51]OFD Sender: No OFD packet to send [14:15:56]OFD Sender: No OFD packet to send [14:16:01]OFD Sender: No OFD packet to send [14:16:06]OFD Sender: No OFD packet to send [14:16:11]OFD Sender: No OFD packet to send [14:16:16]OFD Sender: No OFD packet to send [14:16:21]OFD Sender: No OFD packet to send [14:16:26]OFD Sender: No OFD packet to send [14:16:31]OFD Sender: No OFD packet to send [14:16:36]OFD Sender: No OFD packet to send [14:16:41]OFD Sender: No OFD packet to send [14:16:46]OFD Sender: No OFD packet to send [14:16:51]OFD Sender: No OFD packet to send [14:16:56]OFD Sender: No OFD packet to send [14:17:01]OFD Sender: No OFD packet to send [14:17:06]OFD Sender: No OFD packet to send [14:17:11]OFD Sender: No OFD packet to send [14:17:16]OFD Sender: No OFD packet to send [14:17:21]OFD Sender: No OFD packet to send [14:17:26]OFD Sender: No OFD packet to send [14:17:31]OFD Sender: No OFD packet to send [14:17:36]OFD Sender: No OFD packet to send [14:17:41]OFD Sender: No OFD packet to send [14:17:46]OFD Sender: No OFD packet to send [14:17:51]OFD Sender: No OFD packet to send [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:00]accept exits with 7 [14:20:00]New connection [14:20:00]New thread 3066555748 created [14:20:00]Thread 3066699108 joined [14:20:00]Waiting for new connection... [14:20:00] Sock 7.Parse request [14:20:00]Sock 7.Check first char [14:20:00]Sock 7.First char is OK [14:20:00]request: POST /json_proto HTTP/1.0 [14:20:00]Method: POST [14:20:00]URL: /json_proto [14:20:00]Method is POST - this is cgi request [14:20:00]url: /json_proto [14:20:00]query_string will be loaded in cgi processing [14:20:00]execute_cgi json_proto POST (null) [14:20:00]execute_cgi path=json_proto method=POST [14:20:00]POST find Content-Length [14:20:00]Host: 172.17.53.68:8080 [14:20:00]Content-Length: 620 [14:20:00]Content-Type: application/json [14:20:00] [14:20:00]POST finish read [14:20:00]Found Content-Length = 620 [14:20:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76603", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:00]execute_script... [14:20: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)76603", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:00]POST & json_proto [14:20:00]process_json_proto [14:20:00]json parsed OK: [14:20:00]protocol is kg_v1.0 [14:20:00]action value=close_receipt [14:20:00]process_action close_receipt [14:20:00]cmd_close_receipt [14:20:00]MH_GetDate [14:20:00]Write to MH i2c: F0 00 00 1B 05 0F [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: F0 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: F0 09 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: F0 09 00 1B 05 00 12 C0 13 67 C5 A4 76 66 A9 [14:20:00]GetLastDocTimeStamp 1729347265 [14:20:00]current date 1729347602 [14:20:00]FM_GetShiftState [14:20:00]SAM_PROTO_GetShiftState [14:20:00]wFMCommunicate request_size=4 [14:20:00]MH_SAM_APDU [14:20:00]CAPDU: 80 13 01 00 [14:20:00]Write to MH i2c: E2 08 00 1C 05 80 13 01 00 00 00 00 00 9E [14:20:00]Write i2c OK [14:20:00]MH_I2C_Read... [14:20:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:00]Read from MH i2c: E2 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 0E 00 [14:20:00]MH_I2C_Read... [14:20:00]Read from MH i2c: E2 0E 00 1C 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B8 [14:20:00]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:20:00]wFMCommunicate OK [14:20:00]SAM_PROTO_GetShiftState done [14:20:00]FM_GetShiftState done [14:20:00]opened in 1729296796 [14:20:00]opened+sec_in_day 1729383196 [14:20:00]quantity*price = 14400 [14:20:00]sum+1 = 14401 [14:20:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 40 19.10.2024 14:20 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37104 ФПД: 63132244893008 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142002&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37104&fm=63132244893008&tin=02508201610067®Number=0000000000098149&sum=14400 0 [14:20:01]StoreToDocumentArchive [14:20:01]shift 460 fd 37104 [14:20:01]save to /storage/0460/doc_00037104 [14:20:01]save last doc name /storage/0460/doc_00037104 to /storage/kkm_last_doc_name [14:20:01]save OK [14:20:01]Clear old archive folders... [14:20:01]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:20:01]tlvbuf is 009686B0 [14:20:01]SAM_PROTO_ClearQueue [14:20:01]wFMCommunicate request_size=4 [14:20:01]MH_SAM_APDU [14:20:01]CAPDU: 80 09 00 00 [14:20:01]Write to MH i2c: E2 08 00 29 05 80 09 00 00 00 00 00 00 A0 [14:20:01]Write i2c OK [14:20:01]MH_I2C_Read... [14:20:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:01]Read from MH i2c: E2 [14:20:01]MH_I2C_Read... [14:20:01]Read from MH i2c: E2 03 00 [14:20:01]MH_I2C_Read... [14:20:01]Read from MH i2c: E2 03 00 29 05 00 90 00 A2 [14:20:01]RAPDU: 90 00 [14:20:01]wFMCommunicate OK [14:20:01]SAM_PROTO_ClearQueue done [14:20:01]KKMCreateOFDPacket [14:20:01]OFDProtocolAddRootSTLVToBuf [14:20:01]FM_MakeSignedData [14:20:01]FM_MakeSignedData [14:20:01]SAM_PROTO_SignData [14:20:01]wFMCommunicate request_size=4 [14:20:01]MH_SAM_APDU [14:20:01]CAPDU: 80 0D 01 02 [14:20:01]Write to MH i2c: E2 08 00 2A 05 80 0D 01 02 00 00 00 00 A8 [14:20:01]Write i2c OK [14:20:01]MH_I2C_Read... [14:20:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:01]Read from MH i2c: E2 [14:20:01]MH_I2C_Read... [14:20:01]Read from MH i2c: E2 03 00 [14:20:01]MH_I2C_Read... [14:20:01]Read from MH i2c: E2 03 00 2A 05 00 90 00 A3 [14:20:01]RAPDU: 90 00 [14:20:01]wFMCommunicate OK [14:20:01]wFMCommunicate request_size=255 [14:20:01]MH_SAM_APDU [14:20:01]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 12 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 [14:20:01]Write to MH i2c: E2 02 01 2B 05 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 12 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 00 00 45 [14:20:02]Write i2c OK [14:20:02]MH_I2C_Read... [14:20:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:02]Read from MH i2c: E2 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 03 00 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 03 00 2B 05 00 90 00 A4 [14:20:02]RAPDU: 90 00 [14:20:02]wFMCommunicate OK [14:20:02]wFMCommunicate request_size=32 [14:20:02]MH_SAM_APDU [14:20:02]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 32 10 04 04 00 F0 90 00 00 35 04 06 00 39 6B 1F 07 DD 50 [14:20:02]Write to MH i2c: E2 23 00 2C 05 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 32 10 04 04 00 F0 90 00 00 35 04 06 00 39 6B 1F 07 DD 50 00 00 7F [14:20:02]Write i2c OK [14:20:02]MH_I2C_Read... [14:20:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:02]Read from MH i2c: E2 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 03 00 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 03 00 2C 05 00 90 00 A5 [14:20:02]RAPDU: 90 00 [14:20:02]wFMCommunicate OK [14:20:02]wFMCommunicate request_size=4 [14:20:02]MH_SAM_APDU [14:20:02]CAPDU: 80 0D 03 02 [14:20:02]Write to MH i2c: E2 08 00 2D 05 80 0D 03 02 00 00 00 00 AD [14:20:02]Write i2c OK [14:20:02]MH_I2C_Read... [14:20:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:02]Read from MH i2c: E2 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 0B 00 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 0B 00 2D 05 00 B0 6C 5C 22 1A 4A FA 4F 90 00 F5 [14:20:02]RAPDU: B0 6C 5C 22 1A 4A FA 4F 90 00 [14:20:02]wFMCommunicate OK [14:20:02]SAM_PROTO_SignData done [14:20:02]FM_MakeSignedData done [14:20:02]CreateOFDProtocolMessage [14:20:02]wFMCommunicate request_size=4 [14:20:02]MH_SAM_APDU [14:20:02]CAPDU: 80 11 00 00 [14:20:02]Write to MH i2c: E2 08 00 2E 05 80 11 00 00 00 00 00 00 AD [14:20:02]Write i2c OK [14:20:02]MH_I2C_Read... [14:20:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:02]Read from MH i2c: E2 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 17 00 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: E2 17 00 2E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 00 [14:20:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:20:02]wFMCommunicate OK [14:20:02]CreateOFDProtocolMessage done [14:20:02]OFDSenderStorePacket 37104 [14:20:02]StoreOFDPacket docnum=37104 [14:20:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 25 01 00 00 47 40 1D 01 6E 46 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 12 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F0 90 00 00 35 04 06 00 39 6B 1F 07 DD 50 B0 6C 5C 22 1A 4A FA 4F [14:20:02]CheckFolder [14:20:02]dirname=/storage/ofd_packets [14:20:02]CheckFolder done [14:20:02]ProducePacketName [14:20:02]name=ofd_packets/00037104 [14:20:02]NVStorageSaveData ofd_packets/00037104 [14:20:02]File name is /storage/ofd_packets/00037104 [14:20:02]Write 323 bytes [14:20:02]NVStorageSaveData done [14:20:02]OFDSenderStorePacket done [14:20:02]KKMCreateOFDPacket done [14:20:02]NVStorageSaveData kkm_last_timestamp [14:20:02]File name is /storage/kkm_last_timestamp [14:20:02]Write 4 bytes [14:20:02]NVStorageSaveData done [14:20:02]ExternCall_PrintAddStr [14:20:02]wPrintStart [14:20:02]Write to MH i2c: 01 00 00 2F 05 34 [14:20:02]Write i2c OK [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: 01 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: 01 07 00 [14:20:02]MH_I2C_Read... [14:20:02]Read from MH i2c: 01 07 00 2F 05 00 00 00 00 00 FF 0F 49 [14:20:02]RasterBufferAndPrint [14:20:02]line Счет N : (3)76603 [14:20:02]line ИНН: 02508201610067 [14:20:02]line Контрольно-Кассовый Чек [14:20:02]line ПРОДАЖА [14:20:02]line Товар: 48747059 [14:20:02]line Сигареты Winston Legend Blue [14:20:02]line 1.000 * 144.00 [14:20:02]line = 144.00 [14:20:02]line НДС 12% НСП 1% [14:20:02]line > о реализуемом товаре [14:20:02]line ИТОГО: 144.00 [14:20:02]line НСП 1% : 1.27 [14:20:02]line НДС 12% : 15.29 [14:20:02]line Наличными: 144.00 [14:20:02]line Безнал.: 0.00 [14:20:02]line Место: АЗС № 165 "Партнер Нефть" [14:20:02]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [14:20:02]line СНО: Общий режим [14:20:02]line Чек 40 19.10.2024 14:20 [14:20:02]line Смена: 460 ФФД: 1.0 [14:20:02]line ЗНМ: 0300000235 [14:20:02]line РНМ: 0000000000098149 [14:20:02]line Версия ККМ: 001 [14:20:02]line ФМ: 0000000000965372 [14:20:02]line ФД: 37104 [14:20:02]line ФПД: 63132244893008 [14:20:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142002&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37104&fm=63132244893008&tin=02508201610067®Number=0000000000098149&sum=14400 [14:20:02]OFD Sender: Processing packet 37104 [packets to send 25, broken 24] [14:20:02]ProducePacketName [14:20:02]name=ofd_packets/00037104 [14:20:02]OFD Sender: To server: pG, [14:20:02]CommunicateWithHost lk.salyk.kg:30040 [14:20:02]ConnectInit lk.salyk.kg [14:20:02]line 0 [14:20:02]written 0, free lines is 4095 [14:20:02]Connected sock=10 [14:20: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 33 37 32 25 01 00 00 47 40 1D 01 6E 46 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 12 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F0 90 00 00 35 04 06 00 39 6B 1F 07 DD 50 B0 6C 5C 22 1A 4A FA 4F [14:20:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 75 07 47 00 8F C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 F0 90 00 00 F4 03 04 00 A8 68 13 67 B6 04 01 00 00 0F E0 78 E3 62 A8 26 32 [14:20:03]CommunicateWithHost err = 0 [14:20:03]CheckOFDResponse [14:20:03]1017 (14) - 77093643461234 [14:20:03]1041 (16) - 0000000000965372 [14:20:03]1040 (4) - 37104 [14:20:03]1012 (4) - 19.10.2024 08:07 [14:20:03]1206 (1) - 0 [14:20:03]OFD Sender: Remove packet 37104 [14:20:03]ProducePacketName [14:20:03]name=ofd_packets/00037104 [14:20:03]NVStorageDeleteData [14:20:03]Write to MH i2c: 01 00 00 58 05 5D [14:20:03]Write i2c OK [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: 01 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: 01 07 00 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: 01 07 00 58 05 00 00 00 00 00 CD 0C 3D [14:20:03]RasterBufferAndPrint [14:20:03]line [14:20:03]line [14:20:03]line [14:20:03]line [14:20:03]line [14:20:03]written 0, free lines is 3283 [14:20:03]process_action close_receipt done [14:20:03]requested_data is exist [14:20:03]produce_requested_data [14:20:03]requested_item fm.sn is exist - process it [14:20:03]wFMCommunicate request_size=4 [14:20:03]MH_SAM_APDU [14:20:03]CAPDU: 80 11 00 00 [14:20:03]Write to MH i2c: E2 08 00 5F 05 80 11 00 00 00 00 00 00 DE [14:20:03]Write i2c OK [14:20:03]MH_I2C_Read... [14:20:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:03]Read from MH i2c: E2 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 17 00 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 17 00 5F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 31 [14:20:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:20:03]wFMCommunicate OK [14:20:03]requested_item fd.num is exist - process it [14:20:03]SAM_PROTO_GetFieldsCounters [14:20:03]wFMCommunicate request_size=4 [14:20:03]MH_SAM_APDU [14:20:03]CAPDU: 80 13 00 00 [14:20:03]Write to MH i2c: E2 08 00 60 05 80 13 00 00 00 00 00 00 E1 [14:20:03]Write i2c OK [14:20:03]MH_I2C_Read... [14:20:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:03]Read from MH i2c: E2 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 62 00 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 62 00 60 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F0 90 00 00 0E 04 04 00 CC 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 CD [14:20:03]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F0 90 00 00 0E 04 04 00 CC 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 [14:20:03]wFMCommunicate OK [14:20:03]SAM_PROTO_GetFieldsCounters done [14:20:03]requested_item shift.num is exist - process it [14:20:03]requested_item shift.opened is exist - process it [14:20:03]req_shift_opened [14:20:03]FM_GetShiftState [14:20:03]SAM_PROTO_GetShiftState [14:20:03]wFMCommunicate request_size=4 [14:20:03]MH_SAM_APDU [14:20:03]CAPDU: 80 13 01 00 [14:20:03]Write to MH i2c: E2 08 00 61 05 80 13 01 00 00 00 00 00 E3 [14:20:03]Write i2c OK [14:20:03]MH_I2C_Read... [14:20:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:03]Read from MH i2c: E2 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 0E 00 [14:20:03]MH_I2C_Read... [14:20:03]Read from MH i2c: E2 0E 00 61 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FD [14:20:03]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:20:03]wFMCommunicate OK [14:20:03]SAM_PROTO_GetShiftState done [14:20:03]FM_GetShiftState done [14:20:03]req_shift_opened done [14:20:03]requested_item shift.open_date is exist - process it [14:20:03]req_shift_open_date [14:20:03]req_shift_open_date done [14:20:03]produce_requested_data done [14:20:03]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37104,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [14:20:03]process_action_free close_receipt [14:20:03]json_value_free [14:20:03]json_value_free done [14:20:03]process_json_proto returns [14:20:03]Send response to host [14:20:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37104,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [14:20:03]free response buf [14:20:03]execute_script done [14:20:03]execute_script returns [14:20:03]free content buf [14:20:03]Sock 7.Close socket [14:20:03]Sock 7.Thread stoped [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:26]accept exits with 9 [14:22:26]New connection [14:22:26]New thread 3066699108 created [14:22:26]Thread 3066555748 joined [14:22:26]Waiting for new connection... [14:22:26] Sock 9.Parse request [14:22:26]Sock 9.Check first char [14:22:26]Sock 9.First char is OK [14:22:26]request: POST /json_proto HTTP/1.0 [14:22:26]Method: POST [14:22:26]URL: /json_proto [14:22:26]Method is POST - this is cgi request [14:22:26]url: /json_proto [14:22:26]query_string will be loaded in cgi processing [14:22:26]execute_cgi json_proto POST (null) [14:22:26]execute_cgi path=json_proto method=POST [14:22:26]POST find Content-Length [14:22:26]Host: 172.17.53.68:8080 [14:22:26]Content-Length: 629 [14:22:26]Content-Type: application/json [14:22:26] [14:22:26]POST finish read [14:22:26]Found Content-Length = 629 [14:22:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76604", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:22:26]execute_script... [14:22: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)76604", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:22:26]POST & json_proto [14:22:26]process_json_proto [14:22:26]json parsed OK: [14:22:26]protocol is kg_v1.0 [14:22:26]action value=close_receipt [14:22:26]process_action close_receipt [14:22:26]cmd_close_receipt [14:22:26]MH_GetDate [14:22:26]Write to MH i2c: F0 00 00 62 05 56 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: F0 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: F0 09 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: F0 09 00 62 05 00 A4 C0 13 67 C5 A4 76 66 82 [14:22:26]GetLastDocTimeStamp 1729347602 [14:22:26]current date 1729347748 [14:22:26]FM_GetShiftState [14:22:26]SAM_PROTO_GetShiftState [14:22:26]wFMCommunicate request_size=4 [14:22:26]MH_SAM_APDU [14:22:26]CAPDU: 80 13 01 00 [14:22:26]Write to MH i2c: E2 08 00 63 05 80 13 01 00 00 00 00 00 E5 [14:22:26]Write i2c OK [14:22:26]MH_I2C_Read... [14:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:26]Read from MH i2c: E2 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 0E 00 [14:22:26]MH_I2C_Read... [14:22:26]Read from MH i2c: E2 0E 00 63 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FF [14:22:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:22:26]wFMCommunicate OK [14:22:26]SAM_PROTO_GetShiftState done [14:22:26]FM_GetShiftState done [14:22:26]opened in 1729296796 [14:22:26]opened+sec_in_day 1729383196 [14:22:26]quantity*price = 5000 [14:22:26]sum+1 = 5001 [14:22:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 41 19.10.2024 14:22 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37105 ФПД: 118838998070420 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142228&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37105&fm=118838998070420&tin=02508201610067®Number=0000000000098149&sum=5000 0 [14:22:27]StoreToDocumentArchive [14:22:27]shift 460 fd 37105 [14:22:27]save to /storage/0460/doc_00037105 [14:22:27]save last doc name /storage/0460/doc_00037105 to /storage/kkm_last_doc_name [14:22:27]save OK [14:22:27]Clear old archive folders... [14:22:27]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:22:27]tlvbuf is 009A45A0 [14:22:27]SAM_PROTO_ClearQueue [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 09 00 00 [14:22:27]Write to MH i2c: E2 08 00 70 05 80 09 00 00 00 00 00 00 E7 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:22:27]Read from MH i2c: E2 03 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 70 05 00 90 00 E9 [14:22:27]RAPDU: 90 00 [14:22:27]wFMCommunicate OK [14:22:27]SAM_PROTO_ClearQueue done [14:22:27]KKMCreateOFDPacket [14:22:27]OFDProtocolAddRootSTLVToBuf [14:22:27]FM_MakeSignedData [14:22:27]FM_MakeSignedData [14:22:27]SAM_PROTO_SignData [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 0D 01 02 [14:22:27]Write to MH i2c: E2 08 00 71 05 80 0D 01 02 00 00 00 00 EF [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 71 05 00 90 00 EA [14:22:27]RAPDU: 90 00 [14:22:27]wFMCommunicate OK [14:22:27]wFMCommunicate request_size=255 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A4 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [14:22:27]Write to MH i2c: E2 02 01 72 05 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A4 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 E1 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 72 05 00 90 00 EB [14:22:27]RAPDU: 90 00 [14:22:27]wFMCommunicate OK [14:22:27]wFMCommunicate request_size=28 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 0D 02 02 17 36 35 33 37 32 10 04 04 00 F1 90 00 00 35 04 06 00 6C 15 5C 43 F4 94 [14:22:27]Write to MH i2c: E2 1F 00 73 05 80 0D 02 02 17 00 36 35 33 37 32 10 04 04 00 F1 90 00 00 35 04 06 00 6C 15 5C 43 F4 94 00 00 A7 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 03 00 73 05 00 90 00 EC [14:22:27]RAPDU: 90 00 [14:22:27]wFMCommunicate OK [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 0D 03 02 [14:22:27]Write to MH i2c: E2 08 00 74 05 80 0D 03 02 00 00 00 00 F4 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 0B 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 0B 00 74 05 00 9A 19 8C DE 83 FE 92 EE 90 00 13 [14:22:27]RAPDU: 9A 19 8C DE 83 FE 92 EE 90 00 [14:22:27]wFMCommunicate OK [14:22:27]SAM_PROTO_SignData done [14:22:27]FM_MakeSignedData done [14:22:27]CreateOFDProtocolMessage [14:22:27]wFMCommunicate request_size=4 [14:22:27]MH_SAM_APDU [14:22:27]CAPDU: 80 11 00 00 [14:22:27]Write to MH i2c: E2 08 00 75 05 80 11 00 00 00 00 00 00 F4 [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:27]Read from MH i2c: E2 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 17 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: E2 17 00 75 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 47 [14:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:22:27]wFMCommunicate OK [14:22:27]CreateOFDProtocolMessage done [14:22:27]OFDSenderStorePacket 37105 [14:22:27]StoreOFDPacket docnum=37105 [14:22:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 21 01 00 00 16 A1 19 01 5F EE 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A4 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F1 90 00 00 35 04 06 00 6C 15 5C 43 F4 94 9A 19 8C DE 83 FE 92 EE [14:22:27]CheckFolder [14:22:27]dirname=/storage/ofd_packets [14:22:27]CheckFolder done [14:22:27]ProducePacketName [14:22:27]name=ofd_packets/00037105 [14:22:27]NVStorageSaveData ofd_packets/00037105 [14:22:27]File name is /storage/ofd_packets/00037105 [14:22:27]Write 319 bytes [14:22:27]NVStorageSaveData done [14:22:27]OFDSenderStorePacket done [14:22:27]KKMCreateOFDPacket done [14:22:27]NVStorageSaveData kkm_last_timestamp [14:22:27]File name is /storage/kkm_last_timestamp [14:22:27]Write 4 bytes [14:22:27]NVStorageSaveData done [14:22:27]ExternCall_PrintAddStr [14:22:27]wPrintStart [14:22:27]Write to MH i2c: 01 00 00 76 05 7B [14:22:27]Write i2c OK [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: 01 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: 01 07 00 [14:22:27]MH_I2C_Read... [14:22:27]Read from MH i2c: 01 07 00 76 05 00 00 00 00 00 FF 0F 90 [14:22:27]RasterBufferAndPrint [14:22:27]line Счет N : (3)76604 [14:22:27]line ИНН: 02508201610067 [14:22:27]line Контрольно-Кассовый Чек [14:22:27]line ПРОДАЖА [14:22:27]line Товар: 4700000160358 [14:22:27]line Вода Легенда 1л [14:22:27]line 1.000 * 50.00 [14:22:27]line = 50.00 [14:22:27]line НДС 12% НСП 1% [14:22:27]line > о реализуемом товаре [14:22:27]line ИТОГО: 50.00 [14:22:27]line НСП 1% : 0.44 [14:22:27]line НДС 12% : 5.31 [14:22:27]line Наличными: 50.00 [14:22:27]line Безнал.: 0.00 [14:22:27]line Место: АЗС № 165 "Партнер Нефть" [14:22:27]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [14:22:27]line СНО: Общий режим [14:22:27]line Чек 41 19.10.2024 14:22 [14:22:27]line Смена: 460 ФФД: 1.0 [14:22:27]line ЗНМ: 0300000235 [14:22:27]line РНМ: 0000000000098149 [14:22:27]line Версия ККМ: 001 [14:22:27]line ФМ: 0000000000965372 [14:22:28]line ФД: 37105 [14:22:28]line ФПД: 118838998070420 [14:22:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T142228&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37105&fm=118838998070420&tin=02508201610067®Number=0000000000098149&sum=5000 [14:22:28]line 0 [14:22:28]OFD Sender: Processing packet 37105 [packets to send 25, broken 24] [14:22:28]ProducePacketName [14:22:28]name=ofd_packets/00037105 [14:22:28]OFD Sender: To server: pG, [14:22:28]CommunicateWithHost lk.salyk.kg:30040 [14:22:28]ConnectInit lk.salyk.kg [14:22:28]written 0, free lines is 4095 [14:22:28]Connected sock=10 [14:22: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 33 37 32 21 01 00 00 16 A1 19 01 5F EE 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A4 C0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F1 90 00 00 35 04 06 00 6C 15 5C 43 F4 94 9A 19 8C DE 83 FE 92 EE [14:22:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 48 4D 47 00 25 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 33 37 32 10 04 04 00 F1 90 00 00 F4 03 04 00 39 69 13 67 B6 04 01 00 00 E0 60 2B 37 27 54 6C 5A [14:22:28]CommunicateWithHost err = 0 [14:22:28]CheckOFDResponse [14:22:28]1017 (14) - 77093643461234 [14:22:28]1041 (16) - 0000000000965372 [14:22:28]1040 (4) - 37105 [14:22:28]1012 (4) - 19.10.2024 08:09 [14:22:28]1206 (1) - 0 [14:22:28]OFD Sender: Remove packet 37105 [14:22:28]ProducePacketName [14:22:28]name=ofd_packets/00037105 [14:22:28]NVStorageDeleteData [14:22:28]Write to MH i2c: 01 00 00 9E 05 A3 [14:22:28]Write i2c OK [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: 01 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: 01 07 00 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: 01 07 00 9E 05 00 00 00 00 00 0C 0D C3 [14:22:28]RasterBufferAndPrint [14:22:28]line [14:22:28]line [14:22:28]line [14:22:28]line [14:22:28]line [14:22:28]written 0, free lines is 3347 [14:22:28]process_action close_receipt done [14:22:28]requested_data is exist [14:22:28]produce_requested_data [14:22:28]requested_item fm.sn is exist - process it [14:22:28]wFMCommunicate request_size=4 [14:22:28]MH_SAM_APDU [14:22:28]CAPDU: 80 11 00 00 [14:22:28]Write to MH i2c: E2 08 00 A5 05 80 11 00 00 00 00 00 00 24 [14:22:28]Write i2c OK [14:22:28]MH_I2C_Read... [14:22:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:22:28]Read from MH i2c: E2 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 17 00 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 17 00 A5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 77 [14:22:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [14:22:28]wFMCommunicate OK [14:22:28]requested_item fd.num is exist - process it [14:22:28]SAM_PROTO_GetFieldsCounters [14:22:28]wFMCommunicate request_size=4 [14:22:28]MH_SAM_APDU [14:22:28]CAPDU: 80 13 00 00 [14:22:28]Write to MH i2c: E2 08 00 A6 05 80 13 00 00 00 00 00 00 27 [14:22:28]Write i2c OK [14:22:28]MH_I2C_Read... [14:22:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:22:28]Read from MH i2c: E2 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 62 00 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 62 00 A6 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F1 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [14:22: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F1 90 00 00 0E 04 04 00 CC 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 [14:22:28]wFMCommunicate OK [14:22:28]SAM_PROTO_GetFieldsCounters done [14:22:28]requested_item shift.num is exist - process it [14:22:28]requested_item shift.opened is exist - process it [14:22:28]req_shift_opened [14:22:28]FM_GetShiftState [14:22:28]SAM_PROTO_GetShiftState [14:22:28]wFMCommunicate request_size=4 [14:22:28]MH_SAM_APDU [14:22:28]CAPDU: 80 13 01 00 [14:22:28]Write to MH i2c: E2 08 00 A7 05 80 13 01 00 00 00 00 00 29 [14:22:28]Write i2c OK [14:22:28]MH_I2C_Read... [14:22:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:22:28]Read from MH i2c: E2 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 0E 00 [14:22:28]MH_I2C_Read... [14:22:28]Read from MH i2c: E2 0E 00 A7 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 43 [14:22:28]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [14:22:28]wFMCommunicate OK [14:22:28]SAM_PROTO_GetShiftState done [14:22:28]FM_GetShiftState done [14:22:28]req_shift_opened done [14:22:28]requested_item shift.open_date is exist - process it [14:22:28]req_shift_open_date [14:22:28]req_shift_open_date done [14:22:28]produce_requested_data done [14:22:28]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37105,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [14:22:28]process_action_free close_receipt [14:22:28]json_value_free [14:22:28]json_value_free done [14:22:28]process_json_proto returns [14:22:28]Send response to host [14:22:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37105,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [14:22:28]free response buf [14:22:28]execute_script done [14:22:28]execute_script returns [14:22:28]free content buf [14:22:28]Sock 9.Close socket [14:22:28]Sock 9.Thread stoped [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24: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:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44: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:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:57:00]OFD Sender: No OFD packet to send [14:57:05]OFD Sender: No OFD packet to send [14:57:10]OFD Sender: No OFD packet to send [14:57:15]OFD Sender: No OFD packet to send [14:57:20]OFD Sender: No OFD packet to send [14:57:25]OFD Sender: No OFD packet to send [14:57:30]OFD Sender: No OFD packet to send [14:57:35]OFD Sender: No OFD packet to send [14:57:40]OFD Sender: No OFD packet to send [14:57:45]OFD Sender: No OFD packet to send [14:57:50]OFD Sender: No OFD packet to send [14:57:55]OFD Sender: No OFD packet to send [14:58:00]OFD Sender: No OFD packet to send [14:58:05]OFD Sender: No OFD packet to send [14:58:10]OFD Sender: No OFD packet to send [14:58:15]OFD Sender: No OFD packet to send [14:58:20]OFD Sender: No OFD packet to send [14:58:25]OFD Sender: No OFD packet to send [14:58:30]OFD Sender: No OFD packet to send [14:58:35]OFD Sender: No OFD packet to send [14:58:40]OFD Sender: No OFD packet to send [14:58:45]OFD Sender: No OFD packet to send [14:58:50]OFD Sender: No OFD packet to send [14:58:55]OFD Sender: No OFD packet to send [14:59:00]OFD Sender: No OFD packet to send [14:59:05]OFD Sender: No OFD packet to send [14:59:10]OFD Sender: No OFD packet to send [14:59:15]OFD Sender: No OFD packet to send [14:59:20]OFD Sender: No OFD packet to send [14:59:25]OFD Sender: No OFD packet to send [14:59:30]OFD Sender: No OFD packet to send [14:59:35]OFD Sender: No OFD packet to send [14:59:40]OFD Sender: No OFD packet to send [14:59:45]OFD Sender: No OFD packet to send [14:59:50]OFD Sender: No OFD packet to send [14:59:55]OFD Sender: No OFD packet to send [15:00:00]OFD Sender: No OFD packet to send [15:00:05]OFD Sender: No OFD packet to send [15:00:10]OFD Sender: No OFD packet to send [15:00:15]OFD Sender: No OFD packet to send [15:00:20]OFD Sender: No OFD packet to send [15:00:25]OFD Sender: No OFD packet to send [15:00:30]OFD Sender: No OFD packet to send [15:00:35]OFD Sender: No OFD packet to send [15:00:40]OFD Sender: No OFD packet to send [15:00:45]OFD Sender: No OFD packet to send [15:00:50]OFD Sender: No OFD packet to send [15:00:55]OFD Sender: No OFD packet to send [15:01:00]OFD Sender: No OFD packet to send [15:01:05]OFD Sender: No OFD packet to send [15:01:10]OFD Sender: No OFD packet to send [15:01:15]OFD Sender: No OFD packet to send [15:01:20]OFD Sender: No OFD packet to send [15:01:22]accept exits with 7 [15:01:22]New connection [15:01:22]New thread 3066555748 created [15:01:22]Thread 3066699108 joined [15:01:22]Waiting for new connection... [15:01:22] Sock 7.Parse request [15:01:22]Sock 7.Check first char [15:01:22]Sock 7.First char is OK [15:01:22]request: POST /json_proto HTTP/1.0 [15:01:22]Method: POST [15:01:22]URL: /json_proto [15:01:22]Method is POST - this is cgi request [15:01:22]url: /json_proto [15:01:22]query_string will be loaded in cgi processing [15:01:22]execute_cgi json_proto POST (null) [15:01:22]execute_cgi path=json_proto method=POST [15:01:22]POST find Content-Length [15:01:22]Host: 172.17.53.68:8080 [15:01:22]Content-Length: 622 [15:01:22]Content-Type: application/json [15:01:22] [15:01:22]POST finish read [15:01:22]Found Content-Length = 622 [15:01:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76605", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:22]execute_script... [15:01: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)76605", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:01:22]POST & json_proto [15:01:22]process_json_proto [15:01:22]json parsed OK: [15:01:22]protocol is kg_v1.0 [15:01:22]action value=close_receipt [15:01:22]process_action close_receipt [15:01:22]cmd_close_receipt [15:01:22]MH_GetDate [15:01:22]Write to MH i2c: F0 00 00 A8 05 9C [15:01:22]Write i2c OK [15:01:22]MH_I2C_Read... [15:01:22]Read from MH i2c: F0 [15:01:22]MH_I2C_Read... [15:01:22]Read from MH i2c: F0 09 00 [15:01:22]MH_I2C_Read... [15:01:22]Read from MH i2c: F0 09 00 A8 05 00 C4 C9 13 67 C5 A4 76 66 F1 [15:01:22]GetLastDocTimeStamp 1729347748 [15:01:22]current date 1729350084 [15:01:22]FM_GetShiftState [15:01:22]SAM_PROTO_GetShiftState [15:01:22]wFMCommunicate request_size=4 [15:01:22]MH_SAM_APDU [15:01:22]CAPDU: 80 13 01 00 [15:01:22]Write to MH i2c: E2 08 00 A9 05 80 13 01 00 00 00 00 00 2B [15:01:22]Write i2c OK [15:01:22]MH_I2C_Read... [15:01:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:22]Read from MH i2c: E2 [15:01:22]MH_I2C_Read... [15:01:22]Read from MH i2c: E2 0E 00 [15:01:22]MH_I2C_Read... [15:01:22]Read from MH i2c: E2 0E 00 A9 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 45 [15:01:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:01:22]wFMCommunicate OK [15:01:22]SAM_PROTO_GetShiftState done [15:01:22]FM_GetShiftState done [15:01:22]opened in 1729296796 [15:01:22]opened+sec_in_day 1729383196 [15:01:22]quantity*price = 14400 [15:01:22]sum+1 = 14401 [15:01:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 42 19.10.2024 15:01 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37106 ФПД: 259702486676307 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T150124&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37106&fm=259702486676307&tin=02508201610067®Number=0000000000098149&sum=14400 0 [15:01:23]StoreToDocumentArchive [15:01:23]shift 460 fd 37106 [15:01:23]save to /storage/0460/doc_00037106 [15:01:23]save last doc name /storage/0460/doc_00037106 to /storage/kkm_last_doc_name [15:01:23]save OK [15:01:23]Clear old archive folders... [15:01:23]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:01:23]tlvbuf is 0096A0D0 [15:01:23]SAM_PROTO_ClearQueue [15:01:23]wFMCommunicate request_size=4 [15:01:23]MH_SAM_APDU [15:01:23]CAPDU: 80 09 00 00 [15:01:23]Write to MH i2c: E2 08 00 B6 05 80 09 00 00 00 00 00 00 2D [15:01:23]Write i2c OK [15:01:23]MH_I2C_Read... [15:01:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:23]Read from MH i2c: E2 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 B6 05 00 90 00 2F [15:01:23]RAPDU: 90 00 [15:01:23]wFMCommunicate OK [15:01:23]SAM_PROTO_ClearQueue done [15:01:23]KKMCreateOFDPacket [15:01:23]OFDProtocolAddRootSTLVToBuf [15:01:23]FM_MakeSignedData [15:01:23]FM_MakeSignedData [15:01:23]SAM_PROTO_SignData [15:01:23]wFMCommunicate request_size=4 [15:01:23]MH_SAM_APDU [15:01:23]CAPDU: 80 0D 01 02 [15:01:23]Write to MH i2c: E2 08 00 B7 05 80 0D 01 02 00 00 00 00 35 [15:01:23]Write i2c OK [15:01:23]MH_I2C_Read... [15:01:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:23]Read from MH i2c: E2 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 B7 05 00 90 00 30 [15:01:23]RAPDU: 90 00 [15:01:23]wFMCommunicate OK [15:01:23]wFMCommunicate request_size=255 [15:01:23]MH_SAM_APDU [15:01:23]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 C9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [15:01:23]Write to MH i2c: E2 02 01 B8 05 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 C9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 3E [15:01:23]Write i2c OK [15:01:23]MH_I2C_Read... [15:01:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:23]Read from MH i2c: E2 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 [15:01:23]MH_I2C_Read... [15:01:23]Read from MH i2c: E2 03 00 B8 05 00 90 00 31 [15:01:23]RAPDU: 90 00 [15:01:23]wFMCommunicate OK [15:01:23]wFMCommunicate request_size=34 [15:01:23]MH_SAM_APDU [15:01:23]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F2 90 00 00 35 04 06 00 EC 32 B2 77 33 53 [15:01:23]Write to MH i2c: E2 25 00 B9 05 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F2 90 00 00 35 04 06 00 EC 32 B2 77 33 53 00 00 48 [15:01:23]Write i2c OK [15:01:23]MH_I2C_Read... [15:01:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:24]Read from MH i2c: E2 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 03 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 03 00 B9 05 00 90 00 32 [15:01:24]RAPDU: 90 00 [15:01:24]wFMCommunicate OK [15:01:24]wFMCommunicate request_size=4 [15:01:24]MH_SAM_APDU [15:01:24]CAPDU: 80 0D 03 02 [15:01:24]Write to MH i2c: E2 08 00 BA 05 80 0D 03 02 00 00 00 00 3A [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:01:24]Read from MH i2c: E2 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 0B 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 0B 00 BA 05 00 8E 7A ED 72 94 B7 61 40 90 00 8E [15:01:24]RAPDU: 8E 7A ED 72 94 B7 61 40 90 00 [15:01:24]wFMCommunicate OK [15:01:24]SAM_PROTO_SignData done [15:01:24]FM_MakeSignedData done [15:01:24]CreateOFDProtocolMessage [15:01:24]wFMCommunicate request_size=4 [15:01:24]MH_SAM_APDU [15:01:24]CAPDU: 80 11 00 00 [15:01:24]Write to MH i2c: E2 08 00 BB 05 80 11 00 00 00 00 00 00 3A [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:24]Read from MH i2c: E2 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 17 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: E2 17 00 BB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 8D [15:01:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:01:24]wFMCommunicate OK [15:01:24]CreateOFDProtocolMessage done [15:01:24]OFDSenderStorePacket 37106 [15:01:24]StoreOFDPacket docnum=37106 [15:01:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 F7 B6 1F 01 F6 2E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 C9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F2 90 00 00 35 04 06 00 EC 32 B2 77 33 53 8E 7A ED 72 94 B7 61 40 [15:01:24]CheckFolder [15:01:24]dirname=/storage/ofd_packets [15:01:24]CheckFolder done [15:01:24]ProducePacketName [15:01:24]name=ofd_packets/00037106 [15:01:24]NVStorageSaveData ofd_packets/00037106 [15:01:24]File name is /storage/ofd_packets/00037106 [15:01:24]Write 325 bytes [15:01:24]NVStorageSaveData done [15:01:24]OFDSenderStorePacket done [15:01:24]KKMCreateOFDPacket done [15:01:24]NVStorageSaveData kkm_last_timestamp [15:01:24]File name is /storage/kkm_last_timestamp [15:01:24]Write 4 bytes [15:01:24]NVStorageSaveData done [15:01:24]ExternCall_PrintAddStr [15:01:24]wPrintStart [15:01:24]Write to MH i2c: 01 00 00 BC 05 C1 [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 BC 05 00 00 00 00 00 FF 0F D6 [15:01:24]RasterBufferAndPrint [15:01:24]line Счет N : (3)76605 [15:01:24]line ИНН: 02508201610067 [15:01:24]line Контрольно-Кассовый Чек [15:01:24]line ПРОДАЖА [15:01:24]line Товар: 48743587 [15:01:24]line Сигареты Winston XStyle Silver [15:01:24]line 1.000 * 144.00 [15:01:24]line = 144.00 [15:01:24]line НДС 12% НСП 1% [15:01:24]line > о реализуемом товаре [15:01:24]line ИТОГО: 144.00 [15:01:24]line НСП 1% : 1.27 [15:01:24]line НДС 12% : 15.29 [15:01:24]line Наличными: 144.00 [15:01:24]line Безнал.: 0.00 [15:01:24]line Место: АЗС № 165 "Партнер Нефть" [15:01:24]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [15:01:24]line СНО: Общий режим [15:01:24]line Чек 42 19.10.2024 15:01 [15:01:24]line Смена: 460 ФФД: 1.0 [15:01:24]line ЗНМ: 0300000235 [15:01:24]line РНМ: 0000000000098149 [15:01:24]line Версия ККМ: 001 [15:01:24]line ФМ: 0000000000965372 [15:01:24]line ФД: 37106 [15:01:24]line ФПД: 259702486676307 [15:01:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T150124&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37106&fm=259702486676307&tin=02508201610067®Number=0000000000098149&sum=14400 [15:01:24]line 0 [15:01:24]written 0, free lines is 4095 [15:01:24]OFD Sender: Processing packet 37106 [packets to send 25, broken 24] [15:01:24]ProducePacketName [15:01:24]name=ofd_packets/00037106 [15:01:24]OFD Sender: To server: pG, [15:01:24]CommunicateWithHost lk.salyk.kg:30040 [15:01:24]ConnectInit lk.salyk.kg [15:01:24]Connected sock=10 [15:01:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 F7 B6 1F 01 F6 2E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C4 C9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F2 90 00 00 35 04 06 00 EC 32 B2 77 33 53 8E 7A ED 72 94 B7 61 40 [15:01:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0A 6A 47 00 43 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F2 90 00 00 F4 03 04 00 59 72 13 67 B6 04 01 00 00 9E D8 54 B5 F3 A6 4C 0F [15:01:24]CommunicateWithHost err = 0 [15:01:24]CheckOFDResponse [15:01:24]1017 (14) - 77093643461234 [15:01:24]1041 (16) - 0000000000965372 [15:01:24]1040 (4) - 37106 [15:01:24]1012 (4) - 19.10.2024 08:48 [15:01:24]1206 (1) - 0 [15:01:24]OFD Sender: Remove packet 37106 [15:01:24]ProducePacketName [15:01:24]name=ofd_packets/00037106 [15:01:24]NVStorageDeleteData [15:01:24]Write to MH i2c: 01 00 00 E5 05 EA [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 E5 05 00 00 00 00 00 F8 0C F5 [15:01:24]RasterBufferAndPrint [15:01:24]line [15:01:24]line [15:01:24]line [15:01:24]line [15:01:24]line [15:01:24]written 0, free lines is 3327 [15:01:24]process_action close_receipt done [15:01:24]requested_data is exist [15:01:24]produce_requested_data [15:01:24]requested_item fm.sn is exist - process it [15:01:24]wFMCommunicate request_size=4 [15:01:24]MH_SAM_APDU [15:01:24]CAPDU: 80 11 00 00 [15:01:24]Write to MH i2c: E2 08 00 EC 05 80 11 00 00 00 00 00 00 6B [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:25]Read from MH i2c: E2 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 17 00 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 17 00 EC 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 BE [15:01:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:01:25]wFMCommunicate OK [15:01:25]requested_item fd.num is exist - process it [15:01:25]SAM_PROTO_GetFieldsCounters [15:01:25]wFMCommunicate request_size=4 [15:01:25]MH_SAM_APDU [15:01:25]CAPDU: 80 13 00 00 [15:01:25]Write to MH i2c: E2 08 00 ED 05 80 13 00 00 00 00 00 00 6E [15:01:25]Write i2c OK [15:01:25]MH_I2C_Read... [15:01:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:01:25]Read from MH i2c: E2 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 62 00 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 62 00 ED 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F2 90 00 00 0E 04 04 00 CC 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 62 [15:01: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F2 90 00 00 0E 04 04 00 CC 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 [15:01:25]wFMCommunicate OK [15:01:25]SAM_PROTO_GetFieldsCounters done [15:01:25]requested_item shift.num is exist - process it [15:01:25]requested_item shift.opened is exist - process it [15:01:25]req_shift_opened [15:01:25]FM_GetShiftState [15:01:25]SAM_PROTO_GetShiftState [15:01:25]wFMCommunicate request_size=4 [15:01:25]MH_SAM_APDU [15:01:25]CAPDU: 80 13 01 00 [15:01:25]Write to MH i2c: E2 08 00 EE 05 80 13 01 00 00 00 00 00 70 [15:01:25]Write i2c OK [15:01:25]MH_I2C_Read... [15:01:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:25]Read from MH i2c: E2 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 0E 00 [15:01:25]MH_I2C_Read... [15:01:25]Read from MH i2c: E2 0E 00 EE 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 8A [15:01:25]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:01:25]wFMCommunicate OK [15:01:25]SAM_PROTO_GetShiftState done [15:01:25]FM_GetShiftState done [15:01:25]req_shift_opened done [15:01:25]requested_item shift.open_date is exist - process it [15:01:25]req_shift_open_date [15:01:25]req_shift_open_date done [15:01:25]produce_requested_data done [15:01:25]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37106,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:01:25]process_action_free close_receipt [15:01:25]json_value_free [15:01:25]json_value_free done [15:01:25]process_json_proto returns [15:01:25]Send response to host [15:01:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37106,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:01:25]free response buf [15:01:25]execute_script done [15:01:25]execute_script returns [15:01:25]free content buf [15:01:25]Sock 7.Close socket [15:01:25]Sock 7.Thread stoped [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04:50]OFD Sender: No OFD packet to send [15:04:55]OFD Sender: No OFD packet to send [15:05:00]OFD Sender: No OFD packet to send [15:05:05]OFD Sender: No OFD packet to send [15:05:10]OFD Sender: No OFD packet to send [15:05:15]OFD Sender: No OFD packet to send [15:05:20]OFD Sender: No OFD packet to send [15:05:25]OFD Sender: No OFD packet to send [15:05:30]OFD Sender: No OFD packet to send [15:05:35]OFD Sender: No OFD packet to send [15:05:40]OFD Sender: No OFD packet to send [15:05:45]OFD Sender: No OFD packet to send [15:05:50]OFD Sender: No OFD packet to send [15:05:55]OFD Sender: No OFD packet to send [15:06:00]OFD Sender: No OFD packet to send [15:06:05]OFD Sender: No OFD packet to send [15:06:10]OFD Sender: No OFD packet to send [15:06:15]OFD Sender: No OFD packet to send [15:06:20]OFD Sender: No OFD packet to send [15:06:25]OFD Sender: No OFD packet to send [15:06:30]OFD Sender: No OFD packet to send [15:06:35]OFD Sender: No OFD packet to send [15:06:40]OFD Sender: No OFD packet to send [15:06:45]OFD Sender: No OFD packet to send [15:06:50]OFD Sender: No OFD packet to send [15:06:55]OFD Sender: No OFD packet to send [15:07:00]OFD Sender: No OFD packet to send [15:07:05]OFD Sender: No OFD packet to send [15:07:10]OFD Sender: No OFD packet to send [15:07:15]OFD Sender: No OFD packet to send [15:07:20]OFD Sender: No OFD packet to send [15:07:25]OFD Sender: No OFD packet to send [15:07:30]OFD Sender: No OFD packet to send [15:07:35]OFD Sender: No OFD packet to send [15:07:40]OFD Sender: No OFD packet to send [15:07:45]OFD Sender: No OFD packet to send [15:07:50]OFD Sender: No OFD packet to send [15:07:55]OFD Sender: No OFD packet to send [15:08:00]OFD Sender: No OFD packet to send [15:08:05]OFD Sender: No OFD packet to send [15:08:10]OFD Sender: No OFD packet to send [15:08:15]OFD Sender: No OFD packet to send [15:08:20]OFD Sender: No OFD packet to send [15:08:25]OFD Sender: No OFD packet to send [15:08:30]OFD Sender: No OFD packet to send [15:08:35]OFD Sender: No OFD packet to send [15:08:40]OFD Sender: No OFD packet to send [15:08:45]OFD Sender: No OFD packet to send [15:08:50]OFD Sender: No OFD packet to send [15:08:55]OFD Sender: No OFD packet to send [15:09:00]OFD Sender: No OFD packet to send [15:09:05]OFD Sender: No OFD packet to send [15:09:10]OFD Sender: No OFD packet to send [15:09:15]OFD Sender: No OFD packet to send [15:09:20]OFD Sender: No OFD packet to send [15:09:25]OFD Sender: No OFD packet to send [15:09:30]OFD Sender: No OFD packet to send [15:09:35]OFD Sender: No OFD packet to send [15:09:40]OFD Sender: No OFD packet to send [15:09:45]OFD Sender: No OFD packet to send [15:09:50]OFD Sender: No OFD packet to send [15:09:55]OFD Sender: No OFD packet to send [15:10:00]OFD Sender: No OFD packet to send [15:10:05]OFD Sender: No OFD packet to send [15:10:10]OFD Sender: No OFD packet to send [15:10:15]OFD Sender: No OFD packet to send [15:10:20]OFD Sender: No OFD packet to send [15:10:25]OFD Sender: No OFD packet to send [15:10:30]OFD Sender: No OFD packet to send [15:10:35]OFD Sender: No OFD packet to send [15:10:40]OFD Sender: No OFD packet to send [15:10:45]OFD Sender: No OFD packet to send [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:14:00]OFD Sender: No OFD packet to send [15:14:05]OFD Sender: No OFD packet to send [15:14:10]OFD Sender: No OFD packet to send [15:14:15]OFD Sender: No OFD packet to send [15:14:20]OFD Sender: No OFD packet to send [15:14:25]OFD Sender: No OFD packet to send [15:14:30]OFD Sender: No OFD packet to send [15:14:35]OFD Sender: No OFD packet to send [15:14:40]OFD Sender: No OFD packet to send [15:14:45]OFD Sender: No OFD packet to send [15:14:50]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:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:31]OFD Sender: No OFD packet to send [15:31:36]OFD Sender: No OFD packet to send [15:31:41]OFD Sender: No OFD packet to send [15:31:46]OFD Sender: No OFD packet to send [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]accept exits with 9 [15:32:46]New connection [15:32:46]New thread 3066699108 created [15:32:46]Thread 3066555748 joined [15:32:46]Waiting for new connection... [15:32:46] Sock 9.Parse request [15:32:46]Sock 9.Check first char [15:32:46]Sock 9.First char is OK [15:32:46]request: POST /json_proto HTTP/1.0 [15:32:46]Method: POST [15:32:46]URL: /json_proto [15:32:46]Method is POST - this is cgi request [15:32:46]url: /json_proto [15:32:46]query_string will be loaded in cgi processing [15:32:46]execute_cgi json_proto POST (null) [15:32:46]execute_cgi path=json_proto method=POST [15:32:46]POST find Content-Length [15:32:46]Host: 172.17.53.68:8080 [15:32:46]Content-Length: 571 [15:32:46]Content-Type: application/json [15:32:46] [15:32:46]POST finish read [15:32:46]Found Content-Length = 571 [15:32:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76606", "tax_sys" : 0, "items" : [ { "code": "4904530108051", "name": "TOSHIBA CR2025", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:46]execute_script... [15:32:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76606", "tax_sys" : 0, "items" : [ { "code": "4904530108051", "name": "TOSHIBA CR2025", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:32:46]POST & json_proto [15:32:46]process_json_proto [15:32:46]json parsed OK: [15:32:46]protocol is kg_v1.0 [15:32:46]action value=close_receipt [15:32:46]process_action close_receipt [15:32:46]cmd_close_receipt [15:32:46]MH_GetDate [15:32:46]Write to MH i2c: F0 00 00 EF 05 E3 [15:32:46]Write i2c OK [15:32:46]MH_I2C_Read... [15:32:46]Read from MH i2c: F0 [15:32:46]MH_I2C_Read... [15:32:46]Read from MH i2c: F0 09 00 [15:32:46]MH_I2C_Read... [15:32:46]Read from MH i2c: F0 09 00 EF 05 00 20 D1 13 67 C5 A4 76 66 9C [15:32:46]GetLastDocTimeStamp 1729350084 [15:32:46]current date 1729351968 [15:32:46]FM_GetShiftState [15:32:46]SAM_PROTO_GetShiftState [15:32:46]wFMCommunicate request_size=4 [15:32:46]MH_SAM_APDU [15:32:46]CAPDU: 80 13 01 00 [15:32:46]Write to MH i2c: E2 08 00 F0 05 80 13 01 00 00 00 00 00 72 [15:32:46]Write i2c OK [15:32:46]MH_I2C_Read... [15:32:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:46]Read from MH i2c: E2 [15:32:46]MH_I2C_Read... [15:32:46]Read from MH i2c: E2 0E 00 [15:32:46]MH_I2C_Read... [15:32:46]Read from MH i2c: E2 0E 00 F0 05 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 8C [15:32:46]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:32:46]wFMCommunicate OK [15:32:46]SAM_PROTO_GetShiftState done [15:32:46]FM_GetShiftState done [15:32:46]opened in 1729296796 [15:32:46]opened+sec_in_day 1729383196 [15:32:46]quantity*price = 13300 [15:32:46]sum+1 = 13301 [15:32:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 133.00 НСП 1% : 1.18 НДС 12% : 14.12 Наличными: 133.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 43 19.10.2024 15:32 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37107 ФПД: 265734260444799 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T153248&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37107&fm=265734260444799&tin=02508201610067®Number=0000000000098149&sum=13300 0 [15:32:47]StoreToDocumentArchive [15:32:47]shift 460 fd 37107 [15:32:47]save to /storage/0460/doc_00037107 [15:32:47]save last doc name /storage/0460/doc_00037107 to /storage/kkm_last_doc_name [15:32:47]save OK [15:32:47]Clear old archive folders... [15:32:47]ProcessDocumentItem done err = 0, tmpTLVsize=256 [15:32:47]tlvbuf is 00969FA0 [15:32:47]SAM_PROTO_ClearQueue [15:32:47]wFMCommunicate request_size=4 [15:32:47]MH_SAM_APDU [15:32:47]CAPDU: 80 09 00 00 [15:32:47]Write to MH i2c: E2 08 00 FD 05 80 09 00 00 00 00 00 00 74 [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:32:47]Read from MH i2c: E2 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 FD 05 00 90 00 76 [15:32:47]RAPDU: 90 00 [15:32:47]wFMCommunicate OK [15:32:47]SAM_PROTO_ClearQueue done [15:32:47]KKMCreateOFDPacket [15:32:47]OFDProtocolAddRootSTLVToBuf [15:32:47]FM_MakeSignedData [15:32:47]FM_MakeSignedData [15:32:47]SAM_PROTO_SignData [15:32:47]wFMCommunicate request_size=4 [15:32:47]MH_SAM_APDU [15:32:47]CAPDU: 80 0D 01 02 [15:32:47]Write to MH i2c: E2 08 00 FE 05 80 0D 01 02 00 00 00 00 7C [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:32:47]Read from MH i2c: E2 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 FE 05 00 90 00 77 [15:32:47]RAPDU: 90 00 [15:32:47]wFMCommunicate OK [15:32:47]wFMCommunicate request_size=255 [15:32:47]MH_SAM_APDU [15:32:47]CAPDU: 80 0D 02 02 FA 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 31 30 38 30 35 31 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 32 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 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 20 D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F3 90 00 00 [15:32:47]Write to MH i2c: E2 02 01 FF 05 80 0D 02 02 FA 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 31 30 38 30 35 31 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 32 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 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 20 D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F3 90 00 00 00 00 7B [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:47]Read from MH i2c: E2 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 [15:32:47]MH_I2C_Read... [15:32:47]Read from MH i2c: E2 03 00 FF 05 00 90 00 78 [15:32:47]RAPDU: 90 00 [15:32:47]wFMCommunicate OK [15:32:47]wFMCommunicate request_size=15 [15:32:47]MH_SAM_APDU [15:32:47]CAPDU: 80 0D 02 02 0A 35 04 06 00 F1 AF 14 32 CE 7F [15:32:47]Write to MH i2c: E2 12 00 00 06 80 0D 02 02 0A 00 35 04 06 00 F1 AF 14 32 CE 7F 00 00 06 [15:32:47]Write i2c OK [15:32:47]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 03 00 00 06 00 90 00 7A [15:32:48]RAPDU: 90 00 [15:32:48]wFMCommunicate OK [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 0D 03 02 [15:32:48]Write to MH i2c: E2 08 00 01 06 80 0D 03 02 00 00 00 00 82 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 0B 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 0B 00 01 06 00 5E 93 B8 E1 BA 59 FB CA 90 00 E5 [15:32:48]RAPDU: 5E 93 B8 E1 BA 59 FB CA 90 00 [15:32:48]wFMCommunicate OK [15:32:48]SAM_PROTO_SignData done [15:32:48]FM_MakeSignedData done [15:32:48]CreateOFDProtocolMessage [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 11 00 00 [15:32:48]Write to MH i2c: E2 08 00 02 06 80 11 00 00 00 00 00 00 82 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 17 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 17 00 02 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D5 [15:32:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:32:48]wFMCommunicate OK [15:32:48]CreateOFDProtocolMessage done [15:32:48]OFDSenderStorePacket 37107 [15:32:48]StoreOFDPacket docnum=37107 [15:32:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 14 01 00 00 99 95 0C 01 A1 9F 5A 03 01 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 31 30 38 30 35 31 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 32 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 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 20 D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F3 90 00 00 35 04 06 00 F1 AF 14 32 CE 7F 5E 93 B8 E1 BA 59 FB CA [15:32:48]CheckFolder [15:32:48]dirname=/storage/ofd_packets [15:32:48]CheckFolder done [15:32:48]ProducePacketName [15:32:48]name=ofd_packets/00037107 [15:32:48]NVStorageSaveData ofd_packets/00037107 [15:32:48]File name is /storage/ofd_packets/00037107 [15:32:48]Write 306 bytes [15:32:48]NVStorageSaveData done [15:32:48]OFDSenderStorePacket done [15:32:48]KKMCreateOFDPacket done [15:32:48]NVStorageSaveData kkm_last_timestamp [15:32:48]File name is /storage/kkm_last_timestamp [15:32:48]Write 4 bytes [15:32:48]NVStorageSaveData done [15:32:48]ExternCall_PrintAddStr [15:32:48]wPrintStart [15:32:48]Write to MH i2c: 01 00 00 03 06 09 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 07 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 07 00 03 06 00 00 00 00 00 FF 0F 1E [15:32:48]RasterBufferAndPrint [15:32:48]line Счет N : (3)76606 [15:32:48]line ИНН: 02508201610067 [15:32:48]line Контрольно-Кассовый Чек [15:32:48]line ПРОДАЖА [15:32:48]line Товар: 4904530108051 [15:32:48]line TOSHIBA CR2025 [15:32:48]line 1.000 * 133.00 [15:32:48]line = 133.00 [15:32:48]line НДС 12% НСП 1% [15:32:48]line > о реализуемом товаре [15:32:48]line ИТОГО: 133.00 [15:32:48]line НСП 1% : 1.18 [15:32:48]line НДС 12% : 14.12 [15:32:48]line Наличными: 133.00 [15:32:48]line Безнал.: 0.00 [15:32:48]line Место: АЗС № 165 "Партнер Нефть" [15:32:48]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [15:32:48]line СНО: Общий режим [15:32:48]line Чек 43 19.10.2024 15:32 [15:32:48]line Смена: 460 ФФД: 1.0 [15:32:48]line ЗНМ: 0300000235 [15:32:48]line РНМ: 0000000000098149 [15:32:48]line Версия ККМ: 001 [15:32:48]line ФМ: 0000000000965372 [15:32:48]line ФД: 37107 [15:32:48]line ФПД: 265734260444799 [15:32:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T153248&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37107&fm=265734260444799&tin=02508201610067®Number=0000000000098149&sum=13300 [15:32:48]OFD Sender: Processing packet 37107 [packets to send 25, broken 24] [15:32:48]ProducePacketName [15:32:48]name=ofd_packets/00037107 [15:32:48]OFD Sender: To server: pG, [15:32:48]CommunicateWithHost lk.salyk.kg:30040 [15:32:48]ConnectInit lk.salyk.kg [15:32:48]line 0 [15:32:48]written 0, free lines is 4095 [15:32:48]Connected sock=10 [15:32:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 14 01 00 00 99 95 0C 01 A1 9F 5A 03 01 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 31 30 38 30 35 31 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 32 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 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 20 D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F3 90 00 00 35 04 06 00 F1 AF 14 32 CE 7F 5E 93 B8 E1 BA 59 FB CA [15:32:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 ED BB 47 00 7D DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 F3 90 00 00 F4 03 04 00 B5 79 13 67 B6 04 01 00 00 04 69 F1 33 4C 2C 5D 58 [15:32:48]CommunicateWithHost err = 0 [15:32:48]CheckOFDResponse [15:32:48]1017 (14) - 77093643461234 [15:32:48]1041 (16) - 0000000000965372 [15:32:48]1040 (4) - 37107 [15:32:48]1012 (4) - 19.10.2024 09:19 [15:32:48]1206 (1) - 0 [15:32:48]OFD Sender: Remove packet 37107 [15:32:48]ProducePacketName [15:32:48]name=ofd_packets/00037107 [15:32:48]NVStorageDeleteData [15:32:48]Write to MH i2c: 01 00 00 2B 06 31 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 07 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: 01 07 00 2B 06 00 00 00 00 00 12 0D 57 [15:32:48]RasterBufferAndPrint [15:32:48]line [15:32:48]line [15:32:48]line [15:32:48]line [15:32:48]line [15:32:48]written 0, free lines is 3354 [15:32:48]process_action close_receipt done [15:32:48]requested_data is exist [15:32:48]produce_requested_data [15:32:48]requested_item fm.sn is exist - process it [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 11 00 00 [15:32:48]Write to MH i2c: E2 08 00 32 06 80 11 00 00 00 00 00 00 B2 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:32:48]Read from MH i2c: E2 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 17 00 [15:32:48]MH_I2C_Read... [15:32:48]Read from MH i2c: E2 17 00 32 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 05 [15:32:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:32:48]wFMCommunicate OK [15:32:48]requested_item fd.num is exist - process it [15:32:48]SAM_PROTO_GetFieldsCounters [15:32:48]wFMCommunicate request_size=4 [15:32:48]MH_SAM_APDU [15:32:48]CAPDU: 80 13 00 00 [15:32:48]Write to MH i2c: E2 08 00 33 06 80 13 00 00 00 00 00 00 B5 [15:32:48]Write i2c OK [15:32:48]MH_I2C_Read... [15:32:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:32:49]Read from MH i2c: E2 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 62 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 62 00 33 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F3 90 00 00 0E 04 04 00 CC 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 AD [15:32: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F3 90 00 00 0E 04 04 00 CC 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 [15:32:49]wFMCommunicate OK [15:32:49]SAM_PROTO_GetFieldsCounters done [15:32:49]requested_item shift.num is exist - process it [15:32:49]requested_item shift.opened is exist - process it [15:32:49]req_shift_opened [15:32:49]FM_GetShiftState [15:32:49]SAM_PROTO_GetShiftState [15:32:49]wFMCommunicate request_size=4 [15:32:49]MH_SAM_APDU [15:32:49]CAPDU: 80 13 01 00 [15:32:49]Write to MH i2c: E2 08 00 34 06 80 13 01 00 00 00 00 00 B7 [15:32:49]Write i2c OK [15:32:49]MH_I2C_Read... [15:32:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:32:49]Read from MH i2c: E2 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 0E 00 [15:32:49]MH_I2C_Read... [15:32:49]Read from MH i2c: E2 0E 00 34 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 D1 [15:32:49]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:32:49]wFMCommunicate OK [15:32:49]SAM_PROTO_GetShiftState done [15:32:49]FM_GetShiftState done [15:32:49]req_shift_opened done [15:32:49]requested_item shift.open_date is exist - process it [15:32:49]req_shift_open_date [15:32:49]req_shift_open_date done [15:32:49]produce_requested_data done [15:32:49]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37107,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:32:49]process_action_free close_receipt [15:32:49]json_value_free [15:32:49]json_value_free done [15:32:49]process_json_proto returns [15:32:49]Send response to host [15:32:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37107,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:32:49]free response buf [15:32:49]execute_script done [15:32:49]execute_script returns [15:32:49]free content buf [15:32:49]Sock 9.Close socket [15:32:49]Sock 9.Thread stoped [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:47]accept exits with 7 [15:33:47]New connection [15:33:47]New thread 3066555748 created [15:33:47]Thread 3066699108 joined [15:33:47]Waiting for new connection... [15:33:47] Sock 7.Parse request [15:33:47]Sock 7.Check first char [15:33:47]Sock 7.First char is OK [15:33:47]request: POST /json_proto HTTP/1.0 [15:33:47]Method: POST [15:33:47]URL: /json_proto [15:33:47]Method is POST - this is cgi request [15:33:47]url: /json_proto [15:33:47]query_string will be loaded in cgi processing [15:33:47]execute_cgi json_proto POST (null) [15:33:47]execute_cgi path=json_proto method=POST [15:33:47]POST find Content-Length [15:33:47]Host: 172.17.53.68:8080 [15:33:47]Content-Length: 567 [15:33:47]Content-Type: application/json [15:33:47] [15:33:47]POST finish read [15:33:47]Found Content-Length = 567 [15:33:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76607", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:47]execute_script... [15:33:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76607", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:47]POST & json_proto [15:33:47]process_json_proto [15:33:47]json parsed OK: [15:33:47]protocol is kg_v1.0 [15:33:47]action value=close_receipt [15:33:47]process_action close_receipt [15:33:47]cmd_close_receipt [15:33:47]MH_GetDate [15:33:47]Write to MH i2c: F0 00 00 35 06 2A [15:33:47]Write i2c OK [15:33:47]MH_I2C_Read... [15:33:47]Read from MH i2c: F0 [15:33:47]MH_I2C_Read... [15:33:47]Read from MH i2c: F0 09 00 [15:33:47]MH_I2C_Read... [15:33:47]Read from MH i2c: F0 09 00 35 06 00 5D D1 13 67 C5 A4 76 66 20 [15:33:47]GetLastDocTimeStamp 1729351968 [15:33:47]current date 1729352029 [15:33:47]FM_GetShiftState [15:33:47]SAM_PROTO_GetShiftState [15:33:47]wFMCommunicate request_size=4 [15:33:47]MH_SAM_APDU [15:33:47]CAPDU: 80 13 01 00 [15:33:47]Write to MH i2c: E2 08 00 36 06 80 13 01 00 00 00 00 00 B9 [15:33:47]Write i2c OK [15:33:47]MH_I2C_Read... [15:33:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:47]Read from MH i2c: E2 [15:33:47]MH_I2C_Read... [15:33:47]Read from MH i2c: E2 0E 00 [15:33:47]MH_I2C_Read... [15:33:47]Read from MH i2c: E2 0E 00 36 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 D3 [15:33:47]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:33:47]wFMCommunicate OK [15:33:47]SAM_PROTO_GetShiftState done [15:33:47]FM_GetShiftState done [15:33:47]opened in 1729296796 [15:33:47]opened+sec_in_day 1729383196 [15:33:47]quantity*price = 26800 [15:33:47]sum+1 = 26801 [15:33:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 44 19.10.2024 15:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37108 ФПД: 162848188902848 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T153349&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37108&fm=162848188902848&tin=02508201610067®Number=0000000000098149&sum=26800 0 [15:33:48]StoreToDocumentArchive [15:33:48]shift 460 fd 37108 [15:33:48]save to /storage/0460/doc_00037108 [15:33:48]save last doc name /storage/0460/doc_00037108 to /storage/kkm_last_doc_name [15:33:48]save OK [15:33:48]Clear old archive folders... [15:33:48]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:33:48]tlvbuf is 00973930 [15:33:48]SAM_PROTO_ClearQueue [15:33:48]wFMCommunicate request_size=4 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 09 00 00 [15:33:48]Write to MH i2c: E2 08 00 43 06 80 09 00 00 00 00 00 00 BB [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:48]Read from MH i2c: E2 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 43 06 00 90 00 BD [15:33:48]RAPDU: 90 00 [15:33:48]wFMCommunicate OK [15:33:48]SAM_PROTO_ClearQueue done [15:33:48]KKMCreateOFDPacket [15:33:48]OFDProtocolAddRootSTLVToBuf [15:33:48]FM_MakeSignedData [15:33:48]FM_MakeSignedData [15:33:48]SAM_PROTO_SignData [15:33:48]wFMCommunicate request_size=4 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 0D 01 02 [15:33:48]Write to MH i2c: E2 08 00 44 06 80 0D 01 02 00 00 00 00 C3 [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:48]Read from MH i2c: E2 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 44 06 00 90 00 BE [15:33:48]RAPDU: 90 00 [15:33:48]wFMCommunicate OK [15:33:48]wFMCommunicate request_size=255 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 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 5D D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F4 90 00 00 35 04 06 00 [15:33:48]Write to MH i2c: E2 02 01 45 06 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 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 5D D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F4 90 00 00 35 04 06 00 00 00 19 [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:48]Read from MH i2c: E2 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 45 06 00 90 00 BF [15:33:48]RAPDU: 90 00 [15:33:48]wFMCommunicate OK [15:33:48]wFMCommunicate request_size=11 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 0D 02 02 06 94 1C 0C 73 AD C0 [15:33:48]Write to MH i2c: E2 0E 00 46 06 80 0D 02 02 06 00 94 1C 0C 73 AD C0 00 00 6E [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:48]Read from MH i2c: E2 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 03 00 46 06 00 90 00 C0 [15:33:48]RAPDU: 90 00 [15:33:48]wFMCommunicate OK [15:33:48]wFMCommunicate request_size=4 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 0D 03 02 [15:33:48]Write to MH i2c: E2 08 00 47 06 80 0D 03 02 00 00 00 00 C8 [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:48]Read from MH i2c: E2 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 0B 00 [15:33:48]MH_I2C_Read... [15:33:48]Read from MH i2c: E2 0B 00 47 06 00 7A 9F BF 12 97 05 5B 78 90 00 22 [15:33:48]RAPDU: 7A 9F BF 12 97 05 5B 78 90 00 [15:33:48]wFMCommunicate OK [15:33:48]SAM_PROTO_SignData done [15:33:48]FM_MakeSignedData done [15:33:48]CreateOFDProtocolMessage [15:33:48]wFMCommunicate request_size=4 [15:33:48]MH_SAM_APDU [15:33:48]CAPDU: 80 11 00 00 [15:33:48]Write to MH i2c: E2 08 00 48 06 80 11 00 00 00 00 00 00 C8 [15:33:48]Write i2c OK [15:33:48]MH_I2C_Read... [15:33:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:49]Read from MH i2c: E2 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: E2 17 00 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: E2 17 00 48 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 1B [15:33:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:33:49]wFMCommunicate OK [15:33:49]CreateOFDProtocolMessage done [15:33:49]OFDSenderStorePacket 37108 [15:33:49]StoreOFDPacket docnum=37108 [15:33:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 79 06 08 01 5A 0C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 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 5D D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F4 90 00 00 35 04 06 00 94 1C 0C 73 AD C0 7A 9F BF 12 97 05 5B 78 [15:33:49]CheckFolder [15:33:49]dirname=/storage/ofd_packets [15:33:49]CheckFolder done [15:33:49]ProducePacketName [15:33:49]name=ofd_packets/00037108 [15:33:49]NVStorageSaveData ofd_packets/00037108 [15:33:49]File name is /storage/ofd_packets/00037108 [15:33:49]Write 302 bytes [15:33:49]NVStorageSaveData done [15:33:49]OFDSenderStorePacket done [15:33:49]KKMCreateOFDPacket done [15:33:49]NVStorageSaveData kkm_last_timestamp [15:33:49]File name is /storage/kkm_last_timestamp [15:33:49]Write 4 bytes [15:33:49]NVStorageSaveData done [15:33:49]ExternCall_PrintAddStr [15:33:49]wPrintStart [15:33:49]Write to MH i2c: 01 00 00 49 06 4F [15:33:49]Write i2c OK [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 07 00 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 07 00 49 06 00 00 00 00 00 FF 0F 64 [15:33:49]RasterBufferAndPrint [15:33:49]line Счет N : (3)76607 [15:33:49]line ИНН: 02508201610067 [15:33:49]line Контрольно-Кассовый Чек [15:33:49]line ПРОДАЖА [15:33:49]line Товар: 48744539 [15:33:49]line LD Compact Blue [15:33:49]line 2.000 * 134.00 [15:33:49]line = 268.00 [15:33:49]line НДС 12% НСП 1% [15:33:49]line > о реализуемом товаре [15:33:49]line ИТОГО: 268.00 [15:33:49]line НСП 1% : 2.37 [15:33:49]line НДС 12% : 28.46 [15:33:49]line Наличными: 268.00 [15:33:49]line Безнал.: 0.00 [15:33:49]line Место: АЗС № 165 "Партнер Нефть" [15:33:49]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [15:33:49]line СНО: Общий режим [15:33:49]line Чек 44 19.10.2024 15:33 [15:33:49]line Смена: 460 ФФД: 1.0 [15:33:49]line ЗНМ: 0300000235 [15:33:49]line РНМ: 0000000000098149 [15:33:49]line Версия ККМ: 001 [15:33:49]line ФМ: 0000000000965372 [15:33:49]line ФД: 37108 [15:33:49]line ФПД: 162848188902848 [15:33:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T153349&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37108&fm=162848188902848&tin=02508201610067®Number=0000000000098149&sum=26800 [15:33:49]line 0 [15:33:49]written 0, free lines is 4095 [15:33:49]OFD Sender: Processing packet 37108 [packets to send 25, broken 24] [15:33:49]ProducePacketName [15:33:49]name=ofd_packets/00037108 [15:33:49]OFD Sender: To server: pG, [15:33:49]CommunicateWithHost lk.salyk.kg:30040 [15:33:49]ConnectInit lk.salyk.kg [15:33:49]Connected sock=10 [15:33:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 79 06 08 01 5A 0C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 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 5D D1 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F4 90 00 00 35 04 06 00 94 1C 0C 73 AD C0 7A 9F BF 12 97 05 5B 78 [15:33:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 48 7E 47 00 BD 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 F4 90 00 00 F4 03 04 00 F2 79 13 67 B6 04 01 00 00 BC 9C 4F 89 6F C9 8C D5 [15:33:49]CommunicateWithHost err = 0 [15:33:49]CheckOFDResponse [15:33:49]1017 (14) - 77093643461234 [15:33:49]1041 (16) - 0000000000965372 [15:33:49]1040 (4) - 37108 [15:33:49]1012 (4) - 19.10.2024 09:20 [15:33:49]1206 (1) - 0 [15:33:49]OFD Sender: Remove packet 37108 [15:33:49]ProducePacketName [15:33:49]name=ofd_packets/00037108 [15:33:49]NVStorageDeleteData [15:33:49]Write to MH i2c: 01 00 00 71 06 77 [15:33:49]Write i2c OK [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 07 00 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: 01 07 00 71 06 00 00 00 00 00 16 0D A1 [15:33:49]RasterBufferAndPrint [15:33:49]line [15:33:49]line [15:33:49]line [15:33:49]line [15:33:49]line [15:33:49]written 0, free lines is 3357 [15:33:49]process_action close_receipt done [15:33:49]requested_data is exist [15:33:49]produce_requested_data [15:33:49]requested_item fm.sn is exist - process it [15:33:49]wFMCommunicate request_size=4 [15:33:49]MH_SAM_APDU [15:33:49]CAPDU: 80 11 00 00 [15:33:49]Write to MH i2c: E2 08 00 78 06 80 11 00 00 00 00 00 00 F8 [15:33:49]Write i2c OK [15:33:49]MH_I2C_Read... [15:33:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:49]Read from MH i2c: E2 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: E2 17 00 [15:33:49]MH_I2C_Read... [15:33:49]Read from MH i2c: E2 17 00 78 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4B [15:33:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:33:49]wFMCommunicate OK [15:33:49]requested_item fd.num is exist - process it [15:33:49]SAM_PROTO_GetFieldsCounters [15:33:49]wFMCommunicate request_size=4 [15:33:49]MH_SAM_APDU [15:33:49]CAPDU: 80 13 00 00 [15:33:49]Write to MH i2c: E2 08 00 79 06 80 13 00 00 00 00 00 00 FB [15:33:49]Write i2c OK [15:33:49]MH_I2C_Read... [15:33:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:50]Read from MH i2c: E2 [15:33:50]MH_I2C_Read... [15:33:50]Read from MH i2c: E2 62 00 [15:33:50]MH_I2C_Read... [15:33:50]Read from MH i2c: E2 62 00 79 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F4 90 00 00 0E 04 04 00 CC 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 F7 [15:33:50]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F4 90 00 00 0E 04 04 00 CC 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 [15:33:50]wFMCommunicate OK [15:33:50]SAM_PROTO_GetFieldsCounters done [15:33:50]requested_item shift.num is exist - process it [15:33:50]requested_item shift.opened is exist - process it [15:33:50]req_shift_opened [15:33:50]FM_GetShiftState [15:33:50]SAM_PROTO_GetShiftState [15:33:50]wFMCommunicate request_size=4 [15:33:50]MH_SAM_APDU [15:33:50]CAPDU: 80 13 01 00 [15:33:50]Write to MH i2c: E2 08 00 7A 06 80 13 01 00 00 00 00 00 FD [15:33:50]Write i2c OK [15:33:50]MH_I2C_Read... [15:33:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:50]Read from MH i2c: E2 [15:33:50]MH_I2C_Read... [15:33:50]Read from MH i2c: E2 0E 00 [15:33:50]MH_I2C_Read... [15:33:50]Read from MH i2c: E2 0E 00 7A 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 17 [15:33:50]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:33:50]wFMCommunicate OK [15:33:50]SAM_PROTO_GetShiftState done [15:33:50]FM_GetShiftState done [15:33:50]req_shift_opened done [15:33:50]requested_item shift.open_date is exist - process it [15:33:50]req_shift_open_date [15:33:50]req_shift_open_date done [15:33:50]produce_requested_data done [15:33:50]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37108,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:33:50]process_action_free close_receipt [15:33:50]json_value_free [15:33:50]json_value_free done [15:33:50]process_json_proto returns [15:33:50]Send response to host [15:33:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37108,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:33:50]free response buf [15:33:50]execute_script done [15:33:50]execute_script returns [15:33:50]free content buf [15:33:50]Sock 7.Close socket [15:33:50]Sock 7.Thread stoped [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [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:01]accept exits with 9 [15:44:01]New connection [15:44:01]New thread 3066699108 created [15:44:01]Thread 3066555748 joined [15:44:01]Waiting for new connection... [15:44:01] Sock 9.Parse request [15:44:01]Sock 9.Check first char [15:44:01]Sock 9.First char is OK [15:44:01]request: POST /json_proto HTTP/1.0 [15:44:01]Method: POST [15:44:01]URL: /json_proto [15:44:01]Method is POST - this is cgi request [15:44:01]url: /json_proto [15:44:01]query_string will be loaded in cgi processing [15:44:01]execute_cgi json_proto POST (null) [15:44:01]execute_cgi path=json_proto method=POST [15:44:01]POST find Content-Length [15:44:01]Host: 172.17.53.68:8080 [15:44:01]Content-Length: 215 [15:44:01]Content-Type: application/json [15:44:01] [15:44:01]POST finish read [15:44:01]Found Content-Length = 215 [15:44:01]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" ] } } [15:44:01]execute_script... [15:44:01]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" ] } } [15:44:01]POST & json_proto [15:44:01]process_json_proto [15:44:01]json parsed OK: [15:44:01]protocol is kg_v1.0 [15:44:01]action value=get_value [15:44:01]process_action get_value [15:44:01]cmd_get_value [15:44:01]process_action get_value done [15:44:01]requested_data is exist [15:44:01]produce_requested_data [15:44:01]requested_item kkm.sn is exist - process it [15:44:01]requested_item kkm.ver is exist - process it [15:44:01]requested_item fm.sn is exist - process it [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 11 00 00 [15:44:01]Write to MH i2c: E2 08 00 7B 06 80 11 00 00 00 00 00 00 FB [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 17 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 17 00 7B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4E [15:44:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:44:01]wFMCommunicate OK [15:44:01]requested_item fd.num is exist - process it [15:44:01]SAM_PROTO_GetFieldsCounters [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 00 00 [15:44:01]Write to MH i2c: E2 08 00 7C 06 80 13 00 00 00 00 00 00 FE [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 62 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 62 00 7C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F4 90 00 00 0E 04 04 00 CC 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 FA [15:44: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F4 90 00 00 0E 04 04 00 CC 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 [15:44:01]wFMCommunicate OK [15:44:01]SAM_PROTO_GetFieldsCounters done [15:44:01]requested_item shift.num is exist - process it [15:44:01]requested_item shift.opened is exist - process it [15:44:01]req_shift_opened [15:44:01]FM_GetShiftState [15:44:01]SAM_PROTO_GetShiftState [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 01 00 [15:44:01]Write to MH i2c: E2 08 00 7D 06 80 13 01 00 00 00 00 00 00 [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:01]Read from MH i2c: E2 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 0E 00 [15:44:01]MH_I2C_Read... [15:44:01]Read from MH i2c: E2 0E 00 7D 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 1A [15:44:01]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:44:01]wFMCommunicate OK [15:44:01]SAM_PROTO_GetShiftState done [15:44:01]FM_GetShiftState done [15:44:01]req_shift_opened done [15:44:01]requested_item shift.open_date is exist - process it [15:44:01]req_shift_open_date [15:44:01]req_shift_open_date done [15:44:01]produce_requested_data done [15:44:01]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37108,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:44:01]process_action_free get_value [15:44:01]json_value_free [15:44:01]json_value_free done [15:44:01]process_json_proto returns [15:44:01]Send response to host [15:44:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37108,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:44:01]free response buf [15:44:01]execute_script done [15:44:01]execute_script returns [15:44:01]free content buf [15:44:01]Sock 9.Close socket [15:44:01]Sock 9.Thread stoped [15:44:01]accept exits with 7 [15:44:01]New connection [15:44:01]New thread 3066555748 created [15:44:01]Thread 3066699108 joined [15:44:01]Waiting for new connection... [15:44:01] Sock 7.Parse request [15:44:01]Sock 7.Check first char [15:44:01]Sock 7.First char is OK [15:44:01]request: POST /json_proto HTTP/1.0 [15:44:01]Method: POST [15:44:01]URL: /json_proto [15:44:01]Method is POST - this is cgi request [15:44:01]url: /json_proto [15:44:01]query_string will be loaded in cgi processing [15:44:01]execute_cgi json_proto POST (null) [15:44:01]execute_cgi path=json_proto method=POST [15:44:01]POST find Content-Length [15:44:01]Host: 172.17.53.68:8080 [15:44:01]Content-Length: 331 [15:44:01]Content-Type: application/json [15:44:01] [15:44:01]POST finish read [15:44:01]Found Content-Length = 331 [15:44:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:44:01]execute_script... [15:44:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:44:01]POST & json_proto [15:44:01]process_json_proto [15:44:01]json parsed OK: [15:44:01]protocol is kg_v1.0 [15:44:01]action value=get_value [15:44:01]process_action get_value [15:44:01]cmd_get_value [15:44:01]process_action get_value done [15:44:01]requested_data is exist [15:44:01]produce_requested_data [15:44:01]requested_item fm.sale.total is exist - process it [15:44:01]SAM_PROTO_GetFMData [15:44:01]wFMCommunicate request_size=4 [15:44:01]MH_SAM_APDU [15:44:01]CAPDU: 80 13 03 00 [15:44:01]Write to MH i2c: E2 08 00 7E 06 80 13 03 00 00 00 00 00 03 [15:44:01]Write i2c OK [15:44:01]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 7E 06 00 C4 04 85 04 C0 04 6E 04 04 00 5C 8D 00 00 69 04 A0 00 6F 04 04 00 13 8C 00 00 B1 04 04 00 60 6F 51 45 70 04 04 00 F0 B2 B5 3D 72 04 04 00 70 BC 9B 07 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 46 F6 5C 07 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 DB 05 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 5E [15:44:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 5C 8D 00 00 69 04 A0 00 6F 04 04 00 13 8C 00 00 B1 04 04 00 60 6F 51 45 70 04 04 00 F0 B2 B5 3D 72 04 04 00 70 BC 9B 07 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 46 F6 5C 07 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 DB 05 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 7F 06 80 17 00 00 00 00 00 00 05 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 7F 06 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 1D [15:44:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 80 06 80 17 00 00 00 00 00 00 06 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 80 06 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 1B [15:44:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 81 06 80 17 00 00 00 00 00 00 07 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:02]Read from MH i2c: E2 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 [15:44:02]MH_I2C_Read... [15:44:02]Read from MH i2c: E2 FD 00 81 06 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 7F [15:44:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [15:44:02]wFMCommunicate OK [15:44:02]wFMCommunicate request_size=4 [15:44:02]MH_SAM_APDU [15:44:02]CAPDU: 80 17 00 00 [15:44:02]Write to MH i2c: E2 08 00 82 06 80 17 00 00 00 00 00 00 08 [15:44:02]Write i2c OK [15:44:02]MH_I2C_Read... [15:44:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [15:44:03]Read from MH i2c: E2 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 E1 00 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 E1 00 82 06 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F6 [15:44:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:44:03]wFMCommunicate OK [15:44:03]SAM_PROTO_GetFMData done [15:44:03]requested_item fm.sale_refund.total is exist - process it [15:44:03]requested_item fm.buy.total is exist - process it [15:44:03]requested_item shift.sale.total is exist - process it [15:44:03]SAM_PROTO_GetShiftData [15:44:03]wFMCommunicate request_size=4 [15:44:03]MH_SAM_APDU [15:44:03]CAPDU: 80 13 02 00 [15:44:03]Write to MH i2c: E2 08 00 83 06 80 13 02 00 00 00 00 00 07 [15:44:03]Write i2c OK [15:44:03]MH_I2C_Read... [15:44:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:44:03]Read from MH i2c: E2 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 FD 00 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 FD 00 83 06 00 AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 A2 5B 15 70 04 03 00 94 8C 11 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 44 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C7 [15:44:03]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 A2 5B 15 70 04 03 00 94 8C 11 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 44 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5D 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [15:44:03]wFMCommunicate OK [15:44:03]wFMCommunicate request_size=4 [15:44:03]MH_SAM_APDU [15:44:03]CAPDU: 80 17 00 00 [15:44:03]Write to MH i2c: E2 08 00 84 06 80 17 00 00 00 00 00 00 0A [15:44:03]Write i2c OK [15:44:03]MH_I2C_Read... [15:44:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:03]Read from MH i2c: E2 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 FD 00 [15:44:03]MH_I2C_Read... [15:44:03]Read from MH i2c: E2 FD 00 84 06 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 2C [15:44:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:44:03]wFMCommunicate OK [15:44:03]wFMCommunicate request_size=4 [15:44:03]MH_SAM_APDU [15:44:03]CAPDU: 80 17 00 00 [15:44:03]Write to MH i2c: E2 08 00 85 06 80 17 00 00 00 00 00 00 0B [15:44:03]Write i2c OK [15:44:03]MH_I2C_Read... [15:44:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:04]Read from MH i2c: E2 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 FD 00 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 FD 00 85 06 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C2 [15:44:04]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:44:04]wFMCommunicate OK [15:44:04]wFMCommunicate request_size=4 [15:44:04]MH_SAM_APDU [15:44:04]CAPDU: 80 17 00 00 [15:44:04]Write to MH i2c: E2 08 00 86 06 80 17 00 00 00 00 00 00 0C [15:44:04]Write i2c OK [15:44:04]MH_I2C_Read... [15:44:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:04]Read from MH i2c: E2 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 FD 00 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 FD 00 86 06 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 7E [15:44:04]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:44:04]wFMCommunicate OK [15:44:04]wFMCommunicate request_size=4 [15:44:04]MH_SAM_APDU [15:44:04]CAPDU: 80 17 00 00 [15:44:04]Write to MH i2c: E2 08 00 87 06 80 17 00 00 00 00 00 00 0D [15:44:04]Write i2c OK [15:44:04]MH_I2C_Read... [15:44:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:44:04]Read from MH i2c: E2 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 CB 00 [15:44:04]MH_I2C_Read... [15:44:04]Read from MH i2c: E2 CB 00 87 06 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 F6 [15:44:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:44:04]wFMCommunicate OK [15:44:04]SAM_PROTO_GetShiftData done [15:44:04]requested_item shift.sale.total_cash is exist - process it [15:44:04]requested_item shift.sale_refund.total is exist - process it [15:44:04]requested_item shift.sale_refund.total_cash is exist - process it [15:44:04]requested_item shift.buy.total is exist - process it [15:44:04]requested_item shift.buy.total_cash is exist - process it [15:44:04]produce_requested_data done [15:44:04]produce_requested_data return {"fm.sale.total":11629648.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":13997.14,"shift.sale.total_cash":11501.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} [15:44:04]process_action_free get_value [15:44:04]json_value_free [15:44:04]json_value_free done [15:44:04]process_json_proto returns [15:44:04]Send response to host [15:44:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11629648.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":13997.14,"shift.sale.total_cash":11501.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}}} [15:44:04]free response buf [15:44:04]execute_script done [15:44:04]execute_script returns [15:44:04]free content buf [15:44:04]Sock 7.Close socket [15:44:04]Sock 7.Thread stoped [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:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:22]accept exits with 9 [15:45:22]New connection [15:45:22]New thread 3066699108 created [15:45:22]Thread 3066555748 joined [15:45:22]Waiting for new connection... [15:45:22] Sock 9.Parse request [15:45:22]Sock 9.Check first char [15:45:22]Sock 9.First char is OK [15:45:22]request: POST /json_proto HTTP/1.0 [15:45:22]Method: POST [15:45:22]URL: /json_proto [15:45:22]Method is POST - this is cgi request [15:45:22]url: /json_proto [15:45:22]query_string will be loaded in cgi processing [15:45:22]execute_cgi json_proto POST (null) [15:45:22]execute_cgi path=json_proto method=POST [15:45:22]POST find Content-Length [15:45:22]Host: 172.17.53.68:8080 [15:45:22]Content-Length: 727 [15:45:22]Content-Type: application/json [15:45:22] [15:45:22]POST finish read [15:45:22]Found Content-Length = 727 [15:45:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76608", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:22]execute_script... [15:45: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)76608", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:22]POST & json_proto [15:45:22]process_json_proto [15:45:22]json parsed OK: [15:45:22]protocol is kg_v1.0 [15:45:22]action value=close_receipt [15:45:22]process_action close_receipt [15:45:22]cmd_close_receipt [15:45:22]MH_GetDate [15:45:22]Write to MH i2c: F0 00 00 88 06 7D [15:45:22]Write i2c OK [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 09 00 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 09 00 88 06 00 14 D4 13 67 C5 A4 76 66 2D [15:45:22]GetLastDocTimeStamp 1729352029 [15:45:22]current date 1729352724 [15:45:22]FM_GetShiftState [15:45:22]SAM_PROTO_GetShiftState [15:45:22]wFMCommunicate request_size=4 [15:45:22]MH_SAM_APDU [15:45:22]CAPDU: 80 13 01 00 [15:45:22]Write to MH i2c: E2 08 00 89 06 80 13 01 00 00 00 00 00 0C [15:45:22]Write i2c OK [15:45:22]MH_I2C_Read... [15:45:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:22]Read from MH i2c: E2 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: E2 0E 00 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: E2 0E 00 89 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 26 [15:45:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:45:22]wFMCommunicate OK [15:45:22]SAM_PROTO_GetShiftState done [15:45:22]FM_GetShiftState done [15:45:22]opened in 1729296796 [15:45:22]opened+sec_in_day 1729383196 [15:45:22]quantity*price = 12000 [15:45:22]sum+1 = 12001 [15:45:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 45 19.10.2024 15:45 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37109 ФПД: 150482423588195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154524&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37109&fm=150482423588195&tin=02508201610067®Number=0000000000098149&sum=12000 0 [15:45:23]StoreToDocumentArchive [15:45:23]shift 460 fd 37109 [15:45:23]save to /storage/0460/doc_00037109 [15:45:23]save last doc name /storage/0460/doc_00037109 to /storage/kkm_last_doc_name [15:45:23]save OK [15:45:23]Clear old archive folders... [15:45:23]ProcessDocumentItem done err = 0, tmpTLVsize=308 [15:45:23]tlvbuf is 00973CA0 [15:45:23]SAM_PROTO_ClearQueue [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 09 00 00 [15:45:23]Write to MH i2c: E2 08 00 96 06 80 09 00 00 00 00 00 00 0E [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 96 06 00 90 00 10 [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]SAM_PROTO_ClearQueue done [15:45:23]KKMCreateOFDPacket [15:45:23]OFDProtocolAddRootSTLVToBuf [15:45:23]FM_MakeSignedData [15:45:23]FM_MakeSignedData [15:45:23]SAM_PROTO_SignData [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 01 02 [15:45:23]Write to MH i2c: E2 08 00 97 06 80 0D 01 02 00 00 00 00 16 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 97 06 00 90 00 11 [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]wFMCommunicate request_size=255 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 14 D4 13 67 0E 04 04 00 CC 01 00 00 B9 [15:45:23]Write to MH i2c: E2 02 01 98 06 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 14 D4 13 67 0E 04 04 00 CC 01 00 00 B9 00 00 A2 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 98 06 00 90 00 12 [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]wFMCommunicate request_size=67 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F5 90 00 00 35 04 06 00 88 DC EB 67 25 63 [15:45:23]Write to MH i2c: E2 46 00 99 06 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F5 90 00 00 35 04 06 00 88 DC EB 67 25 63 00 00 3A [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 99 06 00 90 00 13 [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 03 02 [15:45:23]Write to MH i2c: E2 08 00 9A 06 80 0D 03 02 00 00 00 00 1B [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 0B 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 0B 00 9A 06 00 47 67 B0 D0 AF 06 77 14 90 00 8A [15:45:23]RAPDU: 47 67 B0 D0 AF 06 77 14 90 00 [15:45:23]wFMCommunicate OK [15:45:23]SAM_PROTO_SignData done [15:45:23]FM_MakeSignedData done [15:45:23]CreateOFDProtocolMessage [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 11 00 00 [15:45:23]Write to MH i2c: E2 08 00 9B 06 80 11 00 00 00 00 00 00 1B [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 17 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 17 00 9B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6E [15:45:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:45:23]wFMCommunicate OK [15:45:23]CreateOFDProtocolMessage done [15:45:23]OFDSenderStorePacket 37109 [15:45:23]StoreOFDPacket docnum=37109 [15:45:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 48 01 00 00 49 9D 40 01 49 C0 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 14 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F5 90 00 00 35 04 06 00 88 DC EB 67 25 63 47 67 B0 D0 AF 06 77 14 [15:45:23]CheckFolder [15:45:23]dirname=/storage/ofd_packets [15:45:23]CheckFolder done [15:45:23]ProducePacketName [15:45:23]name=ofd_packets/00037109 [15:45:23]NVStorageSaveData ofd_packets/00037109 [15:45:23]File name is /storage/ofd_packets/00037109 [15:45:23]Write 358 bytes [15:45:23]NVStorageSaveData done [15:45:23]OFDSenderStorePacket done [15:45:23]KKMCreateOFDPacket done [15:45:23]NVStorageSaveData kkm_last_timestamp [15:45:23]File name is /storage/kkm_last_timestamp [15:45:23]Write 4 bytes [15:45:23]NVStorageSaveData done [15:45:23]ExternCall_PrintAddStr [15:45:23]wPrintStart [15:45:23]Write to MH i2c: 01 00 00 9C 06 A2 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: 01 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: 01 07 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: 01 07 00 9C 06 00 00 00 00 00 FF 0F B7 [15:45:23]RasterBufferAndPrint [15:45:23]line Счет N : (3)76608 [15:45:23]line ИНН: 02508201610067 [15:45:23]line Контрольно-Кассовый Чек [15:45:23]line ПРОДАЖА [15:45:23]line Товар: 5449000027474 [15:45:23]line Напиток FuzeTea зел чай манго,ромашка 1л [15:45:23]line 1.000 * 120.00 [15:45:23]line = 120.00 [15:45:23]line НДС 12% НСП 1% [15:45:23]line > о реализуемом товаре [15:45:23]line ИТОГО: 120.00 [15:45:23]line НСП 1% : 1.06 [15:45:23]line НДС 12% : 12.74 [15:45:23]line Наличными: 120.00 [15:45:23]line Безнал.: 0.00 [15:45:23]line Место: АЗС № 165 "Партнер Нефть" [15:45:23]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [15:45:23]line СНО: Общий режим [15:45:23]line Чек 45 19.10.2024 15:45 [15:45:23]line Смена: 460 ФФД: 1.0 [15:45:23]line ЗНМ: 0300000235 [15:45:23]line РНМ: 0000000000098149 [15:45:23]line Версия ККМ: 001 [15:45:23]line ФМ: 0000000000965372 [15:45:23]line ФД: 37109 [15:45:23]line ФПД: 150482423588195 [15:45:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154524&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37109&fm=150482423588195&tin=02508201610067®Number=0000000000098149&sum=12000 [15:45:24]line 0 [15:45:24]OFD Sender: Processing packet 37109 [packets to send 25, broken 24] [15:45:24]ProducePacketName [15:45:24]name=ofd_packets/00037109 [15:45:24]OFD Sender: To server: pG, [15:45:24]CommunicateWithHost lk.salyk.kg:30040 [15:45:24]ConnectInit lk.salyk.kg [15:45:24]written 0, free lines is 4095 [15:45:24]Connected sock=10 [15:45:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 48 01 00 00 49 9D 40 01 49 C0 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 14 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F5 90 00 00 35 04 06 00 88 DC EB 67 25 63 47 67 B0 D0 AF 06 77 14 [15:45:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 22 8D 47 00 94 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F5 90 00 00 F4 03 04 00 A9 7C 13 67 B6 04 01 00 00 05 1D 63 BA 36 53 5F 38 [15:45:24]CommunicateWithHost err = 0 [15:45:24]CheckOFDResponse [15:45:24]1017 (14) - 77093643461234 [15:45:24]1041 (16) - 0000000000965372 [15:45:24]1040 (4) - 37109 [15:45:24]1012 (4) - 19.10.2024 09:32 [15:45:24]1206 (1) - 0 [15:45:24]OFD Sender: Remove packet 37109 [15:45:24]ProducePacketName [15:45:24]name=ofd_packets/00037109 [15:45:24]NVStorageDeleteData [15:45:24]Write to MH i2c: 01 00 00 C5 06 CB [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 C5 06 00 00 00 00 00 E2 0C C0 [15:45:24]RasterBufferAndPrint [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]written 0, free lines is 3307 [15:45:24]process_action close_receipt done [15:45:24]requested_data is exist [15:45:24]produce_requested_data [15:45:24]requested_item fm.sn is exist - process it [15:45:24]wFMCommunicate request_size=4 [15:45:24]MH_SAM_APDU [15:45:24]CAPDU: 80 11 00 00 [15:45:24]Write to MH i2c: E2 08 00 CC 06 80 11 00 00 00 00 00 00 4C [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:24]Read from MH i2c: E2 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 17 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 17 00 CC 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9F [15:45:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:45:24]wFMCommunicate OK [15:45:24]requested_item fd.num is exist - process it [15:45:24]SAM_PROTO_GetFieldsCounters [15:45:24]wFMCommunicate request_size=4 [15:45:24]MH_SAM_APDU [15:45:24]CAPDU: 80 13 00 00 [15:45:24]Write to MH i2c: E2 08 00 CD 06 80 13 00 00 00 00 00 00 4F [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:45:24]Read from MH i2c: E2 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 62 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 62 00 CD 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F5 90 00 00 0E 04 04 00 CC 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 4F [15:45: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F5 90 00 00 0E 04 04 00 CC 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 [15:45:24]wFMCommunicate OK [15:45:24]SAM_PROTO_GetFieldsCounters done [15:45:24]requested_item shift.num is exist - process it [15:45:24]requested_item shift.opened is exist - process it [15:45:24]req_shift_opened [15:45:24]FM_GetShiftState [15:45:24]SAM_PROTO_GetShiftState [15:45:24]wFMCommunicate request_size=4 [15:45:24]MH_SAM_APDU [15:45:24]CAPDU: 80 13 01 00 [15:45:24]Write to MH i2c: E2 08 00 CE 06 80 13 01 00 00 00 00 00 51 [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:25]Read from MH i2c: E2 [15:45:25]MH_I2C_Read... [15:45:25]Read from MH i2c: E2 0E 00 [15:45:25]MH_I2C_Read... [15:45:25]Read from MH i2c: E2 0E 00 CE 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6B [15:45:25]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:45:25]wFMCommunicate OK [15:45:25]SAM_PROTO_GetShiftState done [15:45:25]FM_GetShiftState done [15:45:25]req_shift_opened done [15:45:25]requested_item shift.open_date is exist - process it [15:45:25]req_shift_open_date [15:45:25]req_shift_open_date done [15:45:25]produce_requested_data done [15:45:25]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37109,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:45:25]process_action_free close_receipt [15:45:25]json_value_free [15:45:25]json_value_free done [15:45:25]process_json_proto returns [15:45:25]Send response to host [15:45:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37109,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:45:25]free response buf [15:45:25]execute_script done [15:45:25]execute_script returns [15:45:25]free content buf [15:45:25]Sock 9.Close socket [15:45:25]Sock 9.Thread stoped [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:47:59]accept exits with 7 [15:47:59]New connection [15:47:59]New thread 3066555748 created [15:47:59]Thread 3066699108 joined [15:47:59]Waiting for new connection... [15:47:59] Sock 7.Parse request [15:47:59]Sock 7.Check first char [15:47:59]Sock 7.First char is OK [15:47:59]request: POST /json_proto HTTP/1.0 [15:47:59]Method: POST [15:47:59]URL: /json_proto [15:47:59]Method is POST - this is cgi request [15:47:59]url: /json_proto [15:47:59]query_string will be loaded in cgi processing [15:47:59]execute_cgi json_proto POST (null) [15:47:59]execute_cgi path=json_proto method=POST [15:47:59]POST find Content-Length [15:47:59]Host: 172.17.53.68:8080 [15:47:59]Content-Length: 619 [15:47:59]Content-Type: application/json [15:47:59] [15:47:59]POST finish read [15:47:59]Found Content-Length = 619 [15:47:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76609", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:47:59]execute_script... [15:47:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76609", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:47:59]POST & json_proto [15:47:59]process_json_proto [15:47:59]json parsed OK: [15:47:59]protocol is kg_v1.0 [15:47:59]action value=close_receipt [15:47:59]process_action close_receipt [15:47:59]cmd_close_receipt [15:47:59]MH_GetDate [15:47:59]Write to MH i2c: F0 00 00 CF 06 C4 [15:47:59]Write i2c OK [15:47:59]MH_I2C_Read... [15:47:59]Read from MH i2c: F0 [15:47:59]MH_I2C_Read... [15:47:59]Read from MH i2c: F0 09 00 [15:47:59]MH_I2C_Read... [15:47:59]Read from MH i2c: F0 09 00 CF 06 00 B1 D4 13 67 C5 A4 76 66 11 [15:47:59]GetLastDocTimeStamp 1729352724 [15:47:59]current date 1729352881 [15:47:59]FM_GetShiftState [15:47:59]SAM_PROTO_GetShiftState [15:47:59]wFMCommunicate request_size=4 [15:47:59]MH_SAM_APDU [15:47:59]CAPDU: 80 13 01 00 [15:47:59]Write to MH i2c: E2 08 00 D0 06 80 13 01 00 00 00 00 00 53 [15:47:59]Write i2c OK [15:47:59]MH_I2C_Read... [15:47:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:47:59]Read from MH i2c: E2 [15:47:59]MH_I2C_Read... [15:47:59]Read from MH i2c: E2 0E 00 [15:47:59]MH_I2C_Read... [15:47:59]Read from MH i2c: E2 0E 00 D0 06 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6D [15:47:59]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:47:59]wFMCommunicate OK [15:47:59]SAM_PROTO_GetShiftState done [15:47:59]FM_GetShiftState done [15:47:59]opened in 1729296796 [15:47:59]opened+sec_in_day 1729383196 [15:47:59]quantity*price = 13900 [15:47:59]sum+1 = 13901 [15:47:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 46 19.10.2024 15:48 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37110 ФПД: 248639158983800 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154801&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37110&fm=248639158983800&tin=02508201610067®Number=0000000000098149&sum=13900 0 [15:48:00]StoreToDocumentArchive [15:48:00]shift 460 fd 37110 [15:48:00]save to /storage/0460/doc_00037110 [15:48:00]save last doc name /storage/0460/doc_00037110 to /storage/kkm_last_doc_name [15:48:00]save OK [15:48:00]Clear old archive folders... [15:48:00]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:48:00]tlvbuf is 009692A0 [15:48:00]SAM_PROTO_ClearQueue [15:48:00]wFMCommunicate request_size=4 [15:48:00]MH_SAM_APDU [15:48:00]CAPDU: 80 09 00 00 [15:48:00]Write to MH i2c: E2 08 00 DD 06 80 09 00 00 00 00 00 00 55 [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 DD 06 00 90 00 57 [15:48:00]RAPDU: 90 00 [15:48:00]wFMCommunicate OK [15:48:00]SAM_PROTO_ClearQueue done [15:48:00]KKMCreateOFDPacket [15:48:00]OFDProtocolAddRootSTLVToBuf [15:48:00]FM_MakeSignedData [15:48:00]FM_MakeSignedData [15:48:00]SAM_PROTO_SignData [15:48:00]wFMCommunicate request_size=4 [15:48:00]MH_SAM_APDU [15:48:00]CAPDU: 80 0D 01 02 [15:48:00]Write to MH i2c: E2 08 00 DE 06 80 0D 01 02 00 00 00 00 5D [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 DE 06 00 90 00 58 [15:48:00]RAPDU: 90 00 [15:48:00]wFMCommunicate OK [15:48:00]wFMCommunicate request_size=255 [15:48:00]MH_SAM_APDU [15:48:00]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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B1 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 [15:48:00]Write to MH i2c: E2 02 01 DF 06 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B1 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 00 00 8E [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 DF 06 00 90 00 59 [15:48:00]RAPDU: 90 00 [15:48:00]wFMCommunicate OK [15:48:00]wFMCommunicate request_size=31 [15:48:00]MH_SAM_APDU [15:48:00]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 37 32 10 04 04 00 F6 90 00 00 35 04 06 00 E2 22 D0 BF 9C 78 [15:48:00]Write to MH i2c: E2 22 00 E0 06 80 0D 02 02 1A 00 30 30 39 36 35 33 37 32 10 04 04 00 F6 90 00 00 35 04 06 00 E2 22 D0 BF 9C 78 00 00 B8 [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 03 00 E0 06 00 90 00 5A [15:48:00]RAPDU: 90 00 [15:48:00]wFMCommunicate OK [15:48:00]wFMCommunicate request_size=4 [15:48:00]MH_SAM_APDU [15:48:00]CAPDU: 80 0D 03 02 [15:48:00]Write to MH i2c: E2 08 00 E1 06 80 0D 03 02 00 00 00 00 62 [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 0B 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 0B 00 E1 06 00 06 E2 73 E4 FF 6E EA 97 90 00 90 [15:48:00]RAPDU: 06 E2 73 E4 FF 6E EA 97 90 00 [15:48:00]wFMCommunicate OK [15:48:00]SAM_PROTO_SignData done [15:48:00]FM_MakeSignedData done [15:48:00]CreateOFDProtocolMessage [15:48:00]wFMCommunicate request_size=4 [15:48:00]MH_SAM_APDU [15:48:00]CAPDU: 80 11 00 00 [15:48:00]Write to MH i2c: E2 08 00 E2 06 80 11 00 00 00 00 00 00 62 [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:00]Read from MH i2c: E2 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 17 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: E2 17 00 E2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B5 [15:48:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:48:00]wFMCommunicate OK [15:48:00]CreateOFDProtocolMessage done [15:48:00]OFDSenderStorePacket 37110 [15:48:00]StoreOFDPacket docnum=37110 [15:48:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 45 C8 1C 01 2D 01 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B1 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F6 90 00 00 35 04 06 00 E2 22 D0 BF 9C 78 06 E2 73 E4 FF 6E EA 97 [15:48:00]CheckFolder [15:48:00]dirname=/storage/ofd_packets [15:48:00]CheckFolder done [15:48:00]ProducePacketName [15:48:00]name=ofd_packets/00037110 [15:48:00]NVStorageSaveData ofd_packets/00037110 [15:48:00]File name is /storage/ofd_packets/00037110 [15:48:00]Write 322 bytes [15:48:00]NVStorageSaveData done [15:48:00]OFDSenderStorePacket done [15:48:00]KKMCreateOFDPacket done [15:48:00]NVStorageSaveData kkm_last_timestamp [15:48:00]File name is /storage/kkm_last_timestamp [15:48:00]Write 4 bytes [15:48:00]NVStorageSaveData done [15:48:00]ExternCall_PrintAddStr [15:48:00]wPrintStart [15:48:00]Write to MH i2c: 01 00 00 E3 06 E9 [15:48:00]Write i2c OK [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: 01 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: 01 07 00 [15:48:00]MH_I2C_Read... [15:48:00]Read from MH i2c: 01 07 00 E3 06 00 00 00 00 00 FF 0F FE [15:48:00]RasterBufferAndPrint [15:48:00]line Счет N : (3)76609 [15:48:00]line ИНН: 02508201610067 [15:48:00]line Контрольно-Кассовый Чек [15:48:00]line ПРОДАЖА [15:48:00]line Товар: 48745000 [15:48:00]line Сигареты Winston Purple Mix [15:48:00]line 1.000 * 139.00 [15:48:00]line = 139.00 [15:48:00]line НДС 12% НСП 1% [15:48:00]line > о реализуемом товаре [15:48:00]line ИТОГО: 139.00 [15:48:00]line НСП 1% : 1.23 [15:48:00]line НДС 12% : 14.76 [15:48:00]line Наличными: 139.00 [15:48:00]line Безнал.: 0.00 [15:48:00]line Место: АЗС № 165 "Партнер Нефть" [15:48:00]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [15:48:00]line СНО: Общий режим [15:48:00]line Чек 46 19.10.2024 15:48 [15:48:00]line Смена: 460 ФФД: 1.0 [15:48:00]line ЗНМ: 0300000235 [15:48:00]line РНМ: 0000000000098149 [15:48:00]line Версия ККМ: 001 [15:48:00]line ФМ: 0000000000965372 [15:48:00]line ФД: 37110 [15:48:00]line ФПД: 248639158983800 [15:48:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T154801&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37110&fm=248639158983800&tin=02508201610067®Number=0000000000098149&sum=13900 [15:48:01]OFD Sender: Processing packet 37110 [packets to send 25, broken 24] [15:48:01]ProducePacketName [15:48:01]name=ofd_packets/00037110 [15:48:01]OFD Sender: To server: pG, [15:48:01]CommunicateWithHost lk.salyk.kg:30040 [15:48:01]ConnectInit lk.salyk.kg [15:48:01]line 0 [15:48:01]written 0, free lines is 4095 [15:48:01]Connected sock=10 [15:48:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 45 C8 1C 01 2D 01 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 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 B1 D4 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F6 90 00 00 35 04 06 00 E2 22 D0 BF 9C 78 06 E2 73 E4 FF 6E EA 97 [15:48:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 33 33 47 00 D3 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 F6 90 00 00 F4 03 04 00 46 7D 13 67 B6 04 01 00 00 F2 CE E8 AA 70 E9 52 DF [15:48:01]CommunicateWithHost err = 0 [15:48:01]CheckOFDResponse [15:48:01]1017 (14) - 77093643461234 [15:48:01]1041 (16) - 0000000000965372 [15:48:01]1040 (4) - 37110 [15:48:01]1012 (4) - 19.10.2024 09:35 [15:48:01]1206 (1) - 0 [15:48:01]OFD Sender: Remove packet 37110 [15:48:01]ProducePacketName [15:48:01]name=ofd_packets/00037110 [15:48:01]NVStorageDeleteData [15:48:01]Write to MH i2c: 01 00 00 0B 07 12 [15:48:01]Write i2c OK [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: 01 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: 01 07 00 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: 01 07 00 0B 07 00 00 00 00 00 05 0D 2B [15:48:01]RasterBufferAndPrint [15:48:01]line [15:48:01]line [15:48:01]line [15:48:01]line [15:48:01]line [15:48:01]written 0, free lines is 3340 [15:48:01]process_action close_receipt done [15:48:01]requested_data is exist [15:48:01]produce_requested_data [15:48:01]requested_item fm.sn is exist - process it [15:48:01]wFMCommunicate request_size=4 [15:48:01]MH_SAM_APDU [15:48:01]CAPDU: 80 11 00 00 [15:48:01]Write to MH i2c: E2 08 00 12 07 80 11 00 00 00 00 00 00 93 [15:48:01]Write i2c OK [15:48:01]MH_I2C_Read... [15:48:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:01]Read from MH i2c: E2 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: E2 17 00 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: E2 17 00 12 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E6 [15:48:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [15:48:01]wFMCommunicate OK [15:48:01]requested_item fd.num is exist - process it [15:48:01]SAM_PROTO_GetFieldsCounters [15:48:01]wFMCommunicate request_size=4 [15:48:01]MH_SAM_APDU [15:48:01]CAPDU: 80 13 00 00 [15:48:01]Write to MH i2c: E2 08 00 13 07 80 13 00 00 00 00 00 00 96 [15:48:01]Write i2c OK [15:48:01]MH_I2C_Read... [15:48:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:01]Read from MH i2c: E2 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: E2 62 00 [15:48:01]MH_I2C_Read... [15:48:01]Read from MH i2c: E2 62 00 13 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F6 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [15:48: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F6 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:01]wFMCommunicate OK [15:48:01]SAM_PROTO_GetFieldsCounters done [15:48:01]requested_item shift.num is exist - process it [15:48:01]requested_item shift.opened is exist - process it [15:48:01]req_shift_opened [15:48:01]FM_GetShiftState [15:48:01]SAM_PROTO_GetShiftState [15:48:01]wFMCommunicate request_size=4 [15:48:01]MH_SAM_APDU [15:48:01]CAPDU: 80 13 01 00 [15:48:01]Write to MH i2c: E2 08 00 14 07 80 13 01 00 00 00 00 00 98 [15:48:01]Write i2c OK [15:48:01]MH_I2C_Read... [15:48:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:02]Read from MH i2c: E2 [15:48:02]MH_I2C_Read... [15:48:02]Read from MH i2c: E2 0E 00 [15:48:02]MH_I2C_Read... [15:48:02]Read from MH i2c: E2 0E 00 14 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B2 [15:48:02]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [15:48:02]wFMCommunicate OK [15:48:02]SAM_PROTO_GetShiftState done [15:48:02]FM_GetShiftState done [15:48:02]req_shift_opened done [15:48:02]requested_item shift.open_date is exist - process it [15:48:02]req_shift_open_date [15:48:02]req_shift_open_date done [15:48:02]produce_requested_data done [15:48:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37110,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [15:48:02]process_action_free close_receipt [15:48:02]json_value_free [15:48:02]json_value_free done [15:48:02]process_json_proto returns [15:48:02]Send response to host [15:48:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37110,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [15:48:02]free response buf [15:48:02]execute_script done [15:48:02]execute_script returns [15:48:02]free content buf [15:48:02]Sock 7.Close socket [15:48:02]Sock 7.Thread stoped [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:32]OFD Sender: No OFD packet to send [16:00:37]OFD Sender: No OFD packet to send [16:00:42]OFD Sender: No OFD packet to send [16:00:47]OFD Sender: No OFD packet to send [16:00:52]OFD Sender: No OFD packet to send [16:00:57]OFD Sender: No OFD packet to send [16:01:02]OFD Sender: No OFD packet to send [16:01:07]OFD Sender: No OFD packet to send [16:01:12]OFD Sender: No OFD packet to send [16:01:17]OFD Sender: No OFD packet to send [16:01:22]OFD Sender: No OFD packet to send [16:01:27]OFD Sender: No OFD packet to send [16:01:32]OFD Sender: No OFD packet to send [16:01:37]OFD Sender: No OFD packet to send [16:01:42]OFD Sender: No OFD packet to send [16:01:47]OFD Sender: No OFD packet to send [16:01:52]OFD Sender: No OFD packet to send [16:01:57]OFD Sender: No OFD packet to send [16:02:02]OFD Sender: No OFD packet to send [16:02:07]OFD Sender: No OFD packet to send [16:02:12]OFD Sender: No OFD packet to send [16:02:17]OFD Sender: No OFD packet to send [16:02:20]accept exits with 9 [16:02:20]New connection [16:02:20]New thread 3066699108 created [16:02:20]Thread 3066555748 joined [16:02:20]Waiting for new connection... [16:02:20] Sock 9.Parse request [16:02:20]Sock 9.Check first char [16:02:20]Sock 9.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.53.68:8080 [16:02:20]Content-Length: 622 [16:02:20]Content-Type: application/json [16:02:20] [16:02:20]POST finish read [16:02:20]Found Content-Length = 622 [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)76610", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.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)76610", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.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 15 07 0B [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 15 07 00 0E D8 13 67 C5 A4 76 66 B9 [16:02:20]GetLastDocTimeStamp 1729352881 [16:02:20]current date 1729353742 [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 16 07 80 13 01 00 00 00 00 00 9A [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 16 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B4 [16:02:20]RAPDU: 09 00 01 9C F9 12 67 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 1729296796 [16:02:20]opened+sec_in_day 1729383196 [16:02:20]quantity*price = 14400 [16:02:20]sum+1 = 14401 [16:02:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 47 19.10.2024 16:02 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37111 ФПД: 81553721138183 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T160222&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37111&fm=81553721138183&tin=02508201610067®Number=0000000000098149&sum=14400 0 [16:02:21]StoreToDocumentArchive [16:02:21]shift 460 fd 37111 [16:02:21]save to /storage/0460/doc_00037111 [16:02:21]save last doc name /storage/0460/doc_00037111 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=275 [16:02:21]tlvbuf is 0098F580 [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 23 07 80 09 00 00 00 00 00 00 9C [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 [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 03 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 23 07 00 90 00 9E [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 24 07 80 0D 01 02 00 00 00 00 A4 [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 24 07 00 90 00 9F [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 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 0E D8 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [16:02:21]Write to MH i2c: E2 02 01 25 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 0E D8 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 0B [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [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 25 07 00 90 00 A0 [16:02:21]RAPDU: 90 00 [16:02:21]wFMCommunicate OK [16:02:21]wFMCommunicate request_size=34 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F7 90 00 00 35 04 06 00 4A 2C 34 94 1C 07 [16:02:21]Write to MH i2c: E2 25 00 26 07 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F7 90 00 00 35 04 06 00 4A 2C 34 94 1C 07 00 00 50 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [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 26 07 00 90 00 A1 [16:02:21]RAPDU: 90 00 [16:02:21]wFMCommunicate OK [16:02:21]wFMCommunicate request_size=4 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 0D 03 02 [16:02:21]Write to MH i2c: E2 08 00 27 07 80 0D 03 02 00 00 00 00 A9 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 0B 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 0B 00 27 07 00 26 E1 A0 15 7B DE B1 D3 90 00 43 [16:02:21]RAPDU: 26 E1 A0 15 7B DE B1 D3 90 00 [16:02:21]wFMCommunicate OK [16:02:21]SAM_PROTO_SignData done [16:02:21]FM_MakeSignedData done [16:02:21]CreateOFDProtocolMessage [16:02:21]wFMCommunicate request_size=4 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 11 00 00 [16:02:21]Write to MH i2c: E2 08 00 28 07 80 11 00 00 00 00 00 00 A9 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 17 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 17 00 28 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FC [16:02:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:02:21]wFMCommunicate OK [16:02:21]CreateOFDProtocolMessage done [16:02:21]OFDSenderStorePacket 37111 [16:02:21]StoreOFDPacket docnum=37111 [16:02:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 27 F3 1F 01 20 9C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 0E D8 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F7 90 00 00 35 04 06 00 4A 2C 34 94 1C 07 26 E1 A0 15 7B DE B1 D3 [16:02:21]CheckFolder [16:02:21]dirname=/storage/ofd_packets [16:02:21]CheckFolder done [16:02:21]ProducePacketName [16:02:21]name=ofd_packets/00037111 [16:02:21]NVStorageSaveData ofd_packets/00037111 [16:02:21]File name is /storage/ofd_packets/00037111 [16:02:21]Write 325 bytes [16:02:21]NVStorageSaveData done [16:02:21]OFDSenderStorePacket done [16:02:21]KKMCreateOFDPacket done [16:02:21]NVStorageSaveData kkm_last_timestamp [16:02:21]File name is /storage/kkm_last_timestamp [16:02:21]Write 4 bytes [16:02:21]NVStorageSaveData done [16:02:21]ExternCall_PrintAddStr [16:02:21]wPrintStart [16:02:21]Write to MH i2c: 01 00 00 29 07 30 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: 01 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: 01 07 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 FF 0F 45 [16:02:21]RasterBufferAndPrint [16:02:21]line Счет N : (3)76610 [16:02:21]line ИНН: 02508201610067 [16:02:21]line Контрольно-Кассовый Чек [16:02:21]line ПРОДАЖА [16:02:21]line Товар: 48743587 [16:02:21]line Сигареты Winston XStyle Silver [16:02:21]line 1.000 * 144.00 [16:02:21]line = 144.00 [16:02:21]line НДС 12% НСП 1% [16:02:21]line > о реализуемом товаре [16:02:21]line ИТОГО: 144.00 [16:02:21]line НСП 1% : 1.27 [16:02:21]line НДС 12% : 15.29 [16:02:21]line Наличными: 144.00 [16:02:21]line Безнал.: 0.00 [16:02:21]line Место: АЗС № 165 "Партнер Нефть" [16:02:21]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [16:02:21]line СНО: Общий режим [16:02:21]line Чек 47 19.10.2024 16:02 [16:02:21]line Смена: 460 ФФД: 1.0 [16:02:21]line ЗНМ: 0300000235 [16:02:21]line РНМ: 0000000000098149 [16:02:21]line Версия ККМ: 001 [16:02:21]line ФМ: 0000000000965372 [16:02:21]line ФД: 37111 [16:02:21]line ФПД: 81553721138183 [16:02:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T160222&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37111&fm=81553721138183&tin=02508201610067®Number=0000000000098149&sum=14400 [16:02:22]line 0 [16:02:22]OFD Sender: Processing packet 37111 [packets to send 25, broken 24] [16:02:22]ProducePacketName [16:02:22]name=ofd_packets/00037111 [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 33 37 32 27 01 00 00 27 F3 1F 01 20 9C 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 0E D8 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F7 90 00 00 35 04 06 00 4A 2C 34 94 1C 07 26 E1 A0 15 7B DE B1 D3 [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 33 37 32 4F 00 00 00 93 D8 47 00 0B 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 33 37 32 10 04 04 00 F7 90 00 00 F4 03 04 00 A3 80 13 67 B6 04 01 00 00 7A B4 49 4D C5 20 FA 4B [16:02:22]CommunicateWithHost err = 0 [16:02:22]CheckOFDResponse [16:02:22]1017 (14) - 77093643461234 [16:02:22]1041 (16) - 0000000000965372 [16:02:22]1040 (4) - 37111 [16:02:22]1012 (4) - 19.10.2024 09:49 [16:02:22]1206 (1) - 0 [16:02:22]OFD Sender: Remove packet 37111 [16:02:22]ProducePacketName [16:02:22]name=ofd_packets/00037111 [16:02:22]NVStorageDeleteData [16:02:22]Write to MH i2c: 01 00 00 52 07 59 [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 52 07 00 00 00 00 00 E7 0C 53 [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 3310 [16:02:22]process_action close_receipt done [16:02:22]requested_data is exist [16:02:22]produce_requested_data [16:02:22]requested_item fm.sn is exist - process it [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 59 07 80 11 00 00 00 00 00 00 DA [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 59 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2D [16:02:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:02:22]wFMCommunicate OK [16:02:22]requested_item fd.num is exist - process it [16:02:22]SAM_PROTO_GetFieldsCounters [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 13 00 00 [16:02:22]Write to MH i2c: E2 08 00 5A 07 80 13 00 00 00 00 00 00 DD [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 62 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 62 00 5A 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F7 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [16:02:22]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F7 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:02:22]wFMCommunicate OK [16:02:22]SAM_PROTO_GetFieldsCounters done [16:02:22]requested_item shift.num is exist - process it [16:02:22]requested_item shift.opened is exist - process it [16:02:22]req_shift_opened [16:02:22]FM_GetShiftState [16:02:22]SAM_PROTO_GetShiftState [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 13 01 00 [16:02:22]Write to MH i2c: E2 08 00 5B 07 80 13 01 00 00 00 00 00 DF [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0E 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0E 00 5B 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 F9 [16:02:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:02:22]wFMCommunicate OK [16:02:22]SAM_PROTO_GetShiftState done [16:02:22]FM_GetShiftState done [16:02:22]req_shift_opened done [16:02:22]requested_item shift.open_date is exist - process it [16:02:22]req_shift_open_date [16:02:22]req_shift_open_date done [16:02:22]produce_requested_data done [16:02:22]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37111,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [16:02:22]process_action_free close_receipt [16:02:22]json_value_free [16:02:22]json_value_free done [16:02:22]process_json_proto returns [16:02:22]Send response to host [16:02:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37111,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [16:02:22]free response buf [16:02:22]execute_script done [16:02:22]execute_script returns [16:02:22]free content buf [16:02:22]Sock 9.Close socket [16:02:22]Sock 9.Thread stoped [16:02:22]OFD Sender: No OFD packet to send [16:02:27]OFD Sender: No OFD packet to send [16:02:32]OFD Sender: No OFD packet to send [16:02:37]OFD Sender: No OFD packet to send [16:02:42]OFD Sender: No OFD packet to send [16:02:47]OFD Sender: No OFD packet to send [16:02:52]OFD Sender: No OFD packet to send [16:02:57]OFD Sender: No OFD packet to send [16:03:02]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:56]accept exits with 7 [16:10:56]New connection [16:10:56]New thread 3066555748 created [16:10:56]Thread 3066699108 joined [16:10:56]Waiting for new connection... [16:10:56] Sock 7.Parse request [16:10:56]Sock 7.Check first char [16:10:56]Sock 7.First char is OK [16:10:56]request: POST /json_proto HTTP/1.0 [16:10:56]Method: POST [16:10:56]URL: /json_proto [16:10:56]Method is POST - this is cgi request [16:10:56]url: /json_proto [16:10:56]query_string will be loaded in cgi processing [16:10:56]execute_cgi json_proto POST (null) [16:10:56]execute_cgi path=json_proto method=POST [16:10:56]POST find Content-Length [16:10:56]Host: 172.17.53.68:8080 [16:10:56]Content-Length: 215 [16:10:56]Content-Type: application/json [16:10:56] [16:10:56]POST finish read [16:10:56]Found Content-Length = 215 [16:10:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:10:56]execute_script... [16:10:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:10:56]POST & json_proto [16:10:56]process_json_proto [16:10:56]json parsed OK: [16:10:56]protocol is kg_v1.0 [16:10:56]action value=get_value [16:10:56]process_action get_value [16:10:56]cmd_get_value [16:10:56]process_action get_value done [16:10:56]requested_data is exist [16:10:56]produce_requested_data [16:10:56]requested_item kkm.sn is exist - process it [16:10:56]requested_item kkm.ver is exist - process it [16:10:56]requested_item fm.sn is exist - process it [16:10:56]wFMCommunicate request_size=4 [16:10:56]MH_SAM_APDU [16:10:56]CAPDU: 80 11 00 00 [16:10:56]Write to MH i2c: E2 08 00 5C 07 80 11 00 00 00 00 00 00 DD [16:10:56]Write i2c OK [16:10:56]MH_I2C_Read... [16:10:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:10:56]Read from MH i2c: E2 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 17 00 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 17 00 5C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 30 [16:10:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:10:56]wFMCommunicate OK [16:10:56]requested_item fd.num is exist - process it [16:10:56]SAM_PROTO_GetFieldsCounters [16:10:56]wFMCommunicate request_size=4 [16:10:56]MH_SAM_APDU [16:10:56]CAPDU: 80 13 00 00 [16:10:56]Write to MH i2c: E2 08 00 5D 07 80 13 00 00 00 00 00 00 E0 [16:10:56]Write i2c OK [16:10:56]MH_I2C_Read... [16:10:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:10:56]Read from MH i2c: E2 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 62 00 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 62 00 5D 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F7 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [16:10: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F7 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:10:56]wFMCommunicate OK [16:10:56]SAM_PROTO_GetFieldsCounters done [16:10:56]requested_item shift.num is exist - process it [16:10:56]requested_item shift.opened is exist - process it [16:10:56]req_shift_opened [16:10:56]FM_GetShiftState [16:10:56]SAM_PROTO_GetShiftState [16:10:56]wFMCommunicate request_size=4 [16:10:56]MH_SAM_APDU [16:10:56]CAPDU: 80 13 01 00 [16:10:56]Write to MH i2c: E2 08 00 5E 07 80 13 01 00 00 00 00 00 E2 [16:10:56]Write i2c OK [16:10:56]MH_I2C_Read... [16:10:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:56]Read from MH i2c: E2 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 0E 00 [16:10:56]MH_I2C_Read... [16:10:56]Read from MH i2c: E2 0E 00 5E 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FC [16:10:56]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:10:56]wFMCommunicate OK [16:10:56]SAM_PROTO_GetShiftState done [16:10:56]FM_GetShiftState done [16:10:56]req_shift_opened done [16:10:56]requested_item shift.open_date is exist - process it [16:10:56]req_shift_open_date [16:10:56]req_shift_open_date done [16:10:56]produce_requested_data done [16:10:56]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37111,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [16:10:56]process_action_free get_value [16:10:56]json_value_free [16:10:56]json_value_free done [16:10:56]process_json_proto returns [16:10:56]Send response to host [16:10:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37111,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [16:10:56]free response buf [16:10:56]execute_script done [16:10:56]execute_script returns [16:10:56]free content buf [16:10:56]Sock 7.Close socket [16:10:56]Sock 7.Thread stoped [16:10:56]accept exits with 9 [16:10:56]New connection [16:10:56]New thread 3066699108 created [16:10:56]Thread 3066555748 joined [16:10:56]Waiting for new connection... [16:10:56] Sock 9.Parse request [16:10:56]Sock 9.Check first char [16:10:56]Sock 9.First char is OK [16:10:56]request: POST /json_proto HTTP/1.0 [16:10:56]Method: POST [16:10:56]URL: /json_proto [16:10:56]Method is POST - this is cgi request [16:10:56]url: /json_proto [16:10:56]query_string will be loaded in cgi processing [16:10:56]execute_cgi json_proto POST (null) [16:10:56]execute_cgi path=json_proto method=POST [16:10:56]POST find Content-Length [16:10:56]Host: 172.17.53.68:8080 [16:10:56]Content-Length: 331 [16:10:56]Content-Type: application/json [16:10:56] [16:10:56]POST finish read [16:10:56]Found Content-Length = 331 [16:10:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:10:56]execute_script... [16:10:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [16:10:56]POST & json_proto [16:10:56]process_json_proto [16:10:56]json parsed OK: [16:10:56]protocol is kg_v1.0 [16:10:56]action value=get_value [16:10:56]process_action get_value [16:10:56]cmd_get_value [16:10:56]process_action get_value done [16:10:56]requested_data is exist [16:10:56]produce_requested_data [16:10:56]requested_item fm.sale.total is exist - process it [16:10:56]SAM_PROTO_GetFMData [16:10:56]wFMCommunicate request_size=4 [16:10:56]MH_SAM_APDU [16:10:56]CAPDU: 80 13 03 00 [16:10:56]Write to MH i2c: E2 08 00 5F 07 80 13 03 00 00 00 00 00 E5 [16:10:56]Write i2c OK [16:10:56]MH_I2C_Read... [16:10:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:10:57]Read from MH i2c: E2 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 5F 07 00 C4 04 85 04 C0 04 6E 04 04 00 5F 8D 00 00 69 04 A0 00 6F 04 04 00 16 8C 00 00 B1 04 04 00 CC 0C 52 45 70 04 04 00 5C 50 B6 3D 72 04 04 00 70 BC 9B 07 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 FD 06 5D 07 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 3F 07 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 89 [16:10:57]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 5F 8D 00 00 69 04 A0 00 6F 04 04 00 16 8C 00 00 B1 04 04 00 CC 0C 52 45 70 04 04 00 5C 50 B6 3D 72 04 04 00 70 BC 9B 07 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 FD 06 5D 07 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 3F 07 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [16:10:57]wFMCommunicate OK [16:10:57]wFMCommunicate request_size=4 [16:10:57]MH_SAM_APDU [16:10:57]CAPDU: 80 17 00 00 [16:10:57]Write to MH i2c: E2 08 00 60 07 80 17 00 00 00 00 00 00 E7 [16:10:57]Write i2c OK [16:10:57]MH_I2C_Read... [16:10:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:57]Read from MH i2c: E2 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 60 07 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 FF [16:10:57]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:10:57]wFMCommunicate OK [16:10:57]wFMCommunicate request_size=4 [16:10:57]MH_SAM_APDU [16:10:57]CAPDU: 80 17 00 00 [16:10:57]Write to MH i2c: E2 08 00 61 07 80 17 00 00 00 00 00 00 E8 [16:10:57]Write i2c OK [16:10:57]MH_I2C_Read... [16:10:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:57]Read from MH i2c: E2 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 [16:10:57]MH_I2C_Read... [16:10:57]Read from MH i2c: E2 FD 00 61 07 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 FD [16:10:57]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:10:57]wFMCommunicate OK [16:10:57]wFMCommunicate request_size=4 [16:10:57]MH_SAM_APDU [16:10:57]CAPDU: 80 17 00 00 [16:10:57]Write to MH i2c: E2 08 00 62 07 80 17 00 00 00 00 00 00 E9 [16:10:57]Write i2c OK [16:10:57]MH_I2C_Read... [16:10:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:58]Read from MH i2c: E2 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 FD 00 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 FD 00 62 07 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 61 [16:10:58]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:10:58]wFMCommunicate OK [16:10:58]wFMCommunicate request_size=4 [16:10:58]MH_SAM_APDU [16:10:58]CAPDU: 80 17 00 00 [16:10:58]Write to MH i2c: E2 08 00 63 07 80 17 00 00 00 00 00 00 EA [16:10:58]Write i2c OK [16:10:58]MH_I2C_Read... [16:10:58]OFD Sender: No OFD packet to send [16:10:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:10:58]Read from MH i2c: E2 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 E1 00 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 E1 00 63 07 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D8 [16:10:58]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:10:58]wFMCommunicate OK [16:10:58]SAM_PROTO_GetFMData done [16:10:58]requested_item fm.sale_refund.total is exist - process it [16:10:58]requested_item fm.buy.total is exist - process it [16:10:58]requested_item shift.sale.total is exist - process it [16:10:58]SAM_PROTO_GetShiftData [16:10:58]wFMCommunicate request_size=4 [16:10:58]MH_SAM_APDU [16:10:58]CAPDU: 80 13 02 00 [16:10:58]Write to MH i2c: E2 08 00 64 07 80 13 02 00 00 00 00 00 E9 [16:10:58]Write i2c OK [16:10:58]MH_I2C_Read... [16:10:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:10:58]Read from MH i2c: E2 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 FD 00 [16:10:58]MH_I2C_Read... [16:10:58]Read from MH i2c: E2 FD 00 64 07 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 0E F9 15 70 04 03 00 00 2A 12 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 55 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F1 [16:10:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 0E F9 15 70 04 03 00 00 2A 12 72 04 03 00 0E CF 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 68 55 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 31 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [16:10:58]wFMCommunicate OK [16:10:58]wFMCommunicate request_size=4 [16:10:58]MH_SAM_APDU [16:10:58]CAPDU: 80 17 00 00 [16:10:58]Write to MH i2c: E2 08 00 65 07 80 17 00 00 00 00 00 00 EC [16:10:58]Write i2c OK [16:10:58]MH_I2C_Read... [16:10:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:59]Read from MH i2c: E2 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 65 07 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 0E [16:10:59]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 [16:10:59]wFMCommunicate OK [16:10:59]wFMCommunicate request_size=4 [16:10:59]MH_SAM_APDU [16:10:59]CAPDU: 80 17 00 00 [16:10:59]Write to MH i2c: E2 08 00 66 07 80 17 00 00 00 00 00 00 ED [16:10:59]Write i2c OK [16:10:59]MH_I2C_Read... [16:10:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:59]Read from MH i2c: E2 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 66 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A4 [16:10:59]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 [16:10:59]wFMCommunicate OK [16:10:59]wFMCommunicate request_size=4 [16:10:59]MH_SAM_APDU [16:10:59]CAPDU: 80 17 00 00 [16:10:59]Write to MH i2c: E2 08 00 67 07 80 17 00 00 00 00 00 00 EE [16:10:59]Write i2c OK [16:10:59]MH_I2C_Read... [16:10:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:10:59]Read from MH i2c: E2 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 [16:10:59]MH_I2C_Read... [16:10:59]Read from MH i2c: E2 FD 00 67 07 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 60 [16:10:59]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 [16:10:59]wFMCommunicate OK [16:10:59]wFMCommunicate request_size=4 [16:10:59]MH_SAM_APDU [16:10:59]CAPDU: 80 17 00 00 [16:10:59]Write to MH i2c: E2 08 00 68 07 80 17 00 00 00 00 00 00 EF [16:10:59]Write i2c OK [16:10:59]MH_I2C_Read... [16:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [16:11:00]Read from MH i2c: E2 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: E2 CB 00 [16:11:00]MH_I2C_Read... [16:11:00]Read from MH i2c: E2 CB 00 68 07 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 D8 [16:11:00]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 [16:11:00]wFMCommunicate OK [16:11:00]SAM_PROTO_GetShiftData done [16:11:00]requested_item shift.sale.total_cash is exist - process it [16:11:00]requested_item shift.sale_refund.total is exist - process it [16:11:00]requested_item shift.sale_refund.total_cash is exist - process it [16:11:00]requested_item shift.buy.total is exist - process it [16:11:00]requested_item shift.buy.total_cash is exist - process it [16:11:00]produce_requested_data done [16:11:00]produce_requested_data return {"fm.sale.total":11630051.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":14400.14,"shift.sale.total_cash":11904.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} [16:11:00]process_action_free get_value [16:11:00]json_value_free [16:11:00]json_value_free done [16:11:00]process_json_proto returns [16:11:00]Send response to host [16:11:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11630051.32,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":14400.14,"shift.sale.total_cash":11904.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}}} [16:11:00]free response buf [16:11:00]execute_script done [16:11:00]execute_script returns [16:11:00]free content buf [16:11:00]Sock 9.Close socket [16:11:00]Sock 9.Thread stoped [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:45]accept exits with 7 [16:14:45]New connection [16:14:45]New thread 3066555748 created [16:14:45]Thread 3066699108 joined [16:14:45]Waiting for new connection... [16:14:45] Sock 7.Parse request [16:14:45]Sock 7.Check first char [16:14:45]Sock 7.First char is OK [16:14:45]request: POST /json_proto HTTP/1.0 [16:14:45]Method: POST [16:14:45]URL: /json_proto [16:14:45]Method is POST - this is cgi request [16:14:45]url: /json_proto [16:14:45]query_string will be loaded in cgi processing [16:14:45]execute_cgi json_proto POST (null) [16:14:45]execute_cgi path=json_proto method=POST [16:14:45]POST find Content-Length [16:14:45]Host: 172.17.53.68:8080 [16:14:45]Content-Length: 870 [16:14:45]Content-Type: application/json [16:14:45] [16:14:45]POST finish read [16:14:45]Found Content-Length = 870 [16:14:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76611", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:45]execute_script... [16:14:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76611", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:14:45]POST & json_proto [16:14:45]process_json_proto [16:14:45]json parsed OK: [16:14:45]protocol is kg_v1.0 [16:14:45]action value=close_receipt [16:14:45]process_action close_receipt [16:14:45]cmd_close_receipt [16:14:45]MH_GetDate [16:14:45]Write to MH i2c: F0 00 00 69 07 5F [16:14:45]Write i2c OK [16:14:45]MH_I2C_Read... [16:14:45]Read from MH i2c: F0 [16:14:45]MH_I2C_Read... [16:14:45]Read from MH i2c: F0 09 00 [16:14:45]MH_I2C_Read... [16:14:45]Read from MH i2c: F0 09 00 69 07 00 F7 DA 13 67 C5 A4 76 66 F8 [16:14:45]GetLastDocTimeStamp 1729353742 [16:14:45]current date 1729354487 [16:14:45]FM_GetShiftState [16:14:45]SAM_PROTO_GetShiftState [16:14:45]wFMCommunicate request_size=4 [16:14:45]MH_SAM_APDU [16:14:45]CAPDU: 80 13 01 00 [16:14:45]Write to MH i2c: E2 08 00 6A 07 80 13 01 00 00 00 00 00 EE [16:14:45]Write i2c OK [16:14:45]MH_I2C_Read... [16:14:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:45]Read from MH i2c: E2 [16:14:45]MH_I2C_Read... [16:14:45]Read from MH i2c: E2 0E 00 [16:14:45]MH_I2C_Read... [16:14:45]Read from MH i2c: E2 0E 00 6A 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 08 [16:14:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:14:45]wFMCommunicate OK [16:14:45]SAM_PROTO_GetShiftState done [16:14:45]FM_GetShiftState done [16:14:45]opened in 1729296796 [16:14:45]opened+sec_in_day 1729383196 [16:14:45]quantity*price = 5000 [16:14:45]sum+1 = 5001 [16:14:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46177872 Жев Orbit подушки Citrus 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.79 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 48 19.10.2024 16:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37112 ФПД: 99663108536722 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161447&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37112&fm=99663108536722&tin=02508201610067®Number=0000000000098149&sum=9000 0 [16:14:46]StoreToDocumentArchive [16:14:46]shift 460 fd 37112 [16:14:46]save to /storage/0460/doc_00037112 [16:14:46]save last doc name /storage/0460/doc_00037112 to /storage/kkm_last_doc_name [16:14:46]save OK [16:14:46]Clear old archive folders... [16:14:46]ProcessDocumentItem done err = 0, tmpTLVsize=370 [16:14:46]tlvbuf is 00972C80 [16:14:46]SAM_PROTO_ClearQueue [16:14:46]wFMCommunicate request_size=4 [16:14:46]MH_SAM_APDU [16:14:46]CAPDU: 80 09 00 00 [16:14:46]Write to MH i2c: E2 08 00 77 07 80 09 00 00 00 00 00 00 F0 [16:14:46]Write i2c OK [16:14:46]MH_I2C_Read... [16:14:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:14:46]Read from MH i2c: E2 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 77 07 00 90 00 F2 [16:14:46]RAPDU: 90 00 [16:14:46]wFMCommunicate OK [16:14:46]SAM_PROTO_ClearQueue done [16:14:46]KKMCreateOFDPacket [16:14:46]OFDProtocolAddRootSTLVToBuf [16:14:46]FM_MakeSignedData [16:14:46]FM_MakeSignedData [16:14:46]SAM_PROTO_SignData [16:14:46]wFMCommunicate request_size=4 [16:14:46]MH_SAM_APDU [16:14:46]CAPDU: 80 0D 01 02 [16:14:46]Write to MH i2c: E2 08 00 78 07 80 0D 01 02 00 00 00 00 F8 [16:14:46]Write i2c OK [16:14:46]MH_I2C_Read... [16:14:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:14:46]Read from MH i2c: E2 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 78 07 00 90 00 F3 [16:14:46]RAPDU: 90 00 [16:14:46]wFMCommunicate OK [16:14:46]wFMCommunicate request_size=255 [16:14:46]MH_SAM_APDU [16:14:46]CAPDU: 80 0D 02 02 FA 03 00 72 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [16:14:46]Write to MH i2c: E2 02 01 79 07 80 0D 02 02 FA 00 03 00 72 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 C2 [16:14:46]Write i2c OK [16:14:46]MH_I2C_Read... [16:14:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:46]Read from MH i2c: E2 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 [16:14:46]MH_I2C_Read... [16:14:46]Read from MH i2c: E2 03 00 79 07 00 90 00 F4 [16:14:46]RAPDU: 90 00 [16:14:46]wFMCommunicate OK [16:14:46]wFMCommunicate request_size=129 [16:14:46]MH_SAM_APDU [16:14:46]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F7 DA 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F8 90 00 00 35 04 06 00 5A A4 A0 2E 79 92 [16:14:46]Write to MH i2c: E2 84 00 7A 07 80 0D 02 02 7C 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F7 DA 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F8 90 00 00 35 04 06 00 5A A4 A0 2E 79 92 00 00 E1 [16:14:46]Write i2c OK [16:14:46]MH_I2C_Read... [16:14:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:14:47]Read from MH i2c: E2 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 03 00 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 03 00 7A 07 00 90 00 F5 [16:14:47]RAPDU: 90 00 [16:14:47]wFMCommunicate OK [16:14:47]wFMCommunicate request_size=4 [16:14:47]MH_SAM_APDU [16:14:47]CAPDU: 80 0D 03 02 [16:14:47]Write to MH i2c: E2 08 00 7B 07 80 0D 03 02 00 00 00 00 FD [16:14:47]Write i2c OK [16:14:47]MH_I2C_Read... [16:14:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:14:47]Read from MH i2c: E2 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 0B 00 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 0B 00 7B 07 00 7A D4 C5 1A C3 49 A2 C6 90 00 9F [16:14:47]RAPDU: 7A D4 C5 1A C3 49 A2 C6 90 00 [16:14:47]wFMCommunicate OK [16:14:47]SAM_PROTO_SignData done [16:14:47]FM_MakeSignedData done [16:14:47]CreateOFDProtocolMessage [16:14:47]wFMCommunicate request_size=4 [16:14:47]MH_SAM_APDU [16:14:47]CAPDU: 80 11 00 00 [16:14:47]Write to MH i2c: E2 08 00 7C 07 80 11 00 00 00 00 00 00 FD [16:14:47]Write i2c OK [16:14:47]MH_I2C_Read... [16:14:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:47]Read from MH i2c: E2 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 17 00 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: E2 17 00 7C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 50 [16:14:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:14:47]wFMCommunicate OK [16:14:47]CreateOFDProtocolMessage done [16:14:47]OFDSenderStorePacket 37112 [16:14:47]StoreOFDPacket docnum=37112 [16:14:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 86 01 00 00 22 5B 7E 01 A8 4E 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F7 DA 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F8 90 00 00 35 04 06 00 5A A4 A0 2E 79 92 7A D4 C5 1A C3 49 A2 C6 [16:14:47]CheckFolder [16:14:47]dirname=/storage/ofd_packets [16:14:47]CheckFolder done [16:14:47]ProducePacketName [16:14:47]name=ofd_packets/00037112 [16:14:47]NVStorageSaveData ofd_packets/00037112 [16:14:47]File name is /storage/ofd_packets/00037112 [16:14:47]Write 420 bytes [16:14:47]NVStorageSaveData done [16:14:47]OFDSenderStorePacket done [16:14:47]KKMCreateOFDPacket done [16:14:47]NVStorageSaveData kkm_last_timestamp [16:14:47]File name is /storage/kkm_last_timestamp [16:14:47]Write 4 bytes [16:14:47]NVStorageSaveData done [16:14:47]ExternCall_PrintAddStr [16:14:47]wPrintStart [16:14:47]Write to MH i2c: 01 00 00 7D 07 84 [16:14:47]Write i2c OK [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 07 00 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 07 00 7D 07 00 00 00 00 00 FF 0F 99 [16:14:47]RasterBufferAndPrint [16:14:47]line Счет N : (3)76611 [16:14:47]line ИНН: 02508201610067 [16:14:47]line Контрольно-Кассовый Чек [16:14:47]line ПРОДАЖА [16:14:47]line Товар: 4700000160358 [16:14:47]line Вода Легенда 1л [16:14:47]line 1.000 * 50.00 [16:14:47]line = 50.00 [16:14:47]line НДС 12% НСП 1% [16:14:47]line > о реализуемом товаре [16:14:47]line Товар: 46177872 [16:14:47]line Жев Orbit подушки Citrus [16:14:47]line 1.000 * 40.00 [16:14:47]line = 40.00 [16:14:47]line НДС 12% НСП 1% [16:14:47]line > о реализуемом товаре [16:14:47]line ИТОГО: 90.00 [16:14:47]line НСП 1% : 0.79 [16:14:47]line НДС 12% : 9.56 [16:14:47]line Наличными: 90.00 [16:14:47]line Безнал.: 0.00 [16:14:47]line Место: АЗС № 165 "Партнер Нефть" [16:14:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [16:14:47]line СНО: Общий режим [16:14:47]line Чек 48 19.10.2024 16:14 [16:14:47]line Смена: 460 ФФД: 1.0 [16:14:47]line ЗНМ: 0300000235 [16:14:47]line РНМ: 0000000000098149 [16:14:47]line Версия ККМ: 001 [16:14:47]line ФМ: 0000000000965372 [16:14:47]line ФД: 37112 [16:14:47]line ФПД: 99663108536722 [16:14:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161447&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37112&fm=99663108536722&tin=02508201610067®Number=0000000000098149&sum=9000 [16:14:47]line 0 [16:14:47]OFD Sender: Processing packet 37112 [packets to send 25, broken 24] [16:14:47]ProducePacketName [16:14:47]name=ofd_packets/00037112 [16:14:47]OFD Sender: To server: pG, [16:14:47]CommunicateWithHost lk.salyk.kg:30040 [16:14:47]ConnectInit lk.salyk.kg [16:14:47]written 0, free lines is 4095 [16:14:47]Connected sock=10 [16:14:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 86 01 00 00 22 5B 7E 01 A8 4E 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 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 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 F7 DA 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F8 90 00 00 35 04 06 00 5A A4 A0 2E 79 92 7A D4 C5 1A C3 49 A2 C6 [16:14:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 95 AA 47 00 7D 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F8 90 00 00 F4 03 04 00 8D 83 13 67 B6 04 01 00 00 EF 48 97 4E E2 C3 3F 7C [16:14:47]CommunicateWithHost err = 0 [16:14:47]CheckOFDResponse [16:14:47]1017 (14) - 77093643461234 [16:14:47]1041 (16) - 0000000000965372 [16:14:47]1040 (4) - 37112 [16:14:47]1012 (4) - 19.10.2024 10:01 [16:14:47]1206 (1) - 0 [16:14:47]OFD Sender: Remove packet 37112 [16:14:47]ProducePacketName [16:14:47]name=ofd_packets/00037112 [16:14:47]NVStorageDeleteData [16:14:47]Write to MH i2c: 01 00 00 AB 07 B2 [16:14:47]Write i2c OK [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 07 00 [16:14:47]MH_I2C_Read... [16:14:47]Read from MH i2c: 01 07 00 AB 07 00 00 00 00 00 AC 0C 71 [16:14:47]RasterBufferAndPrint [16:14:47]line [16:14:47]line [16:14:47]line [16:14:47]line [16:14:47]line [16:14:47]written 0, free lines is 3248 [16:14:47]process_action close_receipt done [16:14:47]requested_data is exist [16:14:47]produce_requested_data [16:14:47]requested_item fm.sn is exist - process it [16:14:47]wFMCommunicate request_size=4 [16:14:47]MH_SAM_APDU [16:14:47]CAPDU: 80 11 00 00 [16:14:47]Write to MH i2c: E2 08 00 B2 07 80 11 00 00 00 00 00 00 33 [16:14:47]Write i2c OK [16:14:47]MH_I2C_Read... [16:14:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:14:48]Read from MH i2c: E2 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 17 00 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 17 00 B2 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 86 [16:14:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:14:48]wFMCommunicate OK [16:14:48]requested_item fd.num is exist - process it [16:14:48]SAM_PROTO_GetFieldsCounters [16:14:48]wFMCommunicate request_size=4 [16:14:48]MH_SAM_APDU [16:14:48]CAPDU: 80 13 00 00 [16:14:48]Write to MH i2c: E2 08 00 B3 07 80 13 00 00 00 00 00 00 36 [16:14:48]Write i2c OK [16:14:48]MH_I2C_Read... [16:14:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:14:48]Read from MH i2c: E2 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 62 00 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 62 00 B3 07 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F8 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 42 [16:14:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F8 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:14:48]wFMCommunicate OK [16:14:48]SAM_PROTO_GetFieldsCounters done [16:14:48]requested_item shift.num is exist - process it [16:14:48]requested_item shift.opened is exist - process it [16:14:48]req_shift_opened [16:14:48]FM_GetShiftState [16:14:48]SAM_PROTO_GetShiftState [16:14:48]wFMCommunicate request_size=4 [16:14:48]MH_SAM_APDU [16:14:48]CAPDU: 80 13 01 00 [16:14:48]Write to MH i2c: E2 08 00 B4 07 80 13 01 00 00 00 00 00 38 [16:14:48]Write i2c OK [16:14:48]MH_I2C_Read... [16:14:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:14:48]Read from MH i2c: E2 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 0E 00 [16:14:48]MH_I2C_Read... [16:14:48]Read from MH i2c: E2 0E 00 B4 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 52 [16:14:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:14:48]wFMCommunicate OK [16:14:48]SAM_PROTO_GetShiftState done [16:14:48]FM_GetShiftState done [16:14:48]req_shift_opened done [16:14:48]requested_item shift.open_date is exist - process it [16:14:48]req_shift_open_date [16:14:48]req_shift_open_date done [16:14:48]produce_requested_data done [16:14:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37112,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [16:14:48]process_action_free close_receipt [16:14:48]json_value_free [16:14:48]json_value_free done [16:14:48]process_json_proto returns [16:14:48]Send response to host [16:14:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37112,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [16:14:48]free response buf [16:14:48]execute_script done [16:14:48]execute_script returns [16:14:48]free content buf [16:14:48]Sock 7.Close socket [16:14:48]Sock 7.Thread stoped [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:14]accept exits with 9 [16:15:14]New connection [16:15:14]New thread 3066699108 created [16:15:14]Thread 3066555748 joined [16:15:14]Waiting for new connection... [16:15:14] Sock 9.Parse request [16:15:14]Sock 9.Check first char [16:15:14]Sock 9.First char is OK [16:15:14]request: POST /json_proto HTTP/1.0 [16:15:14]Method: POST [16:15:14]URL: /json_proto [16:15:14]Method is POST - this is cgi request [16:15:14]url: /json_proto [16:15:14]query_string will be loaded in cgi processing [16:15:14]execute_cgi json_proto POST (null) [16:15:14]execute_cgi path=json_proto method=POST [16:15:14]POST find Content-Length [16:15:14]Host: 172.17.53.68:8080 [16:15:14]Content-Length: 943 [16:15:14]Content-Type: application/json [16:15:14] [16:15:14]POST finish read [16:15:14]Found Content-Length = 943 [16:15:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76612", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:14]execute_script... [16:15:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76612", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:14]POST & json_proto [16:15:14]process_json_proto [16:15:14]json parsed OK: [16:15:14]protocol is kg_v1.0 [16:15:14]action value=close_receipt [16:15:14]process_action close_receipt [16:15:14]cmd_close_receipt [16:15:14]MH_GetDate [16:15:14]Write to MH i2c: F0 00 00 B5 07 AB [16:15:14]Write i2c OK [16:15:14]MH_I2C_Read... [16:15:14]Read from MH i2c: F0 [16:15:14]MH_I2C_Read... [16:15:14]Read from MH i2c: F0 09 00 [16:15:14]MH_I2C_Read... [16:15:14]Read from MH i2c: F0 09 00 B5 07 00 14 DB 13 67 C5 A4 76 66 62 [16:15:14]GetLastDocTimeStamp 1729354487 [16:15:14]current date 1729354516 [16:15:14]FM_GetShiftState [16:15:14]SAM_PROTO_GetShiftState [16:15:14]wFMCommunicate request_size=4 [16:15:14]MH_SAM_APDU [16:15:14]CAPDU: 80 13 01 00 [16:15:14]Write to MH i2c: E2 08 00 B6 07 80 13 01 00 00 00 00 00 3A [16:15:14]Write i2c OK [16:15:14]MH_I2C_Read... [16:15:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:14]Read from MH i2c: E2 [16:15:14]MH_I2C_Read... [16:15:14]Read from MH i2c: E2 0E 00 [16:15:14]MH_I2C_Read... [16:15:14]Read from MH i2c: E2 0E 00 B6 07 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 54 [16:15:14]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:15:14]wFMCommunicate OK [16:15:14]SAM_PROTO_GetShiftState done [16:15:14]FM_GetShiftState done [16:15:14]opened in 1729296796 [16:15:14]opened+sec_in_day 1729383196 [16:15:14]quantity*price = 12000 [16:15:14]sum+1 = 12001 [16:15:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 49 19.10.2024 16:15 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37113 ФПД: 245283276170894 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161516&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37113&fm=245283276170894&tin=02508201610067®Number=0000000000098149&sum=27000 0 [16:15:15]StoreToDocumentArchive [16:15:15]shift 460 fd 37113 [16:15:15]save to /storage/0460/doc_00037113 [16:15:15]save last doc name /storage/0460/doc_00037113 to /storage/kkm_last_doc_name [16:15:15]save OK [16:15:15]Clear old archive folders... [16:15:15]ProcessDocumentItem done err = 0, tmpTLVsize=402 [16:15:15]tlvbuf is 009748D0 [16:15:15]SAM_PROTO_ClearQueue [16:15:15]wFMCommunicate request_size=4 [16:15:15]MH_SAM_APDU [16:15:15]CAPDU: 80 09 00 00 [16:15:15]Write to MH i2c: E2 08 00 C3 07 80 09 00 00 00 00 00 00 3C [16:15:15]Write i2c OK [16:15:15]MH_I2C_Read... [16:15:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:15:15]Read from MH i2c: E2 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 C3 07 00 90 00 3E [16:15:15]RAPDU: 90 00 [16:15:15]wFMCommunicate OK [16:15:15]SAM_PROTO_ClearQueue done [16:15:15]KKMCreateOFDPacket [16:15:15]OFDProtocolAddRootSTLVToBuf [16:15:15]FM_MakeSignedData [16:15:15]FM_MakeSignedData [16:15:15]SAM_PROTO_SignData [16:15:15]wFMCommunicate request_size=4 [16:15:15]MH_SAM_APDU [16:15:15]CAPDU: 80 0D 01 02 [16:15:15]Write to MH i2c: E2 08 00 C4 07 80 0D 01 02 00 00 00 00 44 [16:15:15]Write i2c OK [16:15:15]MH_I2C_Read... [16:15:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:15:15]Read from MH i2c: E2 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 C4 07 00 90 00 3F [16:15:15]RAPDU: 90 00 [16:15:15]wFMCommunicate OK [16:15:15]wFMCommunicate request_size=255 [16:15:15]MH_SAM_APDU [16:15:15]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 [16:15:15]Write to MH i2c: E2 02 01 C5 07 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 00 38 [16:15:15]Write i2c OK [16:15:15]MH_I2C_Read... [16:15:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:15]Read from MH i2c: E2 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 [16:15:15]MH_I2C_Read... [16:15:15]Read from MH i2c: E2 03 00 C5 07 00 90 00 40 [16:15:15]RAPDU: 90 00 [16:15:15]wFMCommunicate OK [16:15:15]wFMCommunicate request_size=161 [16:15:15]MH_SAM_APDU [16:15:15]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 14 DB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F9 90 00 00 35 04 06 00 DF 15 76 8B A6 8E [16:15:15]Write to MH i2c: E2 A4 00 C6 07 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 14 DB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F9 90 00 00 35 04 06 00 DF 15 76 8B A6 8E 00 00 E9 [16:15:15]Write i2c OK [16:15:15]MH_I2C_Read... [16:15:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:16]Read from MH i2c: E2 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 03 00 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 03 00 C6 07 00 90 00 41 [16:15:16]RAPDU: 90 00 [16:15:16]wFMCommunicate OK [16:15:16]wFMCommunicate request_size=4 [16:15:16]MH_SAM_APDU [16:15:16]CAPDU: 80 0D 03 02 [16:15:16]Write to MH i2c: E2 08 00 C7 07 80 0D 03 02 00 00 00 00 49 [16:15:16]Write i2c OK [16:15:16]MH_I2C_Read... [16:15:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:15:16]Read from MH i2c: E2 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 0B 00 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 0B 00 C7 07 00 C8 39 A0 3C 05 17 D9 FF 90 00 1B [16:15:16]RAPDU: C8 39 A0 3C 05 17 D9 FF 90 00 [16:15:16]wFMCommunicate OK [16:15:16]SAM_PROTO_SignData done [16:15:16]FM_MakeSignedData done [16:15:16]CreateOFDProtocolMessage [16:15:16]wFMCommunicate request_size=4 [16:15:16]MH_SAM_APDU [16:15:16]CAPDU: 80 11 00 00 [16:15:16]Write to MH i2c: E2 08 00 C8 07 80 11 00 00 00 00 00 00 49 [16:15:16]Write i2c OK [16:15:16]MH_I2C_Read... [16:15:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:16]Read from MH i2c: E2 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 17 00 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: E2 17 00 C8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9C [16:15:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:15:16]wFMCommunicate OK [16:15:16]CreateOFDProtocolMessage done [16:15:16]OFDSenderStorePacket 37113 [16:15:16]StoreOFDPacket docnum=37113 [16:15:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A6 01 00 00 24 C5 9E 01 25 99 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 14 DB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F9 90 00 00 35 04 06 00 DF 15 76 8B A6 8E C8 39 A0 3C 05 17 D9 FF [16:15:16]CheckFolder [16:15:16]dirname=/storage/ofd_packets [16:15:16]CheckFolder done [16:15:16]ProducePacketName [16:15:16]name=ofd_packets/00037113 [16:15:16]NVStorageSaveData ofd_packets/00037113 [16:15:16]File name is /storage/ofd_packets/00037113 [16:15:16]Write 452 bytes [16:15:16]NVStorageSaveData done [16:15:16]OFDSenderStorePacket done [16:15:16]KKMCreateOFDPacket done [16:15:16]NVStorageSaveData kkm_last_timestamp [16:15:16]File name is /storage/kkm_last_timestamp [16:15:16]Write 4 bytes [16:15:16]NVStorageSaveData done [16:15:16]ExternCall_PrintAddStr [16:15:16]wPrintStart [16:15:16]Write to MH i2c: 01 00 00 C9 07 D0 [16:15:16]Write i2c OK [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: 01 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: 01 07 00 [16:15:16]MH_I2C_Read... [16:15:16]Read from MH i2c: 01 07 00 C9 07 00 00 00 00 00 FF 0F E5 [16:15:16]RasterBufferAndPrint [16:15:16]line Счет N : (3)76612 [16:15:16]line ИНН: 02508201610067 [16:15:16]line Контрольно-Кассовый Чек [16:15:16]line ПРОДАЖА [16:15:16]line Товар: 5449000189356 [16:15:16]line Холодный чай Fuse манго ананас 1л [16:15:16]line 1.000 * 120.00 [16:15:16]line = 120.00 [16:15:16]line НДС 12% НСП 1% [16:15:16]line > о реализуемом товаре [16:15:16]line Товар: 4640030091645 [16:15:16]line Сигареты ESSE Exchange M [16:15:16]line 1.000 * 150.00 [16:15:16]line = 150.00 [16:15:16]line НДС 12% НСП 1% [16:15:16]line > о реализуемом товаре [16:15:16]line ИТОГО: 270.00 [16:15:16]line НСП 1% : 2.39 [16:15:16]line НДС 12% : 28.67 [16:15:16]line Наличными: 270.00 [16:15:16]line Безнал.: 0.00 [16:15:16]line Место: АЗС № 165 "Партнер Нефть" [16:15:16]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [16:15:16]line СНО: Общий режим [16:15:16]line Чек 49 19.10.2024 16:15 [16:15:16]line Смена: 460 ФФД: 1.0 [16:15:16]line ЗНМ: 0300000235 [16:15:16]line РНМ: 0000000000098149 [16:15:16]line Версия ККМ: 001 [16:15:16]line ФМ: 0000000000965372 [16:15:16]line ФД: 37113 [16:15:16]line ФПД: 245283276170894 [16:15:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T161516&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37113&fm=245283276170894&tin=02508201610067®Number=0000000000098149&sum=27000 [16:15:16]line 0 [16:15:16]OFD Sender: Processing packet 37113 [packets to send 25, broken 24] [16:15:16]ProducePacketName [16:15:16]name=ofd_packets/00037113 [16:15:16]OFD Sender: To server: pG, [16:15:16]CommunicateWithHost lk.salyk.kg:30040 [16:15:16]ConnectInit lk.salyk.kg [16:15:16]written 0, free lines is 4095 [16:15:16]Connected sock=10 [16:15:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A6 01 00 00 24 C5 9E 01 25 99 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 14 DB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F9 90 00 00 35 04 06 00 DF 15 76 8B A6 8E C8 39 A0 3C 05 17 D9 FF [16:15:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 82 AF 47 00 FB F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 F9 90 00 00 F4 03 04 00 AA 83 13 67 B6 04 01 00 00 C8 D0 33 14 99 5F 64 B3 [16:15:16]CommunicateWithHost err = 0 [16:15:16]CheckOFDResponse [16:15:16]1017 (14) - 77093643461234 [16:15:16]1041 (16) - 0000000000965372 [16:15:16]1040 (4) - 37113 [16:15:16]1012 (4) - 19.10.2024 10:02 [16:15:16]1206 (1) - 0 [16:15:16]OFD Sender: Remove packet 37113 [16:15:16]ProducePacketName [16:15:16]name=ofd_packets/00037113 [16:15:16]NVStorageDeleteData [16:15:17]Write to MH i2c: 01 00 00 F8 07 FF [16:15:17]Write i2c OK [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: 01 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: 01 07 00 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: 01 07 00 F8 07 00 00 00 00 00 A9 0C BB [16:15:17]RasterBufferAndPrint [16:15:17]line [16:15:17]line [16:15:17]line [16:15:17]line [16:15:17]line [16:15:17]written 0, free lines is 3247 [16:15:17]process_action close_receipt done [16:15:17]requested_data is exist [16:15:17]produce_requested_data [16:15:17]requested_item fm.sn is exist - process it [16:15:17]wFMCommunicate request_size=4 [16:15:17]MH_SAM_APDU [16:15:17]CAPDU: 80 11 00 00 [16:15:17]Write to MH i2c: E2 08 00 FF 07 80 11 00 00 00 00 00 00 80 [16:15:17]Write i2c OK [16:15:17]MH_I2C_Read... [16:15:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:17]Read from MH i2c: E2 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 17 00 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 17 00 FF 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D3 [16:15:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [16:15:17]wFMCommunicate OK [16:15:17]requested_item fd.num is exist - process it [16:15:17]SAM_PROTO_GetFieldsCounters [16:15:17]wFMCommunicate request_size=4 [16:15:17]MH_SAM_APDU [16:15:17]CAPDU: 80 13 00 00 [16:15:17]Write to MH i2c: E2 08 00 00 08 80 13 00 00 00 00 00 00 84 [16:15:17]Write i2c OK [16:15:17]MH_I2C_Read... [16:15:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:15:17]Read from MH i2c: E2 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 62 00 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 62 00 00 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F9 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [16:15: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 F9 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:15:17]wFMCommunicate OK [16:15:17]SAM_PROTO_GetFieldsCounters done [16:15:17]requested_item shift.num is exist - process it [16:15:17]requested_item shift.opened is exist - process it [16:15:17]req_shift_opened [16:15:17]FM_GetShiftState [16:15:17]SAM_PROTO_GetShiftState [16:15:17]wFMCommunicate request_size=4 [16:15:17]MH_SAM_APDU [16:15:17]CAPDU: 80 13 01 00 [16:15:17]Write to MH i2c: E2 08 00 01 08 80 13 01 00 00 00 00 00 86 [16:15:17]Write i2c OK [16:15:17]MH_I2C_Read... [16:15:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:17]Read from MH i2c: E2 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 0E 00 [16:15:17]MH_I2C_Read... [16:15:17]Read from MH i2c: E2 0E 00 01 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A0 [16:15:17]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [16:15:17]wFMCommunicate OK [16:15:17]SAM_PROTO_GetShiftState done [16:15:17]FM_GetShiftState done [16:15:17]req_shift_opened done [16:15:17]requested_item shift.open_date is exist - process it [16:15:17]req_shift_open_date [16:15:17]req_shift_open_date done [16:15:17]produce_requested_data done [16:15:17]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37113,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [16:15:17]process_action_free close_receipt [16:15:17]json_value_free [16:15:17]json_value_free done [16:15:17]process_json_proto returns [16:15:17]Send response to host [16:15:17]OFD Sender: No OFD packet to send [16:15:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37113,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [16:15:17]free response buf [16:15:17]execute_script done [16:15:17]execute_script returns [16:15:17]free content buf [16:15:17]Sock 9.Close socket [16:15:17]Sock 9.Thread stoped [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:42]OFD Sender: No OFD packet to send [16:23:47]OFD Sender: No OFD packet to send [16:23:52]OFD Sender: No OFD packet to send [16:23:57]OFD Sender: No OFD packet to send [16:24:02]OFD Sender: No OFD packet to send [16:24:07]OFD Sender: No OFD packet to send [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:22]OFD Sender: No OFD packet to send [16:24:27]OFD Sender: No OFD packet to send [16:24:32]OFD Sender: No OFD packet to send [16:24:37]OFD Sender: No OFD packet to send [16:24:42]OFD Sender: No OFD packet to send [16:24:47]OFD Sender: No OFD packet to send [16:24:52]OFD Sender: No OFD packet to send [16:24:57]OFD Sender: No OFD packet to send [16:25:02]OFD Sender: No OFD packet to send [16:25:07]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]OFD Sender: No OFD packet to send [16:58:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:54]OFD Sender: No OFD packet to send [17:00:59]OFD Sender: No OFD packet to send [17:01:04]OFD Sender: No OFD packet to send [17:01:09]OFD Sender: No OFD packet to send [17:01:14]OFD Sender: No OFD packet to send [17:01:19]OFD Sender: No OFD packet to send [17:01:24]OFD Sender: No OFD packet to send [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08: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:40]accept exits with 7 [17:14:40]New connection [17:14:40]New thread 3066555748 created [17:14:40]Thread 3066699108 joined [17:14:40]Waiting for new connection... [17:14:40] Sock 7.Parse request [17:14:40]Sock 7.Check first char [17:14:40]Sock 7.First char is OK [17:14:40]request: POST /json_proto HTTP/1.0 [17:14:40]Method: POST [17:14:40]URL: /json_proto [17:14:40]Method is POST - this is cgi request [17:14:40]url: /json_proto [17:14:40]query_string will be loaded in cgi processing [17:14:40]execute_cgi json_proto POST (null) [17:14:40]execute_cgi path=json_proto method=POST [17:14:40]POST find Content-Length [17:14:40]Host: 172.17.53.68:8080 [17:14:40]Content-Length: 649 [17:14:40]Content-Type: application/json [17:14:40] [17:14:40]POST finish read [17:14:40]Found Content-Length = 649 [17:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76613", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:40]execute_script... [17:14:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76613", "tax_sys" : 0, "items" : [ { "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 36.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:40]POST & json_proto [17:14:40]process_json_proto [17:14:40]json parsed OK: [17:14:40]protocol is kg_v1.0 [17:14:40]action value=close_receipt [17:14:40]process_action close_receipt [17:14:40]cmd_close_receipt [17:14:40]MH_GetDate [17:14:40]Write to MH i2c: F0 00 00 02 08 F9 [17:14:40]Write i2c OK [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 09 00 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 09 00 02 08 00 03 E9 13 67 C5 A4 76 66 AD [17:14:40]GetLastDocTimeStamp 1729354516 [17:14:40]current date 1729358083 [17:14:40]FM_GetShiftState [17:14:40]SAM_PROTO_GetShiftState [17:14:40]wFMCommunicate request_size=4 [17:14:40]MH_SAM_APDU [17:14:40]CAPDU: 80 13 01 00 [17:14:40]Write to MH i2c: E2 08 00 03 08 80 13 01 00 00 00 00 00 88 [17:14:40]Write i2c OK [17:14:40]MH_I2C_Read... [17:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:40]Read from MH i2c: E2 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: E2 0E 00 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: E2 0E 00 03 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A2 [17:14:40]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:14:40]wFMCommunicate OK [17:14:40]SAM_PROTO_GetShiftState done [17:14:40]FM_GetShiftState done [17:14:40]opened in 1729296796 [17:14:40]opened+sec_in_day 1729383196 [17:14:40]quantity*price = 3600 [17:14:40]sum+1 = 3601 [17:14:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 36.00 НСП 1% : 0.32 НДС 12% : 3.82 Наличными: 36.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 50 19.10.2024 17:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37114 ФПД: 33679773830272 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T171443&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37114&fm=33679773830272&tin=02508201610067®Number=0000000000098149&sum=3600 0 [17:14:42]StoreToDocumentArchive [17:14:42]shift 460 fd 37114 [17:14:42]save to /storage/0460/doc_00037114 [17:14:42]save last doc name /storage/0460/doc_00037114 to /storage/kkm_last_doc_name [17:14:42]save OK [17:14:42]Clear old archive folders... [17:14:42]ProcessDocumentItem done err = 0, tmpTLVsize=277 [17:14:42]tlvbuf is 009739B0 [17:14:42]SAM_PROTO_ClearQueue [17:14:42]wFMCommunicate request_size=4 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 09 00 00 [17:14:42]Write to MH i2c: E2 08 00 10 08 80 09 00 00 00 00 00 00 8A [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 10 08 00 90 00 8C [17:14:42]RAPDU: 90 00 [17:14:42]wFMCommunicate OK [17:14:42]SAM_PROTO_ClearQueue done [17:14:42]KKMCreateOFDPacket [17:14:42]OFDProtocolAddRootSTLVToBuf [17:14:42]FM_MakeSignedData [17:14:42]FM_MakeSignedData [17:14:42]SAM_PROTO_SignData [17:14:42]wFMCommunicate request_size=4 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 0D 01 02 [17:14:42]Write to MH i2c: E2 08 00 11 08 80 0D 01 02 00 00 00 00 92 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 11 08 00 90 00 8D [17:14:42]RAPDU: 90 00 [17:14:42]wFMCommunicate OK [17:14:42]wFMCommunicate request_size=255 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 03 E9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 [17:14:42]Write to MH i2c: E2 02 01 12 08 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 03 E9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 00 00 11 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 12 08 00 90 00 8E [17:14:42]RAPDU: 90 00 [17:14:42]wFMCommunicate OK [17:14:42]wFMCommunicate request_size=36 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FA 90 00 00 35 04 06 00 1E A1 AE F4 8C 80 [17:14:42]Write to MH i2c: E2 27 00 13 08 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FA 90 00 00 35 04 06 00 1E A1 AE F4 8C 80 00 00 B1 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 03 00 13 08 00 90 00 8F [17:14:42]RAPDU: 90 00 [17:14:42]wFMCommunicate OK [17:14:42]wFMCommunicate request_size=4 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 0D 03 02 [17:14:42]Write to MH i2c: E2 08 00 14 08 80 0D 03 02 00 00 00 00 97 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 0B 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 0B 00 14 08 00 81 E4 A1 06 88 2E 92 3A 90 00 26 [17:14:42]RAPDU: 81 E4 A1 06 88 2E 92 3A 90 00 [17:14:42]wFMCommunicate OK [17:14:42]SAM_PROTO_SignData done [17:14:42]FM_MakeSignedData done [17:14:42]CreateOFDProtocolMessage [17:14:42]wFMCommunicate request_size=4 [17:14:42]MH_SAM_APDU [17:14:42]CAPDU: 80 11 00 00 [17:14:42]Write to MH i2c: E2 08 00 15 08 80 11 00 00 00 00 00 00 97 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:42]Read from MH i2c: E2 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 17 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: E2 17 00 15 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EA [17:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:14:42]wFMCommunicate OK [17:14:42]CreateOFDProtocolMessage done [17:14:42]OFDSenderStorePacket 37114 [17:14:42]StoreOFDPacket docnum=37114 [17:14:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 29 01 00 00 D7 8A 21 01 93 25 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 03 E9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FA 90 00 00 35 04 06 00 1E A1 AE F4 8C 80 81 E4 A1 06 88 2E 92 3A [17:14:42]CheckFolder [17:14:42]dirname=/storage/ofd_packets [17:14:42]CheckFolder done [17:14:42]ProducePacketName [17:14:42]name=ofd_packets/00037114 [17:14:42]NVStorageSaveData ofd_packets/00037114 [17:14:42]File name is /storage/ofd_packets/00037114 [17:14:42]Write 327 bytes [17:14:42]NVStorageSaveData done [17:14:42]OFDSenderStorePacket done [17:14:42]KKMCreateOFDPacket done [17:14:42]NVStorageSaveData kkm_last_timestamp [17:14:42]File name is /storage/kkm_last_timestamp [17:14:42]Write 4 bytes [17:14:42]NVStorageSaveData done [17:14:42]ExternCall_PrintAddStr [17:14:42]wPrintStart [17:14:42]Write to MH i2c: 01 00 00 16 08 1E [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 07 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 07 00 16 08 00 00 00 00 00 FF 0F 33 [17:14:42]RasterBufferAndPrint [17:14:42]line Счет N : (3)76613 [17:14:42]line ИНН: 02508201610067 [17:14:42]line Контрольно-Кассовый Чек [17:14:42]line ПРОДАЖА [17:14:42]line Товар: 8590042701239 [17:14:42]line Салфетки влажные VOK [17:14:42]line 1.000 * 36.00 [17:14:42]line = 36.00 [17:14:42]line НДС 12% НСП 1% [17:14:42]line > о реализуемом товаре [17:14:42]line ИТОГО: 36.00 [17:14:42]line НСП 1% : 0.32 [17:14:42]line НДС 12% : 3.82 [17:14:42]line Наличными: 36.00 [17:14:42]line Безнал.: 0.00 [17:14:42]line Место: АЗС № 165 "Партнер Нефть" [17:14:42]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [17:14:42]line СНО: Общий режим [17:14:42]line Чек 50 19.10.2024 17:14 [17:14:42]line Смена: 460 ФФД: 1.0 [17:14:42]line ЗНМ: 0300000235 [17:14:42]line РНМ: 0000000000098149 [17:14:42]line Версия ККМ: 001 [17:14:42]line ФМ: 0000000000965372 [17:14:42]line ФД: 37114 [17:14:42]line ФПД: 33679773830272 [17:14:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T171443&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37114&fm=33679773830272&tin=02508201610067®Number=0000000000098149&sum=3600 [17:14:42]line 0 [17:14:42]OFD Sender: Processing packet 37114 [packets to send 25, broken 24] [17:14:42]ProducePacketName [17:14:42]name=ofd_packets/00037114 [17:14:42]OFD Sender: To server: pG, [17:14:42]CommunicateWithHost lk.salyk.kg:30040 [17:14:42]ConnectInit lk.salyk.kg [17:14:42]written 0, free lines is 4095 [17:14:43]Connected sock=10 [17:14:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 29 01 00 00 D7 8A 21 01 93 25 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 03 E9 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FA 90 00 00 35 04 06 00 1E A1 AE F4 8C 80 81 E4 A1 06 88 2E 92 3A [17:14:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 C7 F8 47 00 4A 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 FA 90 00 00 F4 03 04 00 98 91 13 67 B6 04 01 00 00 A3 52 B8 65 5E AE A8 92 [17:14:43]CommunicateWithHost err = 0 [17:14:43]CheckOFDResponse [17:14:43]1017 (14) - 77093643461234 [17:14:43]1041 (16) - 0000000000965372 [17:14:43]1040 (4) - 37114 [17:14:43]1012 (4) - 19.10.2024 11:01 [17:14:43]1206 (1) - 0 [17:14:43]OFD Sender: Remove packet 37114 [17:14:43]ProducePacketName [17:14:43]name=ofd_packets/00037114 [17:14:43]NVStorageDeleteData [17:14:43]Write to MH i2c: 01 00 00 3E 08 46 [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: 01 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: 01 07 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: 01 07 00 3E 08 00 00 00 00 00 0C 0D 66 [17:14:43]RasterBufferAndPrint [17:14:43]line [17:14:43]line [17:14:43]line [17:14:43]line [17:14:43]line [17:14:43]written 0, free lines is 3347 [17:14:43]process_action close_receipt done [17:14:43]requested_data is exist [17:14:43]produce_requested_data [17:14:43]requested_item fm.sn is exist - process it [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 11 00 00 [17:14:43]Write to MH i2c: E2 08 00 45 08 80 11 00 00 00 00 00 00 C7 [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:43]Read from MH i2c: E2 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 17 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 17 00 45 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 1A [17:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:14:43]wFMCommunicate OK [17:14:43]requested_item fd.num is exist - process it [17:14:43]SAM_PROTO_GetFieldsCounters [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 13 00 00 [17:14:43]Write to MH i2c: E2 08 00 46 08 80 13 00 00 00 00 00 00 CA [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:14:43]Read from MH i2c: E2 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 62 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 62 00 46 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FA 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [17:14: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FA 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:14:43]wFMCommunicate OK [17:14:43]SAM_PROTO_GetFieldsCounters done [17:14:43]requested_item shift.num is exist - process it [17:14:43]requested_item shift.opened is exist - process it [17:14:43]req_shift_opened [17:14:43]FM_GetShiftState [17:14:43]SAM_PROTO_GetShiftState [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 13 01 00 [17:14:43]Write to MH i2c: E2 08 00 47 08 80 13 01 00 00 00 00 00 CC [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:43]Read from MH i2c: E2 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 0E 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 0E 00 47 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E6 [17:14:43]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:14:43]wFMCommunicate OK [17:14:43]SAM_PROTO_GetShiftState done [17:14:43]FM_GetShiftState done [17:14:43]req_shift_opened done [17:14:43]requested_item shift.open_date is exist - process it [17:14:43]req_shift_open_date [17:14:43]req_shift_open_date done [17:14:43]produce_requested_data done [17:14:43]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37114,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [17:14:43]process_action_free close_receipt [17:14:43]json_value_free [17:14:43]json_value_free done [17:14:43]process_json_proto returns [17:14:43]Send response to host [17:14:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37114,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [17:14:43]free response buf [17:14:43]execute_script done [17:14:43]execute_script returns [17:14:43]free content buf [17:14:43]Sock 7.Close socket [17:14:43]Sock 7.Thread stoped [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:53]OFD Sender: No OFD packet to send [17:16:58]OFD Sender: No OFD packet to send [17:17:03]OFD Sender: No OFD packet to send [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:58]OFD Sender: No OFD packet to send [17:18:03]OFD Sender: No OFD packet to send [17:18:08]OFD Sender: No OFD packet to send [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:01]accept exits with 9 [17:26:01]New connection [17:26:01]New thread 3066699108 created [17:26:01]Thread 3066555748 joined [17:26:01]Waiting for new connection... [17:26:01] Sock 9.Parse request [17:26:01]Sock 9.Check first char [17:26:01]Sock 9.First char is OK [17:26:01]request: POST /json_proto HTTP/1.0 [17:26:01]Method: POST [17:26:01]URL: /json_proto [17:26:01]Method is POST - this is cgi request [17:26:01]url: /json_proto [17:26:01]query_string will be loaded in cgi processing [17:26:01]execute_cgi json_proto POST (null) [17:26:01]execute_cgi path=json_proto method=POST [17:26:01]POST find Content-Length [17:26:01]Host: 172.17.53.68:8080 [17:26:01]Content-Length: 771 [17:26:01]Content-Type: application/json [17:26:01] [17:26:01]POST finish read [17:26:01]Found Content-Length = 771 [17:26:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76614", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "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: Mbank", "payments": [ { "type": 1, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:01]execute_script... [17:26:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76614", "tax_sys" : 0, "items" : [ { "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "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: Mbank", "payments": [ { "type": 1, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:26:01]POST & json_proto [17:26:01]process_json_proto [17:26:01]json parsed OK: [17:26:01]protocol is kg_v1.0 [17:26:01]action value=close_receipt [17:26:01]process_action close_receipt [17:26:01]cmd_close_receipt [17:26:01]MH_GetDate [17:26:01]Write to MH i2c: F0 00 00 48 08 3F [17:26:01]Write i2c OK [17:26:01]MH_I2C_Read... [17:26:01]Read from MH i2c: F0 [17:26:01]MH_I2C_Read... [17:26:01]Read from MH i2c: F0 09 00 [17:26:01]MH_I2C_Read... [17:26:01]Read from MH i2c: F0 09 00 48 08 00 AC EB 13 67 C5 A4 76 66 9E [17:26:01]GetLastDocTimeStamp 1729358083 [17:26:01]current date 1729358764 [17:26:01]FM_GetShiftState [17:26:01]SAM_PROTO_GetShiftState [17:26:01]wFMCommunicate request_size=4 [17:26:01]MH_SAM_APDU [17:26:01]CAPDU: 80 13 01 00 [17:26:01]Write to MH i2c: E2 08 00 49 08 80 13 01 00 00 00 00 00 CE [17:26:01]Write i2c OK [17:26:01]MH_I2C_Read... [17:26:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:01]Read from MH i2c: E2 [17:26:01]MH_I2C_Read... [17:26:01]Read from MH i2c: E2 0E 00 [17:26:01]MH_I2C_Read... [17:26:01]Read from MH i2c: E2 0E 00 49 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E8 [17:26:01]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:26:01]wFMCommunicate OK [17:26:01]SAM_PROTO_GetShiftState done [17:26:01]FM_GetShiftState done [17:26:01]opened in 1729296796 [17:26:01]opened+sec_in_day 1729383196 [17:26:01]quantity*price = 1000 [17:26:01]sum+1 = 1001 [17:26:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 0.00 Безнал.: 10.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 51 19.10.2024 17:26 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37115 ФПД: 93940148058126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172604&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37115&fm=93940148058126&tin=02508201610067®Number=0000000000098149&sum=1000 0 [17:26:03]StoreToDocumentArchive [17:26:03]shift 460 fd 37115 [17:26:03]save to /storage/0460/doc_00037115 [17:26:03]save last doc name /storage/0460/doc_00037115 to /storage/kkm_last_doc_name [17:26:03]save OK [17:26:03]Clear old archive folders... [17:26:03]ProcessDocumentItem done err = 0, tmpTLVsize=280 [17:26:03]tlvbuf is 009A7B50 [17:26:03]SAM_PROTO_ClearQueue [17:26:03]wFMCommunicate request_size=4 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 09 00 00 [17:26:03]Write to MH i2c: E2 08 00 56 08 80 09 00 00 00 00 00 00 D0 [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:26:03]Read from MH i2c: E2 03 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 56 08 00 90 00 D2 [17:26:03]RAPDU: 90 00 [17:26:03]wFMCommunicate OK [17:26:03]SAM_PROTO_ClearQueue done [17:26:03]KKMCreateOFDPacket [17:26:03]OFDProtocolAddRootSTLVToBuf [17:26:03]FM_MakeSignedData [17:26:03]FM_MakeSignedData [17:26:03]SAM_PROTO_SignData [17:26:03]wFMCommunicate request_size=4 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 0D 01 02 [17:26:03]Write to MH i2c: E2 08 00 57 08 80 0D 01 02 00 00 00 00 D8 [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 57 08 00 90 00 D3 [17:26:03]RAPDU: 90 00 [17:26:03]wFMCommunicate OK [17:26:03]wFMCommunicate request_size=255 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 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 33 00 00 00 F4 03 04 00 AC EB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 [17:26:03]Write to MH i2c: E2 02 01 58 08 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 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 33 00 00 00 F4 03 04 00 AC EB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 00 00 33 [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 58 08 00 90 00 D4 [17:26:03]RAPDU: 90 00 [17:26:03]wFMCommunicate OK [17:26:03]wFMCommunicate request_size=39 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FB 90 00 00 35 04 06 00 55 70 25 27 B8 0E [17:26:03]Write to MH i2c: E2 2A 00 59 08 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FB 90 00 00 35 04 06 00 55 70 25 27 B8 0E 00 00 F8 [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 03 00 59 08 00 90 00 D5 [17:26:03]RAPDU: 90 00 [17:26:03]wFMCommunicate OK [17:26:03]wFMCommunicate request_size=4 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 0D 03 02 [17:26:03]Write to MH i2c: E2 08 00 5A 08 80 0D 03 02 00 00 00 00 DD [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 0B 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 0B 00 5A 08 00 D3 F6 10 E5 D0 E9 8C 76 90 00 57 [17:26:03]RAPDU: D3 F6 10 E5 D0 E9 8C 76 90 00 [17:26:03]wFMCommunicate OK [17:26:03]SAM_PROTO_SignData done [17:26:03]FM_MakeSignedData done [17:26:03]CreateOFDProtocolMessage [17:26:03]wFMCommunicate request_size=4 [17:26:03]MH_SAM_APDU [17:26:03]CAPDU: 80 11 00 00 [17:26:03]Write to MH i2c: E2 08 00 5B 08 80 11 00 00 00 00 00 00 DD [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:03]Read from MH i2c: E2 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 17 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: E2 17 00 5B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 30 [17:26:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:26:03]wFMCommunicate OK [17:26:03]CreateOFDProtocolMessage done [17:26:03]OFDSenderStorePacket 37115 [17:26:03]StoreOFDPacket docnum=37115 [17:26:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2C 01 00 00 0D BB 24 01 13 2C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 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 33 00 00 00 F4 03 04 00 AC EB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FB 90 00 00 35 04 06 00 55 70 25 27 B8 0E D3 F6 10 E5 D0 E9 8C 76 [17:26:03]CheckFolder [17:26:03]dirname=/storage/ofd_packets [17:26:03]CheckFolder done [17:26:03]ProducePacketName [17:26:03]name=ofd_packets/00037115 [17:26:03]NVStorageSaveData ofd_packets/00037115 [17:26:03]File name is /storage/ofd_packets/00037115 [17:26:03]Write 330 bytes [17:26:03]NVStorageSaveData done [17:26:03]OFDSenderStorePacket done [17:26:03]KKMCreateOFDPacket done [17:26:03]NVStorageSaveData kkm_last_timestamp [17:26:03]File name is /storage/kkm_last_timestamp [17:26:03]Write 4 bytes [17:26:03]NVStorageSaveData done [17:26:03]ExternCall_PrintAddStr [17:26:03]wPrintStart [17:26:03]Write to MH i2c: 01 00 00 5C 08 64 [17:26:03]Write i2c OK [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: 01 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: 01 07 00 [17:26:03]MH_I2C_Read... [17:26:03]Read from MH i2c: 01 07 00 5C 08 00 00 00 00 00 FF 0F 79 [17:26:03]RasterBufferAndPrint [17:26:03]line Счет N : (3)76614 [17:26:03]line ИНН: 02508201610067 [17:26:03]line Контрольно-Кассовый Чек [17:26:03]line ПРОДАЖА [17:26:03]line Товар: 46226617 [17:26:03]line Mentos ПВ Нежная Мята 6*100*2г [17:26:03]line 1.000 * 10.00 [17:26:03]line = 10.00 [17:26:03]line НДС 12% НСП 1% [17:26:03]line > о реализуемом товаре [17:26:03]line ИТОГО: 10.00 [17:26:03]line НСП 1% : 0.09 [17:26:03]line НДС 12% : 1.06 [17:26:03]line Наличными: 0.00 [17:26:03]line Безнал.: 10.00 [17:26:03]line Место: АЗС № 165 "Партнер Нефть" [17:26:03]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [17:26:03]line СНО: Общий режим [17:26:03]line Чек 51 19.10.2024 17:26 [17:26:03]line Смена: 460 ФФД: 1.0 [17:26:03]line ЗНМ: 0300000235 [17:26:03]line РНМ: 0000000000098149 [17:26:03]line Версия ККМ: 001 [17:26:03]line Платежная система: Mbank [17:26:03]line ФМ: 0000000000965372 [17:26:03]line ФД: 37115 [17:26:03]line ФПД: 93940148058126 [17:26:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T172604&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37115&fm=93940148058126&tin=02508201610067®Number=0000000000098149&sum=1000 [17:26:03]line 0 [17:26:03]OFD Sender: Processing packet 37115 [packets to send 25, broken 24] [17:26:03]ProducePacketName [17:26:03]name=ofd_packets/00037115 [17:26:03]OFD Sender: To server: pG, [17:26:03]CommunicateWithHost lk.salyk.kg:30040 [17:26:03]ConnectInit lk.salyk.kg [17:26:03]written 0, free lines is 4095 [17:26:03]Connected sock=10 [17:26: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 33 37 32 2C 01 00 00 0D BB 24 01 13 2C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 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 33 00 00 00 F4 03 04 00 AC EB 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FB 90 00 00 35 04 06 00 55 70 25 27 B8 0E D3 F6 10 E5 D0 E9 8C 76 [17:26:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 82 F0 47 00 83 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FB 90 00 00 F4 03 04 00 41 94 13 67 B6 04 01 00 00 23 94 59 AA E9 5C CD 35 [17:26:04]CommunicateWithHost err = 0 [17:26:04]CheckOFDResponse [17:26:04]1017 (14) - 77093643461234 [17:26:04]1041 (16) - 0000000000965372 [17:26:04]1040 (4) - 37115 [17:26:04]1012 (4) - 19.10.2024 11:13 [17:26:04]1206 (1) - 0 [17:26:04]OFD Sender: Remove packet 37115 [17:26:04]ProducePacketName [17:26:04]name=ofd_packets/00037115 [17:26:04]NVStorageDeleteData [17:26:04]Write to MH i2c: 01 00 00 86 08 8E [17:26:04]Write i2c OK [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: 01 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: 01 07 00 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: 01 07 00 86 08 00 00 00 00 00 DE 0C 7F [17:26:04]RasterBufferAndPrint [17:26:04]line [17:26:04]line [17:26:04]line [17:26:04]line [17:26:04]line [17:26:04]written 0, free lines is 3300 [17:26:04]process_action close_receipt done [17:26:04]requested_data is exist [17:26:04]produce_requested_data [17:26:04]requested_item fm.sn is exist - process it [17:26:04]wFMCommunicate request_size=4 [17:26:04]MH_SAM_APDU [17:26:04]CAPDU: 80 11 00 00 [17:26:04]Write to MH i2c: E2 08 00 8D 08 80 11 00 00 00 00 00 00 0F [17:26:04]Write i2c OK [17:26:04]MH_I2C_Read... [17:26:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:26:04]Read from MH i2c: E2 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 17 00 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 17 00 8D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 62 [17:26:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:26:04]wFMCommunicate OK [17:26:04]requested_item fd.num is exist - process it [17:26:04]SAM_PROTO_GetFieldsCounters [17:26:04]wFMCommunicate request_size=4 [17:26:04]MH_SAM_APDU [17:26:04]CAPDU: 80 13 00 00 [17:26:04]Write to MH i2c: E2 08 00 8E 08 80 13 00 00 00 00 00 00 12 [17:26:04]Write i2c OK [17:26:04]MH_I2C_Read... [17:26:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:26:04]Read from MH i2c: E2 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 62 00 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 62 00 8E 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FB 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [17:26: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FB 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:26:04]wFMCommunicate OK [17:26:04]SAM_PROTO_GetFieldsCounters done [17:26:04]requested_item shift.num is exist - process it [17:26:04]requested_item shift.opened is exist - process it [17:26:04]req_shift_opened [17:26:04]FM_GetShiftState [17:26:04]SAM_PROTO_GetShiftState [17:26:04]wFMCommunicate request_size=4 [17:26:04]MH_SAM_APDU [17:26:04]CAPDU: 80 13 01 00 [17:26:04]Write to MH i2c: E2 08 00 8F 08 80 13 01 00 00 00 00 00 14 [17:26:04]Write i2c OK [17:26:04]MH_I2C_Read... [17:26:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:04]Read from MH i2c: E2 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 0E 00 [17:26:04]MH_I2C_Read... [17:26:04]Read from MH i2c: E2 0E 00 8F 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2E [17:26:04]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:26:04]wFMCommunicate OK [17:26:04]SAM_PROTO_GetShiftState done [17:26:04]FM_GetShiftState done [17:26:04]req_shift_opened done [17:26:04]requested_item shift.open_date is exist - process it [17:26:04]req_shift_open_date [17:26:04]req_shift_open_date done [17:26:04]produce_requested_data done [17:26:04]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37115,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [17:26:04]process_action_free close_receipt [17:26:04]json_value_free [17:26:04]json_value_free done [17:26:04]process_json_proto returns [17:26:04]Send response to host [17:26:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37115,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [17:26:04]free response buf [17:26:04]execute_script done [17:26:04]execute_script returns [17:26:04]free content buf [17:26:04]Sock 9.Close socket [17:26:04]Sock 9.Thread stoped [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:14]OFD Sender: No OFD packet to send [17:26:19]OFD Sender: No OFD packet to send [17:26:24]OFD Sender: No OFD packet to send [17:26:29]OFD Sender: No OFD packet to send [17:26:34]OFD Sender: No OFD packet to send [17:26:39]OFD Sender: No OFD packet to send [17:26:44]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:18]accept exits with 7 [17:45:18]New connection [17:45:18]New thread 3066555748 created [17:45:18]Thread 3066699108 joined [17:45:18]Waiting for new connection... [17:45:18] Sock 7.Parse request [17:45:18]Sock 7.Check first char [17:45:18]Sock 7.First char is OK [17:45:18]request: POST /json_proto HTTP/1.0 [17:45:18]Method: POST [17:45:18]URL: /json_proto [17:45:18]Method is POST - this is cgi request [17:45:18]url: /json_proto [17:45:18]query_string will be loaded in cgi processing [17:45:18]execute_cgi json_proto POST (null) [17:45:18]execute_cgi path=json_proto method=POST [17:45:18]POST find Content-Length [17:45:18]Host: 172.17.53.68:8080 [17:45:18]Content-Length: 677 [17:45:18]Content-Type: application/json [17:45:18] [17:45:18]POST finish read [17:45:18]Found Content-Length = 677 [17:45:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874015", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:18]execute_script... [17:45:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874015", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:45:18]POST & json_proto [17:45:18]process_json_proto [17:45:18]json parsed OK: [17:45:18]protocol is kg_v1.0 [17:45:18]action value=close_receipt [17:45:18]process_action close_receipt [17:45:18]cmd_close_receipt [17:45:18]MH_GetDate [17:45:18]Write to MH i2c: F0 00 00 90 08 87 [17:45:18]Write i2c OK [17:45:18]MH_I2C_Read... [17:45:18]Read from MH i2c: F0 [17:45:18]MH_I2C_Read... [17:45:18]Read from MH i2c: F0 09 00 [17:45:18]MH_I2C_Read... [17:45:18]Read from MH i2c: F0 09 00 90 08 00 31 F0 13 67 C5 A4 76 66 70 [17:45:18]GetLastDocTimeStamp 1729358764 [17:45:18]current date 1729359921 [17:45:18]FM_GetShiftState [17:45:18]SAM_PROTO_GetShiftState [17:45:18]wFMCommunicate request_size=4 [17:45:18]MH_SAM_APDU [17:45:18]CAPDU: 80 13 01 00 [17:45:18]Write to MH i2c: E2 08 00 91 08 80 13 01 00 00 00 00 00 16 [17:45:18]Write i2c OK [17:45:18]MH_I2C_Read... [17:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:18]Read from MH i2c: E2 [17:45:18]MH_I2C_Read... [17:45:18]Read from MH i2c: E2 0E 00 [17:45:18]MH_I2C_Read... [17:45:18]Read from MH i2c: E2 0E 00 91 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 30 [17:45:18]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:45:18]wFMCommunicate OK [17:45:18]SAM_PROTO_GetShiftState done [17:45:18]FM_GetShiftState done [17:45:18]opened in 1729296796 [17:45:18]opened+sec_in_day 1729383196 [17:45:18]quantity*price = 30038 [17:45:18]sum+1 = 30039 [17:45:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.90 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 52 19.10.2024 17:45 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37116 ФПД: 32084311493542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T174521&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37116&fm=32084311493542&tin=02508201610067®Number=0000000000098149&sum=30000 [17:45:19]StoreToDocumentArchive [17:45:19]shift 460 fd 37116 [17:45:19]save to /storage/0460/doc_00037116 [17:45:19]save last doc name /storage/0460/doc_00037116 to /storage/kkm_last_doc_name [17:45:19]save OK [17:45:19]Clear old archive folders... [17:45:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:45:19]tlvbuf is 0099FD60 [17:45:19]SAM_PROTO_ClearQueue [17:45:19]wFMCommunicate request_size=4 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 09 00 00 [17:45:19]Write to MH i2c: E2 08 00 9E 08 80 09 00 00 00 00 00 00 18 [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 9E 08 00 90 00 1A [17:45:19]RAPDU: 90 00 [17:45:19]wFMCommunicate OK [17:45:19]SAM_PROTO_ClearQueue done [17:45:19]KKMCreateOFDPacket [17:45:19]OFDProtocolAddRootSTLVToBuf [17:45:19]FM_MakeSignedData [17:45:19]FM_MakeSignedData [17:45:19]SAM_PROTO_SignData [17:45:19]wFMCommunicate request_size=4 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 0D 01 02 [17:45:19]Write to MH i2c: E2 08 00 9F 08 80 0D 01 02 00 00 00 00 20 [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 9F 08 00 90 00 1B [17:45:19]RAPDU: 90 00 [17:45:19]wFMCommunicate OK [17:45:19]wFMCommunicate request_size=255 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FC 90 00 00 35 04 06 00 1D [17:45:19]Write to MH i2c: E2 02 01 A0 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FC 90 00 00 35 04 06 00 1D 00 00 EE [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 A0 08 00 90 00 1C [17:45:19]RAPDU: 90 00 [17:45:19]wFMCommunicate OK [17:45:19]wFMCommunicate request_size=10 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 0D 02 02 05 2E 35 FD 4B A6 [17:45:19]Write to MH i2c: E2 0D 00 A1 08 80 0D 02 02 05 00 2E 35 FD 4B A6 00 00 7E [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 03 00 A1 08 00 90 00 1D [17:45:19]RAPDU: 90 00 [17:45:19]wFMCommunicate OK [17:45:19]wFMCommunicate request_size=4 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 0D 03 02 [17:45:19]Write to MH i2c: E2 08 00 A2 08 80 0D 03 02 00 00 00 00 25 [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 0B 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 0B 00 A2 08 00 9E C5 58 C3 D4 35 2B B8 90 00 90 [17:45:19]RAPDU: 9E C5 58 C3 D4 35 2B B8 90 00 [17:45:19]wFMCommunicate OK [17:45:19]SAM_PROTO_SignData done [17:45:19]FM_MakeSignedData done [17:45:19]CreateOFDProtocolMessage [17:45:19]wFMCommunicate request_size=4 [17:45:19]MH_SAM_APDU [17:45:19]CAPDU: 80 11 00 00 [17:45:19]Write to MH i2c: E2 08 00 A3 08 80 11 00 00 00 00 00 00 25 [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:19]Read from MH i2c: E2 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 17 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: E2 17 00 A3 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 78 [17:45:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:45:19]wFMCommunicate OK [17:45:19]CreateOFDProtocolMessage done [17:45:19]OFDSenderStorePacket 37116 [17:45:19]StoreOFDPacket docnum=37116 [17:45:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 D1 12 07 01 E2 B7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FC 90 00 00 35 04 06 00 1D 2E 35 FD 4B A6 9E C5 58 C3 D4 35 2B B8 [17:45:19]CheckFolder [17:45:19]dirname=/storage/ofd_packets [17:45:19]CheckFolder done [17:45:19]ProducePacketName [17:45:19]name=ofd_packets/00037116 [17:45:19]NVStorageSaveData ofd_packets/00037116 [17:45:19]File name is /storage/ofd_packets/00037116 [17:45:19]Write 301 bytes [17:45:19]NVStorageSaveData done [17:45:19]OFDSenderStorePacket done [17:45:19]KKMCreateOFDPacket done [17:45:19]NVStorageSaveData kkm_last_timestamp [17:45:19]File name is /storage/kkm_last_timestamp [17:45:19]Write 4 bytes [17:45:19]NVStorageSaveData done [17:45:19]ExternCall_PrintAddStr [17:45:19]wPrintStart [17:45:19]Write to MH i2c: 01 00 00 A4 08 AC [17:45:19]OFD Sender: Processing packet 37116 [packets to send 25, broken 24] [17:45:19]ProducePacketName [17:45:19]name=ofd_packets/00037116 [17:45:19]OFD Sender: To server: pG, [17:45:19]CommunicateWithHost lk.salyk.kg:30040 [17:45:19]ConnectInit lk.salyk.kg [17:45:19]Write i2c OK [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: 01 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: 01 07 00 [17:45:19]MH_I2C_Read... [17:45:19]Read from MH i2c: 01 07 00 A4 08 00 00 00 00 00 FF 0F C1 [17:45:19]RasterBufferAndPrint [17:45:19]line Счет N : (1)874015 [17:45:19]line ИНН: 02508201610067 [17:45:19]line Контрольно-Кассовый Чек [17:45:19]line ПРОДАЖА [17:45:19]line ТРК (МРК, ГНК) : 32 [17:45:19]line Товар: 2710124130 [17:45:19]line Аи-92-К-5 [17:45:19]line 4.490 * 66.90 [17:45:19]line = 300.38 [17:45:19]line НДС 12% НСП 1% [17:45:19]line > о реализуемом товаре [17:45:19]line ОКРУГЛЕНИЕ: -0.38 [17:45:19]line ИТОГО: 300.00 [17:45:19]line Внесено: 300.00 [17:45:19]line СДАЧА: 0.00 [17:45:19]line НСП 1% : 2.66 [17:45:19]line НДС 12% : 31.90 [17:45:19]line Наличными: 300.00 [17:45:19]line Безнал.: 0.00 [17:45:19]line Место: АЗС № 165 "Партнер Нефть" [17:45:19]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [17:45:19]line СНО: Общий режим [17:45:19]line Чек 52 19.10.2024 17:45 [17:45:19]line Смена: 460 ФФД: 1.0 [17:45:19]line ЗНМ: 0300000235 [17:45:19]line РНМ: 0000000000098149 [17:45:19]line Версия ККМ: 001 [17:45:19]line ФМ: 0000000000965372 [17:45:19]line ФД: 37116 [17:45:19]line ФПД: 32084311493542 [17:45:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T174521&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37116&fm=32084311493542&tin=02508201610067®Number=0000000000098149&sum=30000 [17:45:20]Connected sock=10 [17:45: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 33 37 32 0F 01 00 00 D1 12 07 01 E2 B7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 31 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FC 90 00 00 35 04 06 00 1D 2E 35 FD 4B A6 9E C5 58 C3 D4 35 2B B8 [17:45:20]written 0, free lines is 4095 [17:45:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 98 23 47 00 8B 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 FC 90 00 00 F4 03 04 00 C5 98 13 67 B6 04 01 00 00 63 3F AB A5 A4 0C 36 D3 [17:45:20]CommunicateWithHost err = 0 [17:45:20]CheckOFDResponse [17:45:20]1017 (14) - 77093643461234 [17:45:20]1041 (16) - 0000000000965372 [17:45:20]1040 (4) - 37116 [17:45:20]1012 (4) - 19.10.2024 11:32 [17:45:20]1206 (1) - 0 [17:45:20]OFD Sender: Remove packet 37116 [17:45:20]ProducePacketName [17:45:20]name=ofd_packets/00037116 [17:45:20]NVStorageDeleteData [17:45:20]Write to MH i2c: 01 00 00 CF 08 D7 [17:45:20]Write i2c OK [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: 01 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: 01 07 00 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: 01 07 00 CF 08 00 00 00 00 00 E8 0C D2 [17:45:20]RasterBufferAndPrint [17:45:20]line [17:45:20]line [17:45:20]line [17:45:20]line [17:45:20]line [17:45:20]written 0, free lines is 3310 [17:45:20]process_action close_receipt done [17:45:20]requested_data is exist [17:45:20]produce_requested_data [17:45:20]requested_item fm.sn is exist - process it [17:45:20]wFMCommunicate request_size=4 [17:45:20]MH_SAM_APDU [17:45:20]CAPDU: 80 11 00 00 [17:45:20]Write to MH i2c: E2 08 00 D6 08 80 11 00 00 00 00 00 00 58 [17:45:20]Write i2c OK [17:45:20]MH_I2C_Read... [17:45:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:45:20]Read from MH i2c: E2 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: E2 17 00 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: E2 17 00 D6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AB [17:45:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:45:20]wFMCommunicate OK [17:45:20]requested_item fd.num is exist - process it [17:45:20]SAM_PROTO_GetFieldsCounters [17:45:20]wFMCommunicate request_size=4 [17:45:20]MH_SAM_APDU [17:45:20]CAPDU: 80 13 00 00 [17:45:20]Write to MH i2c: E2 08 00 D7 08 80 13 00 00 00 00 00 00 5B [17:45:20]Write i2c OK [17:45:20]MH_I2C_Read... [17:45:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:45:20]Read from MH i2c: E2 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: E2 62 00 [17:45:20]MH_I2C_Read... [17:45:20]Read from MH i2c: E2 62 00 D7 08 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FC 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [17:45: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FC 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:45:20]wFMCommunicate OK [17:45:20]SAM_PROTO_GetFieldsCounters done [17:45:20]requested_item shift.num is exist - process it [17:45:20]requested_item shift.opened is exist - process it [17:45:20]req_shift_opened [17:45:20]FM_GetShiftState [17:45:20]SAM_PROTO_GetShiftState [17:45:20]wFMCommunicate request_size=4 [17:45:20]MH_SAM_APDU [17:45:20]CAPDU: 80 13 01 00 [17:45:20]Write to MH i2c: E2 08 00 D8 08 80 13 01 00 00 00 00 00 5D [17:45:20]OFD Sender: No OFD packet to send [17:45:20]Write i2c OK [17:45:20]MH_I2C_Read... [17:45:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:45:21]Read from MH i2c: E2 [17:45:21]MH_I2C_Read... [17:45:21]Read from MH i2c: E2 0E 00 [17:45:21]MH_I2C_Read... [17:45:21]Read from MH i2c: E2 0E 00 D8 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 77 [17:45:21]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:45:21]wFMCommunicate OK [17:45:21]SAM_PROTO_GetShiftState done [17:45:21]FM_GetShiftState done [17:45:21]req_shift_opened done [17:45:21]requested_item shift.open_date is exist - process it [17:45:21]req_shift_open_date [17:45:21]req_shift_open_date done [17:45:21]produce_requested_data done [17:45:21]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37116,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [17:45:21]process_action_free close_receipt [17:45:21]json_value_free [17:45:21]json_value_free done [17:45:21]process_json_proto returns [17:45:21]Send response to host [17:45:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37116,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [17:45:21]free response buf [17:45:21]execute_script done [17:45:21]execute_script returns [17:45:21]free content buf [17:45:21]Sock 7.Close socket [17:45:21]Sock 7.Thread stoped [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:22]accept exits with 9 [17:46:22]New connection [17:46:22]New thread 3066699108 created [17:46:22]Thread 3066555748 joined [17:46:22]Waiting for new connection... [17:46:22] Sock 9.Parse request [17:46:22]Sock 9.Check first char [17:46:22]Sock 9.First char is OK [17:46:22]request: POST /json_proto HTTP/1.0 [17:46:22]Method: POST [17:46:22]URL: /json_proto [17:46:22]Method is POST - this is cgi request [17:46:22]url: /json_proto [17:46:22]query_string will be loaded in cgi processing [17:46:22]execute_cgi json_proto POST (null) [17:46:22]execute_cgi path=json_proto method=POST [17:46:22]POST find Content-Length [17:46:22]Host: 172.17.53.68:8080 [17:46:22]Content-Length: 613 [17:46:22]Content-Type: application/json [17:46:22] [17:46:22]POST finish read [17:46:22]Found Content-Length = 613 [17:46:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76615", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:22]execute_script... [17:46: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)76615", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:22]POST & json_proto [17:46:22]process_json_proto [17:46:22]json parsed OK: [17:46:22]protocol is kg_v1.0 [17:46:22]action value=close_receipt [17:46:22]process_action close_receipt [17:46:22]cmd_close_receipt [17:46:22]MH_GetDate [17:46:22]Write to MH i2c: F0 00 00 D9 08 D0 [17:46:22]Write i2c OK [17:46:22]MH_I2C_Read... [17:46:22]Read from MH i2c: F0 [17:46:22]MH_I2C_Read... [17:46:22]Read from MH i2c: F0 09 00 [17:46:22]MH_I2C_Read... [17:46:22]Read from MH i2c: F0 09 00 D9 08 00 71 F0 13 67 C5 A4 76 66 F9 [17:46:22]GetLastDocTimeStamp 1729359921 [17:46:22]current date 1729359985 [17:46:22]FM_GetShiftState [17:46:22]SAM_PROTO_GetShiftState [17:46:22]wFMCommunicate request_size=4 [17:46:22]MH_SAM_APDU [17:46:22]CAPDU: 80 13 01 00 [17:46:22]Write to MH i2c: E2 08 00 DA 08 80 13 01 00 00 00 00 00 5F [17:46:22]Write i2c OK [17:46:22]MH_I2C_Read... [17:46:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:22]Read from MH i2c: E2 [17:46:22]MH_I2C_Read... [17:46:22]Read from MH i2c: E2 0E 00 [17:46:22]MH_I2C_Read... [17:46:22]Read from MH i2c: E2 0E 00 DA 08 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 79 [17:46:22]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:46:22]wFMCommunicate OK [17:46:22]SAM_PROTO_GetShiftState done [17:46:22]FM_GetShiftState done [17:46:22]opened in 1729296796 [17:46:22]opened+sec_in_day 1729383196 [17:46:22]quantity*price = 11900 [17:46:22]sum+1 = 11901 [17:46:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 53 19.10.2024 17:46 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37117 ФПД: 95996830306582 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T174625&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37117&fm=95996830306582&tin=02508201610067®Number=0000000000098149&sum=11900 0 [17:46:23]StoreToDocumentArchive [17:46:23]shift 460 fd 37117 [17:46:23]save to /storage/0460/doc_00037117 [17:46:23]save last doc name /storage/0460/doc_00037117 to /storage/kkm_last_doc_name [17:46:23]save OK [17:46:23]Clear old archive folders... [17:46:23]ProcessDocumentItem done err = 0, tmpTLVsize=266 [17:46:23]tlvbuf is 00996090 [17:46:23]SAM_PROTO_ClearQueue [17:46:23]wFMCommunicate request_size=4 [17:46:23]MH_SAM_APDU [17:46:23]CAPDU: 80 09 00 00 [17:46:23]Write to MH i2c: E2 08 00 E7 08 80 09 00 00 00 00 00 00 61 [17:46:23]Write i2c OK [17:46:23]MH_I2C_Read... [17:46:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:46:23]Read from MH i2c: E2 [17:46:23]MH_I2C_Read... [17:46:23]Read from MH i2c: E2 03 00 [17:46:23]MH_I2C_Read... [17:46:23]Read from MH i2c: E2 03 00 E7 08 00 90 00 63 [17:46:23]RAPDU: 90 00 [17:46:23]wFMCommunicate OK [17:46:23]SAM_PROTO_ClearQueue done [17:46:23]KKMCreateOFDPacket [17:46:23]OFDProtocolAddRootSTLVToBuf [17:46:23]FM_MakeSignedData [17:46:23]FM_MakeSignedData [17:46:23]SAM_PROTO_SignData [17:46:23]wFMCommunicate request_size=4 [17:46:23]MH_SAM_APDU [17:46:23]CAPDU: 80 0D 01 02 [17:46:23]Write to MH i2c: E2 08 00 E8 08 80 0D 01 02 00 00 00 00 69 [17:46:23]Write i2c OK [17:46:23]MH_I2C_Read... [17:46:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:46:23]Read from MH i2c: E2 [17:46:23]MH_I2C_Read... [17:46:23]Read from MH i2c: E2 03 00 [17:46:23]MH_I2C_Read... [17:46:23]Read from MH i2c: E2 03 00 E8 08 00 90 00 64 [17:46:23]RAPDU: 90 00 [17:46:23]wFMCommunicate OK [17:46:23]wFMCommunicate request_size=255 [17:46:23]MH_SAM_APDU [17:46:23]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 35 00 00 00 F4 03 04 00 71 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 [17:46:23]Write to MH i2c: E2 02 01 E9 08 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 35 00 00 00 F4 03 04 00 71 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 00 00 4A [17:46:23]Write i2c OK [17:46:23]MH_I2C_Read... [17:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:24]Read from MH i2c: E2 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 03 00 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 03 00 E9 08 00 90 00 65 [17:46:24]RAPDU: 90 00 [17:46:24]wFMCommunicate OK [17:46:24]wFMCommunicate request_size=25 [17:46:24]MH_SAM_APDU [17:46:24]CAPDU: 80 0D 02 02 14 37 32 10 04 04 00 FD 90 00 00 35 04 06 00 57 4F 00 F8 51 16 [17:46:24]Write to MH i2c: E2 1C 00 EA 08 80 0D 02 02 14 00 37 32 10 04 04 00 FD 90 00 00 35 04 06 00 57 4F 00 F8 51 16 00 00 E6 [17:46:24]Write i2c OK [17:46:24]MH_I2C_Read... [17:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:24]Read from MH i2c: E2 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 03 00 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 03 00 EA 08 00 90 00 66 [17:46:24]RAPDU: 90 00 [17:46:24]wFMCommunicate OK [17:46:24]wFMCommunicate request_size=4 [17:46:24]MH_SAM_APDU [17:46:24]CAPDU: 80 0D 03 02 [17:46:24]Write to MH i2c: E2 08 00 EB 08 80 0D 03 02 00 00 00 00 6E [17:46:24]Write i2c OK [17:46:24]MH_I2C_Read... [17:46:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:46:24]Read from MH i2c: E2 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 0B 00 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 0B 00 EB 08 00 C0 0F 13 FD 37 F7 23 FE 90 00 9D [17:46:24]RAPDU: C0 0F 13 FD 37 F7 23 FE 90 00 [17:46:24]wFMCommunicate OK [17:46:24]SAM_PROTO_SignData done [17:46:24]FM_MakeSignedData done [17:46:24]CreateOFDProtocolMessage [17:46:24]wFMCommunicate request_size=4 [17:46:24]MH_SAM_APDU [17:46:24]CAPDU: 80 11 00 00 [17:46:24]Write to MH i2c: E2 08 00 EC 08 80 11 00 00 00 00 00 00 6E [17:46:24]Write i2c OK [17:46:24]MH_I2C_Read... [17:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:24]Read from MH i2c: E2 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 17 00 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: E2 17 00 EC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C1 [17:46:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:46:24]wFMCommunicate OK [17:46:24]CreateOFDProtocolMessage done [17:46:24]OFDSenderStorePacket 37117 [17:46:24]StoreOFDPacket docnum=37117 [17:46:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 1E 01 00 00 B2 59 16 01 EA EC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 35 00 00 00 F4 03 04 00 71 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FD 90 00 00 35 04 06 00 57 4F 00 F8 51 16 C0 0F 13 FD 37 F7 23 FE [17:46:24]CheckFolder [17:46:24]dirname=/storage/ofd_packets [17:46:24]CheckFolder done [17:46:24]ProducePacketName [17:46:24]name=ofd_packets/00037117 [17:46:24]NVStorageSaveData ofd_packets/00037117 [17:46:24]File name is /storage/ofd_packets/00037117 [17:46:24]Write 316 bytes [17:46:24]NVStorageSaveData done [17:46:24]OFDSenderStorePacket done [17:46:24]KKMCreateOFDPacket done [17:46:24]NVStorageSaveData kkm_last_timestamp [17:46:24]File name is /storage/kkm_last_timestamp [17:46:24]Write 4 bytes [17:46:24]NVStorageSaveData done [17:46:24]ExternCall_PrintAddStr [17:46:24]wPrintStart [17:46:24]Write to MH i2c: 01 00 00 ED 08 F5 [17:46:24]Write i2c OK [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: 01 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: 01 07 00 [17:46:24]MH_I2C_Read... [17:46:24]Read from MH i2c: 01 07 00 ED 08 00 00 00 00 00 FF 0F 0A [17:46:24]RasterBufferAndPrint [17:46:24]line Счет N : (3)76615 [17:46:24]line ИНН: 02508201610067 [17:46:24]line Контрольно-Кассовый Чек [17:46:24]line ПРОДАЖА [17:46:24]line Товар: 4870001570071 [17:46:24]line Напиток Pepsi 1л [17:46:24]line 1.000 * 119.00 [17:46:24]line = 119.00 [17:46:24]line НДС 12% НСП 1% [17:46:24]line > о реализуемом товаре [17:46:24]line ИТОГО: 119.00 [17:46:24]line НСП 1% : 1.05 [17:46:24]line НДС 12% : 12.64 [17:46:24]line Наличными: 119.00 [17:46:24]line Безнал.: 0.00 [17:46:24]line Место: АЗС № 165 "Партнер Нефть" [17:46:24]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [17:46:24]line СНО: Общий режим [17:46:24]line Чек 53 19.10.2024 17:46 [17:46:24]line Смена: 460 ФФД: 1.0 [17:46:24]line ЗНМ: 0300000235 [17:46:24]line РНМ: 0000000000098149 [17:46:24]line Версия ККМ: 001 [17:46:24]line ФМ: 0000000000965372 [17:46:24]line ФД: 37117 [17:46:24]line ФПД: 95996830306582 [17:46:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T174625&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37117&fm=95996830306582&tin=02508201610067®Number=0000000000098149&sum=11900 [17:46:24]OFD Sender: Processing packet 37117 [packets to send 25, broken 24] [17:46:24]ProducePacketName [17:46:24]name=ofd_packets/00037117 [17:46:24]OFD Sender: To server: pG, [17:46:24]CommunicateWithHost lk.salyk.kg:30040 [17:46:24]ConnectInit lk.salyk.kg [17:46:24]line 0 [17:46:24]written 0, free lines is 4095 [17:46:24]Connected sock=10 [17:46:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 1E 01 00 00 B2 59 16 01 EA EC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 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 35 00 00 00 F4 03 04 00 71 F0 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FD 90 00 00 35 04 06 00 57 4F 00 F8 51 16 C0 0F 13 FD 37 F7 23 FE [17:46:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 97 CB 47 00 31 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 33 37 32 10 04 04 00 FD 90 00 00 F4 03 04 00 06 99 13 67 B6 04 01 00 00 75 8D BC BE 31 99 3F B6 [17:46:25]CommunicateWithHost err = 0 [17:46:25]CheckOFDResponse [17:46:25]1017 (14) - 77093643461234 [17:46:25]1041 (16) - 0000000000965372 [17:46:25]1040 (4) - 37117 [17:46:25]1012 (4) - 19.10.2024 11:33 [17:46:25]1206 (1) - 0 [17:46:25]OFD Sender: Remove packet 37117 [17:46:25]ProducePacketName [17:46:25]name=ofd_packets/00037117 [17:46:25]NVStorageDeleteData [17:46:25]Write to MH i2c: 01 00 00 15 09 1E [17:46:25]Write i2c OK [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: 01 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: 01 07 00 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: 01 07 00 15 09 00 00 00 00 00 0A 0D 3C [17:46:25]RasterBufferAndPrint [17:46:25]line [17:46:25]line [17:46:25]line [17:46:25]line [17:46:25]line [17:46:25]written 0, free lines is 3344 [17:46:25]process_action close_receipt done [17:46:25]requested_data is exist [17:46:25]produce_requested_data [17:46:25]requested_item fm.sn is exist - process it [17:46:25]wFMCommunicate request_size=4 [17:46:25]MH_SAM_APDU [17:46:25]CAPDU: 80 11 00 00 [17:46:25]Write to MH i2c: E2 08 00 1C 09 80 11 00 00 00 00 00 00 9F [17:46:25]Write i2c OK [17:46:25]MH_I2C_Read... [17:46:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:25]Read from MH i2c: E2 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 17 00 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 17 00 1C 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F2 [17:46:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [17:46:25]wFMCommunicate OK [17:46:25]requested_item fd.num is exist - process it [17:46:25]SAM_PROTO_GetFieldsCounters [17:46:25]wFMCommunicate request_size=4 [17:46:25]MH_SAM_APDU [17:46:25]CAPDU: 80 13 00 00 [17:46:25]Write to MH i2c: E2 08 00 1D 09 80 13 00 00 00 00 00 00 A2 [17:46:25]Write i2c OK [17:46:25]MH_I2C_Read... [17:46:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:46:25]Read from MH i2c: E2 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 62 00 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 62 00 1D 09 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FD 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [17:46: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FD 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:46:25]wFMCommunicate OK [17:46:25]SAM_PROTO_GetFieldsCounters done [17:46:25]requested_item shift.num is exist - process it [17:46:25]requested_item shift.opened is exist - process it [17:46:25]req_shift_opened [17:46:25]FM_GetShiftState [17:46:25]SAM_PROTO_GetShiftState [17:46:25]wFMCommunicate request_size=4 [17:46:25]MH_SAM_APDU [17:46:25]CAPDU: 80 13 01 00 [17:46:25]Write to MH i2c: E2 08 00 1E 09 80 13 01 00 00 00 00 00 A4 [17:46:25]Write i2c OK [17:46:25]MH_I2C_Read... [17:46:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:25]Read from MH i2c: E2 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 0E 00 [17:46:25]MH_I2C_Read... [17:46:25]Read from MH i2c: E2 0E 00 1E 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 BE [17:46:25]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [17:46:25]wFMCommunicate OK [17:46:25]SAM_PROTO_GetShiftState done [17:46:25]FM_GetShiftState done [17:46:25]req_shift_opened done [17:46:25]requested_item shift.open_date is exist - process it [17:46:25]req_shift_open_date [17:46:25]req_shift_open_date done [17:46:25]produce_requested_data done [17:46:25]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37117,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [17:46:25]process_action_free close_receipt [17:46:25]json_value_free [17:46:25]json_value_free done [17:46:25]process_json_proto returns [17:46:25]Send response to host [17:46:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37117,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [17:46:25]free response buf [17:46:25]execute_script done [17:46:25]execute_script returns [17:46:25]free content buf [17:46:25]Sock 9.Close socket [17:46:25]Sock 9.Thread stoped [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:24]accept exits with 7 [18:06:24]New connection [18:06:24]New thread 3066555748 created [18:06:24]Thread 3066699108 joined [18:06:24]Waiting for new connection... [18:06:24] Sock 7.Parse request [18:06:24]Sock 7.Check first char [18:06:24]Sock 7.First char is OK [18:06:24]request: POST /json_proto HTTP/1.0 [18:06:24]Method: POST [18:06:24]URL: /json_proto [18:06:24]Method is POST - this is cgi request [18:06:24]url: /json_proto [18:06:24]query_string will be loaded in cgi processing [18:06:24]execute_cgi json_proto POST (null) [18:06:24]execute_cgi path=json_proto method=POST [18:06:24]POST find Content-Length [18:06:24]Host: 172.17.53.68:8080 [18:06:24]Content-Length: 769 [18:06:24]Content-Type: application/json [18:06:24] [18:06:24]POST finish read [18:06:24]Found Content-Length = 769 [18:06:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874033", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:24]execute_script... [18:06: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)874033", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:24]POST & json_proto [18:06:24]process_json_proto [18:06:24]json parsed OK: [18:06:24]protocol is kg_v1.0 [18:06:24]action value=close_receipt [18:06:24]process_action close_receipt [18:06:24]cmd_close_receipt [18:06:24]MH_GetDate [18:06:24]Write to MH i2c: F0 00 00 1F 09 17 [18:06:24]Write i2c OK [18:06:24]MH_I2C_Read... [18:06:24]Read from MH i2c: F0 [18:06:24]MH_I2C_Read... [18:06:24]Read from MH i2c: F0 09 00 [18:06:24]MH_I2C_Read... [18:06:24]Read from MH i2c: F0 09 00 1F 09 00 23 F5 13 67 C5 A4 76 66 F7 [18:06:24]GetLastDocTimeStamp 1729359985 [18:06:24]current date 1729361187 [18:06:24]FM_GetShiftState [18:06:24]SAM_PROTO_GetShiftState [18:06:24]wFMCommunicate request_size=4 [18:06:24]MH_SAM_APDU [18:06:24]CAPDU: 80 13 01 00 [18:06:24]Write to MH i2c: E2 08 00 20 09 80 13 01 00 00 00 00 00 A6 [18:06:24]Write i2c OK [18:06:24]MH_I2C_Read... [18:06:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:24]Read from MH i2c: E2 [18:06:24]MH_I2C_Read... [18:06:24]Read from MH i2c: E2 0E 00 [18:06:24]MH_I2C_Read... [18:06:24]Read from MH i2c: E2 0E 00 20 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C0 [18:06:24]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [18:06:24]wFMCommunicate OK [18:06:24]SAM_PROTO_GetShiftState done [18:06:24]FM_GetShiftState done [18:06:24]opened in 1729296796 [18:06:24]opened+sec_in_day 1729383196 [18:06:24]quantity*price = 100015 [18:06:24]sum+1 = 100017 [18:06:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 54 19.10.2024 18:06 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37118 ФПД: 129556204325953 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T180627&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37118&fm=129556204325953&tin=02508201610067®Number=0000000000098149&sum=100016 [18:06:25]StoreToDocumentArchive [18:06:25]shift 460 fd 37118 [18:06:25]save to /storage/0460/doc_00037118 [18:06:25]save last doc name /storage/0460/doc_00037118 to /storage/kkm_last_doc_name [18:06:25]save OK [18:06:25]Clear old archive folders... [18:06:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:06:25]tlvbuf is 009A7020 [18:06:25]SAM_PROTO_ClearQueue [18:06:25]wFMCommunicate request_size=4 [18:06:25]MH_SAM_APDU [18:06:25]CAPDU: 80 09 00 00 [18:06:25]Write to MH i2c: E2 08 00 2D 09 80 09 00 00 00 00 00 00 A8 [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 2D 09 00 90 00 AA [18:06:25]RAPDU: 90 00 [18:06:25]wFMCommunicate OK [18:06:25]SAM_PROTO_ClearQueue done [18:06:25]KKMCreateOFDPacket [18:06:25]OFDProtocolAddRootSTLVToBuf [18:06:25]FM_MakeSignedData [18:06:25]FM_MakeSignedData [18:06:25]SAM_PROTO_SignData [18:06:25]wFMCommunicate request_size=4 [18:06:25]MH_SAM_APDU [18:06:25]CAPDU: 80 0D 01 02 [18:06:25]Write to MH i2c: E2 08 00 2E 09 80 0D 01 02 00 00 00 00 B0 [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 2E 09 00 90 00 AB [18:06:25]RAPDU: 90 00 [18:06:25]wFMCommunicate OK [18:06:25]wFMCommunicate request_size=255 [18:06:25]MH_SAM_APDU [18:06: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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 23 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FE 90 00 00 35 04 06 00 75 [18:06:25]Write to MH i2c: E2 02 01 2F 09 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 23 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FE 90 00 00 35 04 06 00 75 00 00 F7 [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 2F 09 00 90 00 AC [18:06:25]RAPDU: 90 00 [18:06:25]wFMCommunicate OK [18:06:25]wFMCommunicate request_size=10 [18:06:25]MH_SAM_APDU [18:06:25]CAPDU: 80 0D 02 02 05 D4 A7 89 8C 41 [18:06:25]Write to MH i2c: E2 0D 00 30 09 80 0D 02 02 05 00 D4 A7 89 8C 41 00 00 8E [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 03 00 30 09 00 90 00 AD [18:06:25]RAPDU: 90 00 [18:06:25]wFMCommunicate OK [18:06:25]wFMCommunicate request_size=4 [18:06:25]MH_SAM_APDU [18:06:25]CAPDU: 80 0D 03 02 [18:06:25]Write to MH i2c: E2 08 00 31 09 80 0D 03 02 00 00 00 00 B5 [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 0B 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 0B 00 31 09 00 6C 08 37 CD 03 65 0B EB 90 00 8C [18:06:25]RAPDU: 6C 08 37 CD 03 65 0B EB 90 00 [18:06:25]wFMCommunicate OK [18:06:25]SAM_PROTO_SignData done [18:06:25]FM_MakeSignedData done [18:06:25]CreateOFDProtocolMessage [18:06:25]wFMCommunicate request_size=4 [18:06:25]MH_SAM_APDU [18:06:25]CAPDU: 80 11 00 00 [18:06:25]Write to MH i2c: E2 08 00 32 09 80 11 00 00 00 00 00 00 B5 [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:25]Read from MH i2c: E2 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 17 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: E2 17 00 32 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 08 [18:06:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:06:25]wFMCommunicate OK [18:06:25]CreateOFDProtocolMessage done [18:06:25]OFDSenderStorePacket 37118 [18:06:25]StoreOFDPacket docnum=37118 [18:06:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 B8 7D 07 01 33 5F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 23 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FE 90 00 00 35 04 06 00 75 D4 A7 89 8C 41 6C 08 37 CD 03 65 0B EB [18:06:25]CheckFolder [18:06:25]dirname=/storage/ofd_packets [18:06:25]CheckFolder done [18:06:25]ProducePacketName [18:06:25]name=ofd_packets/00037118 [18:06:25]NVStorageSaveData ofd_packets/00037118 [18:06:25]File name is /storage/ofd_packets/00037118 [18:06:25]Write 301 bytes [18:06:25]NVStorageSaveData done [18:06:25]OFDSenderStorePacket done [18:06:25]KKMCreateOFDPacket done [18:06:25]NVStorageSaveData kkm_last_timestamp [18:06:25]File name is /storage/kkm_last_timestamp [18:06:25]Write 4 bytes [18:06:25]NVStorageSaveData done [18:06:25]ExternCall_PrintAddStr [18:06:25]wPrintStart [18:06:25]Write to MH i2c: 01 00 00 33 09 3C [18:06:25]Write i2c OK [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: 01 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: 01 07 00 [18:06:25]MH_I2C_Read... [18:06:25]Read from MH i2c: 01 07 00 33 09 00 00 00 00 00 FF 0F 51 [18:06:25]RasterBufferAndPrint [18:06:25]line Счет N : (1)874033 [18:06:25]line ИНН: 02508201610067 [18:06:25]line Контрольно-Кассовый Чек [18:06:25]line ПРОДАЖА [18:06:25]line ТРК (МРК, ГНК) : 42 [18:06:25]line Товар: 2710124130 [18:06:25]line Аи-92-К-5 [18:06:25]line 14.950 * 66.90 [18:06:25]line = 1000.16 [18:06:25]line НДС 12% НСП 1% [18:06:25]line > о реализуемом товаре [18:06:25]line ИТОГО: 1000.16 [18:06:25]line НСП 1% : 8.85 [18:06:25]line НДС 12% : 106.21 [18:06:25]line Наличными: 0.00 [18:06:25]line Безнал.: 1000.16 [18:06:25]line Место: АЗС № 165 "Партнер Нефть" [18:06:25]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [18:06:25]line СНО: Общий режим [18:06:25]line Чек 54 19.10.2024 18:06 [18:06:25]line Смена: 460 ФФД: 1.0 [18:06:25]line ЗНМ: 0300000235 [18:06:25]line РНМ: 0000000000098149 [18:06:25]line Версия ККМ: 001 [18:06:25]line Платежная система: Mbank [18:06:25]line ФМ: 0000000000965372 [18:06:25]line ФД: 37118 [18:06:25]line ФПД: 129556204325953 [18:06:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T180627&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37118&fm=129556204325953&tin=02508201610067®Number=0000000000098149&sum=100016 [18:06:25]written 0, free lines is 4095 [18:06:25]OFD Sender: Processing packet 37118 [packets to send 25, broken 24] [18:06:25]ProducePacketName [18:06:25]name=ofd_packets/00037118 [18:06:26]OFD Sender: To server: pG, [18:06:26]CommunicateWithHost lk.salyk.kg:30040 [18:06:26]ConnectInit lk.salyk.kg [18:06:26]Write to MH i2c: 01 00 00 5C 09 65 [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: 01 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: 01 07 00 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: 01 07 00 5C 09 00 00 00 00 00 08 0D 81 [18:06:26]RasterBufferAndPrint [18:06:26]line [18:06:26]line [18:06:26]line [18:06:26]line [18:06:26]line [18:06:26]written 0, free lines is 3342 [18:06:26]process_action close_receipt done [18:06:26]requested_data is exist [18:06:26]produce_requested_data [18:06:26]requested_item fm.sn is exist - process it [18:06:26]wFMCommunicate request_size=4 [18:06:26]MH_SAM_APDU [18:06:26]CAPDU: 80 11 00 00 [18:06:26]Write to MH i2c: E2 08 00 63 09 80 11 00 00 00 00 00 00 E6 [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]Connected sock=11 [18:06: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 33 37 32 0F 01 00 00 B8 7D 07 01 33 5F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 23 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FE 90 00 00 35 04 06 00 75 D4 A7 89 8C 41 6C 08 37 CD 03 65 0B EB [18:06:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:26]Read from MH i2c: E2 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: E2 17 00 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: E2 17 00 63 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 39 [18:06:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:06:26]wFMCommunicate OK [18:06:26]requested_item fd.num is exist - process it [18:06:26]SAM_PROTO_GetFieldsCounters [18:06:26]wFMCommunicate request_size=4 [18:06:26]MH_SAM_APDU [18:06:26]CAPDU: 80 13 00 00 [18:06:26]Write to MH i2c: E2 08 00 64 09 80 13 00 00 00 00 00 00 E9 [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:06:26]Read from MH i2c: E2 [18:06:26]MH_I2C_Read... [18:06:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 FF AF 47 00 43 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 FE 90 00 00 F4 03 04 00 B7 9D 13 67 B6 04 01 00 00 58 56 AB FA AD 2B 9B 24 [18:06:26]CommunicateWithHost err = 0 [18:06:26]CheckOFDResponse [18:06:26]1017 (14) - 77093643461234 [18:06:26]1041 (16) - 0000000000965372 [18:06:26]1040 (4) - 37118 [18:06:26]1012 (4) - 19.10.2024 11:53 [18:06:26]1206 (1) - 0 [18:06:26]OFD Sender: Remove packet 37118 [18:06:26]ProducePacketName [18:06:26]name=ofd_packets/00037118 [18:06:26]NVStorageDeleteData [18:06:26]Read from MH i2c: E2 62 00 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: E2 62 00 64 09 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FE 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [18:06:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FE 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:06:26]wFMCommunicate OK [18:06:26]SAM_PROTO_GetFieldsCounters done [18:06:26]requested_item shift.num is exist - process it [18:06:26]requested_item shift.opened is exist - process it [18:06:26]req_shift_opened [18:06:26]FM_GetShiftState [18:06:26]SAM_PROTO_GetShiftState [18:06:26]wFMCommunicate request_size=4 [18:06:26]MH_SAM_APDU [18:06:26]CAPDU: 80 13 01 00 [18:06:26]Write to MH i2c: E2 08 00 65 09 80 13 01 00 00 00 00 00 EB [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:26]Read from MH i2c: E2 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: E2 0E 00 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: E2 0E 00 65 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 05 [18:06:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [18:06:26]wFMCommunicate OK [18:06:26]SAM_PROTO_GetShiftState done [18:06:26]FM_GetShiftState done [18:06:26]req_shift_opened done [18:06:26]requested_item shift.open_date is exist - process it [18:06:26]req_shift_open_date [18:06:26]req_shift_open_date done [18:06:26]produce_requested_data done [18:06:26]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37118,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [18:06:26]process_action_free close_receipt [18:06:26]json_value_free [18:06:26]json_value_free done [18:06:26]process_json_proto returns [18:06:26]Send response to host [18:06:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37118,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [18:06:26]free response buf [18:06:26]execute_script done [18:06:26]execute_script returns [18:06:26]free content buf [18:06:26]Sock 7.Close socket [18:06:26]Sock 7.Thread stoped [18:06:26]accept exits with 9 [18:06:26]New connection [18:06:26]New thread 3066699108 created [18:06:26]Thread 3066555748 joined [18:06:26]Waiting for new connection... [18:06:26] Sock 9.Parse request [18:06:26]Sock 9.Check first char [18:06:26]Sock 9.First char is OK [18:06:26]request: POST /json_proto HTTP/1.0 [18:06:26]Method: POST [18:06:26]URL: /json_proto [18:06:26]Method is POST - this is cgi request [18:06:26]url: /json_proto [18:06:26]query_string will be loaded in cgi processing [18:06:26]execute_cgi json_proto POST (null) [18:06:26]execute_cgi path=json_proto method=POST [18:06:26]POST find Content-Length [18:06:26]Host: 172.17.53.68:8080 [18:06:26]Content-Length: 766 [18:06:26]Content-Type: application/json [18:06:26] [18:06:26]POST finish read [18:06:26]Found Content-Length = 766 [18:06:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874034", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:26]execute_script... [18:06:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874034", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:26]POST & json_proto [18:06:26]process_json_proto [18:06:26]json parsed OK: [18:06:26]protocol is kg_v1.0 [18:06:26]action value=close_receipt [18:06:26]process_action close_receipt [18:06:26]cmd_close_receipt [18:06:26]MH_GetDate [18:06:26]Write to MH i2c: F0 00 00 66 09 5E [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: F0 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: F0 09 00 [18:06:26]MH_I2C_Read... [18:06:26]Read from MH i2c: F0 09 00 66 09 00 25 F5 13 67 C5 A4 76 66 40 [18:06:26]GetLastDocTimeStamp 1729361187 [18:06:26]current date 1729361189 [18:06:26]FM_GetShiftState [18:06:26]SAM_PROTO_GetShiftState [18:06:26]wFMCommunicate request_size=4 [18:06:26]MH_SAM_APDU [18:06:26]CAPDU: 80 13 01 00 [18:06:26]Write to MH i2c: E2 08 00 67 09 80 13 01 00 00 00 00 00 ED [18:06:26]Write i2c OK [18:06:26]MH_I2C_Read... [18:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:27]Read from MH i2c: E2 [18:06:27]MH_I2C_Read... [18:06:27]Read from MH i2c: E2 0E 00 [18:06:27]MH_I2C_Read... [18:06:27]OFD Sender: No OFD packet to send [18:06:27]Read from MH i2c: E2 0E 00 67 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 07 [18:06:27]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [18:06:27]wFMCommunicate OK [18:06:27]SAM_PROTO_GetShiftState done [18:06:27]FM_GetShiftState done [18:06:27]opened in 1729296796 [18:06:27]opened+sec_in_day 1729383196 [18:06:27]quantity*price = 50041 [18:06:27]sum+1 = 50042 [18:06:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.41 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.41 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 55 19.10.2024 18:06 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37119 ФПД: 255788311639376 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T180629&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37119&fm=255788311639376&tin=02508201610067®Number=0000000000098149&sum=50041 [18:06:28]StoreToDocumentArchive [18:06:28]shift 460 fd 37119 [18:06:28]save to /storage/0460/doc_00037119 [18:06:28]save last doc name /storage/0460/doc_00037119 to /storage/kkm_last_doc_name [18:06:28]save OK [18:06:28]Clear old archive folders... [18:06:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:06:28]tlvbuf is 0098B960 [18:06:28]SAM_PROTO_ClearQueue [18:06:28]wFMCommunicate request_size=4 [18:06:28]MH_SAM_APDU [18:06:28]CAPDU: 80 09 00 00 [18:06:28]Write to MH i2c: E2 08 00 74 09 80 09 00 00 00 00 00 00 EF [18:06:28]Write i2c OK [18:06:28]MH_I2C_Read... [18:06:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:28]Read from MH i2c: E2 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 74 09 00 90 00 F1 [18:06:28]RAPDU: 90 00 [18:06:28]wFMCommunicate OK [18:06:28]SAM_PROTO_ClearQueue done [18:06:28]KKMCreateOFDPacket [18:06:28]OFDProtocolAddRootSTLVToBuf [18:06:28]FM_MakeSignedData [18:06:28]FM_MakeSignedData [18:06:28]SAM_PROTO_SignData [18:06:28]wFMCommunicate request_size=4 [18:06:28]MH_SAM_APDU [18:06:28]CAPDU: 80 0D 01 02 [18:06:28]Write to MH i2c: E2 08 00 75 09 80 0D 01 02 00 00 00 00 F7 [18:06:28]Write i2c OK [18:06:28]MH_I2C_Read... [18:06:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:28]Read from MH i2c: E2 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 75 09 00 90 00 F2 [18:06:28]RAPDU: 90 00 [18:06:28]wFMCommunicate OK [18:06:28]wFMCommunicate request_size=255 [18:06:28]MH_SAM_APDU [18:06:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 25 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FF 90 00 00 35 04 06 00 E8 [18:06:28]Write to MH i2c: E2 02 01 76 09 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 25 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FF 90 00 00 35 04 06 00 E8 00 00 ED [18:06:28]Write i2c OK [18:06:28]MH_I2C_Read... [18:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:28]Read from MH i2c: E2 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 76 09 00 90 00 F3 [18:06:28]RAPDU: 90 00 [18:06:28]wFMCommunicate OK [18:06:28]wFMCommunicate request_size=10 [18:06:28]MH_SAM_APDU [18:06:28]CAPDU: 80 0D 02 02 05 A3 5B 73 F5 50 [18:06:28]Write to MH i2c: E2 0D 00 77 09 80 0D 02 02 05 00 A3 5B 73 F5 50 00 00 BA [18:06:28]Write i2c OK [18:06:28]MH_I2C_Read... [18:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:28]Read from MH i2c: E2 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 [18:06:28]MH_I2C_Read... [18:06:28]Read from MH i2c: E2 03 00 77 09 00 90 00 F4 [18:06:28]RAPDU: 90 00 [18:06:28]wFMCommunicate OK [18:06:28]wFMCommunicate request_size=4 [18:06:28]MH_SAM_APDU [18:06:28]CAPDU: 80 0D 03 02 [18:06:28]Write to MH i2c: E2 08 00 78 09 80 0D 03 02 00 00 00 00 FC [18:06:28]Write i2c OK [18:06:28]MH_I2C_Read... [18:06:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:29]Read from MH i2c: E2 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 0B 00 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 0B 00 78 09 00 6A B1 41 23 59 91 87 3F 90 00 2C [18:06:29]RAPDU: 6A B1 41 23 59 91 87 3F 90 00 [18:06:29]wFMCommunicate OK [18:06:29]SAM_PROTO_SignData done [18:06:29]FM_MakeSignedData done [18:06:29]CreateOFDProtocolMessage [18:06:29]wFMCommunicate request_size=4 [18:06:29]MH_SAM_APDU [18:06:29]CAPDU: 80 11 00 00 [18:06:29]Write to MH i2c: E2 08 00 79 09 80 11 00 00 00 00 00 00 FC [18:06:29]Write i2c OK [18:06:29]MH_I2C_Read... [18:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:29]Read from MH i2c: E2 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 17 00 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 17 00 79 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4F [18:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:06:29]wFMCommunicate OK [18:06:29]CreateOFDProtocolMessage done [18:06:29]OFDSenderStorePacket 37119 [18:06:29]StoreOFDPacket docnum=37119 [18:06:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 56 71 07 01 F9 E3 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 25 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FF 90 00 00 35 04 06 00 E8 A3 5B 73 F5 50 6A B1 41 23 59 91 87 3F [18:06:29]CheckFolder [18:06:29]dirname=/storage/ofd_packets [18:06:29]CheckFolder done [18:06:29]ProducePacketName [18:06:29]name=ofd_packets/00037119 [18:06:29]NVStorageSaveData ofd_packets/00037119 [18:06:29]File name is /storage/ofd_packets/00037119 [18:06:29]Write 301 bytes [18:06:29]NVStorageSaveData done [18:06:29]OFDSenderStorePacket done [18:06:29]KKMCreateOFDPacket done [18:06:29]NVStorageSaveData kkm_last_timestamp [18:06:29]File name is /storage/kkm_last_timestamp [18:06:29]Write 4 bytes [18:06:29]NVStorageSaveData done [18:06:29]ExternCall_PrintAddStr [18:06:29]wPrintStart [18:06:29]Write to MH i2c: 01 00 00 7A 09 83 [18:06:29]Write i2c OK [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 07 00 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 07 00 7A 09 00 00 00 00 00 FF 0F 98 [18:06:29]RasterBufferAndPrint [18:06:29]line Счет N : (1)874034 [18:06:29]line ИНН: 02508201610067 [18:06:29]line Контрольно-Кассовый Чек [18:06:29]line ПРОДАЖА [18:06:29]line ТРК (МРК, ГНК) : 32 [18:06:29]line Товар: 2710124130 [18:06:29]line Аи-92-К-5 [18:06:29]line 7.480 * 66.90 [18:06:29]line = 500.41 [18:06:29]line НДС 12% НСП 1% [18:06:29]line > о реализуемом товаре [18:06:29]line ИТОГО: 500.41 [18:06:29]line НСП 1% : 4.43 [18:06:29]line НДС 12% : 53.14 [18:06:29]line Наличными: 0.00 [18:06:29]line Безнал.: 500.41 [18:06:29]line Место: АЗС № 165 "Партнер Нефть" [18:06:29]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [18:06:29]line СНО: Общий режим [18:06:29]line Чек 55 19.10.2024 18:06 [18:06:29]line Смена: 460 ФФД: 1.0 [18:06:29]line ЗНМ: 0300000235 [18:06:29]line РНМ: 0000000000098149 [18:06:29]line Версия ККМ: 001 [18:06:29]line Платежная система: Mbank [18:06:29]line ФМ: 0000000000965372 [18:06:29]line ФД: 37119 [18:06:29]line ФПД: 255788311639376 [18:06:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T180629&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37119&fm=255788311639376&tin=02508201610067®Number=0000000000098149&sum=50041 [18:06:29]OFD Sender: Processing packet 37119 [packets to send 25, broken 24] [18:06:29]ProducePacketName [18:06:29]name=ofd_packets/00037119 [18:06:29]OFD Sender: To server: pG, [18:06:29]CommunicateWithHost lk.salyk.kg:30040 [18:06:29]ConnectInit lk.salyk.kg [18:06:29]written 0, free lines is 4095 [18:06:29]Connected sock=10 [18:06: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 33 37 32 0F 01 00 00 56 71 07 01 F9 E3 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 79 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 79 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 25 F5 13 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FF 90 00 00 35 04 06 00 E8 A3 5B 73 F5 50 6A B1 41 23 59 91 87 3F [18:06:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 47 5F 47 00 B0 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 FF 90 00 00 F4 03 04 00 BB 9D 13 67 B6 04 01 00 00 D8 E9 47 FE AB AA C1 96 [18:06:29]CommunicateWithHost err = 0 [18:06:29]CheckOFDResponse [18:06:29]1017 (14) - 77093643461234 [18:06:29]1041 (16) - 0000000000965372 [18:06:29]1040 (4) - 37119 [18:06:29]1012 (4) - 19.10.2024 11:53 [18:06:29]1206 (1) - 0 [18:06:29]OFD Sender: Remove packet 37119 [18:06:29]ProducePacketName [18:06:29]name=ofd_packets/00037119 [18:06:29]NVStorageDeleteData [18:06:29]Write to MH i2c: 01 00 00 A3 09 AC [18:06:29]Write i2c OK [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 07 00 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: 01 07 00 A3 09 00 00 00 00 00 0B 0D CB [18:06:29]RasterBufferAndPrint [18:06:29]line [18:06:29]line [18:06:29]line [18:06:29]line [18:06:29]line [18:06:29]written 0, free lines is 3351 [18:06:29]process_action close_receipt done [18:06:29]requested_data is exist [18:06:29]produce_requested_data [18:06:29]requested_item fm.sn is exist - process it [18:06:29]wFMCommunicate request_size=4 [18:06:29]MH_SAM_APDU [18:06:29]CAPDU: 80 11 00 00 [18:06:29]Write to MH i2c: E2 08 00 AA 09 80 11 00 00 00 00 00 00 2D [18:06:29]Write i2c OK [18:06:29]MH_I2C_Read... [18:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:29]Read from MH i2c: E2 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 17 00 [18:06:29]MH_I2C_Read... [18:06:29]Read from MH i2c: E2 17 00 AA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 80 [18:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [18:06:29]wFMCommunicate OK [18:06:29]requested_item fd.num is exist - process it [18:06:29]SAM_PROTO_GetFieldsCounters [18:06:29]wFMCommunicate request_size=4 [18:06:29]MH_SAM_APDU [18:06:29]CAPDU: 80 13 00 00 [18:06:29]Write to MH i2c: E2 08 00 AB 09 80 13 00 00 00 00 00 00 30 [18:06:29]Write i2c OK [18:06:29]MH_I2C_Read... [18:06:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:06:30]Read from MH i2c: E2 [18:06:30]MH_I2C_Read... [18:06:30]Read from MH i2c: E2 62 00 [18:06:30]MH_I2C_Read... [18:06:30]Read from MH i2c: E2 62 00 AB 09 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FF 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [18:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 FF 90 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:06:30]wFMCommunicate OK [18:06:30]SAM_PROTO_GetFieldsCounters done [18:06:30]requested_item shift.num is exist - process it [18:06:30]requested_item shift.opened is exist - process it [18:06:30]req_shift_opened [18:06:30]FM_GetShiftState [18:06:30]SAM_PROTO_GetShiftState [18:06:30]wFMCommunicate request_size=4 [18:06:30]MH_SAM_APDU [18:06:30]CAPDU: 80 13 01 00 [18:06:30]Write to MH i2c: E2 08 00 AC 09 80 13 01 00 00 00 00 00 32 [18:06:30]Write i2c OK [18:06:30]MH_I2C_Read... [18:06:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:30]Read from MH i2c: E2 [18:06:30]MH_I2C_Read... [18:06:30]Read from MH i2c: E2 0E 00 [18:06:30]MH_I2C_Read... [18:06:30]Read from MH i2c: E2 0E 00 AC 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 4C [18:06:30]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [18:06:30]wFMCommunicate OK [18:06:30]SAM_PROTO_GetShiftState done [18:06:30]FM_GetShiftState done [18:06:30]req_shift_opened done [18:06:30]requested_item shift.open_date is exist - process it [18:06:30]req_shift_open_date [18:06:30]req_shift_open_date done [18:06:30]produce_requested_data done [18:06:30]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37119,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [18:06:30]process_action_free close_receipt [18:06:30]json_value_free [18:06:30]json_value_free done [18:06:30]process_json_proto returns [18:06:30]Send response to host [18:06:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37119,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [18:06:30]free response buf [18:06:30]execute_script done [18:06:30]execute_script returns [18:06:30]free content buf [18:06:30]Sock 9.Close socket [18:06:30]Sock 9.Thread stoped [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:35]OFD Sender: No OFD packet to send [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:20]OFD Sender: No OFD packet to send [18:17:25]OFD Sender: No OFD packet to send [18:17:30]OFD Sender: No OFD packet to send [18:17:35]OFD Sender: No OFD packet to send [18:17:40]OFD Sender: No OFD packet to send [18:17:45]OFD Sender: No OFD packet to send [18:17:50]OFD Sender: No OFD packet to send [18:17:55]OFD Sender: No OFD packet to send [18:18:00]OFD Sender: No OFD packet to send [18:18:05]OFD Sender: No OFD packet to send [18:18:10]OFD Sender: No OFD packet to send [18:18:15]OFD Sender: No OFD packet to send [18:18:20]OFD Sender: No OFD packet to send [18:18:25]OFD Sender: No OFD packet to send [18:18:30]OFD Sender: No OFD packet to send [18:18:35]OFD Sender: No OFD packet to send [18:18:40]OFD Sender: No OFD packet to send [18:18:45]OFD Sender: No OFD packet to send [18:18:50]OFD Sender: No OFD packet to send [18:18:55]OFD Sender: No OFD packet to send [18:19:00]OFD Sender: No OFD packet to send [18:19:05]OFD Sender: No OFD packet to send [18:19:10]OFD Sender: No OFD packet to send [18:19:15]OFD Sender: No OFD packet to send [18:19:20]OFD Sender: No OFD packet to send [18:19:25]OFD Sender: No OFD packet to send [18:19:30]OFD Sender: No OFD packet to send [18:19:35]OFD Sender: No OFD packet to send [18:19:40]OFD Sender: No OFD packet to send [18:19:45]OFD Sender: No OFD packet to send [18:19:50]OFD Sender: No OFD packet to send [18:19:55]OFD Sender: No OFD packet to send [18:20:00]OFD Sender: No OFD packet to send [18:20:05]OFD Sender: No OFD packet to send [18:20:10]OFD Sender: No OFD packet to send [18:20:15]OFD Sender: No OFD packet to send [18:20:20]OFD Sender: No OFD packet to send [18:20:25]OFD Sender: No OFD packet to send [18:20:30]OFD Sender: No OFD packet to send [18:20:35]OFD Sender: No OFD packet to send [18:20:40]OFD Sender: No OFD packet to send [18:20:45]OFD Sender: No OFD packet to send [18:20:50]OFD Sender: No OFD packet to send [18:20:55]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:26]OFD Sender: No OFD packet to send [18:38:31]OFD Sender: No OFD packet to send [18:38:36]OFD Sender: No OFD packet to send [18:38:41]OFD Sender: No OFD packet to send [18:38:46]OFD Sender: No OFD packet to send [18:38:51]OFD Sender: No OFD packet to send [18:38:56]OFD Sender: No OFD packet to send [18:39:01]OFD Sender: No OFD packet to send [18:39:06]OFD Sender: No OFD packet to send [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:05]accept exits with 7 [19:00:05]New connection [19:00:05]New thread 3066555748 created [19:00:05]Thread 3066699108 joined [19:00:05]Waiting for new connection... [19:00:05] Sock 7.Parse request [19:00:05]Sock 7.Check first char [19:00:05]Sock 7.First char is OK [19:00:05]request: POST /json_proto HTTP/1.0 [19:00:05]Method: POST [19:00:05]URL: /json_proto [19:00:05]Method is POST - this is cgi request [19:00:05]url: /json_proto [19:00:05]query_string will be loaded in cgi processing [19:00:05]execute_cgi json_proto POST (null) [19:00:05]execute_cgi path=json_proto method=POST [19:00:05]POST find Content-Length [19:00:05]Host: 172.17.53.68:8080 [19:00:05]Content-Length: 643 [19:00:05]Content-Type: application/json [19:00:05] [19:00:05]POST finish read [19:00:05]Found Content-Length = 643 [19:00:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76616", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:05]execute_script... [19:00:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76616", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:05]POST & json_proto [19:00:05]process_json_proto [19:00:05]json parsed OK: [19:00:05]protocol is kg_v1.0 [19:00:05]action value=close_receipt [19:00:05]process_action close_receipt [19:00:05]cmd_close_receipt [19:00:05]MH_GetDate [19:00:05]Write to MH i2c: F0 00 00 AD 09 A5 [19:00:05]Write i2c OK [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: F0 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: F0 09 00 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: F0 09 00 AD 09 00 B8 01 14 67 C5 A4 76 66 27 [19:00:05]GetLastDocTimeStamp 1729361189 [19:00:05]current date 1729364408 [19:00:05]FM_GetShiftState [19:00:05]SAM_PROTO_GetShiftState [19:00:05]wFMCommunicate request_size=4 [19:00:05]MH_SAM_APDU [19:00:05]CAPDU: 80 13 01 00 [19:00:05]Write to MH i2c: E2 08 00 AE 09 80 13 01 00 00 00 00 00 34 [19:00:05]Write i2c OK [19:00:05]MH_I2C_Read... [19:00:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:05]Read from MH i2c: E2 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: E2 0E 00 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: E2 0E 00 AE 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 4E [19:00:05]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:00:05]wFMCommunicate OK [19:00:05]SAM_PROTO_GetShiftState done [19:00:05]FM_GetShiftState done [19:00:05]opened in 1729296796 [19:00:05]opened+sec_in_day 1729383196 [19:00:05]quantity*price = 11500 [19:00:05]sum+1 = 11501 [19:00:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 56 19.10.2024 19:00 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37120 ФПД: 247004487301530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T190008&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37120&fm=247004487301530&tin=02508201610067®Number=0000000000098149&sum=11500 0 [19:00:06]StoreToDocumentArchive [19:00:06]shift 460 fd 37120 [19:00:06]save to /storage/0460/doc_00037120 [19:00:06]save last doc name /storage/0460/doc_00037120 to /storage/kkm_last_doc_name [19:00:06]save OK [19:00:06]Clear old archive folders... [19:00:06]ProcessDocumentItem done err = 0, tmpTLVsize=280 [19:00:06]tlvbuf is 009A7400 [19:00:06]SAM_PROTO_ClearQueue [19:00:06]wFMCommunicate request_size=4 [19:00:06]MH_SAM_APDU [19:00:06]CAPDU: 80 09 00 00 [19:00:06]Write to MH i2c: E2 08 00 BB 09 80 09 00 00 00 00 00 00 36 [19:00:06]Write i2c OK [19:00:06]MH_I2C_Read... [19:00:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:06]Read from MH i2c: E2 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 BB 09 00 90 00 38 [19:00:06]RAPDU: 90 00 [19:00:06]wFMCommunicate OK [19:00:06]SAM_PROTO_ClearQueue done [19:00:06]KKMCreateOFDPacket [19:00:06]OFDProtocolAddRootSTLVToBuf [19:00:06]FM_MakeSignedData [19:00:06]FM_MakeSignedData [19:00:06]SAM_PROTO_SignData [19:00:06]wFMCommunicate request_size=4 [19:00:06]MH_SAM_APDU [19:00:06]CAPDU: 80 0D 01 02 [19:00:06]Write to MH i2c: E2 08 00 BC 09 80 0D 01 02 00 00 00 00 3E [19:00:06]Write i2c OK [19:00:06]MH_I2C_Read... [19:00:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:06]Read from MH i2c: E2 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 BC 09 00 90 00 39 [19:00:06]RAPDU: 90 00 [19:00:06]wFMCommunicate OK [19:00:06]wFMCommunicate request_size=255 [19:00:06]MH_SAM_APDU [19:00:06]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B8 01 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 [19:00:06]Write to MH i2c: E2 02 01 BD 09 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B8 01 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 00 00 BD [19:00:06]Write i2c OK [19:00:06]MH_I2C_Read... [19:00:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:06]Read from MH i2c: E2 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: E2 03 00 BD 09 00 90 00 3A [19:00:06]RAPDU: 90 00 [19:00:06]wFMCommunicate OK [19:00:06]wFMCommunicate request_size=39 [19:00:06]MH_SAM_APDU [19:00:06]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 91 00 00 35 04 06 00 E0 A6 36 B9 39 9A [19:00:06]Write to MH i2c: E2 2A 00 BE 09 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 91 00 00 35 04 06 00 E0 A6 36 B9 39 9A 00 00 D5 [19:00:06]Write i2c OK [19:00:06]MH_I2C_Read... [19:00:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:07]Read from MH i2c: E2 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 03 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 03 00 BE 09 00 90 00 3B [19:00:07]RAPDU: 90 00 [19:00:07]wFMCommunicate OK [19:00:07]wFMCommunicate request_size=4 [19:00:07]MH_SAM_APDU [19:00:07]CAPDU: 80 0D 03 02 [19:00:07]Write to MH i2c: E2 08 00 BF 09 80 0D 03 02 00 00 00 00 43 [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:07]Read from MH i2c: E2 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 0B 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 0B 00 BF 09 00 17 DD EE A2 F7 E1 48 A6 90 00 8E [19:00:07]RAPDU: 17 DD EE A2 F7 E1 48 A6 90 00 [19:00:07]wFMCommunicate OK [19:00:07]SAM_PROTO_SignData done [19:00:07]FM_MakeSignedData done [19:00:07]CreateOFDProtocolMessage [19:00:07]wFMCommunicate request_size=4 [19:00:07]MH_SAM_APDU [19:00:07]CAPDU: 80 11 00 00 [19:00:07]Write to MH i2c: E2 08 00 C0 09 80 11 00 00 00 00 00 00 43 [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:07]Read from MH i2c: E2 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 17 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 17 00 C0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 96 [19:00:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:00:07]wFMCommunicate OK [19:00:07]CreateOFDProtocolMessage done [19:00:07]OFDSenderStorePacket 37120 [19:00:07]StoreOFDPacket docnum=37120 [19:00:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2C 01 00 00 95 6B 24 01 24 43 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B8 01 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 91 00 00 35 04 06 00 E0 A6 36 B9 39 9A 17 DD EE A2 F7 E1 48 A6 [19:00:07]CheckFolder [19:00:07]dirname=/storage/ofd_packets [19:00:07]CheckFolder done [19:00:07]ProducePacketName [19:00:07]name=ofd_packets/00037120 [19:00:07]NVStorageSaveData ofd_packets/00037120 [19:00:07]File name is /storage/ofd_packets/00037120 [19:00:07]Write 330 bytes [19:00:07]NVStorageSaveData done [19:00:07]OFDSenderStorePacket done [19:00:07]KKMCreateOFDPacket done [19:00:07]NVStorageSaveData kkm_last_timestamp [19:00:07]File name is /storage/kkm_last_timestamp [19:00:07]Write 4 bytes [19:00:07]NVStorageSaveData done [19:00:07]ExternCall_PrintAddStr [19:00:07]wPrintStart [19:00:07]Write to MH i2c: 01 00 00 C1 09 CA [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 07 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 07 00 C1 09 00 00 00 00 00 FF 0F DF [19:00:07]RasterBufferAndPrint [19:00:07]line Счет N : (3)76616 [19:00:07]line ИНН: 02508201610067 [19:00:07]line Контрольно-Кассовый Чек [19:00:07]line ПРОДАЖА [19:00:07]line Товар: 2000036210013 [19:00:07]line Кофе Капучино (GABB TRADE) [19:00:07]line 1.000 * 115.00 [19:00:07]line = 115.00 [19:00:07]line НДС 12% НСП 1% [19:00:07]line > о реализуемом товаре [19:00:07]line ИТОГО: 115.00 [19:00:07]line НСП 1% : 1.02 [19:00:07]line НДС 12% : 12.21 [19:00:07]line Наличными: 115.00 [19:00:07]line Безнал.: 0.00 [19:00:07]line Место: АЗС № 165 "Партнер Нефть" [19:00:07]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:00:07]line СНО: Общий режим [19:00:07]line Чек 56 19.10.2024 19:00 [19:00:07]line Смена: 460 ФФД: 1.0 [19:00:07]line ЗНМ: 0300000235 [19:00:07]line РНМ: 0000000000098149 [19:00:07]line Версия ККМ: 001 [19:00:07]line ФМ: 0000000000965372 [19:00:07]line ФД: 37120 [19:00:07]line ФПД: 247004487301530 [19:00:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T190008&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37120&fm=247004487301530&tin=02508201610067®Number=0000000000098149&sum=11500 [19:00:07]line 0 [19:00:07]OFD Sender: Processing packet 37120 [packets to send 25, broken 24] [19:00:07]ProducePacketName [19:00:07]name=ofd_packets/00037120 [19:00:07]OFD Sender: To server: pG, [19:00:07]CommunicateWithHost lk.salyk.kg:30040 [19:00:07]ConnectInit lk.salyk.kg [19:00:07]written 0, free lines is 4095 [19:00:07]Connected sock=10 [19:00:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2C 01 00 00 95 6B 24 01 24 43 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 B8 01 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 91 00 00 35 04 06 00 E0 A6 36 B9 39 9A 17 DD EE A2 F7 E1 48 A6 [19:00:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 A0 6F 47 00 25 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 00 91 00 00 F4 03 04 00 4D AA 13 67 B6 04 01 00 00 5E 02 5E 6B D8 B6 7F 84 [19:00:07]CommunicateWithHost err = 0 [19:00:07]CheckOFDResponse [19:00:07]1017 (14) - 77093643461234 [19:00:07]1041 (16) - 0000000000965372 [19:00:07]1040 (4) - 37120 [19:00:07]1012 (4) - 19.10.2024 12:47 [19:00:07]1206 (1) - 0 [19:00:07]OFD Sender: Remove packet 37120 [19:00:07]ProducePacketName [19:00:07]name=ofd_packets/00037120 [19:00:07]NVStorageDeleteData [19:00:07]Write to MH i2c: 01 00 00 E9 09 F2 [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 07 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: 01 07 00 E9 09 00 00 00 00 00 14 0D 1A [19:00:07]RasterBufferAndPrint [19:00:07]line [19:00:07]line [19:00:07]line [19:00:07]line [19:00:07]line [19:00:07]written 0, free lines is 3354 [19:00:07]process_action close_receipt done [19:00:07]requested_data is exist [19:00:07]produce_requested_data [19:00:07]requested_item fm.sn is exist - process it [19:00:07]wFMCommunicate request_size=4 [19:00:07]MH_SAM_APDU [19:00:07]CAPDU: 80 11 00 00 [19:00:07]Write to MH i2c: E2 08 00 F0 09 80 11 00 00 00 00 00 00 73 [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:07]Read from MH i2c: E2 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 17 00 [19:00:07]MH_I2C_Read... [19:00:07]Read from MH i2c: E2 17 00 F0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C6 [19:00:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:00:07]wFMCommunicate OK [19:00:07]requested_item fd.num is exist - process it [19:00:07]SAM_PROTO_GetFieldsCounters [19:00:07]wFMCommunicate request_size=4 [19:00:07]MH_SAM_APDU [19:00:07]CAPDU: 80 13 00 00 [19:00:07]Write to MH i2c: E2 08 00 F1 09 80 13 00 00 00 00 00 00 76 [19:00:07]Write i2c OK [19:00:07]MH_I2C_Read... [19:00:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:08]Read from MH i2c: E2 [19:00:08]MH_I2C_Read... [19:00:08]Read from MH i2c: E2 62 00 [19:00:08]MH_I2C_Read... [19:00:08]Read from MH i2c: E2 62 00 F1 09 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 00 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [19:00: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 00 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:00:08]wFMCommunicate OK [19:00:08]SAM_PROTO_GetFieldsCounters done [19:00:08]requested_item shift.num is exist - process it [19:00:08]requested_item shift.opened is exist - process it [19:00:08]req_shift_opened [19:00:08]FM_GetShiftState [19:00:08]SAM_PROTO_GetShiftState [19:00:08]wFMCommunicate request_size=4 [19:00:08]MH_SAM_APDU [19:00:08]CAPDU: 80 13 01 00 [19:00:08]Write to MH i2c: E2 08 00 F2 09 80 13 01 00 00 00 00 00 78 [19:00:08]Write i2c OK [19:00:08]MH_I2C_Read... [19:00:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:08]Read from MH i2c: E2 [19:00:08]MH_I2C_Read... [19:00:08]Read from MH i2c: E2 0E 00 [19:00:08]MH_I2C_Read... [19:00:08]Read from MH i2c: E2 0E 00 F2 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 92 [19:00:08]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:00:08]wFMCommunicate OK [19:00:08]SAM_PROTO_GetShiftState done [19:00:08]FM_GetShiftState done [19:00:08]req_shift_opened done [19:00:08]requested_item shift.open_date is exist - process it [19:00:08]req_shift_open_date [19:00:08]req_shift_open_date done [19:00:08]produce_requested_data done [19:00:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37120,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:00:08]process_action_free close_receipt [19:00:08]json_value_free [19:00:08]json_value_free done [19:00:08]process_json_proto returns [19:00:08]Send response to host [19:00:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37120,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:00:08]free response buf [19:00:08]execute_script done [19:00:08]execute_script returns [19:00:08]free content buf [19:00:08]Sock 7.Close socket [19:00:08]Sock 7.Thread stoped [19:00:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:51]accept exits with 9 [19:04:51]New connection [19:04:51]New thread 3066699108 created [19:04:51]Thread 3066555748 joined [19:04:51]Waiting for new connection... [19:04:51] Sock 9.Parse request [19:04:51]Sock 9.Check first char [19:04:51]Sock 9.First char is OK [19:04:51]request: POST /json_proto HTTP/1.0 [19:04:51]Method: POST [19:04:51]URL: /json_proto [19:04:51]Method is POST - this is cgi request [19:04:51]url: /json_proto [19:04:51]query_string will be loaded in cgi processing [19:04:51]execute_cgi json_proto POST (null) [19:04:51]execute_cgi path=json_proto method=POST [19:04:51]POST find Content-Length [19:04:51]Host: 172.17.53.68:8080 [19:04:51]Content-Length: 621 [19:04:51]Content-Type: application/json [19:04:51] [19:04:51]POST finish read [19:04:51]Found Content-Length = 621 [19:04:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76617", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:51]execute_script... [19:04: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)76617", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:51]POST & json_proto [19:04:51]process_json_proto [19:04:51]json parsed OK: [19:04:51]protocol is kg_v1.0 [19:04:51]action value=close_receipt [19:04:51]process_action close_receipt [19:04:51]cmd_close_receipt [19:04:51]MH_GetDate [19:04:51]Write to MH i2c: F0 00 00 F3 09 EB [19:04:51]Write i2c OK [19:04:51]MH_I2C_Read... [19:04:51]Read from MH i2c: F0 [19:04:51]MH_I2C_Read... [19:04:51]Read from MH i2c: F0 09 00 [19:04:51]MH_I2C_Read... [19:04:51]Read from MH i2c: F0 09 00 F3 09 00 D6 02 14 67 C5 A4 76 66 8C [19:04:51]GetLastDocTimeStamp 1729364408 [19:04:51]current date 1729364694 [19:04:51]FM_GetShiftState [19:04:51]SAM_PROTO_GetShiftState [19:04:51]wFMCommunicate request_size=4 [19:04:51]MH_SAM_APDU [19:04:51]CAPDU: 80 13 01 00 [19:04:51]Write to MH i2c: E2 08 00 F4 09 80 13 01 00 00 00 00 00 7A [19:04:51]Write i2c OK [19:04:51]MH_I2C_Read... [19:04:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:51]Read from MH i2c: E2 [19:04:51]MH_I2C_Read... [19:04:51]Read from MH i2c: E2 0E 00 [19:04:51]MH_I2C_Read... [19:04:51]Read from MH i2c: E2 0E 00 F4 09 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 94 [19:04:51]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:04:51]wFMCommunicate OK [19:04:51]SAM_PROTO_GetShiftState done [19:04:51]FM_GetShiftState done [19:04:51]opened in 1729296796 [19:04:51]opened+sec_in_day 1729383196 [19:04:51]quantity*price = 15400 [19:04:51]sum+1 = 15401 [19:04:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 57 19.10.2024 19:04 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37121 ФПД: 158631251105686 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T190454&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37121&fm=158631251105686&tin=02508201610067®Number=0000000000098149&sum=15400 0 [19:04:52]StoreToDocumentArchive [19:04:52]shift 460 fd 37121 [19:04:52]save to /storage/0460/doc_00037121 [19:04:52]save last doc name /storage/0460/doc_00037121 to /storage/kkm_last_doc_name [19:04:52]save OK [19:04:52]Clear old archive folders... [19:04:52]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:04:52]tlvbuf is 00988590 [19:04:52]SAM_PROTO_ClearQueue [19:04:52]wFMCommunicate request_size=4 [19:04:52]MH_SAM_APDU [19:04:52]CAPDU: 80 09 00 00 [19:04:52]Write to MH i2c: E2 08 00 01 0A 80 09 00 00 00 00 00 00 7D [19:04:52]Write i2c OK [19:04:52]MH_I2C_Read... [19:04:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:04:52]Read from MH i2c: E2 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 01 0A 00 90 00 7F [19:04:52]RAPDU: 90 00 [19:04:52]wFMCommunicate OK [19:04:52]SAM_PROTO_ClearQueue done [19:04:52]KKMCreateOFDPacket [19:04:52]OFDProtocolAddRootSTLVToBuf [19:04:52]FM_MakeSignedData [19:04:52]FM_MakeSignedData [19:04:52]SAM_PROTO_SignData [19:04:52]wFMCommunicate request_size=4 [19:04:52]MH_SAM_APDU [19:04:52]CAPDU: 80 0D 01 02 [19:04:52]Write to MH i2c: E2 08 00 02 0A 80 0D 01 02 00 00 00 00 85 [19:04:52]Write i2c OK [19:04:52]MH_I2C_Read... [19:04:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:04:52]Read from MH i2c: E2 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 02 0A 00 90 00 80 [19:04:52]RAPDU: 90 00 [19:04:52]wFMCommunicate OK [19:04:52]wFMCommunicate request_size=255 [19:04:52]MH_SAM_APDU [19:04:52]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D6 02 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [19:04:52]Write to MH i2c: E2 02 01 03 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D6 02 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 71 [19:04:52]Write i2c OK [19:04:52]MH_I2C_Read... [19:04:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:52]Read from MH i2c: E2 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 [19:04:52]MH_I2C_Read... [19:04:52]Read from MH i2c: E2 03 00 03 0A 00 90 00 81 [19:04:52]RAPDU: 90 00 [19:04:52]wFMCommunicate OK [19:04:52]wFMCommunicate request_size=33 [19:04:52]MH_SAM_APDU [19:04:52]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 01 91 00 00 35 04 06 00 90 46 37 5F 57 96 [19:04:52]Write to MH i2c: E2 24 00 04 0A 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 01 91 00 00 35 04 06 00 90 46 37 5F 57 96 00 00 02 [19:04:52]Write i2c OK [19:04:52]MH_I2C_Read... [19:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:53]Read from MH i2c: E2 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 03 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 03 00 04 0A 00 90 00 82 [19:04:53]RAPDU: 90 00 [19:04:53]wFMCommunicate OK [19:04:53]wFMCommunicate request_size=4 [19:04:53]MH_SAM_APDU [19:04:53]CAPDU: 80 0D 03 02 [19:04:53]Write to MH i2c: E2 08 00 05 0A 80 0D 03 02 00 00 00 00 8A [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:04:53]Read from MH i2c: E2 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 0B 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 0B 00 05 0A 00 98 A0 43 FF 4A C0 A6 B3 90 00 68 [19:04:53]RAPDU: 98 A0 43 FF 4A C0 A6 B3 90 00 [19:04:53]wFMCommunicate OK [19:04:53]SAM_PROTO_SignData done [19:04:53]FM_MakeSignedData done [19:04:53]CreateOFDProtocolMessage [19:04:53]wFMCommunicate request_size=4 [19:04:53]MH_SAM_APDU [19:04:53]CAPDU: 80 11 00 00 [19:04:53]Write to MH i2c: E2 08 00 06 0A 80 11 00 00 00 00 00 00 8A [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:53]Read from MH i2c: E2 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 17 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 17 00 06 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DD [19:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:04:53]wFMCommunicate OK [19:04:53]CreateOFDProtocolMessage done [19:04:53]OFDSenderStorePacket 37121 [19:04:53]StoreOFDPacket docnum=37121 [19:04:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 01 88 1E 01 8E 84 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D6 02 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 01 91 00 00 35 04 06 00 90 46 37 5F 57 96 98 A0 43 FF 4A C0 A6 B3 [19:04:53]CheckFolder [19:04:53]dirname=/storage/ofd_packets [19:04:53]CheckFolder done [19:04:53]ProducePacketName [19:04:53]name=ofd_packets/00037121 [19:04:53]NVStorageSaveData ofd_packets/00037121 [19:04:53]File name is /storage/ofd_packets/00037121 [19:04:53]Write 324 bytes [19:04:53]NVStorageSaveData done [19:04:53]OFDSenderStorePacket done [19:04:53]KKMCreateOFDPacket done [19:04:53]NVStorageSaveData kkm_last_timestamp [19:04:53]File name is /storage/kkm_last_timestamp [19:04:53]Write 4 bytes [19:04:53]NVStorageSaveData done [19:04:53]ExternCall_PrintAddStr [19:04:53]wPrintStart [19:04:53]Write to MH i2c: 01 00 00 07 0A 11 [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 07 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 07 00 07 0A 00 00 00 00 00 FF 0F 26 [19:04:53]RasterBufferAndPrint [19:04:53]line Счет N : (3)76617 [19:04:53]line ИНН: 02508201610067 [19:04:53]line Контрольно-Кассовый Чек [19:04:53]line ПРОДАЖА [19:04:53]line Товар: 46230614 [19:04:53]line Сигареты Richmond Red Edition [19:04:53]line 1.000 * 154.00 [19:04:53]line = 154.00 [19:04:53]line НДС 12% НСП 1% [19:04:53]line > о реализуемом товаре [19:04:53]line ИТОГО: 154.00 [19:04:53]line НСП 1% : 1.36 [19:04:53]line НДС 12% : 16.35 [19:04:53]line Наличными: 154.00 [19:04:53]line Безнал.: 0.00 [19:04:53]line Место: АЗС № 165 "Партнер Нефть" [19:04:53]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:04:53]line СНО: Общий режим [19:04:53]line Чек 57 19.10.2024 19:04 [19:04:53]line Смена: 460 ФФД: 1.0 [19:04:53]line ЗНМ: 0300000235 [19:04:53]line РНМ: 0000000000098149 [19:04:53]line Версия ККМ: 001 [19:04:53]line ФМ: 0000000000965372 [19:04:53]line ФД: 37121 [19:04:53]line ФПД: 158631251105686 [19:04:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T190454&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37121&fm=158631251105686&tin=02508201610067®Number=0000000000098149&sum=15400 [19:04:53]OFD Sender: Processing packet 37121 [packets to send 25, broken 24] [19:04:53]ProducePacketName [19:04:53]name=ofd_packets/00037121 [19:04:53]OFD Sender: To server: pG, [19:04:53]CommunicateWithHost lk.salyk.kg:30040 [19:04:53]ConnectInit lk.salyk.kg [19:04:53]line 0 [19:04:53]written 0, free lines is 4095 [19:04:53]Connected sock=10 [19:04: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 33 37 32 26 01 00 00 01 88 1E 01 8E 84 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 D6 02 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 01 91 00 00 35 04 06 00 90 46 37 5F 57 96 98 A0 43 FF 4A C0 A6 B3 [19:04:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 28 F9 47 00 B8 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 01 91 00 00 F4 03 04 00 6B AB 13 67 B6 04 01 00 00 BB 95 42 BF 3C 0D AD 7A [19:04:53]CommunicateWithHost err = 0 [19:04:53]CheckOFDResponse [19:04:53]1017 (14) - 77093643461234 [19:04:53]1041 (16) - 0000000000965372 [19:04:53]1040 (4) - 37121 [19:04:53]1012 (4) - 19.10.2024 12:51 [19:04:53]1206 (1) - 0 [19:04:53]OFD Sender: Remove packet 37121 [19:04:53]ProducePacketName [19:04:53]name=ofd_packets/00037121 [19:04:53]NVStorageDeleteData [19:04:53]Write to MH i2c: 01 00 00 30 0A 3A [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 07 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: 01 07 00 30 0A 00 00 00 00 00 DF 0C 2C [19:04:53]RasterBufferAndPrint [19:04:53]line [19:04:53]line [19:04:53]line [19:04:53]line [19:04:53]line [19:04:53]written 0, free lines is 3301 [19:04:53]process_action close_receipt done [19:04:53]requested_data is exist [19:04:53]produce_requested_data [19:04:53]requested_item fm.sn is exist - process it [19:04:53]wFMCommunicate request_size=4 [19:04:53]MH_SAM_APDU [19:04:53]CAPDU: 80 11 00 00 [19:04:53]Write to MH i2c: E2 08 00 37 0A 80 11 00 00 00 00 00 00 BB [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:53]Read from MH i2c: E2 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 17 00 [19:04:53]MH_I2C_Read... [19:04:53]Read from MH i2c: E2 17 00 37 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0E [19:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:04:53]wFMCommunicate OK [19:04:53]requested_item fd.num is exist - process it [19:04:53]SAM_PROTO_GetFieldsCounters [19:04:53]wFMCommunicate request_size=4 [19:04:53]MH_SAM_APDU [19:04:53]CAPDU: 80 13 00 00 [19:04:53]Write to MH i2c: E2 08 00 38 0A 80 13 00 00 00 00 00 00 BE [19:04:53]Write i2c OK [19:04:53]MH_I2C_Read... [19:04:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:04:54]Read from MH i2c: E2 [19:04:54]MH_I2C_Read... [19:04:54]Read from MH i2c: E2 62 00 [19:04:54]MH_I2C_Read... [19:04:54]Read from MH i2c: E2 62 00 38 0A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 01 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 EF [19:04: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 01 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:04:54]wFMCommunicate OK [19:04:54]SAM_PROTO_GetFieldsCounters done [19:04:54]requested_item shift.num is exist - process it [19:04:54]requested_item shift.opened is exist - process it [19:04:54]req_shift_opened [19:04:54]FM_GetShiftState [19:04:54]SAM_PROTO_GetShiftState [19:04:54]wFMCommunicate request_size=4 [19:04:54]MH_SAM_APDU [19:04:54]CAPDU: 80 13 01 00 [19:04:54]Write to MH i2c: E2 08 00 39 0A 80 13 01 00 00 00 00 00 C0 [19:04:54]Write i2c OK [19:04:54]MH_I2C_Read... [19:04:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:54]Read from MH i2c: E2 [19:04:54]MH_I2C_Read... [19:04:54]Read from MH i2c: E2 0E 00 [19:04:54]MH_I2C_Read... [19:04:54]Read from MH i2c: E2 0E 00 39 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 DA [19:04:54]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:04:54]wFMCommunicate OK [19:04:54]SAM_PROTO_GetShiftState done [19:04:54]FM_GetShiftState done [19:04:54]req_shift_opened done [19:04:54]requested_item shift.open_date is exist - process it [19:04:54]req_shift_open_date [19:04:54]req_shift_open_date done [19:04:54]produce_requested_data done [19:04:54]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37121,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:04:54]process_action_free close_receipt [19:04:54]json_value_free [19:04:54]json_value_free done [19:04:54]process_json_proto returns [19:04:54]Send response to host [19:04:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37121,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:04:54]free response buf [19:04:54]execute_script done [19:04:54]execute_script returns [19:04:54]free content buf [19:04:54]Sock 9.Close socket [19:04:54]Sock 9.Thread stoped [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:59]OFD Sender: No OFD packet to send [19:10:04]OFD Sender: No OFD packet to send [19:10:09]OFD Sender: No OFD packet to send [19:10:14]OFD Sender: No OFD packet to send [19:10:19]OFD Sender: No OFD packet to send [19:10:24]OFD Sender: No OFD packet to send [19:10:29]OFD Sender: No OFD packet to send [19:10:34]OFD Sender: No OFD packet to send [19:10:39]OFD Sender: No OFD packet to send [19:10:44]OFD Sender: No OFD packet to send [19:10:49]OFD Sender: No OFD packet to send [19:10:54]OFD Sender: No OFD packet to send [19:10:59]OFD Sender: No OFD packet to send [19:11:04]OFD Sender: No OFD packet to send [19:11:09]OFD Sender: No OFD packet to send [19:11:14]OFD Sender: No OFD packet to send [19:11:19]OFD Sender: No OFD packet to send [19:11:24]OFD Sender: No OFD packet to send [19:11:29]OFD Sender: No OFD packet to send [19:11:34]OFD Sender: No OFD packet to send [19:11:39]OFD Sender: No OFD packet to send [19:11:44]OFD Sender: No OFD packet to send [19:11:49]OFD Sender: No OFD packet to send [19:11:54]OFD Sender: No OFD packet to send [19:11:59]OFD Sender: No OFD packet to send [19:12:04]OFD Sender: No OFD packet to send [19:12:09]OFD Sender: No OFD packet to send [19:12:14]OFD Sender: No OFD packet to send [19:12:19]OFD Sender: No OFD packet to send [19:12:24]OFD Sender: No OFD packet to send [19:12:29]OFD Sender: No OFD packet to send [19:12:34]OFD Sender: No OFD packet to send [19:12:39]OFD Sender: No OFD packet to send [19:12:44]OFD Sender: No OFD packet to send [19:12:49]OFD Sender: No OFD packet to send [19:12:54]OFD Sender: No OFD packet to send [19:12:59]OFD Sender: No OFD packet to send [19:13:04]OFD Sender: No OFD packet to send [19:13:09]OFD Sender: No OFD packet to send [19:13:14]OFD Sender: No OFD packet to send [19:13:19]OFD Sender: No OFD packet to send [19:13:24]OFD Sender: No OFD packet to send [19:13:29]OFD Sender: No OFD packet to send [19:13:34]OFD Sender: No OFD packet to send [19:13:39]OFD Sender: No OFD packet to send [19:13:44]OFD Sender: No OFD packet to send [19:13:49]OFD Sender: No OFD packet to send [19:13:54]OFD Sender: No OFD packet to send [19:13:59]OFD Sender: No OFD packet to send [19:14:04]OFD Sender: No OFD packet to send [19:14:09]OFD Sender: No OFD packet to send [19:14:14]OFD Sender: No OFD packet to send [19:14:19]OFD Sender: No OFD packet to send [19:14:24]OFD Sender: No OFD packet to send [19:14:29]OFD Sender: No OFD packet to send [19:14:34]OFD Sender: No OFD packet to send [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]accept exits with 7 [19:18:09]New connection [19:18:09]New thread 3066555748 created [19:18:09]Thread 3066699108 joined [19:18:09]Waiting for new connection... [19:18:09] Sock 7.Parse request [19:18:09]Sock 7.Check first char [19:18:09]Sock 7.First char is OK [19:18:09]request: POST /json_proto HTTP/1.0 [19:18:09]Method: POST [19:18:09]URL: /json_proto [19:18:09]Method is POST - this is cgi request [19:18:09]url: /json_proto [19:18:09]query_string will be loaded in cgi processing [19:18:09]execute_cgi json_proto POST (null) [19:18:09]execute_cgi path=json_proto method=POST [19:18:09]POST find Content-Length [19:18:09]Host: 172.17.53.68:8080 [19:18:09]Content-Length: 682 [19:18:09]Content-Type: application/json [19:18:09] [19:18:09]POST finish read [19:18:09]Found Content-Length = 682 [19:18:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874082", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:18:09]execute_script... [19:18:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874082", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:18:09]POST & json_proto [19:18:09]process_json_proto [19:18:09]json parsed OK: [19:18:09]protocol is kg_v1.0 [19:18:09]action value=close_receipt [19:18:09]process_action close_receipt [19:18:09]cmd_close_receipt [19:18:09]MH_GetDate [19:18:09]Write to MH i2c: F0 00 00 3A 0A 33 [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: F0 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: F0 09 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: F0 09 00 3A 0A 00 F4 05 14 67 C5 A4 76 66 F5 [19:18:09]GetLastDocTimeStamp 1729364694 [19:18:09]current date 1729365492 [19:18:09]FM_GetShiftState [19:18:09]SAM_PROTO_GetShiftState [19:18:09]wFMCommunicate request_size=4 [19:18:09]MH_SAM_APDU [19:18:09]CAPDU: 80 13 01 00 [19:18:09]Write to MH i2c: E2 08 00 3B 0A 80 13 01 00 00 00 00 00 C2 [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:09]Read from MH i2c: E2 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 0E 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 0E 00 3B 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 DC [19:18:09]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:18:09]wFMCommunicate OK [19:18:09]SAM_PROTO_GetShiftState done [19:18:09]FM_GetShiftState done [19:18:09]opened in 1729296796 [19:18:09]opened+sec_in_day 1729383196 [19:18:09]quantity*price = 100015 [19:18:09]sum+1 = 100017 [19:18:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 58 19.10.2024 19:18 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37122 ФПД: 20706970641796 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191812&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37122&fm=20706970641796&tin=02508201610067®Number=0000000000098149&sum=100000 [19:18:10]StoreToDocumentArchive [19:18:10]shift 460 fd 37122 [19:18:10]save to /storage/0460/doc_00037122 [19:18:10]save last doc name /storage/0460/doc_00037122 to /storage/kkm_last_doc_name [19:18:10]save OK [19:18:10]Clear old archive folders... [19:18:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:18:10]tlvbuf is 0098B4D0 [19:18:10]SAM_PROTO_ClearQueue [19:18:10]wFMCommunicate request_size=4 [19:18:10]MH_SAM_APDU [19:18:10]CAPDU: 80 09 00 00 [19:18:10]Write to MH i2c: E2 08 00 48 0A 80 09 00 00 00 00 00 00 C4 [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:18:10]Read from MH i2c: E2 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: E2 03 00 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: E2 03 00 48 0A 00 90 00 C6 [19:18:10]RAPDU: 90 00 [19:18:10]wFMCommunicate OK [19:18:10]SAM_PROTO_ClearQueue done [19:18:10]KKMCreateOFDPacket [19:18:10]OFDProtocolAddRootSTLVToBuf [19:18:10]FM_MakeSignedData [19:18:10]FM_MakeSignedData [19:18:10]SAM_PROTO_SignData [19:18:10]wFMCommunicate request_size=4 [19:18:10]MH_SAM_APDU [19:18:10]CAPDU: 80 0D 01 02 [19:18:10]Write to MH i2c: E2 08 00 49 0A 80 0D 01 02 00 00 00 00 CC [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:18:10]Read from MH i2c: E2 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: E2 03 00 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: E2 03 00 49 0A 00 90 00 C7 [19:18:10]RAPDU: 90 00 [19:18:10]wFMCommunicate OK [19:18:10]wFMCommunicate request_size=255 [19:18:10]MH_SAM_APDU [19:18:10]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F4 05 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 02 91 00 00 35 04 06 00 12 [19:18:10]Write to MH i2c: E2 02 01 4A 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F4 05 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 02 91 00 00 35 04 06 00 12 00 00 7B [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 03 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 03 00 4A 0A 00 90 00 C8 [19:18:11]RAPDU: 90 00 [19:18:11]wFMCommunicate OK [19:18:11]wFMCommunicate request_size=10 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 0D 02 02 05 D5 37 A1 25 84 [19:18:11]Write to MH i2c: E2 0D 00 4B 0A 80 0D 02 02 05 00 D5 37 A1 25 84 00 00 2F [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 03 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 03 00 4B 0A 00 90 00 C9 [19:18:11]RAPDU: 90 00 [19:18:11]wFMCommunicate OK [19:18:11]wFMCommunicate request_size=4 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 0D 03 02 [19:18:11]Write to MH i2c: E2 08 00 4C 0A 80 0D 03 02 00 00 00 00 D1 [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 0B 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 0B 00 4C 0A 00 57 31 08 3A 3E 9F 99 6C 90 00 7E [19:18:11]RAPDU: 57 31 08 3A 3E 9F 99 6C 90 00 [19:18:11]wFMCommunicate OK [19:18:11]SAM_PROTO_SignData done [19:18:11]FM_MakeSignedData done [19:18:11]CreateOFDProtocolMessage [19:18:11]wFMCommunicate request_size=4 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 11 00 00 [19:18:11]Write to MH i2c: E2 08 00 4D 0A 80 11 00 00 00 00 00 00 D1 [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 17 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 17 00 4D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 24 [19:18:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:18:11]wFMCommunicate OK [19:18:11]CreateOFDProtocolMessage done [19:18:11]OFDSenderStorePacket 37122 [19:18:11]StoreOFDPacket docnum=37122 [19:18:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 D4 81 07 01 70 07 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F4 05 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 02 91 00 00 35 04 06 00 12 D5 37 A1 25 84 57 31 08 3A 3E 9F 99 6C [19:18:11]CheckFolder [19:18:11]dirname=/storage/ofd_packets [19:18:11]CheckFolder done [19:18:11]ProducePacketName [19:18:11]name=ofd_packets/00037122 [19:18:11]NVStorageSaveData ofd_packets/00037122 [19:18:11]File name is /storage/ofd_packets/00037122 [19:18:11]Write 301 bytes [19:18:11]NVStorageSaveData done [19:18:11]OFDSenderStorePacket done [19:18:11]KKMCreateOFDPacket done [19:18:11]NVStorageSaveData kkm_last_timestamp [19:18:11]File name is /storage/kkm_last_timestamp [19:18:11]Write 4 bytes [19:18:11]NVStorageSaveData done [19:18:11]ExternCall_PrintAddStr [19:18:11]wPrintStart [19:18:11]Write to MH i2c: 01 00 00 4E 0A 58 [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: 01 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: 01 07 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: 01 07 00 4E 0A 00 00 00 00 00 FF 0F 6D [19:18:11]RasterBufferAndPrint [19:18:11]line Счет N : (1)874082 [19:18:11]line ИНН: 02508201610067 [19:18:11]line Контрольно-Кассовый Чек [19:18:11]line ПРОДАЖА [19:18:11]line ТРК (МРК, ГНК) : 32 [19:18:11]line Товар: 2710124130 [19:18:11]line Аи-92-К-5 [19:18:11]line 14.950 * 66.90 [19:18:11]line = 1000.16 [19:18:11]line НДС 12% НСП 1% [19:18:11]line > о реализуемом товаре [19:18:11]line ОКРУГЛЕНИЕ: -0.16 [19:18:11]line ИТОГО: 1000.00 [19:18:11]line Внесено: 1000.00 [19:18:11]line СДАЧА: 0.00 [19:18:11]line НСП 1% : 8.85 [19:18:11]line НДС 12% : 106.21 [19:18:11]line Наличными: 1000.00 [19:18:11]line Безнал.: 0.00 [19:18:11]line Место: АЗС № 165 "Партнер Нефть" [19:18:11]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:18:11]line СНО: Общий режим [19:18:11]line Чек 58 19.10.2024 19:18 [19:18:11]line Смена: 460 ФФД: 1.0 [19:18:11]line ЗНМ: 0300000235 [19:18:11]line РНМ: 0000000000098149 [19:18:11]line Версия ККМ: 001 [19:18:11]line ФМ: 0000000000965372 [19:18:11]line ФД: 37122 [19:18:11]line ФПД: 20706970641796 [19:18:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191812&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37122&fm=20706970641796&tin=02508201610067®Number=0000000000098149&sum=100000 [19:18:11]OFD Sender: Processing packet 37122 [packets to send 25, broken 24] [19:18:11]ProducePacketName [19:18:11]name=ofd_packets/00037122 [19:18:11]OFD Sender: To server: pG, [19:18:11]CommunicateWithHost lk.salyk.kg:30040 [19:18:11]ConnectInit lk.salyk.kg [19:18:11]written 0, free lines is 4095 [19:18:11]Connected sock=10 [19:18: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 33 37 32 0F 01 00 00 D4 81 07 01 70 07 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 F4 05 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 02 91 00 00 35 04 06 00 12 D5 37 A1 25 84 57 31 08 3A 3E 9F 99 6C [19:18:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F5 CC 47 00 B6 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 02 91 00 00 F4 03 04 00 89 AE 13 67 B6 04 01 00 00 5B D9 F6 7B 9F 30 20 26 [19:18:11]CommunicateWithHost err = 0 [19:18:11]CheckOFDResponse [19:18:11]1017 (14) - 77093643461234 [19:18:11]1041 (16) - 0000000000965372 [19:18:11]1040 (4) - 37122 [19:18:11]1012 (4) - 19.10.2024 13:05 [19:18:11]1206 (1) - 0 [19:18:11]OFD Sender: Remove packet 37122 [19:18:11]ProducePacketName [19:18:11]name=ofd_packets/00037122 [19:18:11]NVStorageDeleteData [19:18:12]Write to MH i2c: 01 00 00 79 0A 83 [19:18:12]Write i2c OK [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: 01 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: 01 07 00 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: 01 07 00 79 0A 00 00 00 00 00 F4 0C 8A [19:18:12]RasterBufferAndPrint [19:18:12]line [19:18:12]line [19:18:12]line [19:18:12]line [19:18:12]line [19:18:12]written 0, free lines is 3323 [19:18:12]process_action close_receipt done [19:18:12]requested_data is exist [19:18:12]produce_requested_data [19:18:12]requested_item fm.sn is exist - process it [19:18:12]wFMCommunicate request_size=4 [19:18:12]MH_SAM_APDU [19:18:12]CAPDU: 80 11 00 00 [19:18:12]Write to MH i2c: E2 08 00 80 0A 80 11 00 00 00 00 00 00 04 [19:18:12]Write i2c OK [19:18:12]MH_I2C_Read... [19:18:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:12]Read from MH i2c: E2 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 17 00 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 17 00 80 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 57 [19:18:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:18:12]wFMCommunicate OK [19:18:12]requested_item fd.num is exist - process it [19:18:12]SAM_PROTO_GetFieldsCounters [19:18:12]wFMCommunicate request_size=4 [19:18:12]MH_SAM_APDU [19:18:12]CAPDU: 80 13 00 00 [19:18:12]Write to MH i2c: E2 08 00 81 0A 80 13 00 00 00 00 00 00 07 [19:18:12]Write i2c OK [19:18:12]MH_I2C_Read... [19:18:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:18:12]Read from MH i2c: E2 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 62 00 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 62 00 81 0A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 02 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 3C [19:18:12]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 02 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:18:12]wFMCommunicate OK [19:18:12]SAM_PROTO_GetFieldsCounters done [19:18:12]requested_item shift.num is exist - process it [19:18:12]requested_item shift.opened is exist - process it [19:18:12]req_shift_opened [19:18:12]FM_GetShiftState [19:18:12]SAM_PROTO_GetShiftState [19:18:12]wFMCommunicate request_size=4 [19:18:12]MH_SAM_APDU [19:18:12]CAPDU: 80 13 01 00 [19:18:12]Write to MH i2c: E2 08 00 82 0A 80 13 01 00 00 00 00 00 09 [19:18:12]Write i2c OK [19:18:12]MH_I2C_Read... [19:18:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:12]Read from MH i2c: E2 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 0E 00 [19:18:12]MH_I2C_Read... [19:18:12]Read from MH i2c: E2 0E 00 82 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 23 [19:18:12]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:18:12]wFMCommunicate OK [19:18:12]SAM_PROTO_GetShiftState done [19:18:12]FM_GetShiftState done [19:18:12]req_shift_opened done [19:18:12]requested_item shift.open_date is exist - process it [19:18:12]req_shift_open_date [19:18:12]req_shift_open_date done [19:18:12]produce_requested_data done [19:18:12]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37122,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:18:12]process_action_free close_receipt [19:18:12]json_value_free [19:18:12]json_value_free done [19:18:12]process_json_proto returns [19:18:12]Send response to host [19:18:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37122,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:18:12]free response buf [19:18:12]execute_script done [19:18:12]execute_script returns [19:18:12]free content buf [19:18:12]Sock 7.Close socket [19:18:12]Sock 7.Thread stoped [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:08]accept exits with 9 [19:19:08]New connection [19:19:08]New thread 3066699108 created [19:19:08]Thread 3066555748 joined [19:19:08]Waiting for new connection... [19:19:08] Sock 9.Parse request [19:19:08]Sock 9.Check first char [19:19:08]Sock 9.First char is OK [19:19:08]request: POST /json_proto HTTP/1.0 [19:19:08]Method: POST [19:19:08]URL: /json_proto [19:19:08]Method is POST - this is cgi request [19:19:08]url: /json_proto [19:19:08]query_string will be loaded in cgi processing [19:19:08]execute_cgi json_proto POST (null) [19:19:08]execute_cgi path=json_proto method=POST [19:19:08]POST find Content-Length [19:19:08]Host: 172.17.53.68:8080 [19:19:08]Content-Length: 670 [19:19:08]Content-Type: application/json [19:19:08] [19:19:08]POST finish read [19:19:08]Found Content-Length = 670 [19:19:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874083", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.410, "sum" : 370.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:08]execute_script... [19:19:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874083", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.410, "sum" : 370.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 370.00, "payments": [ { "type": 0, "sum" : 370.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:08]POST & json_proto [19:19:08]process_json_proto [19:19:08]json parsed OK: [19:19:08]protocol is kg_v1.0 [19:19:08]action value=close_receipt [19:19:08]process_action close_receipt [19:19:08]cmd_close_receipt [19:19:08]MH_GetDate [19:19:08]Write to MH i2c: F0 00 00 83 0A 7C [19:19:08]Write i2c OK [19:19:08]MH_I2C_Read... [19:19:08]Read from MH i2c: F0 [19:19:08]MH_I2C_Read... [19:19:08]Read from MH i2c: F0 09 00 [19:19:08]MH_I2C_Read... [19:19:08]Read from MH i2c: F0 09 00 83 0A 00 2F 06 14 67 C5 A4 76 66 7A [19:19:08]GetLastDocTimeStamp 1729365492 [19:19:08]current date 1729365551 [19:19:08]FM_GetShiftState [19:19:08]SAM_PROTO_GetShiftState [19:19:08]wFMCommunicate request_size=4 [19:19:08]MH_SAM_APDU [19:19:08]CAPDU: 80 13 01 00 [19:19:08]Write to MH i2c: E2 08 00 84 0A 80 13 01 00 00 00 00 00 0B [19:19:08]Write i2c OK [19:19:08]MH_I2C_Read... [19:19:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:08]Read from MH i2c: E2 [19:19:08]MH_I2C_Read... [19:19:08]Read from MH i2c: E2 0E 00 [19:19:08]MH_I2C_Read... [19:19:08]Read from MH i2c: E2 0E 00 84 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 25 [19:19:08]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:19:08]wFMCommunicate OK [19:19:08]SAM_PROTO_GetShiftState done [19:19:08]FM_GetShiftState done [19:19:08]opened in 1729296796 [19:19:08]opened+sec_in_day 1729383196 [19:19:08]quantity*price = 37004 [19:19:08]sum+1 = 37005 [19:19:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 370.00 Внесено: 370.00 СДАЧА: 0.00 НСП 1% : 3.27 НДС 12% : 39.30 Наличными: 370.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 59 19.10.2024 19:19 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37123 ФПД: 74282034024349 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191911&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37123&fm=74282034024349&tin=02508201610067®Number=0000000000098149&sum=37000 [19:19:09]StoreToDocumentArchive [19:19:09]shift 460 fd 37123 [19:19:09]save to /storage/0460/doc_00037123 [19:19:09]save last doc name /storage/0460/doc_00037123 to /storage/kkm_last_doc_name [19:19:09]save OK [19:19:09]Clear old archive folders... [19:19:09]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:19:09]tlvbuf is 009A76B0 [19:19:09]SAM_PROTO_ClearQueue [19:19:09]wFMCommunicate request_size=4 [19:19:09]MH_SAM_APDU [19:19:09]CAPDU: 80 09 00 00 [19:19:09]Write to MH i2c: E2 08 00 91 0A 80 09 00 00 00 00 00 00 0D [19:19:09]Write i2c OK [19:19:09]MH_I2C_Read... [19:19:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:19:09]Read from MH i2c: E2 [19:19:09]MH_I2C_Read... [19:19:09]Read from MH i2c: E2 03 00 [19:19:09]MH_I2C_Read... [19:19:09]Read from MH i2c: E2 03 00 91 0A 00 90 00 0F [19:19:09]RAPDU: 90 00 [19:19:09]wFMCommunicate OK [19:19:09]SAM_PROTO_ClearQueue done [19:19:09]KKMCreateOFDPacket [19:19:09]OFDProtocolAddRootSTLVToBuf [19:19:09]FM_MakeSignedData [19:19:09]FM_MakeSignedData [19:19:09]SAM_PROTO_SignData [19:19:09]wFMCommunicate request_size=4 [19:19:09]MH_SAM_APDU [19:19:09]CAPDU: 80 0D 01 02 [19:19:09]Write to MH i2c: E2 08 00 92 0A 80 0D 01 02 00 00 00 00 15 [19:19:09]Write i2c OK [19:19:09]MH_I2C_Read... [19:19:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:19:09]Read from MH i2c: E2 [19:19:09]MH_I2C_Read... [19:19:09]Read from MH i2c: E2 03 00 [19:19:09]MH_I2C_Read... [19:19:09]Read from MH i2c: E2 03 00 92 0A 00 90 00 10 [19:19:09]RAPDU: 90 00 [19:19:09]wFMCommunicate OK [19:19:09]wFMCommunicate request_size=255 [19:19:09]MH_SAM_APDU [19:19:09]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 22 15 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 8C 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 2F 06 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 03 91 00 00 35 04 06 00 [19:19:09]Write to MH i2c: E2 02 01 93 0A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 22 15 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 8C 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 2F 06 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 03 91 00 00 35 04 06 00 00 00 94 [19:19:09]Write i2c OK [19:19:09]MH_I2C_Read... [19:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:10]Read from MH i2c: E2 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 03 00 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 03 00 93 0A 00 90 00 11 [19:19:10]RAPDU: 90 00 [19:19:10]wFMCommunicate OK [19:19:10]wFMCommunicate request_size=11 [19:19:10]MH_SAM_APDU [19:19:10]CAPDU: 80 0D 02 02 06 43 8F 22 40 4F 9D [19:19:10]Write to MH i2c: E2 0E 00 94 0A 80 0D 02 02 06 00 43 8F 22 40 4F 9D 00 00 44 [19:19:10]Write i2c OK [19:19:10]MH_I2C_Read... [19:19:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:10]Read from MH i2c: E2 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 03 00 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 03 00 94 0A 00 90 00 12 [19:19:10]RAPDU: 90 00 [19:19:10]wFMCommunicate OK [19:19:10]wFMCommunicate request_size=4 [19:19:10]MH_SAM_APDU [19:19:10]CAPDU: 80 0D 03 02 [19:19:10]Write to MH i2c: E2 08 00 95 0A 80 0D 03 02 00 00 00 00 1A [19:19:10]Write i2c OK [19:19:10]MH_I2C_Read... [19:19:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:19:10]Read from MH i2c: E2 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 0B 00 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 0B 00 95 0A 00 98 78 1B 32 5E FE FA 65 90 00 33 [19:19:10]RAPDU: 98 78 1B 32 5E FE FA 65 90 00 [19:19:10]wFMCommunicate OK [19:19:10]SAM_PROTO_SignData done [19:19:10]FM_MakeSignedData done [19:19:10]CreateOFDProtocolMessage [19:19:10]wFMCommunicate request_size=4 [19:19:10]MH_SAM_APDU [19:19:10]CAPDU: 80 11 00 00 [19:19:10]Write to MH i2c: E2 08 00 96 0A 80 11 00 00 00 00 00 00 1A [19:19:10]Write i2c OK [19:19:10]MH_I2C_Read... [19:19:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:10]Read from MH i2c: E2 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 17 00 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: E2 17 00 96 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6D [19:19:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:19:10]wFMCommunicate OK [19:19:10]CreateOFDProtocolMessage done [19:19:10]OFDSenderStorePacket 37123 [19:19:10]StoreOFDPacket docnum=37123 [19:19:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 40 8E 08 01 4A 2A 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 22 15 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 8C 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 2F 06 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 03 91 00 00 35 04 06 00 43 8F 22 40 4F 9D 98 78 1B 32 5E FE FA 65 [19:19:10]CheckFolder [19:19:10]dirname=/storage/ofd_packets [19:19:10]CheckFolder done [19:19:10]ProducePacketName [19:19:10]name=ofd_packets/00037123 [19:19:10]NVStorageSaveData ofd_packets/00037123 [19:19:10]File name is /storage/ofd_packets/00037123 [19:19:10]Write 302 bytes [19:19:10]NVStorageSaveData done [19:19:10]OFDSenderStorePacket done [19:19:10]KKMCreateOFDPacket done [19:19:10]NVStorageSaveData kkm_last_timestamp [19:19:10]File name is /storage/kkm_last_timestamp [19:19:10]Write 4 bytes [19:19:10]NVStorageSaveData done [19:19:10]ExternCall_PrintAddStr [19:19:10]wPrintStart [19:19:10]Write to MH i2c: 01 00 00 97 0A A1 [19:19:10]Write i2c OK [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: 01 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: 01 07 00 [19:19:10]MH_I2C_Read... [19:19:10]Read from MH i2c: 01 07 00 97 0A 00 00 00 00 00 FF 0F B6 [19:19:10]RasterBufferAndPrint [19:19:10]line Счет N : (1)874083 [19:19:10]line ИНН: 02508201610067 [19:19:10]line Контрольно-Кассовый Чек [19:19:10]line ПРОДАЖА [19:19:10]line ТРК (МРК, ГНК) : 13 [19:19:10]line Товар: 2710124130 [19:19:10]line Super 92-К-5 [19:19:10]line 5.410 * 68.40 [19:19:10]line = 370.04 [19:19:10]line НДС 12% НСП 1% [19:19:10]line > о реализуемом товаре [19:19:10]line ОКРУГЛЕНИЕ: -0.04 [19:19:10]line ИТОГО: 370.00 [19:19:10]line Внесено: 370.00 [19:19:10]line СДАЧА: 0.00 [19:19:10]line НСП 1% : 3.27 [19:19:10]line НДС 12% : 39.30 [19:19:10]line Наличными: 370.00 [19:19:10]line Безнал.: 0.00 [19:19:10]line Место: АЗС № 165 "Партнер Нефть" [19:19:10]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:19:10]line СНО: Общий режим [19:19:10]line Чек 59 19.10.2024 19:19 [19:19:10]line Смена: 460 ФФД: 1.0 [19:19:10]line ЗНМ: 0300000235 [19:19:10]line РНМ: 0000000000098149 [19:19:10]line Версия ККМ: 001 [19:19:10]line ФМ: 0000000000965372 [19:19:10]line ФД: 37123 [19:19:10]line ФПД: 74282034024349 [19:19:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T191911&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37123&fm=74282034024349&tin=02508201610067®Number=0000000000098149&sum=37000 [19:19:10]OFD Sender: Processing packet 37123 [packets to send 25, broken 24] [19:19:10]ProducePacketName [19:19:10]name=ofd_packets/00037123 [19:19:10]OFD Sender: To server: pG, [19:19:10]CommunicateWithHost lk.salyk.kg:30040 [19:19:10]ConnectInit lk.salyk.kg [19:19:10]written 0, free lines is 4095 [19:19:10]Connected sock=10 [19:19:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 40 8E 08 01 4A 2A 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 22 15 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 8C 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0F 00 00 00 00 07 04 06 00 88 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 2F 06 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 03 91 00 00 35 04 06 00 43 8F 22 40 4F 9D 98 78 1B 32 5E FE FA 65 [19:19:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 55 95 47 00 E0 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 33 37 32 10 04 04 00 03 91 00 00 F4 03 04 00 C4 AE 13 67 B6 04 01 00 00 08 F6 F4 2F C9 1E 89 EF [19:19:10]CommunicateWithHost err = 0 [19:19:10]CheckOFDResponse [19:19:10]1017 (14) - 77093643461234 [19:19:10]1041 (16) - 0000000000965372 [19:19:10]1040 (4) - 37123 [19:19:10]1012 (4) - 19.10.2024 13:06 [19:19:10]1206 (1) - 0 [19:19:10]OFD Sender: Remove packet 37123 [19:19:10]ProducePacketName [19:19:10]name=ofd_packets/00037123 [19:19:10]NVStorageDeleteData [19:19:11]Write to MH i2c: 01 00 00 C2 0A CC [19:19:11]Write i2c OK [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: 01 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: 01 07 00 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: 01 07 00 C2 0A 00 00 00 00 00 EC 0C CB [19:19:11]RasterBufferAndPrint [19:19:11]line [19:19:11]line [19:19:11]line [19:19:11]line [19:19:11]line [19:19:11]written 0, free lines is 3314 [19:19:11]process_action close_receipt done [19:19:11]requested_data is exist [19:19:11]produce_requested_data [19:19:11]requested_item fm.sn is exist - process it [19:19:11]wFMCommunicate request_size=4 [19:19:11]MH_SAM_APDU [19:19:11]CAPDU: 80 11 00 00 [19:19:11]Write to MH i2c: E2 08 00 C9 0A 80 11 00 00 00 00 00 00 4D [19:19:11]Write i2c OK [19:19:11]MH_I2C_Read... [19:19:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:11]Read from MH i2c: E2 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 17 00 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 17 00 C9 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A0 [19:19:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:19:11]wFMCommunicate OK [19:19:11]requested_item fd.num is exist - process it [19:19:11]SAM_PROTO_GetFieldsCounters [19:19:11]wFMCommunicate request_size=4 [19:19:11]MH_SAM_APDU [19:19:11]CAPDU: 80 13 00 00 [19:19:11]Write to MH i2c: E2 08 00 CA 0A 80 13 00 00 00 00 00 00 50 [19:19:11]Write i2c OK [19:19:11]MH_I2C_Read... [19:19:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:19:11]Read from MH i2c: E2 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 62 00 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 62 00 CA 0A 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 03 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [19:19:11]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 03 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:19:11]wFMCommunicate OK [19:19:11]SAM_PROTO_GetFieldsCounters done [19:19:11]requested_item shift.num is exist - process it [19:19:11]requested_item shift.opened is exist - process it [19:19:11]req_shift_opened [19:19:11]FM_GetShiftState [19:19:11]SAM_PROTO_GetShiftState [19:19:11]wFMCommunicate request_size=4 [19:19:11]MH_SAM_APDU [19:19:11]CAPDU: 80 13 01 00 [19:19:11]Write to MH i2c: E2 08 00 CB 0A 80 13 01 00 00 00 00 00 52 [19:19:11]Write i2c OK [19:19:11]MH_I2C_Read... [19:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:11]Read from MH i2c: E2 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 0E 00 [19:19:11]MH_I2C_Read... [19:19:11]Read from MH i2c: E2 0E 00 CB 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6C [19:19:11]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:19:11]wFMCommunicate OK [19:19:11]SAM_PROTO_GetShiftState done [19:19:11]FM_GetShiftState done [19:19:11]req_shift_opened done [19:19:11]requested_item shift.open_date is exist - process it [19:19:11]req_shift_open_date [19:19:11]req_shift_open_date done [19:19:11]produce_requested_data done [19:19:11]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37123,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:19:11]process_action_free close_receipt [19:19:11]json_value_free [19:19:11]json_value_free done [19:19:11]process_json_proto returns [19:19:11]Send response to host [19:19:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37123,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:19:11]free response buf [19:19:11]execute_script done [19:19:11]execute_script returns [19:19:11]free content buf [19:19:11]Sock 9.Close socket [19:19:11]Sock 9.Thread stoped [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: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]accept exits with 7 [19:25:26]New connection [19:25:26]New thread 3066555748 created [19:25:26]Thread 3066699108 joined [19:25:26]Waiting for new connection... [19:25:26] Sock 7.Parse request [19:25:26]Sock 7.Check first char [19:25:26]Sock 7.First char is OK [19:25:26]request: POST /json_proto HTTP/1.0 [19:25:26]Method: POST [19:25:26]URL: /json_proto [19:25:26]Method is POST - this is cgi request [19:25:26]url: /json_proto [19:25:26]query_string will be loaded in cgi processing [19:25:26]execute_cgi json_proto POST (null) [19:25:26]execute_cgi path=json_proto method=POST [19:25:26]POST find Content-Length [19:25:26]Host: 172.17.53.68:8080 [19:25:26]Content-Length: 766 [19:25:26]Content-Type: application/json [19:25:26] [19:25:26]POST finish read [19:25:26]Found Content-Length = 766 [19:25:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874087", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 5.400, "sum" : 400.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 400.68 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:25:26]execute_script... [19:25:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874087", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 5.400, "sum" : 400.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 400.68 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:25:26]POST & json_proto [19:25:26]process_json_proto [19:25:26]json parsed OK: [19:25:26]protocol is kg_v1.0 [19:25:26]action value=close_receipt [19:25:26]process_action close_receipt [19:25:26]cmd_close_receipt [19:25:26]MH_GetDate [19:25:26]Write to MH i2c: F0 00 00 CC 0A C5 [19:25:26]Write i2c OK [19:25:26]MH_I2C_Read... [19:25:26]Read from MH i2c: F0 [19:25:26]MH_I2C_Read... [19:25:26]Read from MH i2c: F0 09 00 [19:25:26]MH_I2C_Read... [19:25:26]Read from MH i2c: F0 09 00 CC 0A 00 A9 07 14 67 C5 A4 76 66 3E [19:25:26]GetLastDocTimeStamp 1729365551 [19:25:26]current date 1729365929 [19:25:26]FM_GetShiftState [19:25:26]SAM_PROTO_GetShiftState [19:25:26]wFMCommunicate request_size=4 [19:25:26]MH_SAM_APDU [19:25:26]CAPDU: 80 13 01 00 [19:25:26]Write to MH i2c: E2 08 00 CD 0A 80 13 01 00 00 00 00 00 54 [19:25:26]Write i2c OK [19:25:26]MH_I2C_Read... [19:25:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:25:26]Read from MH i2c: E2 [19:25:26]MH_I2C_Read... [19:25:26]Read from MH i2c: E2 0E 00 [19:25:26]MH_I2C_Read... [19:25:26]Read from MH i2c: E2 0E 00 CD 0A 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6E [19:25:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:25:26]wFMCommunicate OK [19:25:26]SAM_PROTO_GetShiftState done [19:25:26]FM_GetShiftState done [19:25:26]opened in 1729296796 [19:25:26]opened+sec_in_day 1729383196 [19:25:26]quantity*price = 40068 [19:25:26]sum+1 = 40069 [19:25:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.68 НСП 1% : 3.55 НДС 12% : 42.55 Наличными: 0.00 Безнал.: 400.68 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 60 19.10.2024 19:25 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37124 ФПД: 173091558298034 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T192529&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37124&fm=173091558298034&tin=02508201610067®Number=0000000000098149&sum=40068 [19:25:27]StoreToDocumentArchive [19:25:27]shift 460 fd 37124 [19:25:27]save to /storage/0460/doc_00037124 [19:25:27]save last doc name /storage/0460/doc_00037124 to /storage/kkm_last_doc_name [19:25:27]save OK [19:25:27]Clear old archive folders... [19:25:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:25:27]tlvbuf is 009A3470 [19:25:27]SAM_PROTO_ClearQueue [19:25:27]wFMCommunicate request_size=4 [19:25:27]MH_SAM_APDU [19:25:27]CAPDU: 80 09 00 00 [19:25:27]Write to MH i2c: E2 08 00 DA 0A 80 09 00 00 00 00 00 00 56 [19:25:27]Write i2c OK [19:25:27]MH_I2C_Read... [19:25:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:25:27]Read from MH i2c: E2 [19:25:27]MH_I2C_Read... [19:25:27]Read from MH i2c: E2 03 00 [19:25:27]MH_I2C_Read... [19:25:27]Read from MH i2c: E2 03 00 DA 0A 00 90 00 58 [19:25:27]RAPDU: 90 00 [19:25:27]wFMCommunicate OK [19:25:27]SAM_PROTO_ClearQueue done [19:25:27]KKMCreateOFDPacket [19:25:27]OFDProtocolAddRootSTLVToBuf [19:25:27]FM_MakeSignedData [19:25:27]FM_MakeSignedData [19:25:27]SAM_PROTO_SignData [19:25:27]wFMCommunicate request_size=4 [19:25:27]MH_SAM_APDU [19:25:27]CAPDU: 80 0D 01 02 [19:25:27]Write to MH i2c: E2 08 00 DB 0A 80 0D 01 02 00 00 00 00 5E [19:25:27]Write i2c OK [19:25:27]MH_I2C_Read... [19:25:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:25:27]Read from MH i2c: E2 [19:25:27]MH_I2C_Read... [19:25:27]Read from MH i2c: E2 03 00 [19:25:27]MH_I2C_Read... [19:25:27]Read from MH i2c: E2 03 00 DB 0A 00 90 00 59 [19:25:27]RAPDU: 90 00 [19:25:27]wFMCommunicate OK [19:25:27]wFMCommunicate request_size=255 [19:25:27]MH_SAM_APDU [19:25:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A9 07 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 04 91 00 00 35 04 06 00 9D [19:25:27]Write to MH i2c: E2 02 01 DC 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A9 07 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 04 91 00 00 35 04 06 00 9D 00 00 90 [19:25:27]Write i2c OK [19:25:27]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:25:28]Read from MH i2c: E2 03 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 03 00 DC 0A 00 90 00 5A [19:25:28]RAPDU: 90 00 [19:25:28]wFMCommunicate OK [19:25:28]wFMCommunicate request_size=10 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 0D 02 02 05 6D 04 D8 91 B2 [19:25:28]Write to MH i2c: E2 0D 00 DD 0A 80 0D 02 02 05 00 6D 04 D8 91 B2 00 00 F7 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 03 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 03 00 DD 0A 00 90 00 5B [19:25:28]RAPDU: 90 00 [19:25:28]wFMCommunicate OK [19:25:28]wFMCommunicate request_size=4 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 0D 03 02 [19:25:28]Write to MH i2c: E2 08 00 DE 0A 80 0D 03 02 00 00 00 00 63 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 0B 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 0B 00 DE 0A 00 91 C3 E2 E1 9E 6A 58 E6 90 00 C1 [19:25:28]RAPDU: 91 C3 E2 E1 9E 6A 58 E6 90 00 [19:25:28]wFMCommunicate OK [19:25:28]SAM_PROTO_SignData done [19:25:28]FM_MakeSignedData done [19:25:28]CreateOFDProtocolMessage [19:25:28]wFMCommunicate request_size=4 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 11 00 00 [19:25:28]Write to MH i2c: E2 08 00 DF 0A 80 11 00 00 00 00 00 00 63 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 17 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 17 00 DF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B6 [19:25:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:25:28]wFMCommunicate OK [19:25:28]CreateOFDProtocolMessage done [19:25:28]OFDSenderStorePacket 37124 [19:25:28]StoreOFDPacket docnum=37124 [19:25:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 82 27 07 01 A6 27 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A9 07 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 04 91 00 00 35 04 06 00 9D 6D 04 D8 91 B2 91 C3 E2 E1 9E 6A 58 E6 [19:25:28]CheckFolder [19:25:28]dirname=/storage/ofd_packets [19:25:28]CheckFolder done [19:25:28]ProducePacketName [19:25:28]name=ofd_packets/00037124 [19:25:28]NVStorageSaveData ofd_packets/00037124 [19:25:28]File name is /storage/ofd_packets/00037124 [19:25:28]Write 301 bytes [19:25:28]NVStorageSaveData done [19:25:28]OFDSenderStorePacket done [19:25:28]KKMCreateOFDPacket done [19:25:28]NVStorageSaveData kkm_last_timestamp [19:25:28]File name is /storage/kkm_last_timestamp [19:25:28]Write 4 bytes [19:25:28]NVStorageSaveData done [19:25:28]ExternCall_PrintAddStr [19:25:28]wPrintStart [19:25:28]Write to MH i2c: 01 00 00 E0 0A EA [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 07 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 07 00 E0 0A 00 00 00 00 00 FF 0F FF [19:25:28]RasterBufferAndPrint [19:25:28]line Счет N : (1)874087 [19:25:28]line ИНН: 02508201610067 [19:25:28]line Контрольно-Кассовый Чек [19:25:28]line ПРОДАЖА [19:25:28]line ТРК (МРК, ГНК) : 31 [19:25:28]line Товар: 2710124500 [19:25:28]line Аи-95-К-5 [19:25:28]line 5.400 * 74.20 [19:25:28]line = 400.68 [19:25:28]line НДС 12% НСП 1% [19:25:28]line > о реализуемом товаре [19:25:28]line ИТОГО: 400.68 [19:25:28]line НСП 1% : 3.55 [19:25:28]line НДС 12% : 42.55 [19:25:28]line Наличными: 0.00 [19:25:28]line Безнал.: 400.68 [19:25:28]line Место: АЗС № 165 "Партнер Нефть" [19:25:28]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:25:28]line СНО: Общий режим [19:25:28]line Чек 60 19.10.2024 19:25 [19:25:28]line Смена: 460 ФФД: 1.0 [19:25:28]line ЗНМ: 0300000235 [19:25:28]line РНМ: 0000000000098149 [19:25:28]line Версия ККМ: 001 [19:25:28]line Платежная система: Mbank [19:25:28]line ФМ: 0000000000965372 [19:25:28]line ФД: 37124 [19:25:28]line ФПД: 173091558298034 [19:25:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T192529&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37124&fm=173091558298034&tin=02508201610067®Number=0000000000098149&sum=40068 [19:25:28]written 0, free lines is 4095 [19:25:28]OFD Sender: Processing packet 37124 [packets to send 25, broken 24] [19:25:28]ProducePacketName [19:25:28]name=ofd_packets/00037124 [19:25:28]OFD Sender: To server: pG, [19:25:28]CommunicateWithHost lk.salyk.kg:30040 [19:25:28]ConnectInit lk.salyk.kg [19:25:28]Connected sock=10 [19:25: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 33 37 32 0F 01 00 00 82 27 07 01 A6 27 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 15 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 84 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A9 07 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 04 91 00 00 35 04 06 00 9D 6D 04 D8 91 B2 91 C3 E2 E1 9E 6A 58 E6 [19:25:28]Write to MH i2c: 01 00 00 09 0B 14 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 07 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: 01 07 00 09 0B 00 00 00 00 00 10 0D 38 [19:25:28]RasterBufferAndPrint [19:25:28]line [19:25:28]line [19:25:28]line [19:25:28]line [19:25:28]line [19:25:28]written 0, free lines is 3350 [19:25:28]process_action close_receipt done [19:25:28]requested_data is exist [19:25:28]produce_requested_data [19:25:28]requested_item fm.sn is exist - process it [19:25:28]wFMCommunicate request_size=4 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 11 00 00 [19:25:28]Write to MH i2c: E2 08 00 10 0B 80 11 00 00 00 00 00 00 95 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 17 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 17 00 10 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E8 [19:25:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:25:28]wFMCommunicate OK [19:25:28]requested_item fd.num is exist - process it [19:25:28]SAM_PROTO_GetFieldsCounters [19:25:28]wFMCommunicate request_size=4 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 13 00 00 [19:25:28]Write to MH i2c: E2 08 00 11 0B 80 13 00 00 00 00 00 00 98 [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 62 00 [19:25:28]MH_I2C_Read... [19:25:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 7B E2 47 00 58 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 04 91 00 00 F4 03 04 00 3E B0 13 67 B6 04 01 00 00 04 A6 AF F6 30 CB FC EF [19:25:28]CommunicateWithHost err = 0 [19:25:28]CheckOFDResponse [19:25:28]1017 (14) - 77093643461234 [19:25:28]1041 (16) - 0000000000965372 [19:25:28]1040 (4) - 37124 [19:25:28]1012 (4) - 19.10.2024 13:12 [19:25:28]1206 (1) - 0 [19:25:28]OFD Sender: Remove packet 37124 [19:25:28]ProducePacketName [19:25:28]name=ofd_packets/00037124 [19:25:28]NVStorageDeleteData [19:25:28]Read from MH i2c: E2 62 00 11 0B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 04 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [19:25:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 04 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:25:28]wFMCommunicate OK [19:25:28]SAM_PROTO_GetFieldsCounters done [19:25:28]requested_item shift.num is exist - process it [19:25:28]requested_item shift.opened is exist - process it [19:25:28]req_shift_opened [19:25:28]FM_GetShiftState [19:25:28]SAM_PROTO_GetShiftState [19:25:28]wFMCommunicate request_size=4 [19:25:28]MH_SAM_APDU [19:25:28]CAPDU: 80 13 01 00 [19:25:28]Write to MH i2c: E2 08 00 12 0B 80 13 01 00 00 00 00 00 9A [19:25:28]Write i2c OK [19:25:28]MH_I2C_Read... [19:25:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:25:28]Read from MH i2c: E2 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 0E 00 [19:25:28]MH_I2C_Read... [19:25:28]Read from MH i2c: E2 0E 00 12 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B4 [19:25:28]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:25:28]wFMCommunicate OK [19:25:28]SAM_PROTO_GetShiftState done [19:25:28]FM_GetShiftState done [19:25:28]req_shift_opened done [19:25:28]requested_item shift.open_date is exist - process it [19:25:28]req_shift_open_date [19:25:28]req_shift_open_date done [19:25:28]produce_requested_data done [19:25:28]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37124,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:25:28]process_action_free close_receipt [19:25:28]json_value_free [19:25:28]json_value_free done [19:25:28]process_json_proto returns [19:25:28]Send response to host [19:25:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37124,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:25:28]free response buf [19:25:28]execute_script done [19:25:28]execute_script returns [19:25:28]free content buf [19:25:28]Sock 7.Close socket [19:25:28]Sock 7.Thread stoped [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27:54]OFD Sender: No OFD packet to send [19:27:59]OFD Sender: No OFD packet to send [19:28:04]OFD Sender: No OFD packet to send [19:28:09]OFD Sender: No OFD packet to send [19:28:14]OFD Sender: No OFD packet to send [19:28:19]OFD Sender: No OFD packet to send [19:28:24]OFD Sender: No OFD packet to send [19:28:29]OFD Sender: No OFD packet to send [19:28:34]OFD Sender: No OFD packet to send [19:28:39]OFD Sender: No OFD packet to send [19:28:44]OFD Sender: No OFD packet to send [19:28:49]OFD Sender: No OFD packet to send [19:28:54]OFD Sender: No OFD packet to send [19:28:59]OFD Sender: No OFD packet to send [19:29:04]OFD Sender: No OFD packet to send [19:29:09]OFD Sender: No OFD packet to send [19:29:14]OFD Sender: No OFD packet to send [19:29:19]OFD Sender: No OFD packet to send [19:29:24]OFD Sender: No OFD packet to send [19:29:29]OFD Sender: No OFD packet to send [19:29:34]OFD Sender: No OFD packet to send [19:29:39]OFD Sender: No OFD packet to send [19:29:44]OFD Sender: No OFD packet to send [19:29:49]OFD Sender: No OFD packet to send [19:29:54]OFD Sender: No OFD packet to send [19:29:59]OFD Sender: No OFD packet to send [19:30:04]OFD Sender: No OFD packet to send [19:30:09]OFD Sender: No OFD packet to send [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:30:58]accept exits with 9 [19:30:58]New connection [19:30:58]New thread 3066699108 created [19:30:58]Thread 3066555748 joined [19:30:58]Waiting for new connection... [19:30:58] Sock 9.Parse request [19:30:58]Sock 9.Check first char [19:30:58]Sock 9.First char is OK [19:30:58]request: POST /json_proto HTTP/1.0 [19:30:58]Method: POST [19:30:58]URL: /json_proto [19:30:58]Method is POST - this is cgi request [19:30:58]url: /json_proto [19:30:58]query_string will be loaded in cgi processing [19:30:58]execute_cgi json_proto POST (null) [19:30:58]execute_cgi path=json_proto method=POST [19:30:58]POST find Content-Length [19:30:58]Host: 172.17.53.68:8080 [19:30:58]Content-Length: 769 [19:30:58]Content-Type: application/json [19:30:58] [19:30:58]POST finish read [19:30:58]Found Content-Length = 769 [19:30:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 131.240, "sum" : 10000.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 10000.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:58]execute_script... [19:30:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874089", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 131.240, "sum" : 10000.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 10000.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:58]POST & json_proto [19:30:58]process_json_proto [19:30:58]json parsed OK: [19:30:58]protocol is kg_v1.0 [19:30:58]action value=close_receipt [19:30:58]process_action close_receipt [19:30:58]cmd_close_receipt [19:30:58]MH_GetDate [19:30:58]Write to MH i2c: F0 00 00 13 0B 0D [19:30:58]Write i2c OK [19:30:58]MH_I2C_Read... [19:30:58]Read from MH i2c: F0 [19:30:58]MH_I2C_Read... [19:30:58]Read from MH i2c: F0 09 00 [19:30:58]MH_I2C_Read... [19:30:58]Read from MH i2c: F0 09 00 13 0B 00 F5 08 14 67 C5 A4 76 66 D3 [19:30:58]GetLastDocTimeStamp 1729365929 [19:30:58]current date 1729366261 [19:30:58]FM_GetShiftState [19:30:58]SAM_PROTO_GetShiftState [19:30:58]wFMCommunicate request_size=4 [19:30:58]MH_SAM_APDU [19:30:58]CAPDU: 80 13 01 00 [19:30:58]Write to MH i2c: E2 08 00 14 0B 80 13 01 00 00 00 00 00 9C [19:30:58]Write i2c OK [19:30:58]MH_I2C_Read... [19:30:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:58]Read from MH i2c: E2 [19:30:58]MH_I2C_Read... [19:30:58]Read from MH i2c: E2 0E 00 [19:30:58]MH_I2C_Read... [19:30:58]Read from MH i2c: E2 0E 00 14 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B6 [19:30:58]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:30:58]wFMCommunicate OK [19:30:58]SAM_PROTO_GetShiftState done [19:30:58]FM_GetShiftState done [19:30:58]opened in 1729296796 [19:30:58]opened+sec_in_day 1729383196 [19:30:58]quantity*price = 1000048 [19:30:58]sum+1 = 1000050 [19:30:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10000.49 НСП 1% : 88.50 НДС 12% : 1062.00 Наличными: 0.00 Безнал.: 10000.49 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 61 19.10.2024 19:31 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37125 ФПД: 194182219699157 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193102&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37125&fm=194182219699157&tin=02508201610067®Number=0000000000098149&sum=1000049 [19:30:59]StoreToDocumentArchive [19:30:59]shift 460 fd 37125 [19:30:59]save to /storage/0460/doc_00037125 [19:30:59]save last doc name /storage/0460/doc_00037125 to /storage/kkm_last_doc_name [19:30:59]save OK [19:30:59]Clear old archive folders... [19:30:59]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:30:59]tlvbuf is 009AD270 [19:30:59]SAM_PROTO_ClearQueue [19:30:59]wFMCommunicate request_size=4 [19:30:59]MH_SAM_APDU [19:30:59]CAPDU: 80 09 00 00 [19:30:59]Write to MH i2c: E2 08 00 21 0B 80 09 00 00 00 00 00 00 9E [19:30:59]Write i2c OK [19:30:59]MH_I2C_Read... [19:30:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:59]Read from MH i2c: E2 [19:30:59]MH_I2C_Read... [19:30:59]Read from MH i2c: E2 03 00 [19:30:59]MH_I2C_Read... [19:30:59]Read from MH i2c: E2 03 00 21 0B 00 90 00 A0 [19:30:59]RAPDU: 90 00 [19:30:59]wFMCommunicate OK [19:30:59]SAM_PROTO_ClearQueue done [19:30:59]KKMCreateOFDPacket [19:30:59]OFDProtocolAddRootSTLVToBuf [19:30:59]FM_MakeSignedData [19:30:59]FM_MakeSignedData [19:30:59]SAM_PROTO_SignData [19:30:59]wFMCommunicate request_size=4 [19:30:59]MH_SAM_APDU [19:30:59]CAPDU: 80 0D 01 02 [19:30:59]Write to MH i2c: E2 08 00 22 0B 80 0D 01 02 00 00 00 00 A6 [19:30:59]Write i2c OK [19:30:59]MH_I2C_Read... [19:30:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:59]Read from MH i2c: E2 [19:30:59]MH_I2C_Read... [19:30:59]Read from MH i2c: E2 03 00 [19:30:59]MH_I2C_Read... [19:30:59]Read from MH i2c: E2 03 00 22 0B 00 90 00 A1 [19:30:59]RAPDU: 90 00 [19:30:59]wFMCommunicate OK [19:30:59]wFMCommunicate request_size=255 [19:30:59]MH_SAM_APDU [19:30:59]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 F6 08 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 05 91 00 00 35 04 06 00 B0 9B 92 3A [19:31:00]Write to MH i2c: E2 02 01 23 0B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 F6 08 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 05 91 00 00 35 04 06 00 B0 9B 92 3A 00 00 32 [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:00]Read from MH i2c: E2 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 03 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 03 00 23 0B 00 90 00 A2 [19:31:00]RAPDU: 90 00 [19:31:00]wFMCommunicate OK [19:31:00]wFMCommunicate request_size=7 [19:31:00]MH_SAM_APDU [19:31:00]CAPDU: 80 0D 02 02 02 13 D5 [19:31:00]Write to MH i2c: E2 0A 00 24 0B 80 0D 02 02 02 00 13 D5 00 00 95 [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:31:00]Read from MH i2c: E2 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 03 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 03 00 24 0B 00 90 00 A3 [19:31:00]RAPDU: 90 00 [19:31:00]wFMCommunicate OK [19:31:00]wFMCommunicate request_size=4 [19:31:00]MH_SAM_APDU [19:31:00]CAPDU: 80 0D 03 02 [19:31:00]Write to MH i2c: E2 08 00 25 0B 80 0D 03 02 00 00 00 00 AB [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:31:00]Read from MH i2c: E2 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 0B 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 0B 00 25 0B 00 95 E6 D5 67 E5 D5 84 57 90 00 F8 [19:31:00]RAPDU: 95 E6 D5 67 E5 D5 84 57 90 00 [19:31:00]wFMCommunicate OK [19:31:00]SAM_PROTO_SignData done [19:31:00]FM_MakeSignedData done [19:31:00]CreateOFDProtocolMessage [19:31:00]wFMCommunicate request_size=4 [19:31:00]MH_SAM_APDU [19:31:00]CAPDU: 80 11 00 00 [19:31:00]Write to MH i2c: E2 08 00 26 0B 80 11 00 00 00 00 00 00 AB [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:00]Read from MH i2c: E2 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 17 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 17 00 26 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FE [19:31:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:31:00]wFMCommunicate OK [19:31:00]CreateOFDProtocolMessage done [19:31:00]OFDSenderStorePacket 37125 [19:31:00]StoreOFDPacket docnum=37125 [19:31:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0C 01 00 00 9D 8A 04 01 36 77 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 F6 08 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 05 91 00 00 35 04 06 00 B0 9B 92 3A 13 D5 95 E6 D5 67 E5 D5 84 57 [19:31:00]CheckFolder [19:31:00]dirname=/storage/ofd_packets [19:31:00]CheckFolder done [19:31:00]ProducePacketName [19:31:00]name=ofd_packets/00037125 [19:31:00]NVStorageSaveData ofd_packets/00037125 [19:31:00]File name is /storage/ofd_packets/00037125 [19:31:00]Write 298 bytes [19:31:00]NVStorageSaveData done [19:31:00]OFDSenderStorePacket done [19:31:00]KKMCreateOFDPacket done [19:31:00]NVStorageSaveData kkm_last_timestamp [19:31:00]File name is /storage/kkm_last_timestamp [19:31:00]Write 4 bytes [19:31:00]NVStorageSaveData done [19:31:00]ExternCall_PrintAddStr [19:31:00]wPrintStart [19:31:00]Write to MH i2c: 01 00 00 27 0B 32 [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: 01 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: 01 07 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: 01 07 00 27 0B 00 00 00 00 00 FF 0F 47 [19:31:00]RasterBufferAndPrint [19:31:00]line Счет N : (1)874089 [19:31:00]line ИНН: 02508201610067 [19:31:00]line Контрольно-Кассовый Чек [19:31:00]line ПРОДАЖА [19:31:00]line ТРК (МРК, ГНК) : 14 [19:31:00]line Товар: 2710194210 [19:31:00]line ДТ-К-2 [19:31:00]line 131.240 * 76.20 [19:31:00]line = 10000.49 [19:31:00]line НДС 12% НСП 1% [19:31:00]line > о реализуемом товаре [19:31:00]line ИТОГО: 10000.49 [19:31:00]line НСП 1% : 88.50 [19:31:00]line НДС 12% : 1062.00 [19:31:00]line Наличными: 0.00 [19:31:00]line Безнал.: 10000.49 [19:31:00]line Место: АЗС № 165 "Партнер Нефть" [19:31:00]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:31:00]line СНО: Общий режим [19:31:00]line Чек 61 19.10.2024 19:31 [19:31:00]line Смена: 460 ФФД: 1.0 [19:31:00]line ЗНМ: 0300000235 [19:31:00]line РНМ: 0000000000098149 [19:31:00]line Версия ККМ: 001 [19:31:00]line Платежная система: Mbank [19:31:00]line ФМ: 0000000000965372 [19:31:00]line ФД: 37125 [19:31:00]line ФПД: 194182219699157 [19:31:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193102&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37125&fm=194182219699157&tin=02508201610067®Number=0000000000098149&sum=1000049 [19:31:00]written 0, free lines is 4095 [19:31:00]OFD Sender: Processing packet 37125 [packets to send 25, broken 24] [19:31:00]ProducePacketName [19:31:00]name=ofd_packets/00037125 [19:31:00]OFD Sender: To server: pG, [19:31:00]CommunicateWithHost lk.salyk.kg:30040 [19:31:00]ConnectInit lk.salyk.kg [19:31:00]Connected sock=11 [19:31: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 33 37 32 0C 01 00 00 9D 8A 04 01 36 77 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 71 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 71 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 F6 08 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 05 91 00 00 35 04 06 00 B0 9B 92 3A 13 D5 95 E6 D5 67 E5 D5 84 57 [19:31:00]Write to MH i2c: 01 00 00 50 0B 5B [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 6D 89 47 00 FA 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 33 37 32 10 04 04 00 05 91 00 00 F4 03 04 00 8A B1 13 67 B6 04 01 00 00 66 3E 8D 76 22 31 F8 67 [19:31:00]CommunicateWithHost err = 0 [19:31:00]CheckOFDResponse [19:31:00]1017 (14) - 77093643461234 [19:31:00]1041 (16) - 0000000000965372 [19:31:00]1040 (4) - 37125 [19:31:00]1012 (4) - 19.10.2024 13:18 [19:31:00]1206 (1) - 0 [19:31:00]OFD Sender: Remove packet 37125 [19:31:00]ProducePacketName [19:31:00]name=ofd_packets/00037125 [19:31:00]NVStorageDeleteData [19:31:00]Read from MH i2c: 01 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: 01 07 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: 01 07 00 50 0B 00 00 00 00 00 09 0D 78 [19:31:00]RasterBufferAndPrint [19:31:00]line [19:31:00]line [19:31:00]line [19:31:00]line [19:31:00]line [19:31:00]written 0, free lines is 3348 [19:31:00]process_action close_receipt done [19:31:00]requested_data is exist [19:31:00]produce_requested_data [19:31:00]requested_item fm.sn is exist - process it [19:31:00]wFMCommunicate request_size=4 [19:31:00]MH_SAM_APDU [19:31:00]CAPDU: 80 11 00 00 [19:31:00]Write to MH i2c: E2 08 00 57 0B 80 11 00 00 00 00 00 00 DC [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:31:00]Read from MH i2c: E2 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 17 00 [19:31:00]MH_I2C_Read... [19:31:00]Read from MH i2c: E2 17 00 57 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 2F [19:31:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:31:00]wFMCommunicate OK [19:31:00]requested_item fd.num is exist - process it [19:31:00]SAM_PROTO_GetFieldsCounters [19:31:00]wFMCommunicate request_size=4 [19:31:00]MH_SAM_APDU [19:31:00]CAPDU: 80 13 00 00 [19:31:00]Write to MH i2c: E2 08 00 58 0B 80 13 00 00 00 00 00 00 DF [19:31:00]Write i2c OK [19:31:00]MH_I2C_Read... [19:31:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:31:01]Read from MH i2c: E2 [19:31:01]MH_I2C_Read... [19:31:01]Read from MH i2c: E2 62 00 [19:31:01]MH_I2C_Read... [19:31:01]Read from MH i2c: E2 62 00 58 0B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 05 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [19:31: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 05 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:31:01]wFMCommunicate OK [19:31:01]SAM_PROTO_GetFieldsCounters done [19:31:01]requested_item shift.num is exist - process it [19:31:01]requested_item shift.opened is exist - process it [19:31:01]req_shift_opened [19:31:01]FM_GetShiftState [19:31:01]SAM_PROTO_GetShiftState [19:31:01]wFMCommunicate request_size=4 [19:31:01]MH_SAM_APDU [19:31:01]CAPDU: 80 13 01 00 [19:31:01]Write to MH i2c: E2 08 00 59 0B 80 13 01 00 00 00 00 00 E1 [19:31:01]Write i2c OK [19:31:01]MH_I2C_Read... [19:31:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:31:01]Read from MH i2c: E2 [19:31:01]MH_I2C_Read... [19:31:01]Read from MH i2c: E2 0E 00 [19:31:01]MH_I2C_Read... [19:31:01]Read from MH i2c: E2 0E 00 59 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FB [19:31:01]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:31:01]wFMCommunicate OK [19:31:01]SAM_PROTO_GetShiftState done [19:31:01]FM_GetShiftState done [19:31:01]req_shift_opened done [19:31:01]requested_item shift.open_date is exist - process it [19:31:01]req_shift_open_date [19:31:01]req_shift_open_date done [19:31:01]produce_requested_data done [19:31:01]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37125,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:31:01]process_action_free close_receipt [19:31:01]json_value_free [19:31:01]json_value_free done [19:31:01]process_json_proto returns [19:31:01]Send response to host [19:31:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37125,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:31:01]free response buf [19:31:01]execute_script done [19:31:01]execute_script returns [19:31:01]free content buf [19:31:01]Sock 9.Close socket [19:31:01]Sock 9.Thread stoped [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:33]int [19:31:33]Write to MH i2c: 01 00 00 5A 0B 65 [19:31:33]*** FLAG_PRN_KEY set [19:31:33]Write i2c OK [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 5A 0B 00 08 00 00 00 FF 0F 82 [19:31:33]state=0 [19:31:33]Key pressed [19:31:33]Feed [19:31:33]Write to MH i2c: D8 00 00 5B 0B 3D [19:31:33]Write i2c OK [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: D8 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: D8 01 00 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: D8 01 00 5B 0B 00 3E [19:31:33]int [19:31:33]Write to MH i2c: 01 00 00 5C 0B 67 [19:31:33]Write i2c OK [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 5C 0B 00 48 00 00 00 3D 00 F3 [19:31:33]state=2 [19:31:33]Key pressed [19:31:33]int [19:31:33]Write to MH i2c: 01 00 00 5D 0B 68 [19:31:33]*** FLAG_PRN_KEY reset [19:31:33]Write i2c OK [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 [19:31:33]MH_I2C_Read... [19:31:33]Read from MH i2c: 01 07 00 5D 0B 00 00 00 00 00 F7 0F 75 [19:31:33]state=2 [19:31:33]Stop feed [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]accept exits with 7 [19:32:31]New connection [19:32:31]New thread 3066555748 created [19:32:31]Thread 3066699108 joined [19:32:31]Waiting for new connection... [19:32:31] Sock 7.Parse request [19:32:31]Sock 7.Check first char [19:32:31]Sock 7.First char is OK [19:32:31]request: POST /json_proto HTTP/1.0 [19:32:31]Method: POST [19:32:31]URL: /json_proto [19:32:31]Method is POST - this is cgi request [19:32:31]url: /json_proto [19:32:31]query_string will be loaded in cgi processing [19:32:31]execute_cgi json_proto POST (null) [19:32:31]execute_cgi path=json_proto method=POST [19:32:31]POST find Content-Length [19:32:31]Host: 172.17.53.68:8080 [19:32:31]Content-Length: 675 [19:32:31]Content-Type: application/json [19:32:31] [19:32:31]POST finish read [19:32:31]Found Content-Length = 675 [19:32:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874092", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 11.820, "sum" : 900.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:31]execute_script... [19:32:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874092", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 76.20, "quantity" : 11.820, "sum" : 900.68, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:31]POST & json_proto [19:32:31]process_json_proto [19:32:31]json parsed OK: [19:32:31]protocol is kg_v1.0 [19:32:31]action value=close_receipt [19:32:31]process_action close_receipt [19:32:31]cmd_close_receipt [19:32:31]MH_GetDate [19:32:31]Write to MH i2c: F0 00 00 5E 0B 58 [19:32:31]Write i2c OK [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: F0 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: F0 09 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: F0 09 00 5E 0B 00 52 09 14 67 C5 A4 76 66 7C [19:32:31]GetLastDocTimeStamp 1729366262 [19:32:31]current date 1729366354 [19:32:31]FM_GetShiftState [19:32:31]SAM_PROTO_GetShiftState [19:32:31]wFMCommunicate request_size=4 [19:32:31]MH_SAM_APDU [19:32:31]CAPDU: 80 13 01 00 [19:32:31]Write to MH i2c: E2 08 00 5F 0B 80 13 01 00 00 00 00 00 E7 [19:32:31]Write i2c OK [19:32:31]MH_I2C_Read... [19:32:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:31]Read from MH i2c: E2 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 0E 00 [19:32:31]MH_I2C_Read... [19:32:31]Read from MH i2c: E2 0E 00 5F 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 01 [19:32:31]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:32:31]wFMCommunicate OK [19:32:31]SAM_PROTO_GetShiftState done [19:32:31]FM_GetShiftState done [19:32:31]opened in 1729296796 [19:32:31]opened+sec_in_day 1729383196 [19:32:31]quantity*price = 90068 [19:32:31]sum+1 = 90069 [19:32:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.68 ИТОГО: 900.00 Внесено: 900.00 СДАЧА: 0.00 НСП 1% : 7.97 НДС 12% : 95.65 Наличными: 900.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 62 19.10.2024 19:32 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37126 ФПД: 258267823636892 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193234&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37126&fm=258267823636892&tin=02508201610067®Number=0000000000098149&sum=90000 [19:32:32]StoreToDocumentArchive [19:32:32]shift 460 fd 37126 [19:32:32]save to /storage/0460/doc_00037126 [19:32:32]save last doc name /storage/0460/doc_00037126 to /storage/kkm_last_doc_name [19:32:32]save OK [19:32:32]Clear old archive folders... [19:32:32]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:32:32]tlvbuf is 009479A0 [19:32:32]SAM_PROTO_ClearQueue [19:32:32]wFMCommunicate request_size=4 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 09 00 00 [19:32:32]Write to MH i2c: E2 08 00 6C 0B 80 09 00 00 00 00 00 00 E9 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 6C 0B 00 90 00 EB [19:32:32]RAPDU: 90 00 [19:32:32]wFMCommunicate OK [19:32:32]SAM_PROTO_ClearQueue done [19:32:32]KKMCreateOFDPacket [19:32:32]OFDProtocolAddRootSTLVToBuf [19:32:32]FM_MakeSignedData [19:32:32]FM_MakeSignedData [19:32:32]SAM_PROTO_SignData [19:32:32]wFMCommunicate request_size=4 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 0D 01 02 [19:32:32]Write to MH i2c: E2 08 00 6D 0B 80 0D 01 02 00 00 00 00 F1 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [19:32:32]RAPDU: 90 00 [19:32:32]wFMCommunicate OK [19:32:32]wFMCommunicate request_size=255 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2C 2E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D4 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 52 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 06 91 00 00 35 04 06 00 EA E4 A9 E2 [19:32:32]Write to MH i2c: E2 02 01 6E 0B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2C 2E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D4 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 52 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 06 91 00 00 35 04 06 00 EA E4 A9 E2 00 00 13 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 6E 0B 00 90 00 ED [19:32:32]RAPDU: 90 00 [19:32:32]wFMCommunicate OK [19:32:32]wFMCommunicate request_size=7 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 0D 02 02 02 81 9C [19:32:32]Write to MH i2c: E2 0A 00 6F 0B 80 0D 02 02 02 00 81 9C 00 00 15 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 03 00 6F 0B 00 90 00 EE [19:32:32]RAPDU: 90 00 [19:32:32]wFMCommunicate OK [19:32:32]wFMCommunicate request_size=4 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 0D 03 02 [19:32:32]Write to MH i2c: E2 08 00 70 0B 80 0D 03 02 00 00 00 00 F6 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 0B 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 0B 00 70 0B 00 7E C9 1A 52 DB 0A BA 57 90 00 A0 [19:32:32]RAPDU: 7E C9 1A 52 DB 0A BA 57 90 00 [19:32:32]wFMCommunicate OK [19:32:32]SAM_PROTO_SignData done [19:32:32]FM_MakeSignedData done [19:32:32]CreateOFDProtocolMessage [19:32:32]wFMCommunicate request_size=4 [19:32:32]MH_SAM_APDU [19:32:32]CAPDU: 80 11 00 00 [19:32:32]Write to MH i2c: E2 08 00 71 0B 80 11 00 00 00 00 00 00 F6 [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:32]Read from MH i2c: E2 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 17 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: E2 17 00 71 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 49 [19:32:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:32:32]wFMCommunicate OK [19:32:32]CreateOFDProtocolMessage done [19:32:32]OFDSenderStorePacket 37126 [19:32:32]StoreOFDPacket docnum=37126 [19:32:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0C 01 00 00 EB 7D 04 01 A2 B8 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2C 2E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D4 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 52 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 06 91 00 00 35 04 06 00 EA E4 A9 E2 81 9C 7E C9 1A 52 DB 0A BA 57 [19:32:32]CheckFolder [19:32:32]dirname=/storage/ofd_packets [19:32:32]CheckFolder done [19:32:32]ProducePacketName [19:32:32]name=ofd_packets/00037126 [19:32:32]NVStorageSaveData ofd_packets/00037126 [19:32:32]File name is /storage/ofd_packets/00037126 [19:32:32]Write 298 bytes [19:32:32]NVStorageSaveData done [19:32:32]OFDSenderStorePacket done [19:32:32]KKMCreateOFDPacket done [19:32:32]NVStorageSaveData kkm_last_timestamp [19:32:32]File name is /storage/kkm_last_timestamp [19:32:32]Write 4 bytes [19:32:32]NVStorageSaveData done [19:32:32]ExternCall_PrintAddStr [19:32:32]wPrintStart [19:32:32]Write to MH i2c: 01 00 00 72 0B 7D [19:32:32]Write i2c OK [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: 01 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: 01 07 00 [19:32:32]MH_I2C_Read... [19:32:32]Read from MH i2c: 01 07 00 72 0B 00 00 00 00 00 FF 0F 92 [19:32:32]RasterBufferAndPrint [19:32:32]line Счет N : (1)874092 [19:32:32]line ИНН: 02508201610067 [19:32:32]line Контрольно-Кассовый Чек [19:32:32]line ПРОДАЖА [19:32:32]line ТРК (МРК, ГНК) : 34 [19:32:32]line Товар: 2710194210 [19:32:32]line ДТ-К-2 [19:32:32]line 11.820 * 76.20 [19:32:32]line = 900.68 [19:32:32]line НДС 12% НСП 1% [19:32:32]line > о реализуемом товаре [19:32:32]line ОКРУГЛЕНИЕ: -0.68 [19:32:32]line ИТОГО: 900.00 [19:32:32]line Внесено: 900.00 [19:32:32]line СДАЧА: 0.00 [19:32:32]line НСП 1% : 7.97 [19:32:32]line НДС 12% : 95.65 [19:32:32]line Наличными: 900.00 [19:32:32]line Безнал.: 0.00 [19:32:32]line Место: АЗС № 165 "Партнер Нефть" [19:32:32]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:32:32]line СНО: Общий режим [19:32:32]line Чек 62 19.10.2024 19:32 [19:32:32]line Смена: 460 ФФД: 1.0 [19:32:32]line ЗНМ: 0300000235 [19:32:32]line РНМ: 0000000000098149 [19:32:32]line Версия ККМ: 001 [19:32:32]line ФМ: 0000000000965372 [19:32:32]line ФД: 37126 [19:32:32]line ФПД: 258267823636892 [19:32:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193234&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37126&fm=258267823636892&tin=02508201610067®Number=0000000000098149&sum=90000 [19:32:33]OFD Sender: Processing packet 37126 [packets to send 25, broken 24] [19:32:33]ProducePacketName [19:32:33]name=ofd_packets/00037126 [19:32:33]OFD Sender: To server: pG, [19:32:33]CommunicateWithHost lk.salyk.kg:30040 [19:32:33]ConnectInit lk.salyk.kg [19:32:33]written 0, free lines is 4095 [19:32:33]Connected sock=10 [19:32: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 33 37 32 0C 01 00 00 EB 7D 04 01 A2 B8 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 32 FF 03 08 00 03 2C 2E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D4 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 25 00 00 00 00 07 04 06 00 90 5F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 52 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 06 91 00 00 35 04 06 00 EA E4 A9 E2 81 9C 7E C9 1A 52 DB 0A BA 57 [19:32:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 E8 BD 47 00 3F AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 06 91 00 00 F4 03 04 00 E7 B1 13 67 B6 04 01 00 00 08 DF 3A 0D 76 02 65 74 [19:32:33]CommunicateWithHost err = 0 [19:32:33]CheckOFDResponse [19:32:33]1017 (14) - 77093643461234 [19:32:33]1041 (16) - 0000000000965372 [19:32:33]1040 (4) - 37126 [19:32:33]1012 (4) - 19.10.2024 13:19 [19:32:33]1206 (1) - 0 [19:32:33]OFD Sender: Remove packet 37126 [19:32:33]ProducePacketName [19:32:33]name=ofd_packets/00037126 [19:32:33]NVStorageDeleteData [19:32:33]Write to MH i2c: 01 00 00 9D 0B A8 [19:32:33]Write i2c OK [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: 01 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: 01 07 00 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: 01 07 00 9D 0B 00 00 00 00 00 FA 0C B5 [19:32:33]RasterBufferAndPrint [19:32:33]line [19:32:33]line [19:32:33]line [19:32:33]line [19:32:33]line [19:32:33]written 0, free lines is 3328 [19:32:33]process_action close_receipt done [19:32:33]requested_data is exist [19:32:33]produce_requested_data [19:32:33]requested_item fm.sn is exist - process it [19:32:33]wFMCommunicate request_size=4 [19:32:33]MH_SAM_APDU [19:32:33]CAPDU: 80 11 00 00 [19:32:33]Write to MH i2c: E2 08 00 A4 0B 80 11 00 00 00 00 00 00 29 [19:32:33]Write i2c OK [19:32:33]MH_I2C_Read... [19:32:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:33]Read from MH i2c: E2 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 17 00 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 17 00 A4 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 7C [19:32:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:32:33]wFMCommunicate OK [19:32:33]requested_item fd.num is exist - process it [19:32:33]SAM_PROTO_GetFieldsCounters [19:32:33]wFMCommunicate request_size=4 [19:32:33]MH_SAM_APDU [19:32:33]CAPDU: 80 13 00 00 [19:32:33]Write to MH i2c: E2 08 00 A5 0B 80 13 00 00 00 00 00 00 2C [19:32:33]Write i2c OK [19:32:33]MH_I2C_Read... [19:32:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:32:33]Read from MH i2c: E2 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 62 00 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 62 00 A5 0B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 06 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [19:32: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 06 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:32:33]wFMCommunicate OK [19:32:33]SAM_PROTO_GetFieldsCounters done [19:32:33]requested_item shift.num is exist - process it [19:32:33]requested_item shift.opened is exist - process it [19:32:33]req_shift_opened [19:32:33]FM_GetShiftState [19:32:33]SAM_PROTO_GetShiftState [19:32:33]wFMCommunicate request_size=4 [19:32:33]MH_SAM_APDU [19:32:33]CAPDU: 80 13 01 00 [19:32:33]Write to MH i2c: E2 08 00 A6 0B 80 13 01 00 00 00 00 00 2E [19:32:33]Write i2c OK [19:32:33]MH_I2C_Read... [19:32:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:33]Read from MH i2c: E2 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 0E 00 [19:32:33]MH_I2C_Read... [19:32:33]Read from MH i2c: E2 0E 00 A6 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 48 [19:32:33]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:32:33]wFMCommunicate OK [19:32:33]SAM_PROTO_GetShiftState done [19:32:33]FM_GetShiftState done [19:32:33]req_shift_opened done [19:32:33]requested_item shift.open_date is exist - process it [19:32:33]req_shift_open_date [19:32:33]req_shift_open_date done [19:32:33]produce_requested_data done [19:32:33]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37126,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:32:33]process_action_free close_receipt [19:32:33]json_value_free [19:32:33]json_value_free done [19:32:33]process_json_proto returns [19:32:33]Send response to host [19:32:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37126,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:32:33]free response buf [19:32:33]execute_script done [19:32:33]execute_script returns [19:32:33]free content buf [19:32:33]Sock 7.Close socket [19:32:33]Sock 7.Thread stoped [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]accept exits with 9 [19:33:03]New connection [19:33:03]New thread 3066699108 created [19:33:03]Thread 3066555748 joined [19:33:03]Waiting for new connection... [19:33:03] Sock 9.Parse request [19:33:03]Sock 9.Check first char [19:33:03]Sock 9.First char is OK [19:33:03]request: POST /json_proto HTTP/1.0 [19:33:03]Method: POST [19:33:03]URL: /json_proto [19:33:03]Method is POST - this is cgi request [19:33:03]url: /json_proto [19:33:03]query_string will be loaded in cgi processing [19:33:03]execute_cgi json_proto POST (null) [19:33:03]execute_cgi path=json_proto method=POST [19:33:03]POST find Content-Length [19:33:03]Host: 172.17.53.68:8080 [19:33:03]Content-Length: 670 [19:33:03]Content-Type: application/json [19:33:03] [19:33:03]POST finish read [19:33:03]Found Content-Length = 670 [19:33:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874093", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:03]execute_script... [19:33:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874093", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:03]POST & json_proto [19:33:03]process_json_proto [19:33:03]json parsed OK: [19:33:03]protocol is kg_v1.0 [19:33:03]action value=close_receipt [19:33:03]process_action close_receipt [19:33:03]cmd_close_receipt [19:33:03]MH_GetDate [19:33:03]Write to MH i2c: F0 00 00 A7 0B A1 [19:33:03]Write i2c OK [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: F0 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: F0 09 00 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: F0 09 00 A7 0B 00 72 09 14 67 C5 A4 76 66 E5 [19:33:03]GetLastDocTimeStamp 1729366354 [19:33:03]current date 1729366386 [19:33:03]FM_GetShiftState [19:33:03]SAM_PROTO_GetShiftState [19:33:03]wFMCommunicate request_size=4 [19:33:03]MH_SAM_APDU [19:33:03]CAPDU: 80 13 01 00 [19:33:03]Write to MH i2c: E2 08 00 A8 0B 80 13 01 00 00 00 00 00 30 [19:33:03]Write i2c OK [19:33:03]MH_I2C_Read... [19:33:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:03]Read from MH i2c: E2 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: E2 0E 00 [19:33:03]MH_I2C_Read... [19:33:03]Read from MH i2c: E2 0E 00 A8 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 4A [19:33:03]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:33:03]wFMCommunicate OK [19:33:03]SAM_PROTO_GetShiftState done [19:33:03]FM_GetShiftState done [19:33:03]opened in 1729296796 [19:33:03]opened+sec_in_day 1729383196 [19:33:03]quantity*price = 30027 [19:33:03]sum+1 = 30029 [19:33:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 63 19.10.2024 19:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37127 ФПД: 241967633983698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193306&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37127&fm=241967633983698&tin=02508201610067®Number=0000000000098149&sum=30000 [19:33:04]StoreToDocumentArchive [19:33:04]shift 460 fd 37127 [19:33:04]save to /storage/0460/doc_00037127 [19:33:04]save last doc name /storage/0460/doc_00037127 to /storage/kkm_last_doc_name [19:33:04]save OK [19:33:04]Clear old archive folders... [19:33:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:33:04]tlvbuf is 009AE0A0 [19:33:04]SAM_PROTO_ClearQueue [19:33:04]wFMCommunicate request_size=4 [19:33:04]MH_SAM_APDU [19:33:04]CAPDU: 80 09 00 00 [19:33:04]Write to MH i2c: E2 08 00 B5 0B 80 09 00 00 00 00 00 00 32 [19:33:04]Write i2c OK [19:33:04]MH_I2C_Read... [19:33:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:33:04]Read from MH i2c: E2 [19:33:04]MH_I2C_Read... [19:33:04]Read from MH i2c: E2 03 00 [19:33:04]MH_I2C_Read... [19:33:04]Read from MH i2c: E2 03 00 B5 0B 00 90 00 34 [19:33:04]RAPDU: 90 00 [19:33:04]wFMCommunicate OK [19:33:04]SAM_PROTO_ClearQueue done [19:33:04]KKMCreateOFDPacket [19:33:04]OFDProtocolAddRootSTLVToBuf [19:33:04]FM_MakeSignedData [19:33:04]FM_MakeSignedData [19:33:04]SAM_PROTO_SignData [19:33:04]wFMCommunicate request_size=4 [19:33:04]MH_SAM_APDU [19:33:04]CAPDU: 80 0D 01 02 [19:33:04]Write to MH i2c: E2 08 00 B6 0B 80 0D 01 02 00 00 00 00 3A [19:33:04]Write i2c OK [19:33:04]MH_I2C_Read... [19:33:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:33:04]Read from MH i2c: E2 [19:33:04]MH_I2C_Read... [19:33:04]Read from MH i2c: E2 03 00 [19:33:04]MH_I2C_Read... [19:33:04]Read from MH i2c: E2 03 00 B6 0B 00 90 00 35 [19:33:04]RAPDU: 90 00 [19:33:04]wFMCommunicate OK [19:33:04]wFMCommunicate request_size=255 [19:33:04]MH_SAM_APDU [19:33:04]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 72 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 07 91 00 00 35 04 06 00 [19:33:04]Write to MH i2c: E2 02 01 B7 0B 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 72 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 07 91 00 00 35 04 06 00 00 00 A1 [19:33:04]Write i2c OK [19:33:04]MH_I2C_Read... [19:33:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:05]Read from MH i2c: E2 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 03 00 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 03 00 B7 0B 00 90 00 36 [19:33:05]RAPDU: 90 00 [19:33:05]wFMCommunicate OK [19:33:05]wFMCommunicate request_size=11 [19:33:05]MH_SAM_APDU [19:33:05]CAPDU: 80 0D 02 02 06 DC 11 7A DE E8 D2 [19:33:05]Write to MH i2c: E2 0E 00 B8 0B 80 0D 02 02 06 00 DC 11 7A DE E8 D2 00 00 48 [19:33:05]Write i2c OK [19:33:05]MH_I2C_Read... [19:33:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:05]Read from MH i2c: E2 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 03 00 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 03 00 B8 0B 00 90 00 37 [19:33:05]RAPDU: 90 00 [19:33:05]wFMCommunicate OK [19:33:05]wFMCommunicate request_size=4 [19:33:05]MH_SAM_APDU [19:33:05]CAPDU: 80 0D 03 02 [19:33:05]Write to MH i2c: E2 08 00 B9 0B 80 0D 03 02 00 00 00 00 3F [19:33:05]Write i2c OK [19:33:05]MH_I2C_Read... [19:33:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:33:05]Read from MH i2c: E2 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 0B 00 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 0B 00 B9 0B 00 03 B0 26 D6 79 FB 2D BD 90 00 4D [19:33:05]RAPDU: 03 B0 26 D6 79 FB 2D BD 90 00 [19:33:05]wFMCommunicate OK [19:33:05]SAM_PROTO_SignData done [19:33:05]FM_MakeSignedData done [19:33:05]CreateOFDProtocolMessage [19:33:05]wFMCommunicate request_size=4 [19:33:05]MH_SAM_APDU [19:33:05]CAPDU: 80 11 00 00 [19:33:05]Write to MH i2c: E2 08 00 BA 0B 80 11 00 00 00 00 00 00 3F [19:33:05]Write i2c OK [19:33:05]MH_I2C_Read... [19:33:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:05]Read from MH i2c: E2 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 17 00 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: E2 17 00 BA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 92 [19:33:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:33:05]wFMCommunicate OK [19:33:05]CreateOFDProtocolMessage done [19:33:05]OFDSenderStorePacket 37127 [19:33:05]StoreOFDPacket docnum=37127 [19:33:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 5D B1 08 01 10 7E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 72 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 07 91 00 00 35 04 06 00 DC 11 7A DE E8 D2 03 B0 26 D6 79 FB 2D BD [19:33:05]CheckFolder [19:33:05]dirname=/storage/ofd_packets [19:33:05]CheckFolder done [19:33:05]ProducePacketName [19:33:05]name=ofd_packets/00037127 [19:33:05]NVStorageSaveData ofd_packets/00037127 [19:33:05]File name is /storage/ofd_packets/00037127 [19:33:05]Write 302 bytes [19:33:05]NVStorageSaveData done [19:33:05]OFDSenderStorePacket done [19:33:05]KKMCreateOFDPacket done [19:33:05]NVStorageSaveData kkm_last_timestamp [19:33:05]File name is /storage/kkm_last_timestamp [19:33:05]Write 4 bytes [19:33:05]NVStorageSaveData done [19:33:05]ExternCall_PrintAddStr [19:33:05]wPrintStart [19:33:05]Write to MH i2c: 01 00 00 BB 0B C6 [19:33:05]Write i2c OK [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: 01 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: 01 07 00 [19:33:05]MH_I2C_Read... [19:33:05]Read from MH i2c: 01 07 00 BB 0B 00 00 00 00 00 FF 0F DB [19:33:05]RasterBufferAndPrint [19:33:05]line Счет N : (1)874093 [19:33:05]line ИНН: 02508201610067 [19:33:05]line Контрольно-Кассовый Чек [19:33:05]line ПРОДАЖА [19:33:05]line ТРК (МРК, ГНК) : 23 [19:33:05]line Товар: 2710124130 [19:33:05]line Super 92-К-5 [19:33:05]line 4.390 * 68.40 [19:33:05]line = 300.28 [19:33:05]line НДС 12% НСП 1% [19:33:05]line > о реализуемом товаре [19:33:05]line ОКРУГЛЕНИЕ: -0.28 [19:33:05]line ИТОГО: 300.00 [19:33:05]line Внесено: 300.00 [19:33:05]line СДАЧА: 0.00 [19:33:05]line НСП 1% : 2.66 [19:33:05]line НДС 12% : 31.89 [19:33:05]line Наличными: 300.00 [19:33:05]line Безнал.: 0.00 [19:33:05]line Место: АЗС № 165 "Партнер Нефть" [19:33:05]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:33:05]line СНО: Общий режим [19:33:05]line Чек 63 19.10.2024 19:33 [19:33:05]line Смена: 460 ФФД: 1.0 [19:33:05]line ЗНМ: 0300000235 [19:33:05]line РНМ: 0000000000098149 [19:33:05]line Версия ККМ: 001 [19:33:05]line ФМ: 0000000000965372 [19:33:05]line ФД: 37127 [19:33:05]line ФПД: 241967633983698 [19:33:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193306&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37127&fm=241967633983698&tin=02508201610067®Number=0000000000098149&sum=30000 [19:33:05]OFD Sender: Processing packet 37127 [packets to send 25, broken 24] [19:33:05]ProducePacketName [19:33:05]name=ofd_packets/00037127 [19:33:05]OFD Sender: To server: pG, [19:33:05]CommunicateWithHost lk.salyk.kg:30040 [19:33:05]ConnectInit lk.salyk.kg [19:33:05]written 0, free lines is 4095 [19:33:05]Connected sock=10 [19:33: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 33 37 32 10 01 00 00 5D B1 08 01 10 7E 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 72 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 07 91 00 00 35 04 06 00 DC 11 7A DE E8 D2 03 B0 26 D6 79 FB 2D BD [19:33:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 7B 78 47 00 E9 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 07 91 00 00 F4 03 04 00 07 B2 13 67 B6 04 01 00 00 34 6F 19 11 2D 95 18 B7 [19:33:06]CommunicateWithHost err = 0 [19:33:06]CheckOFDResponse [19:33:06]1017 (14) - 77093643461234 [19:33:06]1041 (16) - 0000000000965372 [19:33:06]1040 (4) - 37127 [19:33:06]1012 (4) - 19.10.2024 13:20 [19:33:06]1206 (1) - 0 [19:33:06]OFD Sender: Remove packet 37127 [19:33:06]ProducePacketName [19:33:06]name=ofd_packets/00037127 [19:33:06]NVStorageDeleteData [19:33:06]Write to MH i2c: 01 00 00 E6 0B F1 [19:33:06]Write i2c OK [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: 01 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: 01 07 00 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: 01 07 00 E6 0B 00 00 00 00 00 F5 0C F9 [19:33:06]RasterBufferAndPrint [19:33:06]line [19:33:06]line [19:33:06]line [19:33:06]line [19:33:06]line [19:33:06]written 0, free lines is 3323 [19:33:06]process_action close_receipt done [19:33:06]requested_data is exist [19:33:06]produce_requested_data [19:33:06]requested_item fm.sn is exist - process it [19:33:06]wFMCommunicate request_size=4 [19:33:06]MH_SAM_APDU [19:33:06]CAPDU: 80 11 00 00 [19:33:06]Write to MH i2c: E2 08 00 ED 0B 80 11 00 00 00 00 00 00 72 [19:33:06]Write i2c OK [19:33:06]MH_I2C_Read... [19:33:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:06]Read from MH i2c: E2 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 17 00 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 17 00 ED 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 C5 [19:33:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:33:06]wFMCommunicate OK [19:33:06]requested_item fd.num is exist - process it [19:33:06]SAM_PROTO_GetFieldsCounters [19:33:06]wFMCommunicate request_size=4 [19:33:06]MH_SAM_APDU [19:33:06]CAPDU: 80 13 00 00 [19:33:06]Write to MH i2c: E2 08 00 EE 0B 80 13 00 00 00 00 00 00 75 [19:33:06]Write i2c OK [19:33:06]MH_I2C_Read... [19:33:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:33:06]Read from MH i2c: E2 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 62 00 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 62 00 EE 0B 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 07 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [19:33:06]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 07 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:33:06]wFMCommunicate OK [19:33:06]SAM_PROTO_GetFieldsCounters done [19:33:06]requested_item shift.num is exist - process it [19:33:06]requested_item shift.opened is exist - process it [19:33:06]req_shift_opened [19:33:06]FM_GetShiftState [19:33:06]SAM_PROTO_GetShiftState [19:33:06]wFMCommunicate request_size=4 [19:33:06]MH_SAM_APDU [19:33:06]CAPDU: 80 13 01 00 [19:33:06]Write to MH i2c: E2 08 00 EF 0B 80 13 01 00 00 00 00 00 77 [19:33:06]Write i2c OK [19:33:06]MH_I2C_Read... [19:33:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:06]Read from MH i2c: E2 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 0E 00 [19:33:06]MH_I2C_Read... [19:33:06]Read from MH i2c: E2 0E 00 EF 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 91 [19:33:06]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:33:06]wFMCommunicate OK [19:33:06]SAM_PROTO_GetShiftState done [19:33:06]FM_GetShiftState done [19:33:06]req_shift_opened done [19:33:06]requested_item shift.open_date is exist - process it [19:33:06]req_shift_open_date [19:33:06]req_shift_open_date done [19:33:06]produce_requested_data done [19:33:06]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37127,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:33:06]process_action_free close_receipt [19:33:06]json_value_free [19:33:06]json_value_free done [19:33:06]process_json_proto returns [19:33:06]Send response to host [19:33:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37127,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:33:06]free response buf [19:33:06]execute_script done [19:33:06]execute_script returns [19:33:06]free content buf [19:33:06]Sock 9.Close socket [19:33:06]Sock 9.Thread stoped [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:25]accept exits with 7 [19:34:25]New connection [19:34:25]New thread 3066555748 created [19:34:25]Thread 3066699108 joined [19:34:25]Waiting for new connection... [19:34:25] Sock 7.Parse request [19:34:25]Sock 7.Check first char [19:34:25]Sock 7.First char is OK [19:34:25]request: POST /json_proto HTTP/1.0 [19:34:25]Method: POST [19:34:25]URL: /json_proto [19:34:25]Method is POST - this is cgi request [19:34:25]url: /json_proto [19:34:25]query_string will be loaded in cgi processing [19:34:25]execute_cgi json_proto POST (null) [19:34:25]execute_cgi path=json_proto method=POST [19:34:25]POST find Content-Length [19:34:25]Host: 172.17.53.68:8080 [19:34:25]Content-Length: 677 [19:34:25]Content-Type: application/json [19:34:25] [19:34:25]POST finish read [19:34:25]Found Content-Length = 677 [19:34:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874094", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:25]execute_script... [19:34:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874094", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:25]POST & json_proto [19:34:25]process_json_proto [19:34:25]json parsed OK: [19:34:25]protocol is kg_v1.0 [19:34:25]action value=close_receipt [19:34:25]process_action close_receipt [19:34:25]cmd_close_receipt [19:34:25]MH_GetDate [19:34:25]Write to MH i2c: F0 00 00 F0 0B EA [19:34:25]Write i2c OK [19:34:25]MH_I2C_Read... [19:34:25]Read from MH i2c: F0 [19:34:25]MH_I2C_Read... [19:34:25]Read from MH i2c: F0 09 00 [19:34:25]MH_I2C_Read... [19:34:25]Read from MH i2c: F0 09 00 F0 0B 00 C5 09 14 67 C5 A4 76 66 81 [19:34:25]GetLastDocTimeStamp 1729366386 [19:34:25]current date 1729366469 [19:34:25]FM_GetShiftState [19:34:25]SAM_PROTO_GetShiftState [19:34:25]wFMCommunicate request_size=4 [19:34:25]MH_SAM_APDU [19:34:25]CAPDU: 80 13 01 00 [19:34:25]Write to MH i2c: E2 08 00 F1 0B 80 13 01 00 00 00 00 00 79 [19:34:25]Write i2c OK [19:34:25]MH_I2C_Read... [19:34:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:26]Read from MH i2c: E2 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 [19:34:26]MH_I2C_Read... [19:34:26]Read from MH i2c: E2 0E 00 F1 0B 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 93 [19:34:26]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:34:26]wFMCommunicate OK [19:34:26]SAM_PROTO_GetShiftState done [19:34:26]FM_GetShiftState done [19:34:26]opened in 1729296796 [19:34:26]opened+sec_in_day 1729383196 [19:34:26]quantity*price = 30038 [19:34:26]sum+1 = 30039 [19:34:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.90 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 64 19.10.2024 19:34 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37128 ФПД: 241293257146321 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193429&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37128&fm=241293257146321&tin=02508201610067®Number=0000000000098149&sum=30000 [19:34:27]StoreToDocumentArchive [19:34:27]shift 460 fd 37128 [19:34:27]save to /storage/0460/doc_00037128 [19:34:27]save last doc name /storage/0460/doc_00037128 to /storage/kkm_last_doc_name [19:34:27]save OK [19:34:27]Clear old archive folders... [19:34:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:34:27]tlvbuf is 009E75B0 [19:34:27]SAM_PROTO_ClearQueue [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 09 00 00 [19:34:27]Write to MH i2c: E2 08 00 FE 0B 80 09 00 00 00 00 00 00 7B [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 FE 0B 00 90 00 7D [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]SAM_PROTO_ClearQueue done [19:34:27]KKMCreateOFDPacket [19:34:27]OFDProtocolAddRootSTLVToBuf [19:34:27]FM_MakeSignedData [19:34:27]FM_MakeSignedData [19:34:27]SAM_PROTO_SignData [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 01 02 [19:34:27]Write to MH i2c: E2 08 00 FF 0B 80 0D 01 02 00 00 00 00 83 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 FF 0B 00 90 00 7E [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=255 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 C5 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 08 91 00 00 35 04 06 00 DB [19:34:27]Write to MH i2c: E2 02 01 00 0C 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 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 C5 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 08 91 00 00 35 04 06 00 DB 00 00 D7 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 00 0C 00 90 00 80 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=10 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 02 02 05 74 76 E0 FF D1 [19:34:27]Write to MH i2c: E2 0D 00 01 0C 80 0D 02 02 05 00 74 76 E0 FF D1 00 00 2B [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 03 00 01 0C 00 90 00 81 [19:34:27]RAPDU: 90 00 [19:34:27]wFMCommunicate OK [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 0D 03 02 [19:34:27]Write to MH i2c: E2 08 00 02 0C 80 0D 03 02 00 00 00 00 89 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 0B 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 0B 00 02 0C 00 9C F8 02 5A 9C 3C 98 81 90 00 6B [19:34:27]RAPDU: 9C F8 02 5A 9C 3C 98 81 90 00 [19:34:27]wFMCommunicate OK [19:34:27]SAM_PROTO_SignData done [19:34:27]FM_MakeSignedData done [19:34:27]CreateOFDProtocolMessage [19:34:27]wFMCommunicate request_size=4 [19:34:27]MH_SAM_APDU [19:34:27]CAPDU: 80 11 00 00 [19:34:27]Write to MH i2c: E2 08 00 03 0C 80 11 00 00 00 00 00 00 89 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:27]Read from MH i2c: E2 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 17 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: E2 17 00 03 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DC [19:34:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:34:27]wFMCommunicate OK [19:34:27]CreateOFDProtocolMessage done [19:34:27]OFDSenderStorePacket 37128 [19:34:27]StoreOFDPacket docnum=37128 [19:34:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 FB 10 07 01 09 77 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 C5 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 08 91 00 00 35 04 06 00 DB 74 76 E0 FF D1 9C F8 02 5A 9C 3C 98 81 [19:34:27]CheckFolder [19:34:27]dirname=/storage/ofd_packets [19:34:27]CheckFolder done [19:34:27]ProducePacketName [19:34:27]name=ofd_packets/00037128 [19:34:27]NVStorageSaveData ofd_packets/00037128 [19:34:27]File name is /storage/ofd_packets/00037128 [19:34:27]Write 301 bytes [19:34:27]NVStorageSaveData done [19:34:27]OFDSenderStorePacket done [19:34:27]KKMCreateOFDPacket done [19:34:27]NVStorageSaveData kkm_last_timestamp [19:34:27]File name is /storage/kkm_last_timestamp [19:34:27]Write 4 bytes [19:34:27]NVStorageSaveData done [19:34:27]ExternCall_PrintAddStr [19:34:27]wPrintStart [19:34:27]Write to MH i2c: 01 00 00 04 0C 10 [19:34:27]Write i2c OK [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: 01 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: 01 07 00 [19:34:27]MH_I2C_Read... [19:34:27]Read from MH i2c: 01 07 00 04 0C 00 00 00 00 00 FF 0F 25 [19:34:27]RasterBufferAndPrint [19:34:27]line Счет N : (1)874094 [19:34:27]line ИНН: 02508201610067 [19:34:27]line Контрольно-Кассовый Чек [19:34:27]line ПРОДАЖА [19:34:27]line ТРК (МРК, ГНК) : 42 [19:34:27]line Товар: 2710124130 [19:34:27]line Аи-92-К-5 [19:34:27]line 4.490 * 66.90 [19:34:27]line = 300.38 [19:34:27]line НДС 12% НСП 1% [19:34:27]line > о реализуемом товаре [19:34:27]line ОКРУГЛЕНИЕ: -0.38 [19:34:27]line ИТОГО: 300.00 [19:34:27]line Внесено: 300.00 [19:34:27]line СДАЧА: 0.00 [19:34:27]line НСП 1% : 2.66 [19:34:27]line НДС 12% : 31.90 [19:34:27]line Наличными: 300.00 [19:34:27]line Безнал.: 0.00 [19:34:27]line Место: АЗС № 165 "Партнер Нефть" [19:34:27]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:34:27]line СНО: Общий режим [19:34:27]line Чек 64 19.10.2024 19:34 [19:34:27]line Смена: 460 ФФД: 1.0 [19:34:27]line ЗНМ: 0300000235 [19:34:27]line РНМ: 0000000000098149 [19:34:27]line Версия ККМ: 001 [19:34:27]line ФМ: 0000000000965372 [19:34:27]line ФД: 37128 [19:34:27]line ФПД: 241293257146321 [19:34:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193429&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37128&fm=241293257146321&tin=02508201610067®Number=0000000000098149&sum=30000 [19:34:28]OFD Sender: Processing packet 37128 [packets to send 25, broken 24] [19:34:28]ProducePacketName [19:34:28]name=ofd_packets/00037128 [19:34:28]OFD Sender: To server: pG, [19:34:28]CommunicateWithHost lk.salyk.kg:30040 [19:34:28]ConnectInit lk.salyk.kg [19:34:28]written 0, free lines is 4095 [19:34:28]Connected sock=10 [19:34: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 33 37 32 0F 01 00 00 FB 10 07 01 09 77 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 C5 09 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 08 91 00 00 35 04 06 00 DB 74 76 E0 FF D1 9C F8 02 5A 9C 3C 98 81 [19:34:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 2B 95 47 00 FC 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 08 91 00 00 F4 03 04 00 59 B2 13 67 B6 04 01 00 00 F9 3A 03 F8 BC 82 8F E6 [19:34:28]CommunicateWithHost err = 0 [19:34:28]CheckOFDResponse [19:34:28]1017 (14) - 77093643461234 [19:34:28]1041 (16) - 0000000000965372 [19:34:28]1040 (4) - 37128 [19:34:28]1012 (4) - 19.10.2024 13:21 [19:34:28]1206 (1) - 0 [19:34:28]OFD Sender: Remove packet 37128 [19:34:28]ProducePacketName [19:34:28]name=ofd_packets/00037128 [19:34:28]NVStorageDeleteData [19:34:28]Write to MH i2c: 01 00 00 2F 0C 3B [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: 01 07 00 2F 0C 00 00 00 00 00 ED 0C 3B [19:34:28]RasterBufferAndPrint [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]line [19:34:28]written 0, free lines is 3315 [19:34:28]process_action close_receipt done [19:34:28]requested_data is exist [19:34:28]produce_requested_data [19:34:28]requested_item fm.sn is exist - process it [19:34:28]wFMCommunicate request_size=4 [19:34:28]MH_SAM_APDU [19:34:28]CAPDU: 80 11 00 00 [19:34:28]Write to MH i2c: E2 08 00 36 0C 80 11 00 00 00 00 00 00 BC [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:28]Read from MH i2c: E2 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 17 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 17 00 36 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 0F [19:34:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:34:28]wFMCommunicate OK [19:34:28]requested_item fd.num is exist - process it [19:34:28]SAM_PROTO_GetFieldsCounters [19:34:28]wFMCommunicate request_size=4 [19:34:28]MH_SAM_APDU [19:34:28]CAPDU: 80 13 00 00 [19:34:28]Write to MH i2c: E2 08 00 37 0C 80 13 00 00 00 00 00 00 BF [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:34:28]Read from MH i2c: E2 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 62 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 62 00 37 0C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 08 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [19:34: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 08 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:34:28]wFMCommunicate OK [19:34:28]SAM_PROTO_GetFieldsCounters done [19:34:28]requested_item shift.num is exist - process it [19:34:28]requested_item shift.opened is exist - process it [19:34:28]req_shift_opened [19:34:28]FM_GetShiftState [19:34:28]SAM_PROTO_GetShiftState [19:34:28]wFMCommunicate request_size=4 [19:34:28]MH_SAM_APDU [19:34:28]CAPDU: 80 13 01 00 [19:34:28]Write to MH i2c: E2 08 00 38 0C 80 13 01 00 00 00 00 00 C1 [19:34:28]Write i2c OK [19:34:28]MH_I2C_Read... [19:34:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:28]Read from MH i2c: E2 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 0E 00 [19:34:28]MH_I2C_Read... [19:34:28]Read from MH i2c: E2 0E 00 38 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 DB [19:34:28]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:34:28]wFMCommunicate OK [19:34:28]SAM_PROTO_GetShiftState done [19:34:28]FM_GetShiftState done [19:34:28]req_shift_opened done [19:34:28]requested_item shift.open_date is exist - process it [19:34:28]req_shift_open_date [19:34:28]req_shift_open_date done [19:34:28]produce_requested_data done [19:34:28]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37128,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:34:28]process_action_free close_receipt [19:34:28]json_value_free [19:34:28]json_value_free done [19:34:28]process_json_proto returns [19:34:28]Send response to host [19:34:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37128,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:34:28]free response buf [19:34:28]execute_script done [19:34:28]execute_script returns [19:34:28]free content buf [19:34:28]Sock 7.Close socket [19:34:28]Sock 7.Thread stoped [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:15]accept exits with 9 [19:36:15]New connection [19:36:15]New thread 3066699108 created [19:36:15]Thread 3066555748 joined [19:36:15]Waiting for new connection... [19:36:15] Sock 9.Parse request [19:36:15]Sock 9.Check first char [19:36:15]Sock 9.First char is OK [19:36:15]request: POST /json_proto HTTP/1.0 [19:36:15]Method: POST [19:36:15]URL: /json_proto [19:36:15]Method is POST - this is cgi request [19:36:15]url: /json_proto [19:36:15]query_string will be loaded in cgi processing [19:36:15]execute_cgi json_proto POST (null) [19:36:15]execute_cgi path=json_proto method=POST [19:36:15]POST find Content-Length [19:36:15]Host: 172.17.53.68:8080 [19:36:15]Content-Length: 677 [19:36:15]Content-Type: application/json [19:36:15] [19:36:15]POST finish read [19:36:15]Found Content-Length = 677 [19:36:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874095", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "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" ] } } [19:36:15]execute_script... [19:36:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874095", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "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" ] } } [19:36:15]POST & json_proto [19:36:15]process_json_proto [19:36:15]json parsed OK: [19:36:15]protocol is kg_v1.0 [19:36:15]action value=close_receipt [19:36:15]process_action close_receipt [19:36:15]cmd_close_receipt [19:36:15]MH_GetDate [19:36:15]Write to MH i2c: F0 00 00 39 0C 34 [19:36:15]Write i2c OK [19:36:15]MH_I2C_Read... [19:36:15]Read from MH i2c: F0 [19:36:15]MH_I2C_Read... [19:36:15]Read from MH i2c: F0 09 00 [19:36:15]MH_I2C_Read... [19:36:15]Read from MH i2c: F0 09 00 39 0C 00 32 0A 14 67 C5 A4 76 66 39 [19:36:15]GetLastDocTimeStamp 1729366469 [19:36:15]current date 1729366578 [19:36:15]FM_GetShiftState [19:36:15]SAM_PROTO_GetShiftState [19:36:15]wFMCommunicate request_size=4 [19:36:15]MH_SAM_APDU [19:36:15]CAPDU: 80 13 01 00 [19:36:15]Write to MH i2c: E2 08 00 3A 0C 80 13 01 00 00 00 00 00 C3 [19:36:15]Write i2c OK [19:36:15]MH_I2C_Read... [19:36:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:15]Read from MH i2c: E2 [19:36:15]MH_I2C_Read... [19:36:15]Read from MH i2c: E2 0E 00 [19:36:15]MH_I2C_Read... [19:36:15]Read from MH i2c: E2 0E 00 3A 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 DD [19:36:15]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:36:15]wFMCommunicate OK [19:36:15]SAM_PROTO_GetShiftState done [19:36:15]FM_GetShiftState done [19:36:15]opened in 1729296796 [19:36:15]opened+sec_in_day 1729383196 [19:36:15]quantity*price = 60009 [19:36:15]sum+1 = 60010 [19:36:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.09 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.73 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 65 19.10.2024 19:36 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37129 ФПД: 62950759240147 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193618&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37129&fm=62950759240147&tin=02508201610067®Number=0000000000098149&sum=60000 [19:36:16]StoreToDocumentArchive [19:36:16]shift 460 fd 37129 [19:36:16]save to /storage/0460/doc_00037129 [19:36:16]save last doc name /storage/0460/doc_00037129 to /storage/kkm_last_doc_name [19:36:16]save OK [19:36:16]Clear old archive folders... [19:36:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:36:16]tlvbuf is 0098BB00 [19:36:16]SAM_PROTO_ClearQueue [19:36:16]wFMCommunicate request_size=4 [19:36:16]MH_SAM_APDU [19:36:16]CAPDU: 80 09 00 00 [19:36:16]Write to MH i2c: E2 08 00 47 0C 80 09 00 00 00 00 00 00 C5 [19:36:16]Write i2c OK [19:36:16]MH_I2C_Read... [19:36:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:16]Read from MH i2c: E2 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 47 0C 00 90 00 C7 [19:36:16]RAPDU: 90 00 [19:36:16]wFMCommunicate OK [19:36:16]SAM_PROTO_ClearQueue done [19:36:16]KKMCreateOFDPacket [19:36:16]OFDProtocolAddRootSTLVToBuf [19:36:16]FM_MakeSignedData [19:36:16]FM_MakeSignedData [19:36:16]SAM_PROTO_SignData [19:36:16]wFMCommunicate request_size=4 [19:36:16]MH_SAM_APDU [19:36:16]CAPDU: 80 0D 01 02 [19:36:16]Write to MH i2c: E2 08 00 48 0C 80 0D 01 02 00 00 00 00 CD [19:36:16]Write i2c OK [19:36:16]MH_I2C_Read... [19:36:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:16]Read from MH i2c: E2 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 48 0C 00 90 00 C8 [19:36:16]RAPDU: 90 00 [19:36:16]wFMCommunicate OK [19:36:16]wFMCommunicate request_size=255 [19:36:16]MH_SAM_APDU [19:36:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 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 E5 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 41 00 00 00 F4 03 04 00 32 0A 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 09 91 00 00 35 04 06 00 39 [19:36:16]Write to MH i2c: E2 02 01 49 0C 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 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 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 E5 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 41 00 00 00 F4 03 04 00 32 0A 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 09 91 00 00 35 04 06 00 39 00 00 D7 [19:36:16]Write i2c OK [19:36:16]MH_I2C_Read... [19:36:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:16]Read from MH i2c: E2 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 49 0C 00 90 00 C9 [19:36:16]RAPDU: 90 00 [19:36:16]wFMCommunicate OK [19:36:16]wFMCommunicate request_size=10 [19:36:16]MH_SAM_APDU [19:36:16]CAPDU: 80 0D 02 02 05 40 DD A4 91 D3 [19:36:16]Write to MH i2c: E2 0D 00 4A 0C 80 0D 02 02 05 00 40 DD A4 91 D3 00 00 FF [19:36:16]Write i2c OK [19:36:16]MH_I2C_Read... [19:36:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:16]Read from MH i2c: E2 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 03 00 4A 0C 00 90 00 CA [19:36:16]RAPDU: 90 00 [19:36:16]wFMCommunicate OK [19:36:16]wFMCommunicate request_size=4 [19:36:16]MH_SAM_APDU [19:36:16]CAPDU: 80 0D 03 02 [19:36:16]Write to MH i2c: E2 08 00 4B 0C 80 0D 03 02 00 00 00 00 D2 [19:36:16]Write i2c OK [19:36:16]MH_I2C_Read... [19:36:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:16]Read from MH i2c: E2 [19:36:16]MH_I2C_Read... [19:36:16]Read from MH i2c: E2 0B 00 [19:36:16]MH_I2C_Read... [19:36:17]Read from MH i2c: E2 0B 00 4B 0C 00 98 13 8C 8A C2 5F 4C DE 90 00 DF [19:36:17]RAPDU: 98 13 8C 8A C2 5F 4C DE 90 00 [19:36:17]wFMCommunicate OK [19:36:17]SAM_PROTO_SignData done [19:36:17]FM_MakeSignedData done [19:36:17]CreateOFDProtocolMessage [19:36:17]wFMCommunicate request_size=4 [19:36:17]MH_SAM_APDU [19:36:17]CAPDU: 80 11 00 00 [19:36:17]Write to MH i2c: E2 08 00 4C 0C 80 11 00 00 00 00 00 00 D2 [19:36:17]Write i2c OK [19:36:17]MH_I2C_Read... [19:36:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:17]Read from MH i2c: E2 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: E2 17 00 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: E2 17 00 4C 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 25 [19:36:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:36:17]wFMCommunicate OK [19:36:17]CreateOFDProtocolMessage done [19:36:17]OFDSenderStorePacket 37129 [19:36:17]StoreOFDPacket docnum=37129 [19:36:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 AB 7A 07 01 C1 93 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 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 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 E5 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 41 00 00 00 F4 03 04 00 32 0A 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 09 91 00 00 35 04 06 00 39 40 DD A4 91 D3 98 13 8C 8A C2 5F 4C DE [19:36:17]CheckFolder [19:36:17]dirname=/storage/ofd_packets [19:36:17]CheckFolder done [19:36:17]ProducePacketName [19:36:17]name=ofd_packets/00037129 [19:36:17]NVStorageSaveData ofd_packets/00037129 [19:36:17]File name is /storage/ofd_packets/00037129 [19:36:17]Write 301 bytes [19:36:17]NVStorageSaveData done [19:36:17]OFDSenderStorePacket done [19:36:17]KKMCreateOFDPacket done [19:36:17]NVStorageSaveData kkm_last_timestamp [19:36:17]File name is /storage/kkm_last_timestamp [19:36:17]Write 4 bytes [19:36:17]NVStorageSaveData done [19:36:17]ExternCall_PrintAddStr [19:36:17]wPrintStart [19:36:17]Write to MH i2c: 01 00 00 4D 0C 59 [19:36:17]Write i2c OK [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 07 00 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 07 00 4D 0C 00 00 00 00 00 FF 0F 6E [19:36:17]RasterBufferAndPrint [19:36:17]line Счет N : (1)874095 [19:36:17]line ИНН: 02508201610067 [19:36:17]line Контрольно-Кассовый Чек [19:36:17]line ПРОДАЖА [19:36:17]line ТРК (МРК, ГНК) : 22 [19:36:17]line Товар: 2710124130 [19:36:17]line Аи-92-К-5 [19:36:17]line 8.970 * 66.90 [19:36:17]line = 600.09 [19:36:17]line НДС 12% НСП 1% [19:36:17]line > о реализуемом товаре [19:36:17]line ОКРУГЛЕНИЕ: -0.09 [19:36:17]line ИТОГО: 600.00 [19:36:17]line Внесено: 600.00 [19:36:17]line СДАЧА: 0.00 [19:36:17]line НСП 1% : 5.31 [19:36:17]line НДС 12% : 63.73 [19:36:17]line Наличными: 600.00 [19:36:17]line Безнал.: 0.00 [19:36:17]line Место: АЗС № 165 "Партнер Нефть" [19:36:17]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:36:17]line СНО: Общий режим [19:36:17]line Чек 65 19.10.2024 19:36 [19:36:17]line Смена: 460 ФФД: 1.0 [19:36:17]line ЗНМ: 0300000235 [19:36:17]line РНМ: 0000000000098149 [19:36:17]line Версия ККМ: 001 [19:36:17]line ФМ: 0000000000965372 [19:36:17]line ФД: 37129 [19:36:17]line ФПД: 62950759240147 [19:36:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T193618&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37129&fm=62950759240147&tin=02508201610067®Number=0000000000098149&sum=60000 [19:36:17]OFD Sender: Processing packet 37129 [packets to send 25, broken 24] [19:36:17]ProducePacketName [19:36:17]name=ofd_packets/00037129 [19:36:17]OFD Sender: To server: pG, [19:36:17]CommunicateWithHost lk.salyk.kg:30040 [19:36:17]ConnectInit lk.salyk.kg [19:36:17]written 0, free lines is 4095 [19:36:17]Connected sock=10 [19:36:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 AB 7A 07 01 C1 93 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 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 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 E5 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 41 00 00 00 F4 03 04 00 32 0A 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 09 91 00 00 35 04 06 00 39 40 DD A4 91 D3 98 13 8C 8A C2 5F 4C DE [19:36:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 54 1A 47 00 29 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 09 91 00 00 F4 03 04 00 C7 B2 13 67 B6 04 01 00 00 CE 26 05 3A 65 B0 5F C8 [19:36:17]CommunicateWithHost err = 0 [19:36:17]CheckOFDResponse [19:36:17]1017 (14) - 77093643461234 [19:36:17]1041 (16) - 0000000000965372 [19:36:17]1040 (4) - 37129 [19:36:17]1012 (4) - 19.10.2024 13:23 [19:36:17]1206 (1) - 0 [19:36:17]OFD Sender: Remove packet 37129 [19:36:17]ProducePacketName [19:36:17]name=ofd_packets/00037129 [19:36:17]NVStorageDeleteData [19:36:17]Write to MH i2c: 01 00 00 78 0C 84 [19:36:17]Write i2c OK [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 07 00 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: 01 07 00 78 0C 00 00 00 00 00 F2 0C 89 [19:36:17]RasterBufferAndPrint [19:36:17]line [19:36:17]line [19:36:17]line [19:36:17]line [19:36:17]line [19:36:17]written 0, free lines is 3320 [19:36:17]process_action close_receipt done [19:36:17]requested_data is exist [19:36:17]produce_requested_data [19:36:17]requested_item fm.sn is exist - process it [19:36:17]wFMCommunicate request_size=4 [19:36:17]MH_SAM_APDU [19:36:17]CAPDU: 80 11 00 00 [19:36:17]Write to MH i2c: E2 08 00 7F 0C 80 11 00 00 00 00 00 00 05 [19:36:17]Write i2c OK [19:36:17]MH_I2C_Read... [19:36:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:17]Read from MH i2c: E2 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: E2 17 00 [19:36:17]MH_I2C_Read... [19:36:17]Read from MH i2c: E2 17 00 7F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 58 [19:36:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:36:17]wFMCommunicate OK [19:36:17]requested_item fd.num is exist - process it [19:36:17]SAM_PROTO_GetFieldsCounters [19:36:17]wFMCommunicate request_size=4 [19:36:17]MH_SAM_APDU [19:36:17]CAPDU: 80 13 00 00 [19:36:17]Write to MH i2c: E2 08 00 80 0C 80 13 00 00 00 00 00 00 08 [19:36:17]Write i2c OK [19:36:17]MH_I2C_Read... [19:36:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:18]Read from MH i2c: E2 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 62 00 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 62 00 80 0C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 09 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [19:36:18]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 09 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:36:18]wFMCommunicate OK [19:36:18]SAM_PROTO_GetFieldsCounters done [19:36:18]requested_item shift.num is exist - process it [19:36:18]requested_item shift.opened is exist - process it [19:36:18]req_shift_opened [19:36:18]FM_GetShiftState [19:36:18]SAM_PROTO_GetShiftState [19:36:18]wFMCommunicate request_size=4 [19:36:18]MH_SAM_APDU [19:36:18]CAPDU: 80 13 01 00 [19:36:18]Write to MH i2c: E2 08 00 81 0C 80 13 01 00 00 00 00 00 0A [19:36:18]Write i2c OK [19:36:18]MH_I2C_Read... [19:36:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:18]Read from MH i2c: E2 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 0E 00 [19:36:18]MH_I2C_Read... [19:36:18]Read from MH i2c: E2 0E 00 81 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 24 [19:36:18]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:36:18]wFMCommunicate OK [19:36:18]SAM_PROTO_GetShiftState done [19:36:18]FM_GetShiftState done [19:36:18]req_shift_opened done [19:36:18]requested_item shift.open_date is exist - process it [19:36:18]req_shift_open_date [19:36:18]req_shift_open_date done [19:36:18]produce_requested_data done [19:36:18]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37129,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:36:18]process_action_free close_receipt [19:36:18]json_value_free [19:36:18]json_value_free done [19:36:18]process_json_proto returns [19:36:18]Send response to host [19:36:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37129,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:36:18]free response buf [19:36:18]execute_script done [19:36:18]execute_script returns [19:36:18]free content buf [19:36:18]Sock 9.Close socket [19:36:18]Sock 9.Thread stoped [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]accept exits with 7 [19:40:03]New connection [19:40:03]New thread 3066555748 created [19:40:03]Thread 3066699108 joined [19:40:03]Waiting for new connection... [19:40:03] Sock 7.Parse request [19:40:03]Sock 7.Check first char [19:40:03]Sock 7.First char is OK [19:40:03]request: POST /json_proto HTTP/1.0 [19:40:03]Method: POST [19:40:03]URL: /json_proto [19:40:03]Method is POST - this is cgi request [19:40:03]url: /json_proto [19:40:03]query_string will be loaded in cgi processing [19:40:03]execute_cgi json_proto POST (null) [19:40:03]execute_cgi path=json_proto method=POST [19:40:03]POST find Content-Length [19:40:03]Host: 172.17.53.68:8080 [19:40:03]Content-Length: 670 [19:40:03]Content-Type: application/json [19:40:03] [19:40:03]POST finish read [19:40:03]Found Content-Length = 670 [19:40:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874096", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.120, "sum" : 350.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:03]execute_script... [19:40:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874096", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "Super 92-\u041A-5", "price" : 68.40, "quantity" : 5.120, "sum" : 350.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:03]POST & json_proto [19:40:03]process_json_proto [19:40:03]json parsed OK: [19:40:03]protocol is kg_v1.0 [19:40:03]action value=close_receipt [19:40:03]process_action close_receipt [19:40:03]cmd_close_receipt [19:40:03]MH_GetDate [19:40:03]Write to MH i2c: F0 00 00 82 0C 7D [19:40:03]Write i2c OK [19:40:03]MH_I2C_Read... [19:40:03]Read from MH i2c: F0 [19:40:03]MH_I2C_Read... [19:40:03]Read from MH i2c: F0 09 00 [19:40:03]MH_I2C_Read... [19:40:03]Read from MH i2c: F0 09 00 82 0C 00 16 0B 14 67 C5 A4 76 66 67 [19:40:03]GetLastDocTimeStamp 1729366578 [19:40:03]current date 1729366806 [19:40:03]FM_GetShiftState [19:40:03]SAM_PROTO_GetShiftState [19:40:03]wFMCommunicate request_size=4 [19:40:03]MH_SAM_APDU [19:40:03]CAPDU: 80 13 01 00 [19:40:03]Write to MH i2c: E2 08 00 83 0C 80 13 01 00 00 00 00 00 0C [19:40:03]Write i2c OK [19:40:03]MH_I2C_Read... [19:40:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:03]Read from MH i2c: E2 [19:40:03]MH_I2C_Read... [19:40:03]Read from MH i2c: E2 0E 00 [19:40:03]MH_I2C_Read... [19:40:03]Read from MH i2c: E2 0E 00 83 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 26 [19:40:03]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:40:03]wFMCommunicate OK [19:40:03]SAM_PROTO_GetShiftState done [19:40:03]FM_GetShiftState done [19:40:03]opened in 1729296796 [19:40:03]opened+sec_in_day 1729383196 [19:40:03]quantity*price = 35020 [19:40:03]sum+1 = 35022 [19:40:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 350.00 Внесено: 350.00 СДАЧА: 0.00 НСП 1% : 3.10 НДС 12% : 37.19 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 66 19.10.2024 19:40 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37130 ФПД: 10911760752212 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194006&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37130&fm=10911760752212&tin=02508201610067®Number=0000000000098149&sum=35000 [19:40:04]StoreToDocumentArchive [19:40:04]shift 460 fd 37130 [19:40:04]save to /storage/0460/doc_00037130 [19:40:04]save last doc name /storage/0460/doc_00037130 to /storage/kkm_last_doc_name [19:40:04]save OK [19:40:04]Clear old archive folders... [19:40:04]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:40:04]tlvbuf is 0097B760 [19:40:04]SAM_PROTO_ClearQueue [19:40:04]wFMCommunicate request_size=4 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 09 00 00 [19:40:04]Write to MH i2c: E2 08 00 90 0C 80 09 00 00 00 00 00 00 0E [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 90 0C 00 90 00 10 [19:40:04]RAPDU: 90 00 [19:40:04]wFMCommunicate OK [19:40:04]SAM_PROTO_ClearQueue done [19:40:04]KKMCreateOFDPacket [19:40:04]OFDProtocolAddRootSTLVToBuf [19:40:04]FM_MakeSignedData [19:40:04]FM_MakeSignedData [19:40:04]SAM_PROTO_SignData [19:40:04]wFMCommunicate request_size=4 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 0D 01 02 [19:40:04]Write to MH i2c: E2 08 00 91 0C 80 0D 01 02 00 00 00 00 16 [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 91 0C 00 90 00 11 [19:40:04]RAPDU: 90 00 [19:40:04]wFMCommunicate OK [19:40:04]wFMCommunicate request_size=255 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 16 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0A 91 00 00 35 04 06 00 [19:40:04]Write to MH i2c: E2 02 01 92 0C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 16 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0A 91 00 00 35 04 06 00 00 00 10 [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 92 0C 00 90 00 12 [19:40:04]RAPDU: 90 00 [19:40:04]wFMCommunicate OK [19:40:04]wFMCommunicate request_size=11 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 0D 02 02 06 09 EC 97 9F 9E 54 [19:40:04]Write to MH i2c: E2 0E 00 93 0C 80 0D 02 02 06 00 09 EC 97 9F 9E 54 00 00 42 [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 03 00 93 0C 00 90 00 13 [19:40:04]RAPDU: 90 00 [19:40:04]wFMCommunicate OK [19:40:04]wFMCommunicate request_size=4 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 0D 03 02 [19:40:04]Write to MH i2c: E2 08 00 94 0C 80 0D 03 02 00 00 00 00 1B [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 0B 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 0B 00 94 0C 00 F7 BE 9B FB 22 18 E7 B9 90 00 41 [19:40:04]RAPDU: F7 BE 9B FB 22 18 E7 B9 90 00 [19:40:04]wFMCommunicate OK [19:40:04]SAM_PROTO_SignData done [19:40:04]FM_MakeSignedData done [19:40:04]CreateOFDProtocolMessage [19:40:04]wFMCommunicate request_size=4 [19:40:04]MH_SAM_APDU [19:40:04]CAPDU: 80 11 00 00 [19:40:04]Write to MH i2c: E2 08 00 95 0C 80 11 00 00 00 00 00 00 1B [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:04]Read from MH i2c: E2 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 17 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: E2 17 00 95 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6E [19:40:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:40:04]wFMCommunicate OK [19:40:04]CreateOFDProtocolMessage done [19:40:04]OFDSenderStorePacket 37130 [19:40:04]StoreOFDPacket docnum=37130 [19:40:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 01 00 00 8B 9D 08 01 83 D7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 16 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0A 91 00 00 35 04 06 00 09 EC 97 9F 9E 54 F7 BE 9B FB 22 18 E7 B9 [19:40:04]CheckFolder [19:40:04]dirname=/storage/ofd_packets [19:40:04]CheckFolder done [19:40:04]ProducePacketName [19:40:04]name=ofd_packets/00037130 [19:40:04]NVStorageSaveData ofd_packets/00037130 [19:40:04]File name is /storage/ofd_packets/00037130 [19:40:04]Write 302 bytes [19:40:04]NVStorageSaveData done [19:40:04]OFDSenderStorePacket done [19:40:04]KKMCreateOFDPacket done [19:40:04]NVStorageSaveData kkm_last_timestamp [19:40:04]File name is /storage/kkm_last_timestamp [19:40:04]Write 4 bytes [19:40:04]NVStorageSaveData done [19:40:04]ExternCall_PrintAddStr [19:40:04]wPrintStart [19:40:04]Write to MH i2c: 01 00 00 96 0C A2 [19:40:04]Write i2c OK [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: 01 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: 01 07 00 [19:40:04]MH_I2C_Read... [19:40:04]Read from MH i2c: 01 07 00 96 0C 00 00 00 00 00 FF 0F B7 [19:40:04]RasterBufferAndPrint [19:40:04]line Счет N : (1)874096 [19:40:04]line ИНН: 02508201610067 [19:40:04]line Контрольно-Кассовый Чек [19:40:04]line ПРОДАЖА [19:40:04]line ТРК (МРК, ГНК) : 13 [19:40:04]line Товар: 2710124130 [19:40:04]line Super 92-К-5 [19:40:04]line 5.120 * 68.40 [19:40:04]line = 350.21 [19:40:04]line НДС 12% НСП 1% [19:40:04]line > о реализуемом товаре [19:40:04]line ОКРУГЛЕНИЕ: -0.21 [19:40:04]line ИТОГО: 350.00 [19:40:04]line Внесено: 350.00 [19:40:04]line СДАЧА: 0.00 [19:40:04]line НСП 1% : 3.10 [19:40:04]line НДС 12% : 37.19 [19:40:04]line Наличными: 350.00 [19:40:04]line Безнал.: 0.00 [19:40:04]line Место: АЗС № 165 "Партнер Нефть" [19:40:04]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:40:04]line СНО: Общий режим [19:40:04]line Чек 66 19.10.2024 19:40 [19:40:04]line Смена: 460 ФФД: 1.0 [19:40:04]line ЗНМ: 0300000235 [19:40:04]line РНМ: 0000000000098149 [19:40:04]line Версия ККМ: 001 [19:40:04]line ФМ: 0000000000965372 [19:40:04]line ФД: 37130 [19:40:04]line ФПД: 10911760752212 [19:40:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194006&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37130&fm=10911760752212&tin=02508201610067®Number=0000000000098149&sum=35000 [19:40:04]written 0, free lines is 4095 [19:40:04]OFD Sender: Processing packet 37130 [packets to send 25, broken 24] [19:40:04]ProducePacketName [19:40:04]name=ofd_packets/00037130 [19:40:04]OFD Sender: To server: pG, [19:40:04]CommunicateWithHost lk.salyk.kg:30040 [19:40:04]ConnectInit lk.salyk.kg [19:40:05]Connected sock=10 [19:40: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 33 37 32 10 01 00 00 8B 9D 08 01 83 D7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 14 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 CD 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 16 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0A 91 00 00 35 04 06 00 09 EC 97 9F 9E 54 F7 BE 9B FB 22 18 E7 B9 [19:40:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0C D1 47 00 A1 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0A 91 00 00 F4 03 04 00 AA B3 13 67 B6 04 01 00 00 ED FF 25 7D 77 67 31 0D [19:40:05]CommunicateWithHost err = 0 [19:40:05]CheckOFDResponse [19:40:05]1017 (14) - 77093643461234 [19:40:05]1041 (16) - 0000000000965372 [19:40:05]1040 (4) - 37130 [19:40:05]1012 (4) - 19.10.2024 13:27 [19:40:05]1206 (1) - 0 [19:40:05]OFD Sender: Remove packet 37130 [19:40:05]ProducePacketName [19:40:05]name=ofd_packets/00037130 [19:40:05]NVStorageDeleteData [19:40:05]Write to MH i2c: 01 00 00 C1 0C CD [19:40:05]Write i2c OK [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: 01 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: 01 07 00 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: 01 07 00 C1 0C 00 00 00 00 00 E1 0C C1 [19:40:05]RasterBufferAndPrint [19:40:05]line [19:40:05]line [19:40:05]line [19:40:05]line [19:40:05]line [19:40:05]written 0, free lines is 3303 [19:40:05]process_action close_receipt done [19:40:05]requested_data is exist [19:40:05]produce_requested_data [19:40:05]requested_item fm.sn is exist - process it [19:40:05]wFMCommunicate request_size=4 [19:40:05]MH_SAM_APDU [19:40:05]CAPDU: 80 11 00 00 [19:40:05]Write to MH i2c: E2 08 00 C8 0C 80 11 00 00 00 00 00 00 4E [19:40:05]Write i2c OK [19:40:05]MH_I2C_Read... [19:40:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:05]Read from MH i2c: E2 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 17 00 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 17 00 C8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 A1 [19:40:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:40:05]wFMCommunicate OK [19:40:05]requested_item fd.num is exist - process it [19:40:05]SAM_PROTO_GetFieldsCounters [19:40:05]wFMCommunicate request_size=4 [19:40:05]MH_SAM_APDU [19:40:05]CAPDU: 80 13 00 00 [19:40:05]Write to MH i2c: E2 08 00 C9 0C 80 13 00 00 00 00 00 00 51 [19:40:05]Write i2c OK [19:40:05]MH_I2C_Read... [19:40:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:40:05]Read from MH i2c: E2 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 62 00 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 62 00 C9 0C 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0A 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [19:40: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0A 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:40:05]wFMCommunicate OK [19:40:05]SAM_PROTO_GetFieldsCounters done [19:40:05]requested_item shift.num is exist - process it [19:40:05]requested_item shift.opened is exist - process it [19:40:05]req_shift_opened [19:40:05]FM_GetShiftState [19:40:05]SAM_PROTO_GetShiftState [19:40:05]wFMCommunicate request_size=4 [19:40:05]MH_SAM_APDU [19:40:05]CAPDU: 80 13 01 00 [19:40:05]Write to MH i2c: E2 08 00 CA 0C 80 13 01 00 00 00 00 00 53 [19:40:05]Write i2c OK [19:40:05]MH_I2C_Read... [19:40:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:05]Read from MH i2c: E2 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 0E 00 [19:40:05]MH_I2C_Read... [19:40:05]Read from MH i2c: E2 0E 00 CA 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6D [19:40:05]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:40:05]wFMCommunicate OK [19:40:05]SAM_PROTO_GetShiftState done [19:40:05]FM_GetShiftState done [19:40:05]req_shift_opened done [19:40:05]requested_item shift.open_date is exist - process it [19:40:05]req_shift_open_date [19:40:05]req_shift_open_date done [19:40:05]produce_requested_data done [19:40:05]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37130,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:40:05]process_action_free close_receipt [19:40:05]json_value_free [19:40:05]json_value_free done [19:40:05]process_json_proto returns [19:40:05]Send response to host [19:40:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37130,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:40:05]free response buf [19:40:05]execute_script done [19:40:05]execute_script returns [19:40:05]free content buf [19:40:05]Sock 7.Close socket [19:40:05]Sock 7.Thread stoped [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:21]accept exits with 9 [19:40:21]New connection [19:40:21]New thread 3066699108 created [19:40:21]Thread 3066555748 joined [19:40:21]Waiting for new connection... [19:40:21] Sock 9.Parse request [19:40:21]Sock 9.Check first char [19:40:21]Sock 9.First char is OK [19:40:21]request: POST /json_proto HTTP/1.0 [19:40:21]Method: POST [19:40:21]URL: /json_proto [19:40:21]Method is POST - this is cgi request [19:40:21]url: /json_proto [19:40:21]query_string will be loaded in cgi processing [19:40:21]execute_cgi json_proto POST (null) [19:40:21]execute_cgi path=json_proto method=POST [19:40:21]POST find Content-Length [19:40:21]Host: 172.17.53.68:8080 [19:40:21]Content-Length: 677 [19:40:21]Content-Type: application/json [19:40:21] [19:40:21]POST finish read [19:40:21]Found Content-Length = 677 [19:40:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874097", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:21]execute_script... [19:40:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)874097", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:40:21]POST & json_proto [19:40:21]process_json_proto [19:40:21]json parsed OK: [19:40:21]protocol is kg_v1.0 [19:40:21]action value=close_receipt [19:40:21]process_action close_receipt [19:40:21]cmd_close_receipt [19:40:21]MH_GetDate [19:40:21]Write to MH i2c: F0 00 00 CB 0C C6 [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: F0 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: F0 09 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: F0 09 00 CB 0C 00 28 0B 14 67 C5 A4 76 66 C2 [19:40:21]GetLastDocTimeStamp 1729366806 [19:40:21]current date 1729366824 [19:40:21]FM_GetShiftState [19:40:21]SAM_PROTO_GetShiftState [19:40:21]wFMCommunicate request_size=4 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 13 01 00 [19:40:21]Write to MH i2c: E2 08 00 CC 0C 80 13 01 00 00 00 00 00 55 [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:21]Read from MH i2c: E2 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 0E 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 0E 00 CC 0C 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 6F [19:40:21]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:40:21]wFMCommunicate OK [19:40:21]SAM_PROTO_GetShiftState done [19:40:21]FM_GetShiftState done [19:40:21]opened in 1729296796 [19:40:21]opened+sec_in_day 1729383196 [19:40:21]quantity*price = 50041 [19:40:21]sum+1 = 50042 [19:40:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 67 19.10.2024 19:40 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37131 ФПД: 218559592860748 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194024&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37131&fm=218559592860748&tin=02508201610067®Number=0000000000098149&sum=50000 [19:40:22]StoreToDocumentArchive [19:40:22]shift 460 fd 37131 [19:40:22]save to /storage/0460/doc_00037131 [19:40:22]save last doc name /storage/0460/doc_00037131 to /storage/kkm_last_doc_name [19:40:22]save OK [19:40:22]Clear old archive folders... [19:40:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:40:22]tlvbuf is 009A6960 [19:40:22]SAM_PROTO_ClearQueue [19:40:22]wFMCommunicate request_size=4 [19:40:22]MH_SAM_APDU [19:40:22]CAPDU: 80 09 00 00 [19:40:22]Write to MH i2c: E2 08 00 D9 0C 80 09 00 00 00 00 00 00 57 [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:40:22]Read from MH i2c: E2 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 03 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 03 00 D9 0C 00 90 00 59 [19:40:22]RAPDU: 90 00 [19:40:22]wFMCommunicate OK [19:40:22]SAM_PROTO_ClearQueue done [19:40:22]KKMCreateOFDPacket [19:40:22]OFDProtocolAddRootSTLVToBuf [19:40:22]FM_MakeSignedData [19:40:22]FM_MakeSignedData [19:40:22]SAM_PROTO_SignData [19:40:22]wFMCommunicate request_size=4 [19:40:22]MH_SAM_APDU [19:40:22]CAPDU: 80 0D 01 02 [19:40:22]Write to MH i2c: E2 08 00 DA 0C 80 0D 01 02 00 00 00 00 5F [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:40:22]Read from MH i2c: E2 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 03 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 03 00 DA 0C 00 90 00 5A [19:40:22]RAPDU: 90 00 [19:40:22]wFMCommunicate OK [19:40:22]wFMCommunicate request_size=255 [19:40:22]MH_SAM_APDU [19:40:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 28 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0B 91 00 00 35 04 06 00 C6 [19:40:22]Write to MH i2c: E2 02 01 DB 0C 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 28 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0B 91 00 00 35 04 06 00 C6 00 00 14 [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:23]Read from MH i2c: E2 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 03 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 03 00 DB 0C 00 90 00 5B [19:40:23]RAPDU: 90 00 [19:40:23]wFMCommunicate OK [19:40:23]wFMCommunicate request_size=10 [19:40:23]MH_SAM_APDU [19:40:23]CAPDU: 80 0D 02 02 05 C7 5E E5 0C 4C [19:40:23]Write to MH i2c: E2 0D 00 DC 0C 80 0D 02 02 05 00 C7 5E E5 0C 4C 00 00 CE [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:23]Read from MH i2c: E2 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 03 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 03 00 DC 0C 00 90 00 5C [19:40:23]RAPDU: 90 00 [19:40:23]wFMCommunicate OK [19:40:23]wFMCommunicate request_size=4 [19:40:23]MH_SAM_APDU [19:40:23]CAPDU: 80 0D 03 02 [19:40:23]Write to MH i2c: E2 08 00 DD 0C 80 0D 03 02 00 00 00 00 64 [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:40:23]Read from MH i2c: E2 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 0B 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 0B 00 DD 0C 00 B7 23 58 F2 25 81 D9 B7 90 00 BF [19:40:23]RAPDU: B7 23 58 F2 25 81 D9 B7 90 00 [19:40:23]wFMCommunicate OK [19:40:23]SAM_PROTO_SignData done [19:40:23]FM_MakeSignedData done [19:40:23]CreateOFDProtocolMessage [19:40:23]wFMCommunicate request_size=4 [19:40:23]MH_SAM_APDU [19:40:23]CAPDU: 80 11 00 00 [19:40:23]Write to MH i2c: E2 08 00 DE 0C 80 11 00 00 00 00 00 00 64 [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:23]Read from MH i2c: E2 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 17 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: E2 17 00 DE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B7 [19:40:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:40:23]wFMCommunicate OK [19:40:23]CreateOFDProtocolMessage done [19:40:23]OFDSenderStorePacket 37131 [19:40:23]StoreOFDPacket docnum=37131 [19:40:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 01 00 00 50 88 07 01 30 40 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 28 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0B 91 00 00 35 04 06 00 C6 C7 5E E5 0C 4C B7 23 58 F2 25 81 D9 B7 [19:40:23]CheckFolder [19:40:23]dirname=/storage/ofd_packets [19:40:23]CheckFolder done [19:40:23]ProducePacketName [19:40:23]name=ofd_packets/00037131 [19:40:23]NVStorageSaveData ofd_packets/00037131 [19:40:23]File name is /storage/ofd_packets/00037131 [19:40:23]Write 301 bytes [19:40:23]NVStorageSaveData done [19:40:23]OFDSenderStorePacket done [19:40:23]KKMCreateOFDPacket done [19:40:23]NVStorageSaveData kkm_last_timestamp [19:40:23]File name is /storage/kkm_last_timestamp [19:40:23]Write 4 bytes [19:40:23]NVStorageSaveData done [19:40:23]ExternCall_PrintAddStr [19:40:23]wPrintStart [19:40:23]Write to MH i2c: 01 00 00 DF 0C EB [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 07 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 07 00 DF 0C 00 00 00 00 00 FF 0F 00 [19:40:23]RasterBufferAndPrint [19:40:23]line Счет N : (1)874097 [19:40:23]line ИНН: 02508201610067 [19:40:23]line Контрольно-Кассовый Чек [19:40:23]line ПРОДАЖА [19:40:23]line ТРК (МРК, ГНК) : 32 [19:40:23]line Товар: 2710124130 [19:40:23]line Аи-92-К-5 [19:40:23]line 7.480 * 66.90 [19:40:23]line = 500.41 [19:40:23]line НДС 12% НСП 1% [19:40:23]line > о реализуемом товаре [19:40:23]line ОКРУГЛЕНИЕ: -0.41 [19:40:23]line ИТОГО: 500.00 [19:40:23]line Внесено: 500.00 [19:40:23]line СДАЧА: 0.00 [19:40:23]line НСП 1% : 4.43 [19:40:23]line НДС 12% : 53.14 [19:40:23]line Наличными: 500.00 [19:40:23]line Безнал.: 0.00 [19:40:23]line Место: АЗС № 165 "Партнер Нефть" [19:40:23]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:40:23]line СНО: Общий режим [19:40:23]line Чек 67 19.10.2024 19:40 [19:40:23]line Смена: 460 ФФД: 1.0 [19:40:23]line ЗНМ: 0300000235 [19:40:23]line РНМ: 0000000000098149 [19:40:23]line Версия ККМ: 001 [19:40:23]line ФМ: 0000000000965372 [19:40:23]line ФД: 37131 [19:40:23]line ФПД: 218559592860748 [19:40:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194024&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37131&fm=218559592860748&tin=02508201610067®Number=0000000000098149&sum=50000 [19:40:23]OFD Sender: Processing packet 37131 [packets to send 25, broken 24] [19:40:23]ProducePacketName [19:40:23]name=ofd_packets/00037131 [19:40:23]OFD Sender: To server: pG, [19:40:23]CommunicateWithHost lk.salyk.kg:30040 [19:40:23]ConnectInit lk.salyk.kg [19:40:23]written 0, free lines is 4095 [19:40:23]Connected sock=7 [19:40: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 33 37 32 0F 01 00 00 50 88 07 01 30 40 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 28 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0B 91 00 00 35 04 06 00 C6 C7 5E E5 0C 4C B7 23 58 F2 25 81 D9 B7 [19:40:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 4A 7F 47 00 6F 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0B 91 00 00 F4 03 04 00 BD B3 13 67 B6 04 01 00 00 F5 82 77 C1 37 EB 8A 6A [19:40:23]CommunicateWithHost err = 0 [19:40:23]CheckOFDResponse [19:40:23]1017 (14) - 77093643461234 [19:40:23]1041 (16) - 0000000000965372 [19:40:23]1040 (4) - 37131 [19:40:23]1012 (4) - 19.10.2024 13:27 [19:40:23]1206 (1) - 0 [19:40:23]OFD Sender: Remove packet 37131 [19:40:23]ProducePacketName [19:40:23]name=ofd_packets/00037131 [19:40:23]NVStorageDeleteData [19:40:23]Write to MH i2c: 01 00 00 0A 0D 17 [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 07 00 [19:40:23]MH_I2C_Read... [19:40:23]Read from MH i2c: 01 07 00 0A 0D 00 00 00 00 00 DF 0C 09 [19:40:23]RasterBufferAndPrint [19:40:23]line [19:40:23]line [19:40:23]line [19:40:23]line [19:40:23]line [19:40:23]written 0, free lines is 3301 [19:40:23]process_action close_receipt done [19:40:23]requested_data is exist [19:40:23]produce_requested_data [19:40:23]requested_item fm.sn is exist - process it [19:40:23]wFMCommunicate request_size=4 [19:40:23]MH_SAM_APDU [19:40:23]CAPDU: 80 11 00 00 [19:40:23]Write to MH i2c: E2 08 00 11 0D 80 11 00 00 00 00 00 00 98 [19:40:23]Write i2c OK [19:40:23]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 17 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 17 00 11 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 EB [19:40:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:40:24]wFMCommunicate OK [19:40:24]requested_item fd.num is exist - process it [19:40:24]SAM_PROTO_GetFieldsCounters [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 13 00 00 [19:40:24]Write to MH i2c: E2 08 00 12 0D 80 13 00 00 00 00 00 00 9B [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 62 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 62 00 12 0D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0B 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [19:40: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0B 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:40:24]wFMCommunicate OK [19:40:24]SAM_PROTO_GetFieldsCounters done [19:40:24]requested_item shift.num is exist - process it [19:40:24]requested_item shift.opened is exist - process it [19:40:24]req_shift_opened [19:40:24]FM_GetShiftState [19:40:24]SAM_PROTO_GetShiftState [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 13 01 00 [19:40:24]Write to MH i2c: E2 08 00 13 0D 80 13 01 00 00 00 00 00 9D [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:24]E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 0E 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 0E 00 13 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B7 [19:40:24]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:40:24]wFMCommunicate OK [19:40:24]SAM_PROTO_GetShiftState done [19:40:24]FM_GetShiftState done [19:40:24]req_shift_opened done [19:40:24]requested_item shift.open_date is exist - process it [19:40:24]req_shift_open_date [19:40:24]req_shift_open_date done [19:40:24]produce_requested_data done [19:40:24]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37131,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:40:24]process_action_free close_receipt [19:40:24]json_value_free [19:40:24]json_value_free done [19:40:24]process_json_proto returns [19:40:24]Send response to host [19:40:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37131,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:40:24]free response buf [19:40:24]execute_script done [19:40:24]execute_script returns [19:40:24]free content buf [19:40:24]Sock 9.Close socket [19:40:24]Sock 9.Thread stoped [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:04]accept exits with 10 [19:42:04]New connection [19:42:04]New thread 3066555748 created [19:42:04]Thread 3066699108 joined [19:42:04]Waiting for new connection... [19:42:04] Sock 10.Parse request [19:42:04]Sock 10.Check first char [19:42:04]Sock 10.First char is OK [19:42:04]request: POST /json_proto HTTP/1.0 [19:42:04]Method: POST [19:42:04]URL: /json_proto [19:42:04]Method is POST - this is cgi request [19:42:04]url: /json_proto [19:42:04]query_string will be loaded in cgi processing [19:42:04]execute_cgi json_proto POST (null) [19:42:04]execute_cgi path=json_proto method=POST [19:42:04]POST find Content-Length [19:42:04]Host: 172.17.53.68:8080 [19:42:04]Content-Length: 1321 [19:42:04]Content-Type: application/json [19:42:04] [19:42:04]POST finish read [19:42:04]Found Content-Length = 1321 [19:42:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76618", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:04]execute_script... [19:42:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76618", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:04]POST & json_proto [19:42:04]process_json_proto [19:42:04]json parsed OK: [19:42:04]protocol is kg_v1.0 [19:42:04]action value=close_receipt [19:42:04]process_action close_receipt [19:42:04]cmd_close_receipt [19:42:04]MH_GetDate [19:42:04]Write to MH i2c: F0 00 00 14 0D 10 [19:42:04]Write i2c OK [19:42:04]MH_I2C_Read... [19:42:04]Read from MH i2c: F0 [19:42:04]MH_I2C_Read... [19:42:04]Read from MH i2c: F0 09 00 [19:42:04]MH_I2C_Read... [19:42:04]Read from MH i2c: F0 09 00 14 0D 00 8F 0B 14 67 C5 A4 76 66 73 [19:42:04]GetLastDocTimeStamp 1729366824 [19:42:04]current date 1729366927 [19:42:04]FM_GetShiftState [19:42:04]SAM_PROTO_GetShiftState [19:42:04]wFMCommunicate request_size=4 [19:42:04]MH_SAM_APDU [19:42:04]CAPDU: 80 13 01 00 [19:42:04]Write to MH i2c: E2 08 00 15 0D 80 13 01 00 00 00 00 00 9F [19:42:04]Write i2c OK [19:42:04]MH_I2C_Read... [19:42:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:04]Read from MH i2c: E2 [19:42:04]MH_I2C_Read... [19:42:04]Read from MH i2c: E2 0E 00 [19:42:04]MH_I2C_Read... [19:42:04]Read from MH i2c: E2 0E 00 15 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 B9 [19:42:04]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:42:04]wFMCommunicate OK [19:42:04]SAM_PROTO_GetShiftState done [19:42:04]FM_GetShiftState done [19:42:04]opened in 1729296796 [19:42:04]opened+sec_in_day 1729383196 [19:42:04]quantity*price = 4000 [19:42:04]sum+1 = 4001 [19:42:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.31 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 68 19.10.2024 19:42 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37132 ФПД: 209410477080842 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194208&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37132&fm=209410477080842&tin=02508201610067®Number=0000000000098149&sum=21000 0 [19:42:05]StoreToDocumentArchive [19:42:05]shift 460 fd 37132 [19:42:05]save to /storage/0460/doc_00037132 [19:42:05]save last doc name /storage/0460/doc_00037132 to /storage/kkm_last_doc_name [19:42:05]save OK [19:42:05]Clear old archive folders... [19:42:05]ProcessDocumentItem done err = 0, tmpTLVsize=501 [19:42:05]tlvbuf is 009EBF60 [19:42:05]SAM_PROTO_ClearQueue [19:42:05]wFMCommunicate request_size=4 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 09 00 00 [19:42:05]Write to MH i2c: E2 08 00 22 0D 80 09 00 00 00 00 00 00 A1 [19:42:05]Write i2c OK [19:42:05]MH_I2C_Read... [19:42:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:05]Read from MH i2c: E2 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 03 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 03 00 22 0D 00 90 00 A3 [19:42:05]RAPDU: 90 00 [19:42:05]wFMCommunicate OK [19:42:05]SAM_PROTO_ClearQueue done [19:42:05]KKMCreateOFDPacket [19:42:05]OFDProtocolAddRootSTLVToBuf [19:42:05]FM_MakeSignedData [19:42:05]FM_MakeSignedData [19:42:05]SAM_PROTO_SignData [19:42:05]wFMCommunicate request_size=4 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 0D 01 02 [19:42:05]Write to MH i2c: E2 08 00 23 0D 80 0D 01 02 00 00 00 00 A9 [19:42:05]Write i2c OK [19:42:05]MH_I2C_Read... [19:42:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:05]Read from MH i2c: E2 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 03 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 03 00 23 0D 00 90 00 A4 [19:42:05]RAPDU: 90 00 [19:42:05]wFMCommunicate OK [19:42:05]wFMCommunicate request_size=255 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 0D 02 02 FA 03 00 F5 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 [19:42:06]Write to MH i2c: E2 02 01 24 0D 80 0D 02 02 FA 00 03 00 F5 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 00 00 F3 [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 24 0D 00 90 00 A5 [19:42:06]RAPDU: 90 00 [19:42:06]wFMCommunicate OK [19:42:06]wFMCommunicate request_size=255 [19:42:06]MH_SAM_APDU [19:42:06]CAPDU: 80 0D 02 02 FA 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 90 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0C 91 00 00 35 04 06 00 BE [19:42:06]Write to MH i2c: E2 02 01 25 0D 80 0D 02 02 FA 00 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 90 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0C 91 00 00 35 04 06 00 BE 00 00 18 [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 25 0D 00 90 00 A6 [19:42:06]RAPDU: 90 00 [19:42:06]wFMCommunicate OK [19:42:06]wFMCommunicate request_size=10 [19:42:06]MH_SAM_APDU [19:42:06]CAPDU: 80 0D 02 02 05 75 2D 19 41 0A [19:42:06]Write to MH i2c: E2 0D 00 26 0D 80 0D 02 02 05 00 75 2D 19 41 0A 00 00 BD [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 03 00 26 0D 00 90 00 A7 [19:42:06]RAPDU: 90 00 [19:42:06]wFMCommunicate OK [19:42:06]wFMCommunicate request_size=4 [19:42:06]MH_SAM_APDU [19:42:06]CAPDU: 80 0D 03 02 [19:42:06]Write to MH i2c: E2 08 00 27 0D 80 0D 03 02 00 00 00 00 AF [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 0B 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 0B 00 27 0D 00 86 19 80 E4 FD 29 CD E5 90 00 8B [19:42:06]RAPDU: 86 19 80 E4 FD 29 CD E5 90 00 [19:42:06]wFMCommunicate OK [19:42:06]SAM_PROTO_SignData done [19:42:06]FM_MakeSignedData done [19:42:06]CreateOFDProtocolMessage [19:42:06]wFMCommunicate request_size=4 [19:42:06]MH_SAM_APDU [19:42:06]CAPDU: 80 11 00 00 [19:42:06]Write to MH i2c: E2 08 00 28 0D 80 11 00 00 00 00 00 00 AF [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:06]Read from MH i2c: E2 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 17 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: E2 17 00 28 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 02 [19:42:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:42:06]wFMCommunicate OK [19:42:06]CreateOFDProtocolMessage done [19:42:06]OFDSenderStorePacket 37132 [19:42:06]StoreOFDPacket docnum=37132 [19:42:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 09 02 00 00 4C 3E 01 02 C0 AA 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 90 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0C 91 00 00 35 04 06 00 BE 75 2D 19 41 0A 86 19 80 E4 FD 29 CD E5 [19:42:06]CheckFolder [19:42:06]dirname=/storage/ofd_packets [19:42:06]CheckFolder done [19:42:06]ProducePacketName [19:42:06]name=ofd_packets/00037132 [19:42:06]NVStorageSaveData ofd_packets/00037132 [19:42:06]File name is /storage/ofd_packets/00037132 [19:42:06]Write 551 bytes [19:42:06]NVStorageSaveData done [19:42:06]OFDSenderStorePacket done [19:42:06]KKMCreateOFDPacket done [19:42:06]NVStorageSaveData kkm_last_timestamp [19:42:06]File name is /storage/kkm_last_timestamp [19:42:06]Write 4 bytes [19:42:06]NVStorageSaveData done [19:42:06]ExternCall_PrintAddStr [19:42:06]wPrintStart [19:42:06]Write to MH i2c: 01 00 00 29 0D 36 [19:42:06]Write i2c OK [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: 01 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: 01 07 00 [19:42:06]MH_I2C_Read... [19:42:06]Read from MH i2c: 01 07 00 29 0D 00 00 00 00 00 FF 0F 4B [19:42:06]RasterBufferAndPrint [19:42:06]line Счет N : (3)76618 [19:42:06]line ИНН: 02508201610067 [19:42:06]line Контрольно-Кассовый Чек [19:42:06]line ПРОДАЖА [19:42:06]line Товар: 4700000160044 [19:42:06]line Вода Ыссык Ата 0,5л [19:42:06]line 1.000 * 40.00 [19:42:06]line = 40.00 [19:42:06]line НДС 12% НСП 1% [19:42:06]line > о реализуемом товаре [19:42:06]line Товар: 4870001570057 [19:42:06]line Напиток Pepsi 0,5л [19:42:06]line 1.000 * 80.00 [19:42:06]line = 80.00 [19:42:06]line НДС 12% НСП 1% [19:42:06]line > о реализуемом товаре [19:42:06]line Товар: 4660085515163 [19:42:06]line Шок Батончик Сникерс супер 95/80г [19:42:06]line 1.000 * 90.00 [19:42:06]line = 90.00 [19:42:06]line НДС 12% НСП 1% [19:42:06]line > о реализуемом товаре [19:42:06]line ИТОГО: 210.00 [19:42:06]line НСП 1% : 1.86 [19:42:06]line НДС 12% : 22.31 [19:42:06]line Наличными: 0.00 [19:42:06]line Безнал.: 210.00 [19:42:06]line Место: АЗС № 165 "Партнер Нефть" [19:42:06]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:42:06]line СНО: Общий режим [19:42:06]line Чек 68 19.10.2024 19:42 [19:42:06]line Смена: 460 ФФД: 1.0 [19:42:06]line ЗНМ: 0300000235 [19:42:06]line РНМ: 0000000000098149 [19:42:06]line Версия ККМ: 001 [19:42:06]line Платежная система: Mbank [19:42:06]line ФМ: 0000000000965372 [19:42:06]line ФД: 37132 [19:42:06]line ФПД: 209410477080842 [19:42:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194208&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37132&fm=209410477080842&tin=02508201610067®Number=0000000000098149&sum=21000 [19:42:06]line 0 [19:42:06]written 0, free lines is 4095 [19:42:06]OFD Sender: Processing packet 37132 [packets to send 25, broken 24] [19:42:06]ProducePacketName [19:42:06]name=ofd_packets/00037132 [19:42:06]OFD Sender: To server: pG, [19:42:06]CommunicateWithHost lk.salyk.kg:30040 [19:42:06]ConnectInit lk.salyk.kg [19:42:07]Connected sock=9 [19:42:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 09 02 00 00 4C 3E 01 02 C0 AA 5A 03 01 00 03 00 F5 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 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 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 90 0B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0C 91 00 00 35 04 06 00 BE 75 2D 19 41 0A 86 19 80 E4 FD 29 CD E5 [19:42:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 3C E7 47 00 3D 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0C 91 00 00 F4 03 04 00 24 B4 13 67 B6 04 01 00 00 3F 3E 70 65 30 E2 E7 A6 [19:42:07]CommunicateWithHost err = 0 [19:42:07]CheckOFDResponse [19:42:07]1017 (14) - 77093643461234 [19:42:07]1041 (16) - 0000000000965372 [19:42:07]1040 (4) - 37132 [19:42:07]1012 (4) - 19.10.2024 13:29 [19:42:07]1206 (1) - 0 [19:42:07]OFD Sender: Remove packet 37132 [19:42:07]ProducePacketName [19:42:07]name=ofd_packets/00037132 [19:42:07]NVStorageDeleteData [19:42:07]Write to MH i2c: 01 00 00 5F 0D 6C [19:42:07]Write i2c OK [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: 01 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: 01 07 00 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: 01 07 00 5F 0D 00 00 00 00 00 40 0C BF [19:42:07]RasterBufferAndPrint [19:42:07]line [19:42:07]line [19:42:07]line [19:42:07]line [19:42:07]line [19:42:07]written 0, free lines is 3145 [19:42:07]process_action close_receipt done [19:42:07]requested_data is exist [19:42:07]produce_requested_data [19:42:07]requested_item fm.sn is exist - process it [19:42:07]wFMCommunicate request_size=4 [19:42:07]MH_SAM_APDU [19:42:07]CAPDU: 80 11 00 00 [19:42:07]Write to MH i2c: E2 08 00 66 0D 80 11 00 00 00 00 00 00 ED [19:42:07]Write i2c OK [19:42:07]MH_I2C_Read... [19:42:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:07]Read from MH i2c: E2 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 17 00 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 17 00 66 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 40 [19:42:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:42:07]wFMCommunicate OK [19:42:07]requested_item fd.num is exist - process it [19:42:07]SAM_PROTO_GetFieldsCounters [19:42:07]wFMCommunicate request_size=4 [19:42:07]MH_SAM_APDU [19:42:07]CAPDU: 80 13 00 00 [19:42:07]Write to MH i2c: E2 08 00 67 0D 80 13 00 00 00 00 00 00 F0 [19:42:07]Write i2c OK [19:42:07]MH_I2C_Read... [19:42:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:07]Read from MH i2c: E2 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 62 00 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 62 00 67 0D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0C 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [19:42: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0C 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:07]wFMCommunicate OK [19:42:07]SAM_PROTO_GetFieldsCounters done [19:42:07]requested_item shift.num is exist - process it [19:42:07]requested_item shift.opened is exist - process it [19:42:07]req_shift_opened [19:42:07]FM_GetShiftState [19:42:07]SAM_PROTO_GetShiftState [19:42:07]wFMCommunicate request_size=4 [19:42:07]MH_SAM_APDU [19:42:07]CAPDU: 80 13 01 00 [19:42:07]Write to MH i2c: E2 08 00 68 0D 80 13 01 00 00 00 00 00 F2 [19:42:07]Write i2c OK [19:42:07]MH_I2C_Read... [19:42:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:07]OFD Sender: No OFD packet to send [19:42:07]Read from MH i2c: E2 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 0E 00 [19:42:07]MH_I2C_Read... [19:42:07]Read from MH i2c: E2 0E 00 68 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0C [19:42:07]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:42:07]wFMCommunicate OK [19:42:07]SAM_PROTO_GetShiftState done [19:42:07]FM_GetShiftState done [19:42:07]req_shift_opened done [19:42:07]requested_item shift.open_date is exist - process it [19:42:07]req_shift_open_date [19:42:07]req_shift_open_date done [19:42:07]produce_requested_data done [19:42:07]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37132,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:42:07]process_action_free close_receipt [19:42:07]json_value_free [19:42:07]json_value_free done [19:42:07]process_json_proto returns [19:42:07]Send response to host [19:42:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37132,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:42:07]free response buf [19:42:07]execute_script done [19:42:07]execute_script returns [19:42:07]free content buf [19:42:07]Sock 10.Close socket [19:42:07]Sock 10.Thread stoped [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [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:00]accept exits with 7 [19:48:00]New connection [19:48:00]New thread 3066699108 created [19:48:00]Thread 3066555748 joined [19:48:00]Waiting for new connection... [19:48:00] Sock 7.Parse request [19:48:00]Sock 7.Check first char [19:48:00]Sock 7.First char is OK [19:48:00]request: POST /json_proto HTTP/1.0 [19:48:00]Method: POST [19:48:00]URL: /json_proto [19:48:00]Method is POST - this is cgi request [19:48:00]url: /json_proto [19:48:00]query_string will be loaded in cgi processing [19:48:00]execute_cgi json_proto POST (null) [19:48:00]execute_cgi path=json_proto method=POST [19:48:00]POST find Content-Length [19:48:00]Host: 172.17.53.68:8080 [19:48:00]Content-Length: 619 [19:48:00]Content-Type: application/json [19:48:00] [19:48:00]POST finish read [19:48:00]Found Content-Length = 619 [19:48:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76619", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:00]execute_script... [19:48: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)76619", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:00]POST & json_proto [19:48:00]process_json_proto [19:48:00]json parsed OK: [19:48:00]protocol is kg_v1.0 [19:48:00]action value=close_receipt [19:48:00]process_action close_receipt [19:48:00]cmd_close_receipt [19:48:00]MH_GetDate [19:48:00]Write to MH i2c: F0 00 00 69 0D 65 [19:48:00]Write i2c OK [19:48:00]MH_I2C_Read... [19:48:00]Read from MH i2c: F0 [19:48:00]MH_I2C_Read... [19:48:00]Read from MH i2c: F0 09 00 [19:48:00]MH_I2C_Read... [19:48:00]Read from MH i2c: F0 09 00 69 0D 00 F3 0C 14 67 C5 A4 76 66 2D [19:48:00]GetLastDocTimeStamp 1729366928 [19:48:00]current date 1729367283 [19:48:00]FM_GetShiftState [19:48:00]SAM_PROTO_GetShiftState [19:48:00]wFMCommunicate request_size=4 [19:48:00]MH_SAM_APDU [19:48:00]CAPDU: 80 13 01 00 [19:48:00]Write to MH i2c: E2 08 00 6A 0D 80 13 01 00 00 00 00 00 F4 [19:48:00]Write i2c OK [19:48:00]MH_I2C_Read... [19:48:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:00]Read from MH i2c: E2 [19:48:00]MH_I2C_Read... [19:48:00]Read from MH i2c: E2 0E 00 [19:48:00]MH_I2C_Read... [19:48:00]Read from MH i2c: E2 0E 00 6A 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 0E [19:48:00]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:48:00]wFMCommunicate OK [19:48:00]SAM_PROTO_GetShiftState done [19:48:00]FM_GetShiftState done [19:48:00]opened in 1729296796 [19:48:00]opened+sec_in_day 1729383196 [19:48:00]quantity*price = 15000 [19:48:00]sum+1 = 15001 [19:48:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 69 19.10.2024 19:48 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37133 ФПД: 91940044914327 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194803&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37133&fm=91940044914327&tin=02508201610067®Number=0000000000098149&sum=15000 0 [19:48:01]StoreToDocumentArchive [19:48:01]shift 460 fd 37133 [19:48:01]save to /storage/0460/doc_00037133 [19:48:01]save last doc name /storage/0460/doc_00037133 to /storage/kkm_last_doc_name [19:48:01]save OK [19:48:01]Clear old archive folders... [19:48:01]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:48:01]tlvbuf is 009AD340 [19:48:01]SAM_PROTO_ClearQueue [19:48:01]wFMCommunicate request_size=4 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 09 00 00 [19:48:01]Write to MH i2c: E2 08 00 77 0D 80 09 00 00 00 00 00 00 F6 [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 77 0D 00 90 00 F8 [19:48:01]RAPDU: 90 00 [19:48:01]wFMCommunicate OK [19:48:01]SAM_PROTO_ClearQueue done [19:48:01]KKMCreateOFDPacket [19:48:01]OFDProtocolAddRootSTLVToBuf [19:48:01]FM_MakeSignedData [19:48:01]FM_MakeSignedData [19:48:01]SAM_PROTO_SignData [19:48:01]wFMCommunicate request_size=4 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 0D 01 02 [19:48:01]Write to MH i2c: E2 08 00 78 0D 80 0D 01 02 00 00 00 00 FE [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 78 0D 00 90 00 F9 [19:48:01]RAPDU: 90 00 [19:48:01]wFMCommunicate OK [19:48:01]wFMCommunicate request_size=255 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 F3 0C 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 [19:48:01]Write to MH i2c: E2 02 01 79 0D 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 F3 0C 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 00 00 18 [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 79 0D 00 90 00 FA [19:48:01]RAPDU: 90 00 [19:48:01]wFMCommunicate OK [19:48:01]wFMCommunicate request_size=31 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 37 32 10 04 04 00 0D 91 00 00 35 04 06 00 53 9E 75 B7 BE 97 [19:48:01]Write to MH i2c: E2 22 00 7A 0D 80 0D 02 02 1A 00 30 30 39 36 35 33 37 32 10 04 04 00 0D 91 00 00 35 04 06 00 53 9E 75 B7 BE 97 00 00 3C [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 03 00 7A 0D 00 90 00 FB [19:48:01]RAPDU: 90 00 [19:48:01]wFMCommunicate OK [19:48:01]wFMCommunicate request_size=4 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 0D 03 02 [19:48:01]Write to MH i2c: E2 08 00 7B 0D 80 0D 03 02 00 00 00 00 03 [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 0B 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 0B 00 7B 0D 00 D2 D5 C8 CF 4A B2 EC 9F 90 00 C9 [19:48:01]RAPDU: D2 D5 C8 CF 4A B2 EC 9F 90 00 [19:48:01]wFMCommunicate OK [19:48:01]SAM_PROTO_SignData done [19:48:01]FM_MakeSignedData done [19:48:01]CreateOFDProtocolMessage [19:48:01]wFMCommunicate request_size=4 [19:48:01]MH_SAM_APDU [19:48:01]CAPDU: 80 11 00 00 [19:48:01]Write to MH i2c: E2 08 00 7C 0D 80 11 00 00 00 00 00 00 03 [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:01]Read from MH i2c: E2 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 17 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: E2 17 00 7C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 56 [19:48:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:48:01]wFMCommunicate OK [19:48:01]CreateOFDProtocolMessage done [19:48:01]OFDSenderStorePacket 37133 [19:48:01]StoreOFDPacket docnum=37133 [19:48:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 24 01 00 00 1E 41 1C 01 A2 93 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 F3 0C 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0D 91 00 00 35 04 06 00 53 9E 75 B7 BE 97 D2 D5 C8 CF 4A B2 EC 9F [19:48:01]CheckFolder [19:48:01]dirname=/storage/ofd_packets [19:48:01]CheckFolder done [19:48:01]ProducePacketName [19:48:01]name=ofd_packets/00037133 [19:48:01]NVStorageSaveData ofd_packets/00037133 [19:48:01]File name is /storage/ofd_packets/00037133 [19:48:01]Write 322 bytes [19:48:01]NVStorageSaveData done [19:48:01]OFDSenderStorePacket done [19:48:01]KKMCreateOFDPacket done [19:48:01]NVStorageSaveData kkm_last_timestamp [19:48:01]File name is /storage/kkm_last_timestamp [19:48:01]Write 4 bytes [19:48:01]NVStorageSaveData done [19:48:01]ExternCall_PrintAddStr [19:48:01]wPrintStart [19:48:01]Write to MH i2c: 01 00 00 7D 0D 8A [19:48:01]Write i2c OK [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: 01 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: 01 07 00 [19:48:01]MH_I2C_Read... [19:48:01]Read from MH i2c: 01 07 00 7D 0D 00 00 00 00 00 FF 0F 9F [19:48:01]RasterBufferAndPrint [19:48:01]line Счет N : (3)76619 [19:48:01]line ИНН: 02508201610067 [19:48:01]line Контрольно-Кассовый Чек [19:48:01]line ПРОДАЖА [19:48:01]line Товар: 4640030091607 [19:48:01]line Сигареты ESSE Exchange [19:48:01]line 1.000 * 150.00 [19:48:01]line = 150.00 [19:48:01]line НДС 12% НСП 1% [19:48:01]line > о реализуемом товаре [19:48:01]line ИТОГО: 150.00 [19:48:01]line НСП 1% : 1.33 [19:48:01]line НДС 12% : 15.93 [19:48:01]line Наличными: 150.00 [19:48:01]line Безнал.: 0.00 [19:48:01]line Место: АЗС № 165 "Партнер Нефть" [19:48:01]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:48:01]line СНО: Общий режим [19:48:01]line Чек 69 19.10.2024 19:48 [19:48:01]line Смена: 460 ФФД: 1.0 [19:48:01]line ЗНМ: 0300000235 [19:48:01]line РНМ: 0000000000098149 [19:48:01]line Версия ККМ: 001 [19:48:01]line ФМ: 0000000000965372 [19:48:01]line ФД: 37133 [19:48:01]line ФПД: 91940044914327 [19:48:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T194803&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37133&fm=91940044914327&tin=02508201610067®Number=0000000000098149&sum=15000 [19:48:02]line 0 [19:48:02]OFD Sender: Processing packet 37133 [packets to send 25, broken 24] [19:48:02]ProducePacketName [19:48:02]name=ofd_packets/00037133 [19:48:02]OFD Sender: To server: pG, [19:48:02]CommunicateWithHost lk.salyk.kg:30040 [19:48:02]ConnectInit lk.salyk.kg [19:48:02]written 0, free lines is 4095 [19:48:02]Connected sock=10 [19:48: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 33 37 32 24 01 00 00 1E 41 1C 01 A2 93 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 F3 0C 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0D 91 00 00 35 04 06 00 53 9E 75 B7 BE 97 D2 D5 C8 CF 4A B2 EC 9F [19:48:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 86 29 47 00 D9 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 33 37 32 10 04 04 00 0D 91 00 00 F4 03 04 00 88 B5 13 67 B6 04 01 00 00 54 54 AF D9 03 B2 34 26 [19:48:02]CommunicateWithHost err = 0 [19:48:02]CheckOFDResponse [19:48:02]1017 (14) - 77093643461234 [19:48:02]1041 (16) - 0000000000965372 [19:48:02]1040 (4) - 37133 [19:48:02]1012 (4) - 19.10.2024 13:35 [19:48:02]1206 (1) - 0 [19:48:02]OFD Sender: Remove packet 37133 [19:48:02]ProducePacketName [19:48:02]name=ofd_packets/00037133 [19:48:02]NVStorageDeleteData [19:48:02]Write to MH i2c: 01 00 00 A5 0D B2 [19:48:02]Write i2c OK [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: 01 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: 01 07 00 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: 01 07 00 A5 0D 00 00 00 00 00 03 0D C9 [19:48:02]RasterBufferAndPrint [19:48:02]line [19:48:02]line [19:48:02]line [19:48:02]line [19:48:02]line [19:48:02]written 0, free lines is 3337 [19:48:02]process_action close_receipt done [19:48:02]requested_data is exist [19:48:02]produce_requested_data [19:48:02]requested_item fm.sn is exist - process it [19:48:02]wFMCommunicate request_size=4 [19:48:02]MH_SAM_APDU [19:48:02]CAPDU: 80 11 00 00 [19:48:02]Write to MH i2c: E2 08 00 AC 0D 80 11 00 00 00 00 00 00 33 [19:48:02]Write i2c OK [19:48:02]MH_I2C_Read... [19:48:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:02]Read from MH i2c: E2 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 17 00 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 17 00 AC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 86 [19:48:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:48:02]wFMCommunicate OK [19:48:02]requested_item fd.num is exist - process it [19:48:02]SAM_PROTO_GetFieldsCounters [19:48:02]wFMCommunicate request_size=4 [19:48:02]MH_SAM_APDU [19:48:02]CAPDU: 80 13 00 00 [19:48:02]Write to MH i2c: E2 08 00 AD 0D 80 13 00 00 00 00 00 00 36 [19:48:02]Write i2c OK [19:48:02]MH_I2C_Read... [19:48:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:02]Read from MH i2c: E2 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 62 00 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 62 00 AD 0D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0D 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [19:48:02]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0D 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:02]wFMCommunicate OK [19:48:02]SAM_PROTO_GetFieldsCounters done [19:48:02]requested_item shift.num is exist - process it [19:48:02]requested_item shift.opened is exist - process it [19:48:02]req_shift_opened [19:48:02]FM_GetShiftState [19:48:02]SAM_PROTO_GetShiftState [19:48:02]wFMCommunicate request_size=4 [19:48:02]MH_SAM_APDU [19:48:02]CAPDU: 80 13 01 00 [19:48:02]Write to MH i2c: E2 08 00 AE 0D 80 13 01 00 00 00 00 00 38 [19:48:02]Write i2c OK [19:48:02]MH_I2C_Read... [19:48:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:02]Read from MH i2c: E2 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 0E 00 [19:48:02]MH_I2C_Read... [19:48:02]Read from MH i2c: E2 0E 00 AE 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 52 [19:48:02]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:48:02]wFMCommunicate OK [19:48:02]SAM_PROTO_GetShiftState done [19:48:02]FM_GetShiftState done [19:48:02]req_shift_opened done [19:48:02]requested_item shift.open_date is exist - process it [19:48:02]req_shift_open_date [19:48:02]req_shift_open_date done [19:48:02]produce_requested_data done [19:48:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37133,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:48:02]process_action_free close_receipt [19:48:02]json_value_free [19:48:02]json_value_free done [19:48:02]process_json_proto returns [19:48:02]Send response to host [19:48:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37133,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:48:02]free response buf [19:48:02]execute_script done [19:48:02]execute_script returns [19:48:02]free content buf [19:48:02]Sock 7.Close socket [19:48:02]Sock 7.Thread stoped [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49: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:05]accept exits with 9 [19:53:05]New connection [19:53:05]New thread 3066555748 created [19:53:05]Thread 3066699108 joined [19:53:05]Waiting for new connection... [19:53:05] Sock 9.Parse request [19:53:05]Sock 9.Check first char [19:53:05]Sock 9.First char is OK [19:53:05]request: POST /json_proto HTTP/1.0 [19:53:05]Method: POST [19:53:05]URL: /json_proto [19:53:05]Method is POST - this is cgi request [19:53:05]url: /json_proto [19:53:05]query_string will be loaded in cgi processing [19:53:05]execute_cgi json_proto POST (null) [19:53:05]execute_cgi path=json_proto method=POST [19:53:05]POST find Content-Length [19:53:05]Host: 172.17.53.68:8080 [19:53:05]Content-Length: 653 [19:53:05]Content-Type: application/json [19:53:05] [19:53:05]POST finish read [19:53:05]Found Content-Length = 653 [19:53:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76620", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:53:05]execute_script... [19:53:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76620", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:53:05]POST & json_proto [19:53:05]process_json_proto [19:53:05]json parsed OK: [19:53:05]protocol is kg_v1.0 [19:53:05]action value=close_receipt [19:53:05]process_action close_receipt [19:53:05]cmd_close_receipt [19:53:05]MH_GetDate [19:53:05]Write to MH i2c: F0 00 00 AF 0D AB [19:53:05]Write i2c OK [19:53:05]MH_I2C_Read... [19:53:05]Read from MH i2c: F0 [19:53:05]MH_I2C_Read... [19:53:05]Read from MH i2c: F0 09 00 [19:53:05]MH_I2C_Read... [19:53:05]Read from MH i2c: F0 09 00 AF 0D 00 24 0E 14 67 C5 A4 76 66 A6 [19:53:05]GetLastDocTimeStamp 1729367283 [19:53:05]current date 1729367588 [19:53:05]FM_GetShiftState [19:53:05]SAM_PROTO_GetShiftState [19:53:05]wFMCommunicate request_size=4 [19:53:05]MH_SAM_APDU [19:53:05]CAPDU: 80 13 01 00 [19:53:05]Write to MH i2c: E2 08 00 B0 0D 80 13 01 00 00 00 00 00 3A [19:53:05]Write i2c OK [19:53:05]MH_I2C_Read... [19:53:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:05]Read from MH i2c: E2 [19:53:05]MH_I2C_Read... [19:53:05]Read from MH i2c: E2 0E 00 [19:53:05]MH_I2C_Read... [19:53:05]Read from MH i2c: E2 0E 00 B0 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 54 [19:53:05]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:53:05]wFMCommunicate OK [19:53:05]SAM_PROTO_GetShiftState done [19:53:05]FM_GetShiftState done [19:53:05]opened in 1729296796 [19:53:05]opened+sec_in_day 1729383196 [19:53:05]quantity*price = 9500 [19:53:05]sum+1 = 9501 [19:53:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 70 19.10.2024 19:53 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37134 ФПД: 280766899857688 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195308&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37134&fm=280766899857688&tin=02508201610067®Number=0000000000098149&sum=9500 0 [19:53:06]StoreToDocumentArchive [19:53:06]shift 460 fd 37134 [19:53:06]save to /storage/0460/doc_00037134 [19:53:06]save last doc name /storage/0460/doc_00037134 to /storage/kkm_last_doc_name [19:53:06]save OK [19:53:06]Clear old archive folders... [19:53:06]ProcessDocumentItem done err = 0, tmpTLVsize=293 [19:53:06]tlvbuf is 009AD9C0 [19:53:06]SAM_PROTO_ClearQueue [19:53:06]wFMCommunicate request_size=4 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 09 00 00 [19:53:06]Write to MH i2c: E2 08 00 BD 0D 80 09 00 00 00 00 00 00 3C [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 BD 0D 00 90 00 3E [19:53:06]RAPDU: 90 00 [19:53:06]wFMCommunicate OK [19:53:06]SAM_PROTO_ClearQueue done [19:53:06]KKMCreateOFDPacket [19:53:06]OFDProtocolAddRootSTLVToBuf [19:53:06]FM_MakeSignedData [19:53:06]FM_MakeSignedData [19:53:06]SAM_PROTO_SignData [19:53:06]wFMCommunicate request_size=4 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 0D 01 02 [19:53:06]Write to MH i2c: E2 08 00 BE 0D 80 0D 01 02 00 00 00 00 44 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 BE 0D 00 90 00 3F [19:53:06]RAPDU: 90 00 [19:53:06]wFMCommunicate OK [19:53:06]wFMCommunicate request_size=255 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 24 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [19:53:06]Write to MH i2c: E2 02 01 BF 0D 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 24 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 A4 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 BF 0D 00 90 00 40 [19:53:06]RAPDU: 90 00 [19:53:06]wFMCommunicate OK [19:53:06]wFMCommunicate request_size=52 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0E 91 00 00 35 04 06 00 FF 5B 23 54 A9 18 [19:53:06]Write to MH i2c: E2 37 00 C0 0D 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0E 91 00 00 35 04 06 00 FF 5B 23 54 A9 18 00 00 41 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 03 00 C0 0D 00 90 00 41 [19:53:06]RAPDU: 90 00 [19:53:06]wFMCommunicate OK [19:53:06]wFMCommunicate request_size=4 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 0D 03 02 [19:53:06]Write to MH i2c: E2 08 00 C1 0D 80 0D 03 02 00 00 00 00 49 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 0B 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 0B 00 C1 0D 00 01 0A FF B6 0F EF 5D 56 90 00 BB [19:53:06]RAPDU: 01 0A FF B6 0F EF 5D 56 90 00 [19:53:06]wFMCommunicate OK [19:53:06]SAM_PROTO_SignData done [19:53:06]FM_MakeSignedData done [19:53:06]CreateOFDProtocolMessage [19:53:06]wFMCommunicate request_size=4 [19:53:06]MH_SAM_APDU [19:53:06]CAPDU: 80 11 00 00 [19:53:06]Write to MH i2c: E2 08 00 C2 0D 80 11 00 00 00 00 00 00 49 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:06]Read from MH i2c: E2 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 17 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: E2 17 00 C2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9C [19:53:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:53:06]wFMCommunicate OK [19:53:06]CreateOFDProtocolMessage done [19:53:06]OFDSenderStorePacket 37134 [19:53:06]StoreOFDPacket docnum=37134 [19:53:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 44 56 31 01 04 A5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 24 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0E 91 00 00 35 04 06 00 FF 5B 23 54 A9 18 01 0A FF B6 0F EF 5D 56 [19:53:06]CheckFolder [19:53:06]dirname=/storage/ofd_packets [19:53:06]CheckFolder done [19:53:06]ProducePacketName [19:53:06]name=ofd_packets/00037134 [19:53:06]NVStorageSaveData ofd_packets/00037134 [19:53:06]File name is /storage/ofd_packets/00037134 [19:53:06]Write 343 bytes [19:53:06]NVStorageSaveData done [19:53:06]OFDSenderStorePacket done [19:53:06]KKMCreateOFDPacket done [19:53:06]NVStorageSaveData kkm_last_timestamp [19:53:06]File name is /storage/kkm_last_timestamp [19:53:06]Write 4 bytes [19:53:06]NVStorageSaveData done [19:53:06]OFD Sender: Processing packet 37134 [packets to send 25, broken 24] [19:53:06]ProducePacketName [19:53:06]name=ofd_packets/00037134 [19:53:06]OFD Sender: To server: pG, [19:53:06]CommunicateWithHost lk.salyk.kg:30040 [19:53:06]ConnectInit lk.salyk.kg [19:53:06]ExternCall_PrintAddStr [19:53:06]wPrintStart [19:53:06]Write to MH i2c: 01 00 00 C3 0D D0 [19:53:06]Write i2c OK [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: 01 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: 01 07 00 [19:53:06]MH_I2C_Read... [19:53:06]Read from MH i2c: 01 07 00 C3 0D 00 00 00 00 00 FF 0F E5 [19:53:06]RasterBufferAndPrint [19:53:06]line Счет N : (3)76620 [19:53:06]line ИНН: 02508201610067 [19:53:06]line Контрольно-Кассовый Чек [19:53:06]line ПРОДАЖА [19:53:06]line Товар: 4700000480050 [19:53:06]line Напиток Nitro Energy эн green ж/б 0,45л [19:53:06]line 1.000 * 95.00 [19:53:06]line = 95.00 [19:53:06]line НДС 12% НСП 1% [19:53:06]line > о реализуемом товаре [19:53:06]line ИТОГО: 95.00 [19:53:06]line НСП 1% : 0.84 [19:53:06]line НДС 12% : 10.09 [19:53:06]line Наличными: 95.00 [19:53:06]line Безнал.: 0.00 [19:53:06]line Место: АЗС № 165 "Партнер Нефть" [19:53:06]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:53:06]line СНО: Общий режим [19:53:06]line Чек 70 19.10.2024 19:53 [19:53:06]line Смена: 460 ФФД: 1.0 [19:53:06]line ЗНМ: 0300000235 [19:53:06]line РНМ: 0000000000098149 [19:53:06]line Версия ККМ: 001 [19:53:06]line ФМ: 0000000000965372 [19:53:06]line ФД: 37134 [19:53:06]line ФПД: 280766899857688 [19:53:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195308&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37134&fm=280766899857688&tin=02508201610067®Number=0000000000098149&sum=9500 [19:53:07]line 0 [19:53:07]Connected sock=11 [19:53:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 39 01 00 00 44 56 31 01 04 A5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 24 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0E 91 00 00 35 04 06 00 FF 5B 23 54 A9 18 01 0A FF B6 0F EF 5D 56 [19:53:07]written 0, free lines is 4095 [19:53:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 2C 85 47 00 D0 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 0E 91 00 00 F4 03 04 00 B9 B6 13 67 B6 04 01 00 00 53 9F D6 AA A2 DC 56 9C [19:53:07]CommunicateWithHost err = 0 [19:53:07]CheckOFDResponse [19:53:07]1017 (14) - 77093643461234 [19:53:07]1041 (16) - 0000000000965372 [19:53:07]1040 (4) - 37134 [19:53:07]1012 (4) - 19.10.2024 13:40 [19:53:07]1206 (1) - 0 [19:53:07]OFD Sender: Remove packet 37134 [19:53:07]ProducePacketName [19:53:07]name=ofd_packets/00037134 [19:53:07]NVStorageDeleteData [19:53:07]Write to MH i2c: 01 00 00 EC 0D F9 [19:53:07]Write i2c OK [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: 01 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: 01 07 00 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: 01 07 00 EC 0D 00 00 00 00 00 EF 0C FB [19:53:07]RasterBufferAndPrint [19:53:07]line [19:53:07]line [19:53:07]line [19:53:07]line [19:53:07]line [19:53:07]written 0, free lines is 3317 [19:53:07]process_action close_receipt done [19:53:07]requested_data is exist [19:53:07]produce_requested_data [19:53:07]requested_item fm.sn is exist - process it [19:53:07]wFMCommunicate request_size=4 [19:53:07]MH_SAM_APDU [19:53:07]CAPDU: 80 11 00 00 [19:53:07]Write to MH i2c: E2 08 00 F3 0D 80 11 00 00 00 00 00 00 7A [19:53:07]Write i2c OK [19:53:07]MH_I2C_Read... [19:53:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:07]Read from MH i2c: E2 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 17 00 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 17 00 F3 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CD [19:53:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:53:07]wFMCommunicate OK [19:53:07]requested_item fd.num is exist - process it [19:53:07]SAM_PROTO_GetFieldsCounters [19:53:07]wFMCommunicate request_size=4 [19:53:07]MH_SAM_APDU [19:53:07]CAPDU: 80 13 00 00 [19:53:07]Write to MH i2c: E2 08 00 F4 0D 80 13 00 00 00 00 00 00 7D [19:53:07]Write i2c OK [19:53:07]MH_I2C_Read... [19:53:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:53:07]Read from MH i2c: E2 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 62 00 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 62 00 F4 0D 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [19:53: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:53:07]wFMCommunicate OK [19:53:07]SAM_PROTO_GetFieldsCounters done [19:53:07]requested_item shift.num is exist - process it [19:53:07]requested_item shift.opened is exist - process it [19:53:07]req_shift_opened [19:53:07]FM_GetShiftState [19:53:07]SAM_PROTO_GetShiftState [19:53:07]wFMCommunicate request_size=4 [19:53:07]MH_SAM_APDU [19:53:07]CAPDU: 80 13 01 00 [19:53:07]Write to MH i2c: E2 08 00 F5 0D 80 13 01 00 00 00 00 00 7F [19:53:07]Write i2c OK [19:53:07]MH_I2C_Read... [19:53:07]OFD Sender: No OFD packet to send [19:53:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:07]Read from MH i2c: E2 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 0E 00 [19:53:07]MH_I2C_Read... [19:53:07]Read from MH i2c: E2 0E 00 F5 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 99 [19:53:07]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:53:07]wFMCommunicate OK [19:53:07]SAM_PROTO_GetShiftState done [19:53:07]FM_GetShiftState done [19:53:07]req_shift_opened done [19:53:07]requested_item shift.open_date is exist - process it [19:53:07]req_shift_open_date [19:53:07]req_shift_open_date done [19:53:07]produce_requested_data done [19:53:07]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37134,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:53:07]process_action_free close_receipt [19:53:07]json_value_free [19:53:07]json_value_free done [19:53:07]process_json_proto returns [19:53:07]Send response to host [19:53:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37134,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:53:07]free response buf [19:53:07]execute_script done [19:53:07]execute_script returns [19:53:07]free content buf [19:53:07]Sock 9.Close socket [19:53:07]Sock 9.Thread stoped [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:28]accept exits with 7 [19:55:28]New connection [19:55:28]New thread 3066699108 created [19:55:28]Thread 3066555748 joined [19:55:28]Waiting for new connection... [19:55:28] Sock 7.Parse request [19:55:28]Sock 7.Check first char [19:55:28]Sock 7.First char is OK [19:55:28]request: POST /json_proto HTTP/1.0 [19:55:28]Method: POST [19:55:28]URL: /json_proto [19:55:28]Method is POST - this is cgi request [19:55:28]url: /json_proto [19:55:28]query_string will be loaded in cgi processing [19:55:28]execute_cgi json_proto POST (null) [19:55:28]execute_cgi path=json_proto method=POST [19:55:28]POST find Content-Length [19:55:28]Host: 172.17.53.68:8080 [19:55:28]Content-Length: 996 [19:55:28]Content-Type: application/json [19:55:28] [19:55:28]POST finish read [19:55:28]Found Content-Length = 996 [19:55:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76621", "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:28]execute_script... [19:55: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)76621", "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": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 184.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:28]POST & json_proto [19:55:28]process_json_proto [19:55:28]json parsed OK: [19:55:28]protocol is kg_v1.0 [19:55:28]action value=close_receipt [19:55:28]process_action close_receipt [19:55:28]cmd_close_receipt [19:55:28]MH_GetDate [19:55:28]Write to MH i2c: F0 00 00 F6 0D F2 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: F0 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: F0 09 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: F0 09 00 F6 0D 00 B3 0E 14 67 C5 A4 76 66 7C [19:55:28]GetLastDocTimeStamp 1729367588 [19:55:28]current date 1729367731 [19:55:28]FM_GetShiftState [19:55:28]SAM_PROTO_GetShiftState [19:55:28]wFMCommunicate request_size=4 [19:55:28]MH_SAM_APDU [19:55:28]CAPDU: 80 13 01 00 [19:55:28]Write to MH i2c: E2 08 00 F7 0D 80 13 01 00 00 00 00 00 81 [19:55:28]Write i2c OK [19:55:28]MH_I2C_Read... [19:55:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:28]Read from MH i2c: E2 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 0E 00 [19:55:28]MH_I2C_Read... [19:55:28]Read from MH i2c: E2 0E 00 F7 0D 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 9B [19:55:28]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:55:28]wFMCommunicate OK [19:55:28]SAM_PROTO_GetShiftState done [19:55:28]FM_GetShiftState done [19:55:28]opened in 1729296796 [19:55:28]opened+sec_in_day 1729383196 [19:55:28]quantity*price = 4000 [19:55:28]sum+1 = 4001 [19:55:28]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 184.00 НСП 1% : 1.62 НДС 12% : 19.54 Наличными: 0.00 Безнал.: 184.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 71 19.10.2024 19:55 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37135 ФПД: 195369754057154 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195531&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37135&fm=195369754057154&tin=02508201610067®Number=0000000000098149&sum=18400 0 [19:55:29]StoreToDocumentArchive [19:55:29]shift 460 fd 37135 [19:55:29]save to /storage/0460/doc_00037135 [19:55:29]save last doc name /storage/0460/doc_00037135 to /storage/kkm_last_doc_name [19:55:29]save OK [19:55:29]Clear old archive folders... [19:55:29]ProcessDocumentItem done err = 0, tmpTLVsize=374 [19:55:29]tlvbuf is 0098E3D0 [19:55:29]SAM_PROTO_ClearQueue [19:55:29]wFMCommunicate request_size=4 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 09 00 00 [19:55:29]Write to MH i2c: E2 08 00 04 0E 80 09 00 00 00 00 00 00 84 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 04 0E 00 90 00 86 [19:55:29]RAPDU: 90 00 [19:55:29]wFMCommunicate OK [19:55:29]SAM_PROTO_ClearQueue done [19:55:29]KKMCreateOFDPacket [19:55:29]OFDProtocolAddRootSTLVToBuf [19:55:29]FM_MakeSignedData [19:55:29]FM_MakeSignedData [19:55:29]SAM_PROTO_SignData [19:55:29]wFMCommunicate request_size=4 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 0D 01 02 [19:55:29]Write to MH i2c: E2 08 00 05 0E 80 0D 01 02 00 00 00 00 8C [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 05 0E 00 90 00 87 [19:55:29]RAPDU: 90 00 [19:55:29]wFMCommunicate OK [19:55:29]wFMCommunicate request_size=255 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 0D 02 02 FA 03 00 76 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 [19:55:29]Write to MH i2c: E2 02 01 06 0E 80 0D 02 02 FA 00 03 00 76 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 00 00 C2 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 06 0E 00 90 00 88 [19:55:29]RAPDU: 90 00 [19:55:29]wFMCommunicate OK [19:55:29]wFMCommunicate request_size=133 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 47 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B3 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0F 91 00 00 35 04 06 00 B1 B0 10 CA 59 C2 [19:55:29]Write to MH i2c: E2 88 00 07 0E 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 47 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B3 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0F 91 00 00 35 04 06 00 B1 B0 10 CA 59 C2 00 00 D8 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 03 00 07 0E 00 90 00 89 [19:55:29]RAPDU: 90 00 [19:55:29]wFMCommunicate OK [19:55:29]wFMCommunicate request_size=4 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 0D 03 02 [19:55:29]Write to MH i2c: E2 08 00 08 0E 80 0D 03 02 00 00 00 00 91 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 0B 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 0B 00 08 0E 00 F3 8B B0 E7 1F 14 2E 93 90 00 9B [19:55:29]RAPDU: F3 8B B0 E7 1F 14 2E 93 90 00 [19:55:29]wFMCommunicate OK [19:55:29]SAM_PROTO_SignData done [19:55:29]FM_MakeSignedData done [19:55:29]CreateOFDProtocolMessage [19:55:29]wFMCommunicate request_size=4 [19:55:29]MH_SAM_APDU [19:55:29]CAPDU: 80 11 00 00 [19:55:29]Write to MH i2c: E2 08 00 09 0E 80 11 00 00 00 00 00 00 91 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:29]Read from MH i2c: E2 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 17 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: E2 17 00 09 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 E4 [19:55:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:55:29]wFMCommunicate OK [19:55:29]CreateOFDProtocolMessage done [19:55:29]OFDSenderStorePacket 37135 [19:55:29]StoreOFDPacket docnum=37135 [19:55:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 8A 01 00 00 8B 94 82 01 27 3C 5A 03 01 00 03 00 76 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 47 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B3 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0F 91 00 00 35 04 06 00 B1 B0 10 CA 59 C2 F3 8B B0 E7 1F 14 2E 93 [19:55:29]CheckFolder [19:55:29]dirname=/storage/ofd_packets [19:55:29]CheckFolder done [19:55:29]ProducePacketName [19:55:29]name=ofd_packets/00037135 [19:55:29]NVStorageSaveData ofd_packets/00037135 [19:55:29]File name is /storage/ofd_packets/00037135 [19:55:29]Write 424 bytes [19:55:29]NVStorageSaveData done [19:55:29]OFDSenderStorePacket done [19:55:29]KKMCreateOFDPacket done [19:55:29]NVStorageSaveData kkm_last_timestamp [19:55:29]File name is /storage/kkm_last_timestamp [19:55:29]Write 4 bytes [19:55:29]NVStorageSaveData done [19:55:29]ExternCall_PrintAddStr [19:55:29]wPrintStart [19:55:29]Write to MH i2c: 01 00 00 0A 0E 18 [19:55:29]Write i2c OK [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: 01 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: 01 07 00 [19:55:29]MH_I2C_Read... [19:55:29]Read from MH i2c: 01 07 00 0A 0E 00 00 00 00 00 FF 0F 2D [19:55:30]RasterBufferAndPrint [19:55:30]line Счет N : (3)76621 [19:55:30]line ИНН: 02508201610067 [19:55:30]line Контрольно-Кассовый Чек [19:55:30]line ПРОДАЖА [19:55:30]line Товар: 4700000160211 [19:55:30]line Вода Легенда 0,5л [19:55:30]line 1.000 * 40.00 [19:55:30]line = 40.00 [19:55:30]line НДС 12% НСП 1% [19:55:30]line > о реализуемом товаре [19:55:30]line Товар: 48743570 [19:55:30]line Сигареты Winston XStyle Blue [19:55:30]line 1.000 * 144.00 [19:55:30]line = 144.00 [19:55:30]line НДС 12% НСП 1% [19:55:30]line > о реализуемом товаре [19:55:30]line ИТОГО: 184.00 [19:55:30]line НСП 1% : 1.62 [19:55:30]line НДС 12% : 19.54 [19:55:30]line Наличными: 0.00 [19:55:30]line Безнал.: 184.00 [19:55:30]line Место: АЗС № 165 "Партнер Нефть" [19:55:30]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [19:55:30]line СНО: Общий режим [19:55:30]line Чек 71 19.10.2024 19:55 [19:55:30]line Смена: 460 ФФД: 1.0 [19:55:30]line ЗНМ: 0300000235 [19:55:30]line РНМ: 0000000000098149 [19:55:30]line Версия ККМ: 001 [19:55:30]line Платежная система: Mbank [19:55:30]line ФМ: 0000000000965372 [19:55:30]line ФД: 37135 [19:55:30]line ФПД: 195369754057154 [19:55:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T195531&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37135&fm=195369754057154&tin=02508201610067®Number=0000000000098149&sum=18400 [19:55:30]line 0 [19:55:30]OFD Sender: Processing packet 37135 [packets to send 25, broken 24] [19:55:30]ProducePacketName [19:55:30]name=ofd_packets/00037135 [19:55:30]OFD Sender: To server: pG, [19:55:30]CommunicateWithHost lk.salyk.kg:30040 [19:55:30]ConnectInit lk.salyk.kg [19:55:30]written 0, free lines is 4095 [19:55:30]Connected sock=10 [19:55: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 33 37 32 8A 01 00 00 8B 94 82 01 27 3C 5A 03 01 00 03 00 76 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 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 47 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 47 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B3 0E 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 0F 91 00 00 35 04 06 00 B1 B0 10 CA 59 C2 F3 8B B0 E7 1F 14 2E 93 [19:55:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 20 75 47 00 9D 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 0F 91 00 00 F4 03 04 00 48 B7 13 67 B6 04 01 00 00 71 C8 EE BD 92 1E 0A 73 [19:55:30]CommunicateWithHost err = 0 [19:55:30]CheckOFDResponse [19:55:30]1017 (14) - 77093643461234 [19:55:30]1041 (16) - 0000000000965372 [19:55:30]1040 (4) - 37135 [19:55:30]1012 (4) - 19.10.2024 13:42 [19:55:30]1206 (1) - 0 [19:55:30]OFD Sender: Remove packet 37135 [19:55:30]ProducePacketName [19:55:30]name=ofd_packets/00037135 [19:55:30]NVStorageDeleteData [19:55:30]Write to MH i2c: 01 00 00 39 0E 47 [19:55:30]Write i2c OK [19:55:30]MH_I2C_Read... [19:55:30]Read from MH i2c: 01 [19:55:30]MH_I2C_Read... [19:55:30]Read from MH i2c: 01 07 00 [19:55:30]MH_I2C_Read... [19:55:30]Read from MH i2c: 01 07 00 39 0E 00 00 00 00 00 8E 0C E8 [19:55:30]RasterBufferAndPrint [19:55:30]line [19:55:30]line [19:55:30]line [19:55:30]line [19:55:30]line [19:55:30]written 0, free lines is 3220 [19:55:30]process_action close_receipt done [19:55:30]requested_data is exist [19:55:30]produce_requested_data [19:55:30]requested_item fm.sn is exist - process it [19:55:30]wFMCommunicate request_size=4 [19:55:30]MH_SAM_APDU [19:55:30]CAPDU: 80 11 00 00 [19:55:30]Write to MH i2c: E2 08 00 40 0E 80 11 00 00 00 00 00 00 C8 [19:55:30]Write i2c OK [19:55:30]MH_I2C_Read... [19:55:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:30]Read from MH i2c: E2 [19:55:30]MH_I2C_Read... [19:55:30]Read from MH i2c: E2 17 00 [19:55:30]MH_I2C_Read... [19:55:30]Read from MH i2c: E2 17 00 40 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 1B [19:55:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [19:55:30]wFMCommunicate OK [19:55:30]requested_item fd.num is exist - process it [19:55:30]SAM_PROTO_GetFieldsCounters [19:55:30]wFMCommunicate request_size=4 [19:55:30]MH_SAM_APDU [19:55:30]CAPDU: 80 13 00 00 [19:55:30]Write to MH i2c: E2 08 00 41 0E 80 13 00 00 00 00 00 00 CB [19:55:30]Write i2c OK [19:55:30]MH_I2C_Read... [19:55:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:55:31]Read from MH i2c: E2 [19:55:31]MH_I2C_Read... [19:55:31]Read from MH i2c: E2 62 00 [19:55:31]MH_I2C_Read... [19:55:31]Read from MH i2c: E2 62 00 41 0E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0F 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [19:55: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 0F 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:55:31]wFMCommunicate OK [19:55:31]SAM_PROTO_GetFieldsCounters done [19:55:31]requested_item shift.num is exist - process it [19:55:31]requested_item shift.opened is exist - process it [19:55:31]req_shift_opened [19:55:31]FM_GetShiftState [19:55:31]SAM_PROTO_GetShiftState [19:55:31]wFMCommunicate request_size=4 [19:55:31]MH_SAM_APDU [19:55:31]CAPDU: 80 13 01 00 [19:55:31]Write to MH i2c: E2 08 00 42 0E 80 13 01 00 00 00 00 00 CD [19:55:31]Write i2c OK [19:55:31]MH_I2C_Read... [19:55:31]Read from MH i2c: E2 [19:55:31]MH_I2C_Read... [19:55:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:31]Read from MH i2c: E2 0E 00 [19:55:31]MH_I2C_Read... [19:55:31]Read from MH i2c: E2 0E 00 42 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E7 [19:55:31]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [19:55:31]wFMCommunicate OK [19:55:31]SAM_PROTO_GetShiftState done [19:55:31]FM_GetShiftState done [19:55:31]req_shift_opened done [19:55:31]requested_item shift.open_date is exist - process it [19:55:31]req_shift_open_date [19:55:31]req_shift_open_date done [19:55:31]produce_requested_data done [19:55:31]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37135,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [19:55:31]process_action_free close_receipt [19:55:31]json_value_free [19:55:31]json_value_free done [19:55:31]process_json_proto returns [19:55:31]Send response to host [19:55:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37135,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [19:55:31]free response buf [19:55:31]execute_script done [19:55:31]execute_script returns [19:55:31]free content buf [19:55:31]Sock 7.Close socket [19:55:31]Sock 7.Thread stoped [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:41]OFD Sender: No OFD packet to send [20:03:46]OFD Sender: No OFD packet to send [20:03:51]OFD Sender: No OFD packet to send [20:03:56]OFD Sender: No OFD packet to send [20:04:01]OFD Sender: No OFD packet to send [20:04:06]OFD Sender: No OFD packet to send [20:04:11]OFD Sender: No OFD packet to send [20:04:16]OFD Sender: No OFD packet to send [20:04:21]OFD Sender: No OFD packet to send [20:04:26]OFD Sender: No OFD packet to send [20:04:31]OFD Sender: No OFD packet to send [20:04:36]OFD Sender: No OFD packet to send [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:31]OFD Sender: No OFD packet to send [20:05:36]OFD Sender: No OFD packet to send [20:05:41]OFD Sender: No OFD packet to send [20:05:46]OFD Sender: No OFD packet to send [20:05:51]OFD Sender: No OFD packet to send [20:05:56]OFD Sender: No OFD packet to send [20:06:01]OFD Sender: No OFD packet to send [20:06:06]OFD Sender: No OFD packet to send [20:06:11]OFD Sender: No OFD packet to send [20:06:16]OFD Sender: No OFD packet to send [20:06:21]OFD Sender: No OFD packet to send [20:06:26]OFD Sender: No OFD packet to send [20:06:31]OFD Sender: No OFD packet to send [20:06:36]OFD Sender: No OFD packet to send [20:06:41]OFD Sender: No OFD packet to send [20:06:46]OFD Sender: No OFD packet to send [20:06:51]OFD Sender: No OFD packet to send [20:06:56]OFD Sender: No OFD packet to send [20:07:01]OFD Sender: No OFD packet to send [20:07:06]OFD Sender: No OFD packet to send [20:07:11]OFD Sender: No OFD packet to send [20:07:16]OFD Sender: No OFD packet to send [20:07:21]OFD Sender: No OFD packet to send [20:07:26]OFD Sender: No OFD packet to send [20:07:31]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:48]accept exits with 9 [20:09:48]New connection [20:09:48]New thread 3066555748 created [20:09:48]Thread 3066699108 joined [20:09:48]Waiting for new connection... [20:09:48] Sock 9.Parse request [20:09:48]Sock 9.Check first char [20:09:48]Sock 9.First char is OK [20:09:48]request: POST /json_proto HTTP/1.0 [20:09:48]Method: POST [20:09:48]URL: /json_proto [20:09:48]Method is POST - this is cgi request [20:09:48]url: /json_proto [20:09:48]query_string will be loaded in cgi processing [20:09:48]execute_cgi json_proto POST (null) [20:09:48]execute_cgi path=json_proto method=POST [20:09:48]POST find Content-Length [20:09:48]Host: 172.17.53.68:8080 [20:09:48]Content-Length: 749 [20:09:48]Content-Type: application/json [20:09:48] [20:09:48]POST finish read [20:09:48]Found Content-Length = 749 [20:09:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76622", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:48]execute_script... [20:09: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)76622", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:48]POST & json_proto [20:09:48]process_json_proto [20:09:48]json parsed OK: [20:09:48]protocol is kg_v1.0 [20:09:48]action value=close_receipt [20:09:48]process_action close_receipt [20:09:48]cmd_close_receipt [20:09:48]MH_GetDate [20:09:48]Write to MH i2c: F0 00 00 43 0E 40 [20:09:48]Write i2c OK [20:09:48]MH_I2C_Read... [20:09:48]Read from MH i2c: F0 [20:09:48]MH_I2C_Read... [20:09:48]Read from MH i2c: F0 09 00 [20:09:48]MH_I2C_Read... [20:09:48]Read from MH i2c: F0 09 00 43 0E 00 0F 12 14 67 C5 A4 76 66 2A [20:09:48]GetLastDocTimeStamp 1729367731 [20:09:48]current date 1729368591 [20:09:48]FM_GetShiftState [20:09:48]SAM_PROTO_GetShiftState [20:09:48]wFMCommunicate request_size=4 [20:09:48]MH_SAM_APDU [20:09:48]CAPDU: 80 13 01 00 [20:09:48]Write to MH i2c: E2 08 00 44 0E 80 13 01 00 00 00 00 00 CF [20:09:48]Write i2c OK [20:09:48]MH_I2C_Read... [20:09:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:48]Read from MH i2c: E2 [20:09:48]MH_I2C_Read... [20:09:48]Read from MH i2c: E2 0E 00 [20:09:48]MH_I2C_Read... [20:09:48]Read from MH i2c: E2 0E 00 44 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E9 [20:09:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:09:48]wFMCommunicate OK [20:09:48]SAM_PROTO_GetShiftState done [20:09:48]FM_GetShiftState done [20:09:48]opened in 1729296796 [20:09:48]opened+sec_in_day 1729383196 [20:09:48]quantity*price = 14400 [20:09:48]sum+1 = 14401 [20:09:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 72 19.10.2024 20:09 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37136 ФПД: 49808439591837 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T200951&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37136&fm=49808439591837&tin=02508201610067®Number=0000000000098149&sum=14400 0 [20:09:49]StoreToDocumentArchive [20:09:49]shift 460 fd 37136 [20:09:49]save to /storage/0460/doc_00037136 [20:09:49]save last doc name /storage/0460/doc_00037136 to /storage/kkm_last_doc_name [20:09:49]save OK [20:09:49]Clear old archive folders... [20:09:49]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:09:49]tlvbuf is 009E4DA0 [20:09:49]SAM_PROTO_ClearQueue [20:09:49]wFMCommunicate request_size=4 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 09 00 00 [20:09:49]Write to MH i2c: E2 08 00 51 0E 80 09 00 00 00 00 00 00 D1 [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 51 0E 00 90 00 D3 [20:09:49]RAPDU: 90 00 [20:09:49]wFMCommunicate OK [20:09:49]SAM_PROTO_ClearQueue done [20:09:49]KKMCreateOFDPacket [20:09:49]OFDProtocolAddRootSTLVToBuf [20:09:49]FM_MakeSignedData [20:09:49]FM_MakeSignedData [20:09:49]SAM_PROTO_SignData [20:09:49]wFMCommunicate request_size=4 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 0D 01 02 [20:09:49]Write to MH i2c: E2 08 00 52 0E 80 0D 01 02 00 00 00 00 D9 [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 52 0E 00 90 00 D4 [20:09:49]RAPDU: 90 00 [20:09:49]wFMCommunicate OK [20:09:49]wFMCommunicate request_size=255 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 0F 12 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [20:09:49]Write to MH i2c: E2 02 01 53 0E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 0F 12 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 95 [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 53 0E 00 90 00 D5 [20:09:49]RAPDU: 90 00 [20:09:49]wFMCommunicate OK [20:09:49]wFMCommunicate request_size=34 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 10 91 00 00 35 04 06 00 2D 4C EE 59 43 9D [20:09:49]Write to MH i2c: E2 25 00 54 0E 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 10 91 00 00 35 04 06 00 2D 4C EE 59 43 9D 00 00 DE [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 03 00 54 0E 00 90 00 D6 [20:09:49]RAPDU: 90 00 [20:09:49]wFMCommunicate OK [20:09:49]wFMCommunicate request_size=4 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 0D 03 02 [20:09:49]Write to MH i2c: E2 08 00 55 0E 80 0D 03 02 00 00 00 00 DE [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 0B 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 0B 00 55 0E 00 5B 4E 56 21 2A B6 F0 1F 90 00 EE [20:09:49]RAPDU: 5B 4E 56 21 2A B6 F0 1F 90 00 [20:09:49]wFMCommunicate OK [20:09:49]SAM_PROTO_SignData done [20:09:49]FM_MakeSignedData done [20:09:49]CreateOFDProtocolMessage [20:09:49]wFMCommunicate request_size=4 [20:09:49]MH_SAM_APDU [20:09:49]CAPDU: 80 11 00 00 [20:09:49]Write to MH i2c: E2 08 00 56 0E 80 11 00 00 00 00 00 00 DE [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:49]Read from MH i2c: E2 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 17 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: E2 17 00 56 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 31 [20:09:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:09:49]wFMCommunicate OK [20:09:49]CreateOFDProtocolMessage done [20:09:49]OFDSenderStorePacket 37136 [20:09:49]StoreOFDPacket docnum=37136 [20:09:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 1D 7E 1F 01 B5 09 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 0F 12 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 10 91 00 00 35 04 06 00 2D 4C EE 59 43 9D 5B 4E 56 21 2A B6 F0 1F [20:09:49]CheckFolder [20:09:49]dirname=/storage/ofd_packets [20:09:49]CheckFolder done [20:09:49]ProducePacketName [20:09:49]name=ofd_packets/00037136 [20:09:49]NVStorageSaveData ofd_packets/00037136 [20:09:49]File name is /storage/ofd_packets/00037136 [20:09:49]Write 325 bytes [20:09:49]NVStorageSaveData done [20:09:49]OFDSenderStorePacket done [20:09:49]KKMCreateOFDPacket done [20:09:49]NVStorageSaveData kkm_last_timestamp [20:09:49]File name is /storage/kkm_last_timestamp [20:09:49]Write 4 bytes [20:09:49]NVStorageSaveData done [20:09:49]ExternCall_PrintAddStr [20:09:49]wPrintStart [20:09:49]Write to MH i2c: 01 00 00 57 0E 65 [20:09:49]Write i2c OK [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: 01 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: 01 07 00 [20:09:49]MH_I2C_Read... [20:09:49]Read from MH i2c: 01 07 00 57 0E 00 00 00 00 00 FF 0F 7A [20:09:49]RasterBufferAndPrint [20:09:49]line Счет N : (3)76622 [20:09:49]line ИНН: 02508201610067 [20:09:49]line Контрольно-Кассовый Чек [20:09:49]line ПРОДАЖА [20:09:49]line Товар: 48743587 [20:09:49]line Сигареты Winston XStyle Silver [20:09:49]line 1.000 * 144.00 [20:09:49]line = 144.00 [20:09:49]line НДС 12% НСП 1% [20:09:49]line > о реализуемом товаре [20:09:49]line ИТОГО: 144.00 [20:09:49]line НСП 1% : 1.27 [20:09:49]line НДС 12% : 15.29 [20:09:49]line Наличными: 0.00 [20:09:49]line Безнал.: 144.00 [20:09:49]line Место: АЗС № 165 "Партнер Нефть" [20:09:49]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [20:09:49]line СНО: Общий режим [20:09:49]line Чек 72 19.10.2024 20:09 [20:09:49]line Смена: 460 ФФД: 1.0 [20:09:49]line ЗНМ: 0300000235 [20:09:49]line РНМ: 0000000000098149 [20:09:49]line Версия ККМ: 001 [20:09:49]line Платежная система: Mbank [20:09:49]line ФМ: 0000000000965372 [20:09:49]line ФД: 37136 [20:09:49]line ФПД: 49808439591837 [20:09:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T200951&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37136&fm=49808439591837&tin=02508201610067®Number=0000000000098149&sum=14400 [20:09:50]line 0 [20:09:50]OFD Sender: Processing packet 37136 [packets to send 25, broken 24] [20:09:50]ProducePacketName [20:09:50]name=ofd_packets/00037136 [20:09:50]OFD Sender: To server: pG, [20:09:50]CommunicateWithHost lk.salyk.kg:30040 [20:09:50]ConnectInit lk.salyk.kg [20:09:50]written 0, free lines is 4095 [20:09:50]Connected sock=10 [20:09:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 1D 7E 1F 01 B5 09 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 0F 12 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 10 91 00 00 35 04 06 00 2D 4C EE 59 43 9D 5B 4E 56 21 2A B6 F0 1F [20:09:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 9D E3 47 00 D7 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 10 91 00 00 F4 03 04 00 A4 BA 13 67 B6 04 01 00 00 89 2D 7D A2 F4 F2 1B 58 [20:09:50]CommunicateWithHost err = 0 [20:09:50]CheckOFDResponse [20:09:50]1017 (14) - 77093643461234 [20:09:50]1041 (16) - 0000000000965372 [20:09:50]1040 (4) - 37136 [20:09:50]1012 (4) - 19.10.2024 13:56 [20:09:50]1206 (1) - 0 [20:09:50]OFD Sender: Remove packet 37136 [20:09:50]ProducePacketName [20:09:50]name=ofd_packets/00037136 [20:09:50]NVStorageDeleteData [20:09:50]Write to MH i2c: 01 00 00 81 0E 8F [20:09:50]Write i2c OK [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: 01 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: 01 07 00 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: 01 07 00 81 0E 00 00 00 00 00 D1 0C 73 [20:09:50]RasterBufferAndPrint [20:09:50]line [20:09:50]line [20:09:50]line [20:09:50]line [20:09:50]line [20:09:50]written 0, free lines is 3288 [20:09:50]process_action close_receipt done [20:09:50]requested_data is exist [20:09:50]produce_requested_data [20:09:50]requested_item fm.sn is exist - process it [20:09:50]wFMCommunicate request_size=4 [20:09:50]MH_SAM_APDU [20:09:50]CAPDU: 80 11 00 00 [20:09:50]Write to MH i2c: E2 08 00 88 0E 80 11 00 00 00 00 00 00 10 [20:09:50]Write i2c OK [20:09:50]MH_I2C_Read... [20:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:50]Read from MH i2c: E2 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 17 00 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 17 00 88 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 63 [20:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:09:50]wFMCommunicate OK [20:09:50]requested_item fd.num is exist - process it [20:09:50]SAM_PROTO_GetFieldsCounters [20:09:50]wFMCommunicate request_size=4 [20:09:50]MH_SAM_APDU [20:09:50]CAPDU: 80 13 00 00 [20:09:50]Write to MH i2c: E2 08 00 89 0E 80 13 00 00 00 00 00 00 13 [20:09:50]Write i2c OK [20:09:50]MH_I2C_Read... [20:09:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:09:50]Read from MH i2c: E2 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 62 00 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 62 00 89 0E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 10 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [20:09:50]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 10 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:09:50]wFMCommunicate OK [20:09:50]SAM_PROTO_GetFieldsCounters done [20:09:50]requested_item shift.num is exist - process it [20:09:50]requested_item shift.opened is exist - process it [20:09:50]req_shift_opened [20:09:50]FM_GetShiftState [20:09:50]SAM_PROTO_GetShiftState [20:09:50]wFMCommunicate request_size=4 [20:09:50]MH_SAM_APDU [20:09:50]CAPDU: 80 13 01 00 [20:09:50]Write to MH i2c: E2 08 00 8A 0E 80 13 01 00 00 00 00 00 15 [20:09:50]Write i2c OK [20:09:50]MH_I2C_Read... [20:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:50]Read from MH i2c: E2 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 0E 00 [20:09:50]MH_I2C_Read... [20:09:50]Read from MH i2c: E2 0E 00 8A 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 2F [20:09:50]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:09:50]wFMCommunicate OK [20:09:50]SAM_PROTO_GetShiftState done [20:09:50]FM_GetShiftState done [20:09:50]req_shift_opened done [20:09:50]requested_item shift.open_date is exist - process it [20:09:50]req_shift_open_date [20:09:50]req_shift_open_date done [20:09:50]produce_requested_data done [20:09:50]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37136,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [20:09:50]process_action_free close_receipt [20:09:50]json_value_free [20:09:50]json_value_free done [20:09:50]process_json_proto returns [20:09:50]Send response to host [20:09:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37136,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [20:09:50]free response buf [20:09:50]execute_script done [20:09:50]execute_script returns [20:09:50]free content buf [20:09:50]Sock 9.Close socket [20:09:50]Sock 9.Thread stoped [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:11]OFD Sender: No OFD packet to send [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23: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:26]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:45]accept exits with 7 [20:26:45]New connection [20:26:45]New thread 3066699108 created [20:26:45]Thread 3066555748 joined [20:26:45]Waiting for new connection... [20:26:45] Sock 7.Parse request [20:26:45]Sock 7.Check first char [20:26:45]Sock 7.First char is OK [20:26:45]request: POST /json_proto HTTP/1.0 [20:26:45]Method: POST [20:26:45]URL: /json_proto [20:26:45]Method is POST - this is cgi request [20:26:45]url: /json_proto [20:26:45]query_string will be loaded in cgi processing [20:26:45]execute_cgi json_proto POST (null) [20:26:45]execute_cgi path=json_proto method=POST [20:26:45]POST find Content-Length [20:26:45]Host: 172.17.53.68:8080 [20:26:45]Content-Length: 645 [20:26:45]Content-Type: application/json [20:26:45] [20:26:45]POST finish read [20:26:45]Found Content-Length = 645 [20:26:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76623", "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" ] } } [20:26:45]execute_script... [20:26:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76623", "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" ] } } [20:26:45]POST & json_proto [20:26:45]process_json_proto [20:26:45]json parsed OK: [20:26:45]protocol is kg_v1.0 [20:26:45]action value=close_receipt [20:26:45]process_action close_receipt [20:26:45]cmd_close_receipt [20:26:45]MH_GetDate [20:26:45]Write to MH i2c: F0 00 00 8B 0E 88 [20:26:45]Write i2c OK [20:26:45]MH_I2C_Read... [20:26:45]Read from MH i2c: F0 [20:26:45]MH_I2C_Read... [20:26:45]Read from MH i2c: F0 09 00 [20:26:45]MH_I2C_Read... [20:26:45]Read from MH i2c: F0 09 00 8B 0E 00 09 16 14 67 C5 A4 76 66 70 [20:26:45]GetLastDocTimeStamp 1729368591 [20:26:45]current date 1729369609 [20:26:45]FM_GetShiftState [20:26:45]SAM_PROTO_GetShiftState [20:26:45]wFMCommunicate request_size=4 [20:26:45]MH_SAM_APDU [20:26:45]CAPDU: 80 13 01 00 [20:26:45]Write to MH i2c: E2 08 00 8C 0E 80 13 01 00 00 00 00 00 17 [20:26:45]Write i2c OK [20:26:45]MH_I2C_Read... [20:26:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:45]Read from MH i2c: E2 [20:26:45]MH_I2C_Read... [20:26:45]Read from MH i2c: E2 0E 00 [20:26:45]MH_I2C_Read... [20:26:45]Read from MH i2c: E2 0E 00 8C 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 31 [20:26:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:26:45]wFMCommunicate OK [20:26:45]SAM_PROTO_GetShiftState done [20:26:45]FM_GetShiftState done [20:26:45]opened in 1729296796 [20:26:45]opened+sec_in_day 1729383196 [20:26:45]quantity*price = 13000 [20:26:45]sum+1 = 13001 [20:26:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 73 19.10.2024 20:26 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37137 ФПД: 255289342909785 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T202649&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37137&fm=255289342909785&tin=02508201610067®Number=0000000000098149&sum=13000 0 [20:26:47]StoreToDocumentArchive [20:26:47]shift 460 fd 37137 [20:26:47]save to /storage/0460/doc_00037137 [20:26:47]save last doc name /storage/0460/doc_00037137 to /storage/kkm_last_doc_name [20:26:47]save OK [20:26:47]Clear old archive folders... [20:26:47]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:26:47]tlvbuf is 009ADDB0 [20:26:47]SAM_PROTO_ClearQueue [20:26:47]wFMCommunicate request_size=4 [20:26:47]MH_SAM_APDU [20:26:47]CAPDU: 80 09 00 00 [20:26:47]Write to MH i2c: E2 08 00 99 0E 80 09 00 00 00 00 00 00 19 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 99 0E 00 90 00 1B [20:26:47]RAPDU: 90 00 [20:26:47]wFMCommunicate OK [20:26:47]SAM_PROTO_ClearQueue done [20:26:47]KKMCreateOFDPacket [20:26:47]OFDProtocolAddRootSTLVToBuf [20:26:47]FM_MakeSignedData [20:26:47]FM_MakeSignedData [20:26:47]SAM_PROTO_SignData [20:26:47]wFMCommunicate request_size=4 [20:26:47]MH_SAM_APDU [20:26:47]CAPDU: 80 0D 01 02 [20:26:47]Write to MH i2c: E2 08 00 9A 0E 80 0D 01 02 00 00 00 00 21 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 9A 0E 00 90 00 1C [20:26:47]RAPDU: 90 00 [20:26:47]wFMCommunicate OK [20:26:47]wFMCommunicate request_size=255 [20:26:47]MH_SAM_APDU [20:26:47]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 49 00 00 00 F4 03 04 00 09 16 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 [20:26:47]Write to MH i2c: E2 02 01 9B 0E 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 49 00 00 00 F4 03 04 00 09 16 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 00 00 E6 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 9B 0E 00 90 00 1D [20:26:47]RAPDU: 90 00 [20:26:47]wFMCommunicate OK [20:26:47]wFMCommunicate request_size=41 [20:26:47]MH_SAM_APDU [20:26:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 11 91 00 00 35 04 06 00 E8 2F 2E 99 5D 59 [20:26:47]Write to MH i2c: E2 2C 00 9C 0E 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 11 91 00 00 35 04 06 00 E8 2F 2E 99 5D 59 00 00 29 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 03 00 9C 0E 00 90 00 1E [20:26:47]RAPDU: 90 00 [20:26:47]wFMCommunicate OK [20:26:47]wFMCommunicate request_size=4 [20:26:47]MH_SAM_APDU [20:26:47]CAPDU: 80 0D 03 02 [20:26:47]Write to MH i2c: E2 08 00 9D 0E 80 0D 03 02 00 00 00 00 26 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 0B 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 0B 00 9D 0E 00 30 1E AB C6 EC AE 3A 4F 90 00 09 [20:26:47]RAPDU: 30 1E AB C6 EC AE 3A 4F 90 00 [20:26:47]wFMCommunicate OK [20:26:47]SAM_PROTO_SignData done [20:26:47]FM_MakeSignedData done [20:26:47]CreateOFDProtocolMessage [20:26:47]wFMCommunicate request_size=4 [20:26:47]MH_SAM_APDU [20:26:47]CAPDU: 80 11 00 00 [20:26:47]Write to MH i2c: E2 08 00 9E 0E 80 11 00 00 00 00 00 00 26 [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:47]Read from MH i2c: E2 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 17 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: E2 17 00 9E 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 79 [20:26:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:26:47]wFMCommunicate OK [20:26:47]CreateOFDProtocolMessage done [20:26:47]OFDSenderStorePacket 37137 [20:26:47]StoreOFDPacket docnum=37137 [20:26:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 6E 85 26 01 CB F4 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 49 00 00 00 F4 03 04 00 09 16 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 11 91 00 00 35 04 06 00 E8 2F 2E 99 5D 59 30 1E AB C6 EC AE 3A 4F [20:26:47]CheckFolder [20:26:47]dirname=/storage/ofd_packets [20:26:47]CheckFolder done [20:26:47]ProducePacketName [20:26:47]name=ofd_packets/00037137 [20:26:47]NVStorageSaveData ofd_packets/00037137 [20:26:47]File name is /storage/ofd_packets/00037137 [20:26:47]Write 332 bytes [20:26:47]NVStorageSaveData done [20:26:47]OFDSenderStorePacket done [20:26:47]KKMCreateOFDPacket done [20:26:47]NVStorageSaveData kkm_last_timestamp [20:26:47]File name is /storage/kkm_last_timestamp [20:26:47]Write 4 bytes [20:26:47]NVStorageSaveData done [20:26:47]ExternCall_PrintAddStr [20:26:47]wPrintStart [20:26:47]Write to MH i2c: 01 00 00 9F 0E AD [20:26:47]Write i2c OK [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: 01 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: 01 07 00 [20:26:47]MH_I2C_Read... [20:26:47]Read from MH i2c: 01 07 00 9F 0E 00 00 00 00 00 FF 0F C2 [20:26:47]RasterBufferAndPrint [20:26:47]line Счет N : (3)76623 [20:26:47]line ИНН: 02508201610067 [20:26:47]line Контрольно-Кассовый Чек [20:26:47]line ПРОДАЖА [20:26:47]line Товар: 2000036220012 [20:26:47]line Кофе Капучино XL(GABB TRADE) [20:26:47]line 1.000 * 130.00 [20:26:47]line = 130.00 [20:26:47]line НДС 12% НСП 1% [20:26:47]line > о реализуемом товаре [20:26:47]line ИТОГО: 130.00 [20:26:47]line НСП 1% : 1.15 [20:26:47]line НДС 12% : 13.80 [20:26:47]line Наличными: 130.00 [20:26:47]line Безнал.: 0.00 [20:26:47]line Место: АЗС № 165 "Партнер Нефть" [20:26:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [20:26:47]line СНО: Общий режим [20:26:47]line Чек 73 19.10.2024 20:26 [20:26:47]line Смена: 460 ФФД: 1.0 [20:26:47]line ЗНМ: 0300000235 [20:26:47]line РНМ: 0000000000098149 [20:26:47]line Версия ККМ: 001 [20:26:47]line ФМ: 0000000000965372 [20:26:47]line ФД: 37137 [20:26:47]line ФПД: 255289342909785 [20:26:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T202649&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37137&fm=255289342909785&tin=02508201610067®Number=0000000000098149&sum=13000 [20:26:47]line 0 [20:26:47]OFD Sender: Processing packet 37137 [packets to send 25, broken 24] [20:26:47]ProducePacketName [20:26:47]name=ofd_packets/00037137 [20:26:47]OFD Sender: To server: pG, [20:26:47]CommunicateWithHost lk.salyk.kg:30040 [20:26:47]ConnectInit lk.salyk.kg [20:26:47]written 0, free lines is 4095 [20:26:48]Connected sock=10 [20:26:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 2E 01 00 00 6E 85 26 01 CB F4 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 49 00 00 00 F4 03 04 00 09 16 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 11 91 00 00 35 04 06 00 E8 2F 2E 99 5D 59 30 1E AB C6 EC AE 3A 4F [20:26:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 12 8B 47 00 64 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 11 91 00 00 F4 03 04 00 9D BE 13 67 B6 04 01 00 00 C1 F8 06 3E 45 59 AB 88 [20:26:48]CommunicateWithHost err = 0 [20:26:48]CheckOFDResponse [20:26:48]1017 (14) - 77093643461234 [20:26:48]1041 (16) - 0000000000965372 [20:26:48]1040 (4) - 37137 [20:26:48]1012 (4) - 19.10.2024 14:13 [20:26:48]1206 (1) - 0 [20:26:48]OFD Sender: Remove packet 37137 [20:26:48]ProducePacketName [20:26:48]name=ofd_packets/00037137 [20:26:48]NVStorageDeleteData [20:26:48]Write to MH i2c: 01 00 00 C8 0E D6 [20:26:48]Write i2c OK [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: 01 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: 01 07 00 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: 01 07 00 C8 0E 00 00 00 00 00 00 0D EA [20:26:48]RasterBufferAndPrint [20:26:48]line [20:26:48]line [20:26:48]line [20:26:48]line [20:26:48]line [20:26:48]written 0, free lines is 3334 [20:26:48]process_action close_receipt done [20:26:48]requested_data is exist [20:26:48]produce_requested_data [20:26:48]requested_item fm.sn is exist - process it [20:26:48]wFMCommunicate request_size=4 [20:26:48]MH_SAM_APDU [20:26:48]CAPDU: 80 11 00 00 [20:26:48]Write to MH i2c: E2 08 00 CF 0E 80 11 00 00 00 00 00 00 57 [20:26:48]Write i2c OK [20:26:48]MH_I2C_Read... [20:26:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:48]Read from MH i2c: E2 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 17 00 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 17 00 CF 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AA [20:26:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:26:48]wFMCommunicate OK [20:26:48]requested_item fd.num is exist - process it [20:26:48]SAM_PROTO_GetFieldsCounters [20:26:48]wFMCommunicate request_size=4 [20:26:48]MH_SAM_APDU [20:26:48]CAPDU: 80 13 00 00 [20:26:48]Write to MH i2c: E2 08 00 D0 0E 80 13 00 00 00 00 00 00 5A [20:26:48]Write i2c OK [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 [20:26:48]MH_I2C_Read... [20:26:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:26:48]Read from MH i2c: E2 62 00 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 62 00 D0 0E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 11 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [20:26:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 11 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:26:48]wFMCommunicate OK [20:26:48]SAM_PROTO_GetFieldsCounters done [20:26:48]requested_item shift.num is exist - process it [20:26:48]requested_item shift.opened is exist - process it [20:26:48]req_shift_opened [20:26:48]FM_GetShiftState [20:26:48]SAM_PROTO_GetShiftState [20:26:48]wFMCommunicate request_size=4 [20:26:48]MH_SAM_APDU [20:26:48]CAPDU: 80 13 01 00 [20:26:48]Write to MH i2c: E2 08 00 D1 0E 80 13 01 00 00 00 00 00 5C [20:26:48]Write i2c OK [20:26:48]MH_I2C_Read... [20:26:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:48]Read from MH i2c: E2 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 0E 00 [20:26:48]MH_I2C_Read... [20:26:48]Read from MH i2c: E2 0E 00 D1 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 76 [20:26:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:26:48]wFMCommunicate OK [20:26:48]SAM_PROTO_GetShiftState done [20:26:48]FM_GetShiftState done [20:26:48]req_shift_opened done [20:26:48]requested_item shift.open_date is exist - process it [20:26:48]req_shift_open_date [20:26:48]req_shift_open_date done [20:26:48]produce_requested_data done [20:26:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37137,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [20:26:48]process_action_free close_receipt [20:26:48]json_value_free [20:26:48]json_value_free done [20:26:48]process_json_proto returns [20:26:48]Send response to host [20:26:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37137,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [20:26:48]free response buf [20:26:48]execute_script done [20:26:48]execute_script returns [20:26:48]free content buf [20:26:48]Sock 7.Close socket [20:26:48]Sock 7.Thread stoped [20:26:48]OFD Sender: No OFD packet to send [20:26:52]int [20:26:52]Write to MH i2c: 01 00 00 D2 0E E0 [20:26:52]*** FLAG_PRN_KEY set [20:26:52]Write i2c OK [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 D2 0E 00 08 00 00 00 FF 0F FD [20:26:52]state=0 [20:26:52]Key pressed [20:26:52]Feed [20:26:52]Write to MH i2c: D8 00 00 D3 0E B8 [20:26:52]Write i2c OK [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: D8 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: D8 01 00 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: D8 01 00 D3 0E 00 B9 [20:26:52]int [20:26:52]Write to MH i2c: 01 00 00 D4 0E E2 [20:26:52]Write i2c OK [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 D4 0E 00 48 00 00 00 3C 00 6D [20:26:52]state=2 [20:26:52]Key pressed [20:26:52]int [20:26:52]Write to MH i2c: 01 00 00 D5 0E E3 [20:26:52]*** FLAG_PRN_KEY reset [20:26:52]Write i2c OK [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 [20:26:52]MH_I2C_Read... [20:26:52]Read from MH i2c: 01 07 00 D5 0E 00 00 00 00 00 F7 0F F0 [20:26:52]state=2 [20:26:52]Stop feed [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:46]accept exits with 9 [20:28:46]New connection [20:28:46]New thread 3066555748 created [20:28:46]Thread 3066699108 joined [20:28:46]Waiting for new connection... [20:28:46] Sock 9.Parse request [20:28:46]Sock 9.Check first char [20:28:46]Sock 9.First char is OK [20:28:46]request: POST /json_proto HTTP/1.0 [20:28:46]Method: POST [20:28:46]URL: /json_proto [20:28:46]Method is POST - this is cgi request [20:28:46]url: /json_proto [20:28:46]query_string will be loaded in cgi processing [20:28:46]execute_cgi json_proto POST (null) [20:28:46]execute_cgi path=json_proto method=POST [20:28:46]POST find Content-Length [20:28:46]Host: 172.17.53.68:8080 [20:28:46]Content-Length: 215 [20:28:46]Content-Type: application/json [20:28:46] [20:28:46]POST finish read [20:28:46]Found Content-Length = 215 [20:28: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" ] } } [20:28:46]execute_script... [20:28: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" ] } } [20:28:46]POST & json_proto [20:28:46]process_json_proto [20:28:46]json parsed OK: [20:28:46]protocol is kg_v1.0 [20:28:46]action value=get_value [20:28:46]process_action get_value [20:28:46]cmd_get_value [20:28:46]process_action get_value done [20:28:46]requested_data is exist [20:28:46]produce_requested_data [20:28:46]requested_item kkm.sn is exist - process it [20:28:46]requested_item kkm.ver is exist - process it [20:28:46]requested_item fm.sn is exist - process it [20:28:46]wFMCommunicate request_size=4 [20:28:46]MH_SAM_APDU [20:28:46]CAPDU: 80 11 00 00 [20:28:46]Write to MH i2c: E2 08 00 D6 0E 80 11 00 00 00 00 00 00 5E [20:28:46]Write i2c OK [20:28:46]MH_I2C_Read... [20:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:28:46]Read from MH i2c: E2 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 17 00 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 17 00 D6 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B1 [20:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:28:46]wFMCommunicate OK [20:28:46]requested_item fd.num is exist - process it [20:28:46]SAM_PROTO_GetFieldsCounters [20:28:46]wFMCommunicate request_size=4 [20:28:46]MH_SAM_APDU [20:28:46]CAPDU: 80 13 00 00 [20:28:46]Write to MH i2c: E2 08 00 D7 0E 80 13 00 00 00 00 00 00 61 [20:28:46]Write i2c OK [20:28:46]MH_I2C_Read... [20:28:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:28:46]Read from MH i2c: E2 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 62 00 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 62 00 D7 0E 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 11 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [20:28:46]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 11 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:28:46]wFMCommunicate OK [20:28:46]SAM_PROTO_GetFieldsCounters done [20:28:46]requested_item shift.num is exist - process it [20:28:46]requested_item shift.opened is exist - process it [20:28:46]req_shift_opened [20:28:46]FM_GetShiftState [20:28:46]SAM_PROTO_GetShiftState [20:28:46]wFMCommunicate request_size=4 [20:28:46]MH_SAM_APDU [20:28:46]CAPDU: 80 13 01 00 [20:28:46]Write to MH i2c: E2 08 00 D8 0E 80 13 01 00 00 00 00 00 63 [20:28:46]Write i2c OK [20:28:46]MH_I2C_Read... [20:28:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:28:46]Read from MH i2c: E2 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 0E 00 [20:28:46]MH_I2C_Read... [20:28:46]Read from MH i2c: E2 0E 00 D8 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 7D [20:28:46]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:28:46]wFMCommunicate OK [20:28:46]SAM_PROTO_GetShiftState done [20:28:46]FM_GetShiftState done [20:28:46]req_shift_opened done [20:28:46]requested_item shift.open_date is exist - process it [20:28:46]req_shift_open_date [20:28:46]req_shift_open_date done [20:28:46]produce_requested_data done [20:28:46]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37137,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [20:28:46]process_action_free get_value [20:28:46]json_value_free [20:28:46]json_value_free done [20:28:46]process_json_proto returns [20:28:46]Send response to host [20:28:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37137,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [20:28:46]free response buf [20:28:46]execute_script done [20:28:46]execute_script returns [20:28:46]free content buf [20:28:46]Sock 9.Close socket [20:28:46]Sock 9.Thread stoped [20:28:46]accept exits with 7 [20:28:46]New connection [20:28:46]New thread 3066699108 created [20:28:46]Thread 3066555748 joined [20:28:46]Waiting for new connection... [20:28:46] Sock 7.Parse request [20:28:46]Sock 7.Check first char [20:28:46]Sock 7.First char is OK [20:28:46]request: POST /json_proto HTTP/1.0 [20:28:46]Method: POST [20:28:46]URL: /json_proto [20:28:46]Method is POST - this is cgi request [20:28:46]url: /json_proto [20:28:46]query_string will be loaded in cgi processing [20:28:46]execute_cgi json_proto POST (null) [20:28:46]execute_cgi path=json_proto method=POST [20:28:46]POST find Content-Length [20:28:46]Host: 172.17.53.68:8080 [20:28:46]Content-Length: 331 [20:28:46]Content-Type: application/json [20:28:46] [20:28:46]POST finish read [20:28:46]Found Content-Length = 331 [20:28:46]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" ] } } [20:28:46]execute_script... [20:28:46]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" ] } } [20:28:46]POST & json_proto [20:28:46]process_json_proto [20:28:46]json parsed OK: [20:28:46]protocol is kg_v1.0 [20:28:46]action value=get_value [20:28:46]process_action get_value [20:28:46]cmd_get_value [20:28:46]process_action get_value done [20:28:46]requested_data is exist [20:28:46]produce_requested_data [20:28:46]requested_item fm.sale.total is exist - process it [20:28:46]SAM_PROTO_GetFMData [20:28:46]wFMCommunicate request_size=4 [20:28:46]MH_SAM_APDU [20:28:46]CAPDU: 80 13 03 00 [20:28:46]Write to MH i2c: E2 08 00 D9 0E 80 13 03 00 00 00 00 00 66 [20:28:46]Write i2c OK [20:28:46]MH_I2C_Read... [20:28:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:28:47]Read from MH i2c: E2 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 D9 0E 00 C4 04 85 04 C0 04 6E 04 04 00 79 8D 00 00 69 04 A0 00 6F 04 04 00 30 8C 00 00 B1 04 04 00 66 DD 6D 45 70 04 04 00 C8 21 BF 3D 72 04 04 00 9E BB AE 07 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 45 FB 5F 07 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 44 46 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 CD [20:28:47]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 79 8D 00 00 69 04 A0 00 6F 04 04 00 30 8C 00 00 B1 04 04 00 66 DD 6D 45 70 04 04 00 C8 21 BF 3D 72 04 04 00 9E BB AE 07 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 45 FB 5F 07 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 44 46 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [20:28:47]wFMCommunicate OK [20:28:47]wFMCommunicate request_size=4 [20:28:47]MH_SAM_APDU [20:28:47]CAPDU: 80 17 00 00 [20:28:47]Write to MH i2c: E2 08 00 DA 0E 80 17 00 00 00 00 00 00 68 [20:28:47]Write i2c OK [20:28:47]MH_I2C_Read... [20:28:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:47]Read from MH i2c: E2 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 DA 0E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 80 [20:28:47]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [20:28:47]wFMCommunicate OK [20:28:47]wFMCommunicate request_size=4 [20:28:47]MH_SAM_APDU [20:28:47]CAPDU: 80 17 00 00 [20:28:47]Write to MH i2c: E2 08 00 DB 0E 80 17 00 00 00 00 00 00 69 [20:28:47]Write i2c OK [20:28:47]MH_I2C_Read... [20:28:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:47]Read from MH i2c: E2 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 [20:28:47]MH_I2C_Read... [20:28:47]Read from MH i2c: E2 FD 00 DB 0E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 7E [20:28:47]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:28:47]wFMCommunicate OK [20:28:47]wFMCommunicate request_size=4 [20:28:47]MH_SAM_APDU [20:28:47]CAPDU: 80 17 00 00 [20:28:47]Write to MH i2c: E2 08 00 DC 0E 80 17 00 00 00 00 00 00 6A [20:28:47]Write i2c OK [20:28:47]MH_I2C_Read... [20:28:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:48]Read from MH i2c: E2 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 FD 00 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 FD 00 DC 0E 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 E2 [20:28:48]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:28:48]wFMCommunicate OK [20:28:48]wFMCommunicate request_size=4 [20:28:48]MH_SAM_APDU [20:28:48]CAPDU: 80 17 00 00 [20:28:48]Write to MH i2c: E2 08 00 DD 0E 80 17 00 00 00 00 00 00 6B [20:28:48]Write i2c OK [20:28:48]MH_I2C_Read... [20:28:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:28:48]Read from MH i2c: E2 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 E1 00 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 E1 00 DD 0E 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [20:28:48]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:28:48]wFMCommunicate OK [20:28:48]SAM_PROTO_GetFMData done [20:28:48]requested_item fm.sale_refund.total is exist - process it [20:28:48]requested_item fm.buy.total is exist - process it [20:28:48]requested_item shift.sale.total is exist - process it [20:28:48]SAM_PROTO_GetShiftData [20:28:48]wFMCommunicate request_size=4 [20:28:48]MH_SAM_APDU [20:28:48]CAPDU: 80 13 02 00 [20:28:48]Write to MH i2c: E2 08 00 DE 0E 80 13 02 00 00 00 00 00 6A [20:28:48]Write i2c OK [20:28:48]MH_I2C_Read... [20:28:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:28:48]Read from MH i2c: E2 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 FD 00 [20:28:48]MH_I2C_Read... [20:28:48]Read from MH i2c: E2 FD 00 DE 0E 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 A8 C9 31 70 04 03 00 6C FB 1A 72 04 03 00 3C CE 16 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 B0 49 05 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 C6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 34 [20:28:48]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 A8 C9 31 70 04 03 00 6C FB 1A 72 04 03 00 3C CE 16 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 B0 49 05 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 C6 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:28:48]wFMCommunicate OK [20:28:48]wFMCommunicate request_size=4 [20:28:48]MH_SAM_APDU [20:28:48]CAPDU: 80 17 00 00 [20:28:48]Write to MH i2c: E2 08 00 DF 0E 80 17 00 00 00 00 00 00 6D [20:28:48]Write i2c OK [20:28:48]MH_I2C_Read... [20:28:48]OFD Sender: No OFD packet to send [20:28:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:49]Read from MH i2c: E2 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 DF 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 8F [20:28: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 [20:28:49]wFMCommunicate OK [20:28:49]wFMCommunicate request_size=4 [20:28:49]MH_SAM_APDU [20:28:49]CAPDU: 80 17 00 00 [20:28:49]Write to MH i2c: E2 08 00 E0 0E 80 17 00 00 00 00 00 00 6E [20:28:49]Write i2c OK [20:28:49]MH_I2C_Read... [20:28:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:49]Read from MH i2c: E2 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 E0 0E 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 25 [20:28: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 [20:28:49]wFMCommunicate OK [20:28:49]wFMCommunicate request_size=4 [20:28:49]MH_SAM_APDU [20:28:49]CAPDU: 80 17 00 00 [20:28:49]Write to MH i2c: E2 08 00 E1 0E 80 17 00 00 00 00 00 00 6F [20:28:49]Write i2c OK [20:28:49]MH_I2C_Read... [20:28:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:28:49]Read from MH i2c: E2 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 FD 00 E1 0E 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 E1 [20:28:49]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 [20:28:49]wFMCommunicate OK [20:28:49]wFMCommunicate request_size=4 [20:28:49]MH_SAM_APDU [20:28:49]CAPDU: 80 17 00 00 [20:28:49]Write to MH i2c: E2 08 00 E2 0E 80 17 00 00 00 00 00 00 70 [20:28:49]Write i2c OK [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 [20:28:49]MH_I2C_Read... [20:28:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:28:49]Read from MH i2c: E2 CB 00 [20:28:49]MH_I2C_Read... [20:28:49]Read from MH i2c: E2 CB 00 E2 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [20:28:49]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 [20:28:49]wFMCommunicate OK [20:28:49]SAM_PROTO_GetShiftData done [20:28:49]requested_item shift.sale.total_cash is exist - process it [20:28:49]requested_item shift.sale_refund.total is exist - process it [20:28:49]requested_item shift.sale_refund.total_cash is exist - process it [20:28:49]requested_item shift.buy.total is exist - process it [20:28:49]requested_item shift.buy.total_cash is exist - process it [20:28:49]produce_requested_data done [20:28:49]produce_requested_data return {"fm.sale.total":11648280.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":32628.88,"shift.sale.total_cash":17683.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} [20:28:49]process_action_free get_value [20:28:49]json_value_free [20:28:49]json_value_free done [20:28:49]process_json_proto returns [20:28:49]Send response to host [20:28:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11648280.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":32628.88,"shift.sale.total_cash":17683.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}}} [20:28:49]free response buf [20:28:49]execute_script done [20:28:49]execute_script returns [20:28:49]free content buf [20:28:49]Sock 7.Close socket [20:28:49]Sock 7.Thread stoped [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:34]OFD Sender: No OFD packet to send [20:31:39]OFD Sender: No OFD packet to send [20:31:44]OFD Sender: No OFD packet to send [20:31:49]OFD Sender: No OFD packet to send [20:31:54]OFD Sender: No OFD packet to send [20:31:59]OFD Sender: No OFD packet to send [20:32:04]OFD Sender: No OFD packet to send [20:32:09]OFD Sender: No OFD packet to send [20:32:14]OFD Sender: No OFD packet to send [20:32:19]OFD Sender: No OFD packet to send [20:32:24]OFD Sender: No OFD packet to send [20:32:29]OFD Sender: No OFD packet to send [20:32:34]OFD Sender: No OFD packet to send [20:32:39]OFD Sender: No OFD packet to send [20:32:44]OFD Sender: No OFD packet to send [20:32:49]OFD Sender: No OFD packet to send [20:32:54]OFD Sender: No OFD packet to send [20:32:59]OFD Sender: No OFD packet to send [20:33:04]OFD Sender: No OFD packet to send [20:33:09]OFD Sender: No OFD packet to send [20:33:14]OFD Sender: No OFD packet to send [20:33:19]OFD Sender: No OFD packet to send [20:33:24]OFD Sender: No OFD packet to send [20:33:29]OFD Sender: No OFD packet to send [20:33:34]OFD Sender: No OFD packet to send [20:33:39]OFD Sender: No OFD packet to send [20:33:44]OFD Sender: No OFD packet to send [20:33:49]OFD Sender: No OFD packet to send [20:33:54]OFD Sender: No OFD packet to send [20:33:59]OFD Sender: No OFD packet to send [20:34:04]OFD Sender: No OFD packet to send [20:34:09]OFD Sender: No OFD packet to send [20:34:14]OFD Sender: No OFD packet to send [20:34:19]OFD Sender: No OFD packet to send [20:34:24]OFD Sender: No OFD packet to send [20:34:29]OFD Sender: No OFD packet to send [20:34:34]OFD Sender: No OFD packet to send [20:34:39]OFD Sender: No OFD packet to send [20:34:44]OFD Sender: No OFD packet to send [20:34:49]OFD Sender: No OFD packet to send [20:34:54]OFD Sender: No OFD packet to send [20:34:59]OFD Sender: No OFD packet to send [20:35:04]OFD Sender: No OFD packet to send [20:35:09]OFD Sender: No OFD packet to send [20:35:14]OFD Sender: No OFD packet to send [20:35:19]OFD Sender: No OFD packet to send [20:35:24]OFD Sender: No OFD packet to send [20:35:29]OFD Sender: No OFD packet to send [20:35:34]OFD Sender: No OFD packet to send [20:35:39]OFD Sender: No OFD packet to send [20:35:44]OFD Sender: No OFD packet to send [20:35:49]OFD Sender: No OFD packet to send [20:35:54]OFD Sender: No OFD packet to send [20:35:59]OFD Sender: No OFD packet to send [20:36:04]OFD Sender: No OFD packet to send [20:36:09]OFD Sender: No OFD packet to send [20:36:14]OFD Sender: No OFD packet to send [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [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:06]accept exits with 9 [20:43:06]New connection [20:43:06]New thread 3066555748 created [20:43:06]Thread 3066699108 joined [20:43:06]Waiting for new connection... [20:43:06] Sock 9.Parse request [20:43:06]Sock 9.Check first char [20:43:06]Sock 9.First char is OK [20:43:06]request: POST /json_proto HTTP/1.0 [20:43:06]Method: POST [20:43:06]URL: /json_proto [20:43:06]Method is POST - this is cgi request [20:43:06]url: /json_proto [20:43:06]query_string will be loaded in cgi processing [20:43:06]execute_cgi json_proto POST (null) [20:43:06]execute_cgi path=json_proto method=POST [20:43:06]POST find Content-Length [20:43:06]Host: 172.17.53.68:8080 [20:43:06]Content-Length: 654 [20:43:06]Content-Type: application/json [20:43:06] [20:43:06]POST finish read [20:43:06]Found Content-Length = 654 [20:43:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76624", "tax_sys" : 0, "items" : [ { "code": "54492509", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "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" ] } } [20:43:06]execute_script... [20:43:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76624", "tax_sys" : 0, "items" : [ { "code": "54492509", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "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" ] } } [20:43:06]POST & json_proto [20:43:06]process_json_proto [20:43:06]json parsed OK: [20:43:06]protocol is kg_v1.0 [20:43:06]action value=close_receipt [20:43:06]process_action close_receipt [20:43:06]cmd_close_receipt [20:43:06]MH_GetDate [20:43:06]Write to MH i2c: F0 00 00 E3 0E E0 [20:43:06]Write i2c OK [20:43:06]MH_I2C_Read... [20:43:06]Read from MH i2c: F0 [20:43:06]MH_I2C_Read... [20:43:06]Read from MH i2c: F0 09 00 [20:43:06]MH_I2C_Read... [20:43:06]Read from MH i2c: F0 09 00 E3 0E 00 DE 19 14 67 C5 A4 76 66 A0 [20:43:06]GetLastDocTimeStamp 1729369609 [20:43:06]current date 1729370590 [20:43:06]FM_GetShiftState [20:43:06]SAM_PROTO_GetShiftState [20:43:06]wFMCommunicate request_size=4 [20:43:06]MH_SAM_APDU [20:43:06]CAPDU: 80 13 01 00 [20:43:06]Write to MH i2c: E2 08 00 E4 0E 80 13 01 00 00 00 00 00 6F [20:43:06]Write i2c OK [20:43:06]MH_I2C_Read... [20:43:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:06]Read from MH i2c: E2 [20:43:06]MH_I2C_Read... [20:43:06]Read from MH i2c: E2 0E 00 [20:43:06]MH_I2C_Read... [20:43:06]Read from MH i2c: E2 0E 00 E4 0E 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 89 [20:43:06]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:43:06]wFMCommunicate OK [20:43:06]SAM_PROTO_GetShiftState done [20:43:06]FM_GetShiftState done [20:43:06]opened in 1729296796 [20:43:06]opened+sec_in_day 1729383196 [20:43:06]quantity*price = 18000 [20:43:06]sum+1 = 18001 [20:43:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 74 19.10.2024 20:43 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37138 ФПД: 168901603062250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204310&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37138&fm=168901603062250&tin=02508201610067®Number=0000000000098149&sum=18000 0 [20:43:07]StoreToDocumentArchive [20:43:07]shift 460 fd 37138 [20:43:07]save to /storage/0460/doc_00037138 [20:43:07]save last doc name /storage/0460/doc_00037138 to /storage/kkm_last_doc_name [20:43:07]save OK [20:43:07]Clear old archive folders... [20:43:07]ProcessDocumentItem done err = 0, tmpTLVsize=276 [20:43:07]tlvbuf is B6E6A9F0 [20:43:07]SAM_PROTO_ClearQueue [20:43:07]wFMCommunicate request_size=4 [20:43:07]MH_SAM_APDU [20:43:07]CAPDU: 80 09 00 00 [20:43:07]Write to MH i2c: E2 08 00 F1 0E 80 09 00 00 00 00 00 00 71 [20:43:07]Write i2c OK [20:43:07]MH_I2C_Read... [20:43:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:43:07]Read from MH i2c: E2 [20:43:07]MH_I2C_Read... [20:43:07]Read from MH i2c: E2 03 00 [20:43:07]MH_I2C_Read... [20:43:07]Read from MH i2c: E2 03 00 F1 0E 00 90 00 73 [20:43:07]RAPDU: 90 00 [20:43:07]wFMCommunicate OK [20:43:07]SAM_PROTO_ClearQueue done [20:43:07]KKMCreateOFDPacket [20:43:07]OFDProtocolAddRootSTLVToBuf [20:43:07]FM_MakeSignedData [20:43:07]FM_MakeSignedData [20:43:07]SAM_PROTO_SignData [20:43:07]wFMCommunicate request_size=4 [20:43:07]MH_SAM_APDU [20:43:07]CAPDU: 80 0D 01 02 [20:43:07]Write to MH i2c: E2 08 00 F2 0E 80 0D 01 02 00 00 00 00 79 [20:43:07]Write i2c OK [20:43:07]MH_I2C_Read... [20:43:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:43:07]Read from MH i2c: E2 [20:43:07]MH_I2C_Read... [20:43:07]Read from MH i2c: E2 03 00 [20:43:07]MH_I2C_Read... [20:43:07]Read from MH i2c: E2 03 00 F2 0E 00 90 00 74 [20:43:07]RAPDU: 90 00 [20:43:07]wFMCommunicate OK [20:43:07]wFMCommunicate request_size=255 [20:43:07]MH_SAM_APDU [20:43:07]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB 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 4A 00 00 00 F4 03 04 00 DE 19 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 [20:43:07]Write to MH i2c: E2 02 01 F3 0E 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB 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 4A 00 00 00 F4 03 04 00 DE 19 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 00 00 0F [20:43:07]Write i2c OK [20:43:07]MH_I2C_Read... [20:43:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:08]Read from MH i2c: E2 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 03 00 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 03 00 F3 0E 00 90 00 75 [20:43:08]RAPDU: 90 00 [20:43:08]wFMCommunicate OK [20:43:08]wFMCommunicate request_size=35 [20:43:08]MH_SAM_APDU [20:43:08]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 12 91 00 00 35 04 06 00 99 9D 78 0D 71 EA [20:43:08]Write to MH i2c: E2 26 00 F4 0E 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 12 91 00 00 35 04 06 00 99 9D 78 0D 71 EA 00 00 28 [20:43:08]Write i2c OK [20:43:08]MH_I2C_Read... [20:43:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:08]Read from MH i2c: E2 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 03 00 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 03 00 F4 0E 00 90 00 76 [20:43:08]RAPDU: 90 00 [20:43:08]wFMCommunicate OK [20:43:08]wFMCommunicate request_size=4 [20:43:08]MH_SAM_APDU [20:43:08]CAPDU: 80 0D 03 02 [20:43:08]Write to MH i2c: E2 08 00 F5 0E 80 0D 03 02 00 00 00 00 7E [20:43:08]Write i2c OK [20:43:08]MH_I2C_Read... [20:43:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:43:08]Read from MH i2c: E2 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 0B 00 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 0B 00 F5 0E 00 C6 81 5D 89 FC FD 3F FA 90 00 DE [20:43:08]RAPDU: C6 81 5D 89 FC FD 3F FA 90 00 [20:43:08]wFMCommunicate OK [20:43:08]SAM_PROTO_SignData done [20:43:08]FM_MakeSignedData done [20:43:08]CreateOFDProtocolMessage [20:43:08]wFMCommunicate request_size=4 [20:43:08]MH_SAM_APDU [20:43:08]CAPDU: 80 11 00 00 [20:43:08]Write to MH i2c: E2 08 00 F6 0E 80 11 00 00 00 00 00 00 7E [20:43:08]Write i2c OK [20:43:08]MH_I2C_Read... [20:43:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:08]Read from MH i2c: E2 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 17 00 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: E2 17 00 F6 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 D1 [20:43:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:43:08]wFMCommunicate OK [20:43:08]CreateOFDProtocolMessage done [20:43:08]OFDSenderStorePacket 37138 [20:43:08]StoreOFDPacket docnum=37138 [20:43:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 28 01 00 00 DD 8B 20 01 71 EB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB 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 4A 00 00 00 F4 03 04 00 DE 19 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 12 91 00 00 35 04 06 00 99 9D 78 0D 71 EA C6 81 5D 89 FC FD 3F FA [20:43:08]CheckFolder [20:43:08]dirname=/storage/ofd_packets [20:43:08]CheckFolder done [20:43:08]ProducePacketName [20:43:08]name=ofd_packets/00037138 [20:43:08]NVStorageSaveData ofd_packets/00037138 [20:43:08]File name is /storage/ofd_packets/00037138 [20:43:08]Write 326 bytes [20:43:08]NVStorageSaveData done [20:43:08]OFDSenderStorePacket done [20:43:08]KKMCreateOFDPacket done [20:43:08]NVStorageSaveData kkm_last_timestamp [20:43:08]File name is /storage/kkm_last_timestamp [20:43:08]Write 4 bytes [20:43:08]NVStorageSaveData done [20:43:08]ExternCall_PrintAddStr [20:43:08]wPrintStart [20:43:08]Write to MH i2c: 01 00 00 F7 0E 05 [20:43:08]Write i2c OK [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: 01 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: 01 07 00 [20:43:08]MH_I2C_Read... [20:43:08]Read from MH i2c: 01 07 00 F7 0E 00 00 00 00 00 FF 0F 1A [20:43:08]RasterBufferAndPrint [20:43:08]line Счет N : (3)76624 [20:43:08]line ИНН: 02508201610067 [20:43:08]line Контрольно-Кассовый Чек [20:43:08]line ПРОДАЖА [20:43:08]line Товар: 54492509 [20:43:08]line Напиток Кока-Кола 0,25л [20:43:08]line 2.000 * 90.00 [20:43:08]line = 180.00 [20:43:08]line НДС 12% НСП 1% [20:43:08]line > о реализуемом товаре [20:43:08]line ИТОГО: 180.00 [20:43:08]line НСП 1% : 1.59 [20:43:08]line НДС 12% : 19.11 [20:43:08]line Наличными: 180.00 [20:43:08]line Безнал.: 0.00 [20:43:08]line Место: АЗС № 165 "Партнер Нефть" [20:43:08]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [20:43:08]line СНО: Общий режим [20:43:08]line Чек 74 19.10.2024 20:43 [20:43:08]line Смена: 460 ФФД: 1.0 [20:43:08]line ЗНМ: 0300000235 [20:43:08]line РНМ: 0000000000098149 [20:43:08]line Версия ККМ: 001 [20:43:08]line ФМ: 0000000000965372 [20:43:08]line ФД: 37138 [20:43:08]line ФПД: 168901603062250 [20:43:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T204310&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37138&fm=168901603062250&tin=02508201610067®Number=0000000000098149&sum=18000 [20:43:08]line 0 [20:43:08]OFD Sender: Processing packet 37138 [packets to send 25, broken 24] [20:43:08]ProducePacketName [20:43:08]name=ofd_packets/00037138 [20:43:08]OFD Sender: To server: pG, [20:43:08]CommunicateWithHost lk.salyk.kg:30040 [20:43:08]ConnectInit lk.salyk.kg [20:43:08]written 0, free lines is 4095 [20:43:08]Connected sock=10 [20:43:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 28 01 00 00 DD 8B 20 01 71 EB 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB 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 4A 00 00 00 F4 03 04 00 DE 19 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 12 91 00 00 35 04 06 00 99 9D 78 0D 71 EA C6 81 5D 89 FC FD 3F FA [20:43:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 14 60 47 00 57 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 33 37 32 10 04 04 00 12 91 00 00 F4 03 04 00 72 C2 13 67 B6 04 01 00 00 32 D5 0C 09 3D BB B1 7A [20:43:09]CommunicateWithHost err = 0 [20:43:09]CheckOFDResponse [20:43:09]1017 (14) - 77093643461234 [20:43:09]1041 (16) - 0000000000965372 [20:43:09]1040 (4) - 37138 [20:43:09]1012 (4) - 19.10.2024 14:30 [20:43:09]1206 (1) - 0 [20:43:09]OFD Sender: Remove packet 37138 [20:43:09]ProducePacketName [20:43:09]name=ofd_packets/00037138 [20:43:09]NVStorageDeleteData [20:43:09]Write to MH i2c: 01 00 00 1F 0F 2E [20:43:09]Write i2c OK [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: 01 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: 01 07 00 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: 01 07 00 1F 0F 00 00 00 00 00 0B 0D 4D [20:43:09]RasterBufferAndPrint [20:43:09]line [20:43:09]line [20:43:09]line [20:43:09]line [20:43:09]line [20:43:09]written 0, free lines is 3345 [20:43:09]process_action close_receipt done [20:43:09]requested_data is exist [20:43:09]produce_requested_data [20:43:09]requested_item fm.sn is exist - process it [20:43:09]wFMCommunicate request_size=4 [20:43:09]MH_SAM_APDU [20:43:09]CAPDU: 80 11 00 00 [20:43:09]Write to MH i2c: E2 08 00 26 0F 80 11 00 00 00 00 00 00 AF [20:43:09]Write i2c OK [20:43:09]MH_I2C_Read... [20:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:09]Read from MH i2c: E2 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 17 00 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 17 00 26 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 02 [20:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [20:43:09]wFMCommunicate OK [20:43:09]requested_item fd.num is exist - process it [20:43:09]SAM_PROTO_GetFieldsCounters [20:43:09]wFMCommunicate request_size=4 [20:43:09]MH_SAM_APDU [20:43:09]CAPDU: 80 13 00 00 [20:43:09]Write to MH i2c: E2 08 00 27 0F 80 13 00 00 00 00 00 00 B2 [20:43:09]Write i2c OK [20:43:09]MH_I2C_Read... [20:43:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:43:09]Read from MH i2c: E2 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 62 00 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 62 00 27 0F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 12 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [20:43: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 12 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:43:09]wFMCommunicate OK [20:43:09]SAM_PROTO_GetFieldsCounters done [20:43:09]requested_item shift.num is exist - process it [20:43:09]requested_item shift.opened is exist - process it [20:43:09]req_shift_opened [20:43:09]FM_GetShiftState [20:43:09]SAM_PROTO_GetShiftState [20:43:09]wFMCommunicate request_size=4 [20:43:09]MH_SAM_APDU [20:43:09]CAPDU: 80 13 01 00 [20:43:09]Write to MH i2c: E2 08 00 28 0F 80 13 01 00 00 00 00 00 B4 [20:43:09]Write i2c OK [20:43:09]MH_I2C_Read... [20:43:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:09]Read from MH i2c: E2 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 0E 00 [20:43:09]MH_I2C_Read... [20:43:09]Read from MH i2c: E2 0E 00 28 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 CE [20:43:09]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [20:43:09]wFMCommunicate OK [20:43:09]SAM_PROTO_GetShiftState done [20:43:09]FM_GetShiftState done [20:43:09]req_shift_opened done [20:43:09]requested_item shift.open_date is exist - process it [20:43:09]req_shift_open_date [20:43:09]req_shift_open_date done [20:43:09]produce_requested_data done [20:43:09]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37138,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [20:43:09]process_action_free close_receipt [20:43:09]json_value_free [20:43:09]json_value_free done [20:43:09]process_json_proto returns [20:43:09]Send response to host [20:43:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37138,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [20:43:09]free response buf [20:43:09]execute_script done [20:43:09]execute_script returns [20:43:09]free content buf [20:43:09]Sock 9.Close socket [20:43:09]Sock 9.Thread stoped [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:44]OFD Sender: No OFD packet to send [20:48:49]OFD Sender: No OFD packet to send [20:48:54]OFD Sender: No OFD packet to send [20:48:59]OFD Sender: No OFD packet to send [20:49:04]OFD Sender: No OFD packet to send [20:49:09]OFD Sender: No OFD packet to send [20:49:14]OFD Sender: No OFD packet to send [20:49:19]OFD Sender: No OFD packet to send [20:49:24]OFD Sender: No OFD packet to send [20:49:29]OFD Sender: No OFD packet to send [20:49:34]OFD Sender: No OFD packet to send [20:49:39]OFD Sender: No OFD packet to send [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [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:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]OFD Sender: No OFD packet to send [21:04:35]OFD Sender: No OFD packet to send [21:04:40]OFD Sender: No OFD packet to send [21:04:45]OFD Sender: No OFD packet to send [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:15]OFD Sender: No OFD packet to send [21:05:20]OFD Sender: No OFD packet to send [21:05:25]OFD Sender: No OFD packet to send [21:05:30]OFD Sender: No OFD packet to send [21:05:35]OFD Sender: No OFD packet to send [21:05:40]OFD Sender: No OFD packet to send [21:05:45]OFD Sender: No OFD packet to send [21:05:50]OFD Sender: No OFD packet to send [21:05:55]OFD Sender: No OFD packet to send [21:06:00]OFD Sender: No OFD packet to send [21:06:05]OFD Sender: No OFD packet to send [21:06:10]OFD Sender: No OFD packet to send [21:06:15]OFD Sender: No OFD packet to send [21:06:20]OFD Sender: No OFD packet to send [21:06:25]OFD Sender: No OFD packet to send [21:06:30]OFD Sender: No OFD packet to send [21:06:35]OFD Sender: No OFD packet to send [21:06:40]OFD Sender: No OFD packet to send [21:06:45]OFD Sender: No OFD packet to send [21:06:50]OFD Sender: No OFD packet to send [21:06:55]OFD Sender: No OFD packet to send [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:30]OFD Sender: No OFD packet to send [21:09:35]OFD Sender: No OFD packet to send [21:09:40]OFD Sender: No OFD packet to send [21:09:45]OFD Sender: No OFD packet to send [21:09:50]OFD Sender: No OFD packet to send [21:09:55]OFD Sender: No OFD packet to send [21:10:00]OFD Sender: No OFD packet to send [21:10:05]OFD Sender: No OFD packet to send [21:10:10]OFD Sender: No OFD packet to send [21:10:15]OFD Sender: No OFD packet to send [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:45]accept exits with 7 [21:14:45]New connection [21:14:45]New thread 3066699108 created [21:14:45]Thread 3066555748 joined [21:14:45]Waiting for new connection... [21:14:45] Sock 7.Parse request [21:14:45]Sock 7.Check first char [21:14:45]Sock 7.First char is OK [21:14:45]request: POST /json_proto HTTP/1.0 [21:14:45]Method: POST [21:14:45]URL: /json_proto [21:14:45]Method is POST - this is cgi request [21:14:45]url: /json_proto [21:14:45]query_string will be loaded in cgi processing [21:14:45]execute_cgi json_proto POST (null) [21:14:45]execute_cgi path=json_proto method=POST [21:14:45]POST find Content-Length [21:14:45]Host: 172.17.53.68:8080 [21:14:45]Content-Length: 752 [21:14:45]Content-Type: application/json [21:14:45] [21:14:45]POST finish read [21:14:45]Found Content-Length = 752 [21:14:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76625", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:45]execute_script... [21:14:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76625", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:14:45]POST & json_proto [21:14:45]process_json_proto [21:14:45]json parsed OK: [21:14:45]protocol is kg_v1.0 [21:14:45]action value=close_receipt [21:14:45]process_action close_receipt [21:14:45]cmd_close_receipt [21:14:45]MH_GetDate [21:14:45]Write to MH i2c: F0 00 00 29 0F 27 [21:14:45]Write i2c OK [21:14:45]MH_I2C_Read... [21:14:45]Read from MH i2c: F0 [21:14:45]MH_I2C_Read... [21:14:45]Read from MH i2c: F0 09 00 [21:14:45]MH_I2C_Read... [21:14:45]Read from MH i2c: F0 09 00 29 0F 00 49 21 14 67 C5 A4 76 66 5A [21:14:45]GetLastDocTimeStamp 1729370590 [21:14:45]current date 1729372489 [21:14:45]FM_GetShiftState [21:14:45]SAM_PROTO_GetShiftState [21:14:45]wFMCommunicate request_size=4 [21:14:45]MH_SAM_APDU [21:14:45]CAPDU: 80 13 01 00 [21:14:45]Write to MH i2c: E2 08 00 2A 0F 80 13 01 00 00 00 00 00 B6 [21:14:45]Write i2c OK [21:14:45]MH_I2C_Read... [21:14:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:45]Read from MH i2c: E2 [21:14:45]MH_I2C_Read... [21:14:45]Read from MH i2c: E2 0E 00 [21:14:45]MH_I2C_Read... [21:14:45]Read from MH i2c: E2 0E 00 2A 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 D0 [21:14:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:14:45]wFMCommunicate OK [21:14:45]SAM_PROTO_GetShiftState done [21:14:45]FM_GetShiftState done [21:14:45]opened in 1729296796 [21:14:45]opened+sec_in_day 1729383196 [21:14:45]quantity*price = 23000 [21:14:45]sum+1 = 23001 [21:14:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 0.00 Безнал.: 230.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 75 19.10.2024 21:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965372 ФД: 37139 ФПД: 257429068345279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T211449&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37139&fm=257429068345279&tin=02508201610067®Number=0000000000098149&sum=23000 0 [21:14:46]StoreToDocumentArchive [21:14:46]shift 460 fd 37139 [21:14:46]save to /storage/0460/doc_00037139 [21:14:46]save last doc name /storage/0460/doc_00037139 to /storage/kkm_last_doc_name [21:14:46]save OK [21:14:46]Clear old archive folders... [21:14:46]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:14:46]tlvbuf is 00947180 [21:14:46]SAM_PROTO_ClearQueue [21:14:46]wFMCommunicate request_size=4 [21:14:46]MH_SAM_APDU [21:14:46]CAPDU: 80 09 00 00 [21:14:46]Write to MH i2c: E2 08 00 37 0F 80 09 00 00 00 00 00 00 B8 [21:14:46]Write i2c OK [21:14:46]MH_I2C_Read... [21:14:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 37 0F 00 90 00 BA [21:14:47]RAPDU: 90 00 [21:14:47]wFMCommunicate OK [21:14:47]SAM_PROTO_ClearQueue done [21:14:47]KKMCreateOFDPacket [21:14:47]OFDProtocolAddRootSTLVToBuf [21:14:47]FM_MakeSignedData [21:14:47]FM_MakeSignedData [21:14:47]SAM_PROTO_SignData [21:14:47]wFMCommunicate request_size=4 [21:14:47]MH_SAM_APDU [21:14:47]CAPDU: 80 0D 01 02 [21:14:47]Write to MH i2c: E2 08 00 38 0F 80 0D 01 02 00 00 00 00 C0 [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 38 0F 00 90 00 BB [21:14:47]RAPDU: 90 00 [21:14:47]wFMCommunicate OK [21:14:47]wFMCommunicate request_size=255 [21:14:47]MH_SAM_APDU [21:14:47]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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 49 21 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 [21:14:47]Write to MH i2c: E2 02 01 39 0F 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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 49 21 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 00 00 C5 [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 39 0F 00 90 00 BC [21:14:47]RAPDU: 90 00 [21:14:47]wFMCommunicate OK [21:14:47]wFMCommunicate request_size=33 [21:14:47]MH_SAM_APDU [21:14:47]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 32 10 04 04 00 13 91 00 00 35 04 06 00 EA 21 60 2C 6F BF [21:14:47]Write to MH i2c: E2 24 00 3A 0F 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 32 10 04 04 00 13 91 00 00 35 04 06 00 EA 21 60 2C 6F BF 00 00 BB [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 03 00 3A 0F 00 90 00 BD [21:14:47]RAPDU: 90 00 [21:14:47]wFMCommunicate OK [21:14:47]wFMCommunicate request_size=4 [21:14:47]MH_SAM_APDU [21:14:47]CAPDU: 80 0D 03 02 [21:14:47]Write to MH i2c: E2 08 00 3B 0F 80 0D 03 02 00 00 00 00 C5 [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 0B 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 0B 00 3B 0F 00 DB B6 E0 06 D7 74 04 97 90 00 23 [21:14:47]RAPDU: DB B6 E0 06 D7 74 04 97 90 00 [21:14:47]wFMCommunicate OK [21:14:47]SAM_PROTO_SignData done [21:14:47]FM_MakeSignedData done [21:14:47]CreateOFDProtocolMessage [21:14:47]wFMCommunicate request_size=4 [21:14:47]MH_SAM_APDU [21:14:47]CAPDU: 80 11 00 00 [21:14:47]Write to MH i2c: E2 08 00 3C 0F 80 11 00 00 00 00 00 00 C5 [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:47]Read from MH i2c: E2 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 17 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: E2 17 00 3C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 18 [21:14:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:14:47]wFMCommunicate OK [21:14:47]CreateOFDProtocolMessage done [21:14:47]OFDSenderStorePacket 37139 [21:14:47]StoreOFDPacket docnum=37139 [21:14:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 3C 58 1E 01 A0 B6 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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 49 21 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 13 91 00 00 35 04 06 00 EA 21 60 2C 6F BF DB B6 E0 06 D7 74 04 97 [21:14:47]CheckFolder [21:14:47]dirname=/storage/ofd_packets [21:14:47]CheckFolder done [21:14:47]ProducePacketName [21:14:47]name=ofd_packets/00037139 [21:14:47]NVStorageSaveData ofd_packets/00037139 [21:14:47]File name is /storage/ofd_packets/00037139 [21:14:47]Write 324 bytes [21:14:47]NVStorageSaveData done [21:14:47]OFDSenderStorePacket done [21:14:47]KKMCreateOFDPacket done [21:14:47]NVStorageSaveData kkm_last_timestamp [21:14:47]File name is /storage/kkm_last_timestamp [21:14:47]Write 4 bytes [21:14:47]NVStorageSaveData done [21:14:47]ExternCall_PrintAddStr [21:14:47]wPrintStart [21:14:47]Write to MH i2c: 01 00 00 3D 0F 4C [21:14:47]Write i2c OK [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: 01 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: 01 07 00 [21:14:47]MH_I2C_Read... [21:14:47]Read from MH i2c: 01 07 00 3D 0F 00 00 00 00 00 FF 0F 61 [21:14:47]RasterBufferAndPrint [21:14:47]line Счет N : (3)76625 [21:14:47]line ИНН: 02508201610067 [21:14:47]line Контрольно-Кассовый Чек [21:14:47]line ПРОДАЖА [21:14:47]line Товар: 2000036240010 [21:14:47]line Кофе Латте (GABB TRADE) [21:14:47]line 2.000 * 115.00 [21:14:47]line = 230.00 [21:14:47]line НДС 12% НСП 1% [21:14:47]line > о реализуемом товаре [21:14:47]line ИТОГО: 230.00 [21:14:47]line НСП 1% : 2.03 [21:14:47]line НДС 12% : 24.42 [21:14:47]line Наличными: 0.00 [21:14:47]line Безнал.: 230.00 [21:14:47]line Место: АЗС № 165 "Партнер Нефть" [21:14:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:14:47]line СНО: Общий режим [21:14:47]line Чек 75 19.10.2024 21:14 [21:14:47]line Смена: 460 ФФД: 1.0 [21:14:47]line ЗНМ: 0300000235 [21:14:47]line РНМ: 0000000000098149 [21:14:47]line Версия ККМ: 001 [21:14:47]line Платежная система: Mbank [21:14:47]line ФМ: 0000000000965372 [21:14:47]line ФД: 37139 [21:14:47]line ФПД: 257429068345279 [21:14:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T211449&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37139&fm=257429068345279&tin=02508201610067®Number=0000000000098149&sum=23000 [21:14:47]OFD Sender: Processing packet 37139 [packets to send 25, broken 24] [21:14:47]ProducePacketName [21:14:47]name=ofd_packets/00037139 [21:14:47]OFD Sender: To server: pG, [21:14:47]CommunicateWithHost lk.salyk.kg:30040 [21:14:47]ConnectInit lk.salyk.kg [21:14:47]line 0 [21:14:47]written 0, free lines is 4095 [21:14:47]Connected sock=10 [21:14:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 26 01 00 00 3C 58 1E 01 A0 B6 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 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 49 21 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 13 91 00 00 35 04 06 00 EA 21 60 2C 6F BF DB B6 E0 06 D7 74 04 97 [21:14:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 3F 8B 47 00 79 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 13 91 00 00 F4 03 04 00 DD C9 13 67 B6 04 01 00 00 E0 A0 59 67 44 8E 54 A5 [21:14:48]CommunicateWithHost err = 0 [21:14:48]CheckOFDResponse [21:14:48]1017 (14) - 77093643461234 [21:14:48]1041 (16) - 0000000000965372 [21:14:48]1040 (4) - 37139 [21:14:48]1012 (4) - 19.10.2024 15:01 [21:14:48]1206 (1) - 0 [21:14:48]OFD Sender: Remove packet 37139 [21:14:48]ProducePacketName [21:14:48]name=ofd_packets/00037139 [21:14:48]NVStorageDeleteData [21:14:48]Write to MH i2c: 01 00 00 66 0F 75 [21:14:48]Write i2c OK [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: 01 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: 01 07 00 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: 01 07 00 66 0F 00 00 00 00 00 07 0D 90 [21:14:48]RasterBufferAndPrint [21:14:48]line [21:14:48]line [21:14:48]line [21:14:48]line [21:14:48]line [21:14:48]written 0, free lines is 3341 [21:14:48]process_action close_receipt done [21:14:48]requested_data is exist [21:14:48]produce_requested_data [21:14:48]requested_item fm.sn is exist - process it [21:14:48]wFMCommunicate request_size=4 [21:14:48]MH_SAM_APDU [21:14:48]CAPDU: 80 11 00 00 [21:14:48]Write to MH i2c: E2 08 00 6D 0F 80 11 00 00 00 00 00 00 F6 [21:14:48]Write i2c OK [21:14:48]MH_I2C_Read... [21:14:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:14:48]Read from MH i2c: E2 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 17 00 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 17 00 6D 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 49 [21:14:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:14:48]wFMCommunicate OK [21:14:48]requested_item fd.num is exist - process it [21:14:48]SAM_PROTO_GetFieldsCounters [21:14:48]wFMCommunicate request_size=4 [21:14:48]MH_SAM_APDU [21:14:48]CAPDU: 80 13 00 00 [21:14:48]Write to MH i2c: E2 08 00 6E 0F 80 13 00 00 00 00 00 00 F9 [21:14:48]Write i2c OK [21:14:48]MH_I2C_Read... [21:14:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:14:48]Read from MH i2c: E2 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 62 00 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 62 00 6E 0F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 13 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 72 [21:14:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 13 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:14:48]wFMCommunicate OK [21:14:48]SAM_PROTO_GetFieldsCounters done [21:14:48]requested_item shift.num is exist - process it [21:14:48]requested_item shift.opened is exist - process it [21:14:48]req_shift_opened [21:14:48]FM_GetShiftState [21:14:48]SAM_PROTO_GetShiftState [21:14:48]wFMCommunicate request_size=4 [21:14:48]MH_SAM_APDU [21:14:48]CAPDU: 80 13 01 00 [21:14:48]Write to MH i2c: E2 08 00 6F 0F 80 13 01 00 00 00 00 00 FB [21:14:48]Write i2c OK [21:14:48]MH_I2C_Read... [21:14:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:14:48]Read from MH i2c: E2 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 0E 00 [21:14:48]MH_I2C_Read... [21:14:48]Read from MH i2c: E2 0E 00 6F 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 15 [21:14:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:14:48]wFMCommunicate OK [21:14:48]SAM_PROTO_GetShiftState done [21:14:48]FM_GetShiftState done [21:14:48]req_shift_opened done [21:14:48]requested_item shift.open_date is exist - process it [21:14:48]req_shift_open_date [21:14:48]req_shift_open_date done [21:14:48]produce_requested_data done [21:14:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37139,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:14:48]process_action_free close_receipt [21:14:48]json_value_free [21:14:48]json_value_free done [21:14:48]process_json_proto returns [21:14:48]Send response to host [21:14:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37139,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:14:48]free response buf [21:14:48]execute_script done [21:14:48]execute_script returns [21:14:48]free content buf [21:14:48]Sock 7.Close socket [21:14:48]Sock 7.Thread stoped [21:14:48]OFD Sender: No OFD packet to send [21:14:49]int [21:14:49]Write to MH i2c: 01 00 00 70 0F 7F [21:14:49]*** FLAG_PRN_KEY set [21:14:49]Write i2c OK [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 70 0F 00 08 00 00 00 FF 0F 9C [21:14:49]state=0 [21:14:49]Key pressed [21:14:49]Feed [21:14:49]Write to MH i2c: D8 00 00 71 0F 57 [21:14:49]Write i2c OK [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: D8 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: D8 01 00 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: D8 01 00 71 0F 00 58 [21:14:49]int [21:14:49]Write to MH i2c: 01 00 00 72 0F 81 [21:14:49]Write i2c OK [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 72 0F 00 48 00 00 00 3C 00 0C [21:14:49]state=2 [21:14:49]Key pressed [21:14:49]int [21:14:49]Write to MH i2c: 01 00 00 73 0F 82 [21:14:49]*** FLAG_PRN_KEY reset [21:14:49]Write i2c OK [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 [21:14:49]MH_I2C_Read... [21:14:49]Read from MH i2c: 01 07 00 73 0F 00 00 00 00 00 F7 0F 8F [21:14:49]state=2 [21:14:49]Stop feed [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31:24]OFD Sender: No OFD packet to send [21:31:29]OFD Sender: No OFD packet to send [21:31:34]OFD Sender: No OFD packet to send [21:31:39]OFD Sender: No OFD packet to send [21:31:44]OFD Sender: No OFD packet to send [21:31:49]OFD Sender: No OFD packet to send [21:31:54]OFD Sender: No OFD packet to send [21:31:59]OFD Sender: No OFD packet to send [21:32:04]OFD Sender: No OFD packet to send [21:32:09]OFD Sender: No OFD packet to send [21:32:14]OFD Sender: No OFD packet to send [21:32:19]OFD Sender: No OFD packet to send [21:32:24]OFD Sender: No OFD packet to send [21:32:29]OFD Sender: No OFD packet to send [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]accept exits with 9 [21:32:59]New connection [21:32:59]New thread 3066555748 created [21:32:59]Thread 3066699108 joined [21:32:59]Waiting for new connection... [21:32:59] Sock 9.Parse request [21:32:59]Sock 9.Check first char [21:32:59]Sock 9.First char is OK [21:32:59]request: POST /json_proto HTTP/1.0 [21:32:59]Method: POST [21:32:59]URL: /json_proto [21:32:59]Method is POST - this is cgi request [21:32:59]url: /json_proto [21:32:59]query_string will be loaded in cgi processing [21:32:59]execute_cgi json_proto POST (null) [21:32:59]execute_cgi path=json_proto method=POST [21:32:59]POST find Content-Length [21:32:59]Host: 172.17.53.68:8080 [21:32:59]Content-Length: 684 [21:32:59]Content-Type: application/json [21:32:59] [21:32:59]POST finish read [21:32:59]Found Content-Length = 684 [21:32:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76626", "tax_sys" : 0, "items" : [ { "code": "4870227272933", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:59]execute_script... [21:32:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76626", "tax_sys" : 0, "items" : [ { "code": "4870227272933", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:59]POST & json_proto [21:32:59]process_json_proto [21:32:59]json parsed OK: [21:32:59]protocol is kg_v1.0 [21:32:59]action value=close_receipt [21:32:59]process_action close_receipt [21:32:59]cmd_close_receipt [21:32:59]MH_GetDate [21:32:59]Write to MH i2c: F0 00 00 74 0F 72 [21:32:59]Write i2c OK [21:32:59]MH_I2C_Read... [21:32:59]Read from MH i2c: F0 [21:32:59]MH_I2C_Read... [21:32:59]Read from MH i2c: F0 09 00 [21:32:59]MH_I2C_Read... [21:32:59]Read from MH i2c: F0 09 00 74 0F 00 8F 25 14 67 C5 A4 76 66 EF [21:32:59]GetLastDocTimeStamp 1729372489 [21:32:59]current date 1729373583 [21:32:59]FM_GetShiftState [21:32:59]SAM_PROTO_GetShiftState [21:32:59]wFMCommunicate request_size=4 [21:32:59]MH_SAM_APDU [21:32:59]CAPDU: 80 13 01 00 [21:32:59]Write to MH i2c: E2 08 00 75 0F 80 13 01 00 00 00 00 00 01 [21:32:59]Write i2c OK [21:32:59]MH_I2C_Read... [21:32:59]OFD Sender: No OFD packet to send [21:32:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:59]Read from MH i2c: E2 [21:32:59]MH_I2C_Read... [21:32:59]Read from MH i2c: E2 0E 00 [21:32:59]MH_I2C_Read... [21:32:59]Read from MH i2c: E2 0E 00 75 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 1B [21:32:59]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:32:59]wFMCommunicate OK [21:32:59]SAM_PROTO_GetShiftState done [21:32:59]FM_GetShiftState done [21:32:59]opened in 1729296796 [21:32:59]opened+sec_in_day 1729383196 [21:32:59]quantity*price = 8500 [21:32:59]sum+1 = 8501 [21:32:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 76 19.10.2024 21:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37140 ФПД: 9598890290853 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213303&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37140&fm=9598890290853&tin=02508201610067®Number=0000000000098149&sum=8500 0 [21:33:00]StoreToDocumentArchive [21:33:00]shift 460 fd 37140 [21:33:00]save to /storage/0460/doc_00037140 [21:33:00]save last doc name /storage/0460/doc_00037140 to /storage/kkm_last_doc_name [21:33:00]save OK [21:33:00]Clear old archive folders... [21:33:00]ProcessDocumentItem done err = 0, tmpTLVsize=292 [21:33:00]tlvbuf is 009A7880 [21:33:00]SAM_PROTO_ClearQueue [21:33:00]wFMCommunicate request_size=4 [21:33:00]MH_SAM_APDU [21:33:00]CAPDU: 80 09 00 00 [21:33:00]Write to MH i2c: E2 08 00 82 0F 80 09 00 00 00 00 00 00 03 [21:33:00]Write i2c OK [21:33:00]MH_I2C_Read... [21:33:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:33:00]Read from MH i2c: E2 [21:33:00]MH_I2C_Read... [21:33:00]Read from MH i2c: E2 03 00 [21:33:00]MH_I2C_Read... [21:33:00]Read from MH i2c: E2 03 00 82 0F 00 90 00 05 [21:33:00]RAPDU: 90 00 [21:33:00]wFMCommunicate OK [21:33:00]SAM_PROTO_ClearQueue done [21:33:00]KKMCreateOFDPacket [21:33:00]OFDProtocolAddRootSTLVToBuf [21:33:00]FM_MakeSignedData [21:33:00]FM_MakeSignedData [21:33:00]SAM_PROTO_SignData [21:33:00]wFMCommunicate request_size=4 [21:33:00]MH_SAM_APDU [21:33:00]CAPDU: 80 0D 01 02 [21:33:00]Write to MH i2c: E2 08 00 83 0F 80 0D 01 02 00 00 00 00 0B [21:33:00]Write i2c OK [21:33:00]MH_I2C_Read... [21:33:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:33:00]Read from MH i2c: E2 [21:33:00]MH_I2C_Read... [21:33:00]Read from MH i2c: E2 03 00 [21:33:00]MH_I2C_Read... [21:33:00]Read from MH i2c: E2 03 00 83 0F 00 90 00 06 [21:33:00]RAPDU: 90 00 [21:33:00]wFMCommunicate OK [21:33:00]wFMCommunicate request_size=255 [21:33:00]MH_SAM_APDU [21:33:00]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 32 37 32 37 32 39 33 33 06 04 32 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 8F 25 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [21:33:00]Write to MH i2c: E2 02 01 84 0F 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 32 37 32 37 32 39 33 33 06 04 32 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 8F 25 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 80 [21:33:00]Write i2c OK [21:33:00]MH_I2C_Read... [21:33:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:01]Read from MH i2c: E2 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 03 00 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 03 00 84 0F 00 90 00 07 [21:33:01]RAPDU: 90 00 [21:33:01]wFMCommunicate OK [21:33:01]wFMCommunicate request_size=51 [21:33:01]MH_SAM_APDU [21:33:01]CAPDU: 80 0D 02 02 2E 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 14 91 00 00 35 04 06 00 08 BA EA 72 2E A5 [21:33:01]Write to MH i2c: E2 36 00 85 0F 80 0D 02 02 2E 00 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 14 91 00 00 35 04 06 00 08 BA EA 72 2E A5 00 00 3B [21:33:01]Write i2c OK [21:33:01]MH_I2C_Read... [21:33:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:01]Read from MH i2c: E2 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 03 00 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 03 00 85 0F 00 90 00 08 [21:33:01]RAPDU: 90 00 [21:33:01]wFMCommunicate OK [21:33:01]wFMCommunicate request_size=4 [21:33:01]MH_SAM_APDU [21:33:01]CAPDU: 80 0D 03 02 [21:33:01]Write to MH i2c: E2 08 00 86 0F 80 0D 03 02 00 00 00 00 10 [21:33:01]Write i2c OK [21:33:01]MH_I2C_Read... [21:33:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:33:01]Read from MH i2c: E2 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 0B 00 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 0B 00 86 0F 00 66 EA 03 75 02 AF B0 6F 90 00 A9 [21:33:01]RAPDU: 66 EA 03 75 02 AF B0 6F 90 00 [21:33:01]wFMCommunicate OK [21:33:01]SAM_PROTO_SignData done [21:33:01]FM_MakeSignedData done [21:33:01]CreateOFDProtocolMessage [21:33:01]wFMCommunicate request_size=4 [21:33:01]MH_SAM_APDU [21:33:01]CAPDU: 80 11 00 00 [21:33:01]Write to MH i2c: E2 08 00 87 0F 80 11 00 00 00 00 00 00 10 [21:33:01]Write i2c OK [21:33:01]MH_I2C_Read... [21:33:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:01]Read from MH i2c: E2 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 17 00 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: E2 17 00 87 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 63 [21:33:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:33:01]wFMCommunicate OK [21:33:01]CreateOFDProtocolMessage done [21:33:01]OFDSenderStorePacket 37140 [21:33:01]StoreOFDPacket docnum=37140 [21:33:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 38 01 00 00 A1 09 30 01 DC 10 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 32 37 32 37 32 39 33 33 06 04 32 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 8F 25 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 14 91 00 00 35 04 06 00 08 BA EA 72 2E A5 66 EA 03 75 02 AF B0 6F [21:33:01]CheckFolder [21:33:01]dirname=/storage/ofd_packets [21:33:01]CheckFolder done [21:33:01]ProducePacketName [21:33:01]name=ofd_packets/00037140 [21:33:01]NVStorageSaveData ofd_packets/00037140 [21:33:01]File name is /storage/ofd_packets/00037140 [21:33:01]Write 342 bytes [21:33:01]NVStorageSaveData done [21:33:01]OFDSenderStorePacket done [21:33:01]KKMCreateOFDPacket done [21:33:01]NVStorageSaveData kkm_last_timestamp [21:33:01]File name is /storage/kkm_last_timestamp [21:33:01]Write 4 bytes [21:33:01]NVStorageSaveData done [21:33:01]OFD Sender: Processing packet 37140 [packets to send 25, broken 24] [21:33:01]ProducePacketName [21:33:01]name=ofd_packets/00037140 [21:33:01]OFD Sender: To server: pG, [21:33:01]CommunicateWithHost lk.salyk.kg:30040 [21:33:01]ConnectInit lk.salyk.kg [21:33:01]ExternCall_PrintAddStr [21:33:01]wPrintStart [21:33:01]Write to MH i2c: 01 00 00 88 0F 97 [21:33:01]Write i2c OK [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: 01 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: 01 07 00 [21:33:01]MH_I2C_Read... [21:33:01]Read from MH i2c: 01 07 00 88 0F 00 00 00 00 00 FF 0F AC [21:33:01]RasterBufferAndPrint [21:33:01]line Счет N : (3)76626 [21:33:01]line ИНН: 02508201610067 [21:33:01]line Контрольно-Кассовый Чек [21:33:01]line ПРОДАЖА [21:33:01]line Товар: 4870227272933 [21:33:01]line Лимонад Sunbel Классический 1л [21:33:01]line 1.000 * 85.00 [21:33:01]line = 85.00 [21:33:01]line НДС 12% НСП 1% [21:33:01]line > о реализуемом товаре [21:33:01]line ИТОГО: 85.00 [21:33:01]line НСП 1% : 0.75 [21:33:01]line НДС 12% : 9.03 [21:33:01]line Наличными: 85.00 [21:33:01]line Безнал.: 0.00 [21:33:01]line Место: АЗС № 165 "Партнер Нефть" [21:33:01]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:33:01]line СНО: Общий режим [21:33:01]line Чек 76 19.10.2024 21:33 [21:33:01]line Смена: 460 ФФД: 1.0 [21:33:01]line ЗНМ: 0300000235 [21:33:01]line РНМ: 0000000000098149 [21:33:01]line Версия ККМ: 001 [21:33:01]line ФМ: 0000000000965372 [21:33:01]line ФД: 37140 [21:33:01]line ФПД: 9598890290853 [21:33:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213303&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37140&fm=9598890290853&tin=02508201610067®Number=0000000000098149&sum=8500 [21:33:01]line 0 [21:33:01]Connected sock=11 [21:33:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 38 01 00 00 A1 09 30 01 DC 10 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 32 37 32 37 32 39 33 33 06 04 32 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 8F 25 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 14 91 00 00 35 04 06 00 08 BA EA 72 2E A5 66 EA 03 75 02 AF B0 6F [21:33:01]written 0, free lines is 4095 [21:33:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 7C AE 47 00 F8 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 14 91 00 00 F4 03 04 00 23 CE 13 67 B6 04 01 00 00 DA 8D 2D 19 38 59 EC 61 [21:33:01]CommunicateWithHost err = 0 [21:33:01]CheckOFDResponse [21:33:01]1017 (14) - 77093643461234 [21:33:01]1041 (16) - 0000000000965372 [21:33:01]1040 (4) - 37140 [21:33:01]1012 (4) - 19.10.2024 15:20 [21:33:01]1206 (1) - 0 [21:33:01]OFD Sender: Remove packet 37140 [21:33:01]ProducePacketName [21:33:01]name=ofd_packets/00037140 [21:33:01]NVStorageDeleteData [21:33:02]Write to MH i2c: 01 00 00 B1 0F C0 [21:33:02]Write i2c OK [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: 01 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: 01 07 00 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: 01 07 00 B1 0F 00 00 00 00 00 D7 0C AA [21:33:02]RasterBufferAndPrint [21:33:02]line [21:33:02]line [21:33:02]line [21:33:02]line [21:33:02]line [21:33:02]written 0, free lines is 3293 [21:33:02]process_action close_receipt done [21:33:02]requested_data is exist [21:33:02]produce_requested_data [21:33:02]requested_item fm.sn is exist - process it [21:33:02]wFMCommunicate request_size=4 [21:33:02]MH_SAM_APDU [21:33:02]CAPDU: 80 11 00 00 [21:33:02]Write to MH i2c: E2 08 00 B8 0F 80 11 00 00 00 00 00 00 41 [21:33:02]Write i2c OK [21:33:02]MH_I2C_Read... [21:33:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:02]Read from MH i2c: E2 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 17 00 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 17 00 B8 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 94 [21:33:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:33:02]wFMCommunicate OK [21:33:02]requested_item fd.num is exist - process it [21:33:02]SAM_PROTO_GetFieldsCounters [21:33:02]wFMCommunicate request_size=4 [21:33:02]MH_SAM_APDU [21:33:02]CAPDU: 80 13 00 00 [21:33:02]Write to MH i2c: E2 08 00 B9 0F 80 13 00 00 00 00 00 00 44 [21:33:02]Write i2c OK [21:33:02]MH_I2C_Read... [21:33:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:33:02]Read from MH i2c: E2 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 62 00 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 62 00 B9 0F 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 14 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [21:33:02]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 14 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:33:02]wFMCommunicate OK [21:33:02]SAM_PROTO_GetFieldsCounters done [21:33:02]requested_item shift.num is exist - process it [21:33:02]requested_item shift.opened is exist - process it [21:33:02]req_shift_opened [21:33:02]FM_GetShiftState [21:33:02]SAM_PROTO_GetShiftState [21:33:02]wFMCommunicate request_size=4 [21:33:02]MH_SAM_APDU [21:33:02]CAPDU: 80 13 01 00 [21:33:02]Write to MH i2c: E2 08 00 BA 0F 80 13 01 00 00 00 00 00 46 [21:33:02]Write i2c OK [21:33:02]MH_I2C_Read... [21:33:02]OFD Sender: No OFD packet to send [21:33:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:02]Read from MH i2c: E2 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 0E 00 [21:33:02]MH_I2C_Read... [21:33:02]Read from MH i2c: E2 0E 00 BA 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 60 [21:33:02]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:33:02]wFMCommunicate OK [21:33:02]SAM_PROTO_GetShiftState done [21:33:02]FM_GetShiftState done [21:33:02]req_shift_opened done [21:33:02]requested_item shift.open_date is exist - process it [21:33:02]req_shift_open_date [21:33:02]req_shift_open_date done [21:33:02]produce_requested_data done [21:33:02]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37140,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:33:02]process_action_free close_receipt [21:33:02]json_value_free [21:33:02]json_value_free done [21:33:02]process_json_proto returns [21:33:02]Send response to host [21:33:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37140,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:33:02]free response buf [21:33:02]execute_script done [21:33:02]execute_script returns [21:33:02]free content buf [21:33:02]Sock 9.Close socket [21:33:02]Sock 9.Thread stoped [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:05]accept exits with 7 [21:36:05]New connection [21:36:05]New thread 3066699108 created [21:36:05]Thread 3066555748 joined [21:36:05]Waiting for new connection... [21:36:05] Sock 7.Parse request [21:36:05]Sock 7.Check first char [21:36:05]Sock 7.First char is OK [21:36:05]request: POST /json_proto HTTP/1.0 [21:36:05]Method: POST [21:36:05]URL: /json_proto [21:36:05]Method is POST - this is cgi request [21:36:05]url: /json_proto [21:36:05]query_string will be loaded in cgi processing [21:36:05]execute_cgi json_proto POST (null) [21:36:05]execute_cgi path=json_proto method=POST [21:36:05]POST find Content-Length [21:36:05]Host: 172.17.53.68:8080 [21:36:05]Content-Length: 662 [21:36:05]Content-Type: application/json [21:36:05] [21:36:05]POST finish read [21:36:05]Found Content-Length = 662 [21:36:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76627", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:05]execute_script... [21:36:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76627", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:05]POST & json_proto [21:36:05]process_json_proto [21:36:05]json parsed OK: [21:36:05]protocol is kg_v1.0 [21:36:05]action value=close_receipt [21:36:05]process_action close_receipt [21:36:05]cmd_close_receipt [21:36:05]MH_GetDate [21:36:05]Write to MH i2c: F0 00 00 BB 0F B9 [21:36:05]Write i2c OK [21:36:05]MH_I2C_Read... [21:36:05]Read from MH i2c: F0 [21:36:05]MH_I2C_Read... [21:36:05]Read from MH i2c: F0 09 00 [21:36:05]MH_I2C_Read... [21:36:05]Read from MH i2c: F0 09 00 BB 0F 00 49 26 14 67 C5 A4 76 66 F1 [21:36:05]GetLastDocTimeStamp 1729373583 [21:36:05]current date 1729373769 [21:36:05]FM_GetShiftState [21:36:05]SAM_PROTO_GetShiftState [21:36:05]wFMCommunicate request_size=4 [21:36:05]MH_SAM_APDU [21:36:05]CAPDU: 80 13 01 00 [21:36:05]Write to MH i2c: E2 08 00 BC 0F 80 13 01 00 00 00 00 00 48 [21:36:05]Write i2c OK [21:36:05]MH_I2C_Read... [21:36:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:05]Read from MH i2c: E2 [21:36:05]MH_I2C_Read... [21:36:05]Read from MH i2c: E2 0E 00 [21:36:05]MH_I2C_Read... [21:36:05]Read from MH i2c: E2 0E 00 BC 0F 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 62 [21:36:05]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:36:05]wFMCommunicate OK [21:36:05]SAM_PROTO_GetShiftState done [21:36:05]FM_GetShiftState done [21:36:05]opened in 1729296796 [21:36:05]opened+sec_in_day 1729383196 [21:36:05]quantity*price = 17000 [21:36:05]sum+1 = 17001 [21:36:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 77 19.10.2024 21:36 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37141 ФПД: 129027927323158 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213609&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37141&fm=129027927323158&tin=02508201610067®Number=0000000000098149&sum=17000 0 [21:36:06]StoreToDocumentArchive [21:36:06]shift 460 fd 37141 [21:36:06]save to /storage/0460/doc_00037141 [21:36:06]save last doc name /storage/0460/doc_00037141 to /storage/kkm_last_doc_name [21:36:06]save OK [21:36:06]Clear old archive folders... [21:36:06]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:36:06]tlvbuf is 009889C0 [21:36:06]SAM_PROTO_ClearQueue [21:36:06]wFMCommunicate request_size=4 [21:36:06]MH_SAM_APDU [21:36:06]CAPDU: 80 09 00 00 [21:36:06]Write to MH i2c: E2 08 00 C9 0F 80 09 00 00 00 00 00 00 4A [21:36:06]Write i2c OK [21:36:06]MH_I2C_Read... [21:36:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:36:06]Read from MH i2c: E2 [21:36:06]MH_I2C_Read... [21:36:06]Read from MH i2c: E2 03 00 [21:36:06]MH_I2C_Read... [21:36:06]Read from MH i2c: E2 03 00 C9 0F 00 90 00 4C [21:36:06]RAPDU: 90 00 [21:36:06]wFMCommunicate OK [21:36:06]SAM_PROTO_ClearQueue done [21:36:06]KKMCreateOFDPacket [21:36:06]OFDProtocolAddRootSTLVToBuf [21:36:06]FM_MakeSignedData [21:36:06]FM_MakeSignedData [21:36:06]SAM_PROTO_SignData [21:36:06]wFMCommunicate request_size=4 [21:36:06]MH_SAM_APDU [21:36:06]CAPDU: 80 0D 01 02 [21:36:06]Write to MH i2c: E2 08 00 CA 0F 80 0D 01 02 00 00 00 00 52 [21:36:06]Write i2c OK [21:36:06]MH_I2C_Read... [21:36:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:36:06]Read from MH i2c: E2 [21:36:06]MH_I2C_Read... [21:36:06]Read from MH i2c: E2 03 00 [21:36:06]MH_I2C_Read... [21:36:06]Read from MH i2c: E2 03 00 CA 0F 00 90 00 4D [21:36:06]RAPDU: 90 00 [21:36:06]wFMCommunicate OK [21:36:06]wFMCommunicate request_size=255 [21:36:06]MH_SAM_APDU [21:36:06]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 49 26 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [21:36:06]Write to MH i2c: E2 02 01 CB 0F 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 49 26 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 DF [21:36:06]Write i2c OK [21:36:06]MH_I2C_Read... [21:36:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:07]Read from MH i2c: E2 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 03 00 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 03 00 CB 0F 00 90 00 4E [21:36:07]RAPDU: 90 00 [21:36:07]wFMCommunicate OK [21:36:07]wFMCommunicate request_size=46 [21:36:07]MH_SAM_APDU [21:36:07]CAPDU: 80 0D 02 02 29 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 15 91 00 00 35 04 06 00 75 59 A7 C6 32 16 [21:36:07]Write to MH i2c: E2 31 00 CC 0F 80 0D 02 02 29 00 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 15 91 00 00 35 04 06 00 75 59 A7 C6 32 16 00 00 0A [21:36:07]Write i2c OK [21:36:07]MH_I2C_Read... [21:36:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:07]Read from MH i2c: E2 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 03 00 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 03 00 CC 0F 00 90 00 4F [21:36:07]RAPDU: 90 00 [21:36:07]wFMCommunicate OK [21:36:07]wFMCommunicate request_size=4 [21:36:07]MH_SAM_APDU [21:36:07]CAPDU: 80 0D 03 02 [21:36:07]Write to MH i2c: E2 08 00 CD 0F 80 0D 03 02 00 00 00 00 57 [21:36:07]Write i2c OK [21:36:07]MH_I2C_Read... [21:36:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:36:07]Read from MH i2c: E2 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 0B 00 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 0B 00 CD 0F 00 8E 01 43 73 12 E0 70 B6 90 00 B5 [21:36:07]RAPDU: 8E 01 43 73 12 E0 70 B6 90 00 [21:36:07]wFMCommunicate OK [21:36:07]SAM_PROTO_SignData done [21:36:07]FM_MakeSignedData done [21:36:07]CreateOFDProtocolMessage [21:36:07]wFMCommunicate request_size=4 [21:36:07]MH_SAM_APDU [21:36:07]CAPDU: 80 11 00 00 [21:36:07]Write to MH i2c: E2 08 00 CE 0F 80 11 00 00 00 00 00 00 57 [21:36:07]Write i2c OK [21:36:07]MH_I2C_Read... [21:36:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:07]Read from MH i2c: E2 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 17 00 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: E2 17 00 CE 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AA [21:36:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:36:07]wFMCommunicate OK [21:36:07]CreateOFDProtocolMessage done [21:36:07]OFDSenderStorePacket 37141 [21:36:07]StoreOFDPacket docnum=37141 [21:36:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 6B 1A 2B 01 7D 4F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 49 26 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 15 91 00 00 35 04 06 00 75 59 A7 C6 32 16 8E 01 43 73 12 E0 70 B6 [21:36:07]CheckFolder [21:36:07]dirname=/storage/ofd_packets [21:36:07]CheckFolder done [21:36:07]ProducePacketName [21:36:07]name=ofd_packets/00037141 [21:36:07]NVStorageSaveData ofd_packets/00037141 [21:36:07]File name is /storage/ofd_packets/00037141 [21:36:07]Write 337 bytes [21:36:07]NVStorageSaveData done [21:36:07]OFDSenderStorePacket done [21:36:07]KKMCreateOFDPacket done [21:36:07]NVStorageSaveData kkm_last_timestamp [21:36:07]File name is /storage/kkm_last_timestamp [21:36:07]Write 4 bytes [21:36:07]NVStorageSaveData done [21:36:07]ExternCall_PrintAddStr [21:36:07]wPrintStart [21:36:07]Write to MH i2c: 01 00 00 CF 0F DE [21:36:07]Write i2c OK [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: 01 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: 01 07 00 [21:36:07]MH_I2C_Read... [21:36:07]Read from MH i2c: 01 07 00 CF 0F 00 00 00 00 00 FF 0F F3 [21:36:07]RasterBufferAndPrint [21:36:07]line Счет N : (3)76627 [21:36:07]line ИНН: 02508201610067 [21:36:07]line Контрольно-Кассовый Чек [21:36:07]line ПРОДАЖА [21:36:07]line Товар: 5449000176448 [21:36:07]line Сок Piko Pulpy апельсин ПЭТ 1л [21:36:07]line 1.000 * 170.00 [21:36:07]line = 170.00 [21:36:07]line НДС 12% НСП 1% [21:36:07]line > о реализуемом товаре [21:36:07]line ИТОГО: 170.00 [21:36:07]line НСП 1% : 1.50 [21:36:07]line НДС 12% : 18.05 [21:36:07]line Наличными: 170.00 [21:36:07]line Безнал.: 0.00 [21:36:07]line Место: АЗС № 165 "Партнер Нефть" [21:36:07]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:36:07]line СНО: Общий режим [21:36:07]line Чек 77 19.10.2024 21:36 [21:36:07]line Смена: 460 ФФД: 1.0 [21:36:07]line ЗНМ: 0300000235 [21:36:07]line РНМ: 0000000000098149 [21:36:07]line Версия ККМ: 001 [21:36:07]line ФМ: 0000000000965372 [21:36:07]line ФД: 37141 [21:36:07]line ФПД: 129027927323158 [21:36:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T213609&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37141&fm=129027927323158&tin=02508201610067®Number=0000000000098149&sum=17000 [21:36:07]line 0 [21:36:07]OFD Sender: Processing packet 37141 [packets to send 25, broken 24] [21:36:07]ProducePacketName [21:36:07]name=ofd_packets/00037141 [21:36:07]OFD Sender: To server: pG, [21:36:07]CommunicateWithHost lk.salyk.kg:30040 [21:36:07]ConnectInit lk.salyk.kg [21:36:07]written 0, free lines is 4095 [21:36:07]Connected sock=10 [21:36:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 6B 1A 2B 01 7D 4F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 49 26 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 15 91 00 00 35 04 06 00 75 59 A7 C6 32 16 8E 01 43 73 12 E0 70 B6 [21:36:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 D7 14 47 00 3B 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 15 91 00 00 F4 03 04 00 DD CE 13 67 B6 04 01 00 00 C2 B6 B4 24 25 30 5B 7B [21:36:07]CommunicateWithHost err = 0 [21:36:07]CheckOFDResponse [21:36:07]1017 (14) - 77093643461234 [21:36:07]1041 (16) - 0000000000965372 [21:36:07]1040 (4) - 37141 [21:36:07]1012 (4) - 19.10.2024 15:23 [21:36:07]1206 (1) - 0 [21:36:07]OFD Sender: Remove packet 37141 [21:36:07]ProducePacketName [21:36:07]name=ofd_packets/00037141 [21:36:07]NVStorageDeleteData [21:36:08]Write to MH i2c: 01 00 00 F8 0F 07 [21:36:08]Write i2c OK [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: 01 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: 01 07 00 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: 01 07 00 F8 0F 00 00 00 00 00 E8 0C 02 [21:36:08]RasterBufferAndPrint [21:36:08]line [21:36:08]line [21:36:08]line [21:36:08]line [21:36:08]line [21:36:08]written 0, free lines is 3310 [21:36:08]process_action close_receipt done [21:36:08]requested_data is exist [21:36:08]produce_requested_data [21:36:08]requested_item fm.sn is exist - process it [21:36:08]wFMCommunicate request_size=4 [21:36:08]MH_SAM_APDU [21:36:08]CAPDU: 80 11 00 00 [21:36:08]Write to MH i2c: E2 08 00 FF 0F 80 11 00 00 00 00 00 00 88 [21:36:08]Write i2c OK [21:36:08]MH_I2C_Read... [21:36:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:08]Read from MH i2c: E2 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 17 00 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 17 00 FF 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DB [21:36:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:36:08]wFMCommunicate OK [21:36:08]requested_item fd.num is exist - process it [21:36:08]SAM_PROTO_GetFieldsCounters [21:36:08]wFMCommunicate request_size=4 [21:36:08]MH_SAM_APDU [21:36:08]CAPDU: 80 13 00 00 [21:36:08]Write to MH i2c: E2 08 00 00 10 80 13 00 00 00 00 00 00 8C [21:36:08]Write i2c OK [21:36:08]MH_I2C_Read... [21:36:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:36:08]Read from MH i2c: E2 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 62 00 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 62 00 00 10 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 15 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [21:36: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 15 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:36:08]wFMCommunicate OK [21:36:08]SAM_PROTO_GetFieldsCounters done [21:36:08]requested_item shift.num is exist - process it [21:36:08]requested_item shift.opened is exist - process it [21:36:08]req_shift_opened [21:36:08]FM_GetShiftState [21:36:08]SAM_PROTO_GetShiftState [21:36:08]wFMCommunicate request_size=4 [21:36:08]MH_SAM_APDU [21:36:08]CAPDU: 80 13 01 00 [21:36:08]Write to MH i2c: E2 08 00 01 10 80 13 01 00 00 00 00 00 8E [21:36:08]Write i2c OK [21:36:08]MH_I2C_Read... [21:36:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:08]Read from MH i2c: E2 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 0E 00 [21:36:08]MH_I2C_Read... [21:36:08]Read from MH i2c: E2 0E 00 01 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A8 [21:36:08]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:36:08]wFMCommunicate OK [21:36:08]SAM_PROTO_GetShiftState done [21:36:08]FM_GetShiftState done [21:36:08]req_shift_opened done [21:36:08]requested_item shift.open_date is exist - process it [21:36:08]req_shift_open_date [21:36:08]req_shift_open_date done [21:36:08]produce_requested_data done [21:36:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37141,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:36:08]process_action_free close_receipt [21:36:08]json_value_free [21:36:08]json_value_free done [21:36:08]process_json_proto returns [21:36:08]Send response to host [21:36:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37141,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:36:08]free response buf [21:36:08]execute_script done [21:36:08]execute_script returns [21:36:08]free content buf [21:36:08]Sock 7.Close socket [21:36:08]Sock 7.Thread stoped [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:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:14]accept exits with 9 [21:41:14]New connection [21:41:14]New thread 3066555748 created [21:41:14]Thread 3066699108 joined [21:41:14]Waiting for new connection... [21:41:14] Sock 9.Parse request [21:41:14]Sock 9.Check first char [21:41:14]Sock 9.First char is OK [21:41:14]request: POST /json_proto HTTP/1.0 [21:41:14]Method: POST [21:41:14]URL: /json_proto [21:41:14]Method is POST - this is cgi request [21:41:14]url: /json_proto [21:41:14]query_string will be loaded in cgi processing [21:41:14]execute_cgi json_proto POST (null) [21:41:14]execute_cgi path=json_proto method=POST [21:41:14]POST find Content-Length [21:41:14]Host: 172.17.53.68:8080 [21:41:14]Content-Length: 676 [21:41:14]Content-Type: application/json [21:41:14] [21:41:14]POST finish read [21:41:14]Found Content-Length = 676 [21:41:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76628", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:41:14]execute_script... [21:41:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76628", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 178.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:41:14]POST & json_proto [21:41:14]process_json_proto [21:41:14]json parsed OK: [21:41:14]protocol is kg_v1.0 [21:41:14]action value=close_receipt [21:41:14]process_action close_receipt [21:41:14]cmd_close_receipt [21:41:14]MH_GetDate [21:41:14]Write to MH i2c: F0 00 00 02 10 01 [21:41:14]Write i2c OK [21:41:14]MH_I2C_Read... [21:41:14]Read from MH i2c: F0 [21:41:14]MH_I2C_Read... [21:41:14]Read from MH i2c: F0 09 00 [21:41:14]MH_I2C_Read... [21:41:14]Read from MH i2c: F0 09 00 02 10 00 7E 27 14 67 C5 A4 76 66 6F [21:41:14]GetLastDocTimeStamp 1729373769 [21:41:14]current date 1729374078 [21:41:14]FM_GetShiftState [21:41:14]SAM_PROTO_GetShiftState [21:41:14]wFMCommunicate request_size=4 [21:41:14]MH_SAM_APDU [21:41:14]CAPDU: 80 13 01 00 [21:41:14]Write to MH i2c: E2 08 00 03 10 80 13 01 00 00 00 00 00 90 [21:41:14]Write i2c OK [21:41:14]MH_I2C_Read... [21:41:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:14]Read from MH i2c: E2 [21:41:14]MH_I2C_Read... [21:41:14]Read from MH i2c: E2 0E 00 [21:41:14]MH_I2C_Read... [21:41:14]Read from MH i2c: E2 0E 00 03 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 AA [21:41:14]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:41:14]wFMCommunicate OK [21:41:14]SAM_PROTO_GetShiftState done [21:41:14]FM_GetShiftState done [21:41:14]opened in 1729296796 [21:41:14]opened+sec_in_day 1729383196 [21:41:14]quantity*price = 17800 [21:41:14]sum+1 = 17801 [21:41:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 178.00 НСП 1% : 1.57 НДС 12% : 18.90 Наличными: 178.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 78 19.10.2024 21:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37142 ФПД: 226911862295734 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T214118&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37142&fm=226911862295734&tin=02508201610067®Number=0000000000098149&sum=17800 0 [21:41:15]StoreToDocumentArchive [21:41:15]shift 460 fd 37142 [21:41:15]save to /storage/0460/doc_00037142 [21:41:15]save last doc name /storage/0460/doc_00037142 to /storage/kkm_last_doc_name [21:41:15]save OK [21:41:15]Clear old archive folders... [21:41:15]ProcessDocumentItem done err = 0, tmpTLVsize=286 [21:41:15]tlvbuf is 00967940 [21:41:15]SAM_PROTO_ClearQueue [21:41:15]wFMCommunicate request_size=4 [21:41:15]MH_SAM_APDU [21:41:15]CAPDU: 80 09 00 00 [21:41:15]Write to MH i2c: E2 08 00 10 10 80 09 00 00 00 00 00 00 92 [21:41:15]Write i2c OK [21:41:15]MH_I2C_Read... [21:41:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:41:15]Read from MH i2c: E2 [21:41:15]MH_I2C_Read... [21:41:15]Read from MH i2c: E2 03 00 [21:41:15]MH_I2C_Read... [21:41:15]Read from MH i2c: E2 03 00 10 10 00 90 00 94 [21:41:15]RAPDU: 90 00 [21:41:15]wFMCommunicate OK [21:41:15]SAM_PROTO_ClearQueue done [21:41:15]KKMCreateOFDPacket [21:41:15]OFDProtocolAddRootSTLVToBuf [21:41:15]FM_MakeSignedData [21:41:15]FM_MakeSignedData [21:41:15]SAM_PROTO_SignData [21:41:15]wFMCommunicate request_size=4 [21:41:15]MH_SAM_APDU [21:41:15]CAPDU: 80 0D 01 02 [21:41:15]Write to MH i2c: E2 08 00 11 10 80 0D 01 02 00 00 00 00 9A [21:41:15]Write i2c OK [21:41:15]MH_I2C_Read... [21:41:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:41:15]Read from MH i2c: E2 [21:41:15]MH_I2C_Read... [21:41:15]Read from MH i2c: E2 03 00 [21:41:15]MH_I2C_Read... [21:41:15]Read from MH i2c: E2 03 00 11 10 00 90 00 95 [21:41:15]RAPDU: 90 00 [21:41:15]wFMCommunicate OK [21:41:15]wFMCommunicate request_size=255 [21:41:15]MH_SAM_APDU [21:41:15]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 4E 00 00 00 F4 03 04 00 7E 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 [21:41:15]Write to MH i2c: E2 02 01 12 10 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 4E 00 00 00 F4 03 04 00 7E 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 00 00 FC [21:41:15]Write i2c OK [21:41:15]MH_I2C_Read... [21:41:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:16]Read from MH i2c: E2 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 03 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 03 00 12 10 00 90 00 96 [21:41:16]RAPDU: 90 00 [21:41:16]wFMCommunicate OK [21:41:16]wFMCommunicate request_size=45 [21:41:16]MH_SAM_APDU [21:41:16]CAPDU: 80 0D 02 02 28 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 16 91 00 00 35 04 06 00 CE 60 08 F2 8C B6 [21:41:16]Write to MH i2c: E2 30 00 13 10 80 0D 02 02 28 00 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 16 91 00 00 35 04 06 00 CE 60 08 F2 8C B6 00 00 07 [21:41:16]Write i2c OK [21:41:16]MH_I2C_Read... [21:41:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:16]Read from MH i2c: E2 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 03 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 03 00 13 10 00 90 00 97 [21:41:16]RAPDU: 90 00 [21:41:16]wFMCommunicate OK [21:41:16]wFMCommunicate request_size=4 [21:41:16]MH_SAM_APDU [21:41:16]CAPDU: 80 0D 03 02 [21:41:16]Write to MH i2c: E2 08 00 14 10 80 0D 03 02 00 00 00 00 9F [21:41:16]Write i2c OK [21:41:16]MH_I2C_Read... [21:41:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:41:16]Read from MH i2c: E2 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 0B 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 0B 00 14 10 00 6C 73 36 57 1F EC C8 FB 90 00 DA [21:41:16]RAPDU: 6C 73 36 57 1F EC C8 FB 90 00 [21:41:16]wFMCommunicate OK [21:41:16]SAM_PROTO_SignData done [21:41:16]FM_MakeSignedData done [21:41:16]CreateOFDProtocolMessage [21:41:16]wFMCommunicate request_size=4 [21:41:16]MH_SAM_APDU [21:41:16]CAPDU: 80 11 00 00 [21:41:16]Write to MH i2c: E2 08 00 15 10 80 11 00 00 00 00 00 00 9F [21:41:16]Write i2c OK [21:41:16]MH_I2C_Read... [21:41:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:16]Read from MH i2c: E2 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 17 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: E2 17 00 15 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F2 [21:41:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:41:16]wFMCommunicate OK [21:41:16]CreateOFDProtocolMessage done [21:41:16]OFDSenderStorePacket 37142 [21:41:16]StoreOFDPacket docnum=37142 [21:41:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 32 01 00 00 B8 67 2A 01 1C 0A 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 4E 00 00 00 F4 03 04 00 7E 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 16 91 00 00 35 04 06 00 CE 60 08 F2 8C B6 6C 73 36 57 1F EC C8 FB [21:41:16]CheckFolder [21:41:16]dirname=/storage/ofd_packets [21:41:16]CheckFolder done [21:41:16]ProducePacketName [21:41:16]name=ofd_packets/00037142 [21:41:16]NVStorageSaveData ofd_packets/00037142 [21:41:16]File name is /storage/ofd_packets/00037142 [21:41:16]Write 336 bytes [21:41:16]NVStorageSaveData done [21:41:16]OFDSenderStorePacket done [21:41:16]KKMCreateOFDPacket done [21:41:16]NVStorageSaveData kkm_last_timestamp [21:41:16]File name is /storage/kkm_last_timestamp [21:41:16]Write 4 bytes [21:41:16]NVStorageSaveData done [21:41:16]ExternCall_PrintAddStr [21:41:16]wPrintStart [21:41:16]Write to MH i2c: 01 00 00 16 10 26 [21:41:16]Write i2c OK [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 07 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 07 00 16 10 00 00 00 00 00 FF 0F 3B [21:41:16]RasterBufferAndPrint [21:41:16]line Счет N : (3)76628 [21:41:16]line ИНН: 02508201610067 [21:41:16]line Контрольно-Кассовый Чек [21:41:16]line ПРОДАЖА [21:41:16]line Товар: 4700040114120 [21:41:16]line Султан чай 1л. чер персик [21:41:16]line 2.000 * 89.00 [21:41:16]line = 178.00 [21:41:16]line НДС 12% НСП 1% [21:41:16]line > о реализуемом товаре [21:41:16]line ИТОГО: 178.00 [21:41:16]line НСП 1% : 1.57 [21:41:16]line НДС 12% : 18.90 [21:41:16]line Наличными: 178.00 [21:41:16]line Безнал.: 0.00 [21:41:16]line Место: АЗС № 165 "Партнер Нефть" [21:41:16]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:41:16]line СНО: Общий режим [21:41:16]line Чек 78 19.10.2024 21:41 [21:41:16]line Смена: 460 ФФД: 1.0 [21:41:16]line ЗНМ: 0300000235 [21:41:16]line РНМ: 0000000000098149 [21:41:16]line Версия ККМ: 001 [21:41:16]line ФМ: 0000000000965372 [21:41:16]line ФД: 37142 [21:41:16]line ФПД: 226911862295734 [21:41:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T214118&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37142&fm=226911862295734&tin=02508201610067®Number=0000000000098149&sum=17800 [21:41:16]line 0 [21:41:16]OFD Sender: Processing packet 37142 [packets to send 25, broken 24] [21:41:16]ProducePacketName [21:41:16]name=ofd_packets/00037142 [21:41:16]OFD Sender: To server: pG, [21:41:16]CommunicateWithHost lk.salyk.kg:30040 [21:41:16]ConnectInit lk.salyk.kg [21:41:16]written 0, free lines is 4095 [21:41:16]Connected sock=10 [21:41:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 32 01 00 00 B8 67 2A 01 1C 0A 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 88 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 07 00 00 00 00 07 04 06 00 88 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 4E 00 00 00 F4 03 04 00 7E 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 16 91 00 00 35 04 06 00 CE 60 08 F2 8C B6 6C 73 36 57 1F EC C8 FB [21:41:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 9C 63 47 00 B7 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 16 91 00 00 F4 03 04 00 12 D0 13 67 B6 04 01 00 00 EF 8B D3 5D AC B0 2D E6 [21:41:16]CommunicateWithHost err = 0 [21:41:16]CheckOFDResponse [21:41:16]1017 (14) - 77093643461234 [21:41:16]1041 (16) - 0000000000965372 [21:41:16]1040 (4) - 37142 [21:41:16]1012 (4) - 19.10.2024 15:28 [21:41:16]1206 (1) - 0 [21:41:16]OFD Sender: Remove packet 37142 [21:41:16]ProducePacketName [21:41:16]name=ofd_packets/00037142 [21:41:16]NVStorageDeleteData [21:41:16]Write to MH i2c: 01 00 00 3E 10 4E [21:41:16]Write i2c OK [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 07 00 [21:41:16]MH_I2C_Read... [21:41:16]Read from MH i2c: 01 07 00 3E 10 00 00 00 00 00 11 0D 73 [21:41:16]RasterBufferAndPrint [21:41:16]line [21:41:16]line [21:41:16]line [21:41:16]line [21:41:16]line [21:41:16]written 0, free lines is 3353 [21:41:17]process_action close_receipt done [21:41:17]requested_data is exist [21:41:17]produce_requested_data [21:41:17]requested_item fm.sn is exist - process it [21:41:17]wFMCommunicate request_size=4 [21:41:17]MH_SAM_APDU [21:41:17]CAPDU: 80 11 00 00 [21:41:17]Write to MH i2c: E2 08 00 45 10 80 11 00 00 00 00 00 00 CF [21:41:17]Write i2c OK [21:41:17]MH_I2C_Read... [21:41:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:17]Read from MH i2c: E2 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 17 00 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 17 00 45 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 22 [21:41:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:41:17]wFMCommunicate OK [21:41:17]requested_item fd.num is exist - process it [21:41:17]SAM_PROTO_GetFieldsCounters [21:41:17]wFMCommunicate request_size=4 [21:41:17]MH_SAM_APDU [21:41:17]CAPDU: 80 13 00 00 [21:41:17]Write to MH i2c: E2 08 00 46 10 80 13 00 00 00 00 00 00 D2 [21:41:17]Write i2c OK [21:41:17]MH_I2C_Read... [21:41:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:41:17]Read from MH i2c: E2 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 62 00 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 62 00 46 10 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 16 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [21:41: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 16 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:41:17]wFMCommunicate OK [21:41:17]SAM_PROTO_GetFieldsCounters done [21:41:17]requested_item shift.num is exist - process it [21:41:17]requested_item shift.opened is exist - process it [21:41:17]req_shift_opened [21:41:17]FM_GetShiftState [21:41:17]SAM_PROTO_GetShiftState [21:41:17]wFMCommunicate request_size=4 [21:41:17]MH_SAM_APDU [21:41:17]CAPDU: 80 13 01 00 [21:41:17]Write to MH i2c: E2 08 00 47 10 80 13 01 00 00 00 00 00 D4 [21:41:17]Write i2c OK [21:41:17]MH_I2C_Read... [21:41:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:17]Read from MH i2c: E2 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 0E 00 [21:41:17]MH_I2C_Read... [21:41:17]Read from MH i2c: E2 0E 00 47 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 EE [21:41:17]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:41:17]wFMCommunicate OK [21:41:17]SAM_PROTO_GetShiftState done [21:41:17]FM_GetShiftState done [21:41:17]req_shift_opened done [21:41:17]requested_item shift.open_date is exist - process it [21:41:17]req_shift_open_date [21:41:17]req_shift_open_date done [21:41:17]produce_requested_data done [21:41:17]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37142,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:41:17]process_action_free close_receipt [21:41:17]json_value_free [21:41:17]json_value_free done [21:41:17]process_json_proto returns [21:41:17]Send response to host [21:41:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37142,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:41:17]free response buf [21:41:17]execute_script done [21:41:17]execute_script returns [21:41:17]free content buf [21:41:17]Sock 9.Close socket [21:41:17]Sock 9.Thread stoped [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:45]accept exits with 7 [21:41:45]New connection [21:41:45]New thread 3066699108 created [21:41:45]Thread 3066555748 joined [21:41:45]Waiting for new connection... [21:41:45] Sock 7.Parse request [21:41:45]Sock 7.Check first char [21:41:45]Sock 7.First char is OK [21:41:45]request: POST /json_proto HTTP/1.0 [21:41:45]Method: POST [21:41:45]URL: /json_proto [21:41:45]Method is POST - this is cgi request [21:41:45]url: /json_proto [21:41:45]query_string will be loaded in cgi processing [21:41:45]execute_cgi json_proto POST (null) [21:41:45]execute_cgi path=json_proto method=POST [21:41:45]POST find Content-Length [21:41:45]Host: 172.17.53.68:8080 [21:41:45]Content-Length: 674 [21:41:45]Content-Type: application/json [21:41:45] [21:41:45]POST finish read [21:41:45]Found Content-Length = 674 [21:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76629", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 5.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" ] } } [21:41:45]execute_script... [21:41:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76629", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 5.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" ] } } [21:41:45]POST & json_proto [21:41:45]process_json_proto [21:41:45]json parsed OK: [21:41:45]protocol is kg_v1.0 [21:41:45]action value=close_receipt [21:41:45]process_action close_receipt [21:41:45]cmd_close_receipt [21:41:45]MH_GetDate [21:41:45]Write to MH i2c: F0 00 00 48 10 47 [21:41:45]Write i2c OK [21:41:45]MH_I2C_Read... [21:41:45]Read from MH i2c: F0 [21:41:45]MH_I2C_Read... [21:41:45]Read from MH i2c: F0 09 00 [21:41:45]MH_I2C_Read... [21:41:45]Read from MH i2c: F0 09 00 48 10 00 9D 27 14 67 C5 A4 76 66 D4 [21:41:45]GetLastDocTimeStamp 1729374078 [21:41:45]current date 1729374109 [21:41:45]FM_GetShiftState [21:41:45]SAM_PROTO_GetShiftState [21:41:45]wFMCommunicate request_size=4 [21:41:45]MH_SAM_APDU [21:41:45]CAPDU: 80 13 01 00 [21:41:45]Write to MH i2c: E2 08 00 49 10 80 13 01 00 00 00 00 00 D6 [21:41:45]Write i2c OK [21:41:45]MH_I2C_Read... [21:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:45]Read from MH i2c: E2 [21:41:45]MH_I2C_Read... [21:41:45]Read from MH i2c: E2 0E 00 [21:41:45]MH_I2C_Read... [21:41:45]Read from MH i2c: E2 0E 00 49 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 F0 [21:41:45]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:41:45]wFMCommunicate OK [21:41:45]SAM_PROTO_GetShiftState done [21:41:45]FM_GetShiftState done [21:41:45]opened in 1729296796 [21:41:45]opened+sec_in_day 1729383196 [21:41:45]quantity*price = 3500 [21:41:45]sum+1 = 3501 [21:41:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 79 19.10.2024 21:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37143 ФПД: 212686922853484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T214149&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37143&fm=212686922853484&tin=02508201610067®Number=0000000000098149&sum=3500 0 [21:41:46]StoreToDocumentArchive [21:41:46]shift 460 fd 37143 [21:41:46]save to /storage/0460/doc_00037143 [21:41:46]save last doc name /storage/0460/doc_00037143 to /storage/kkm_last_doc_name [21:41:46]save OK [21:41:46]Clear old archive folders... [21:41:46]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:41:46]tlvbuf is 009677F0 [21:41:46]SAM_PROTO_ClearQueue [21:41:46]wFMCommunicate request_size=4 [21:41:46]MH_SAM_APDU [21:41:46]CAPDU: 80 09 00 00 [21:41:46]Write to MH i2c: E2 08 00 56 10 80 09 00 00 00 00 00 00 D8 [21:41:46]Write i2c OK [21:41:46]MH_I2C_Read... [21:41:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:41:46]Read from MH i2c: E2 [21:41:46]MH_I2C_Read... [21:41:46]Read from MH i2c: E2 03 00 [21:41:46]MH_I2C_Read... [21:41:46]Read from MH i2c: E2 03 00 56 10 00 90 00 DA [21:41:46]RAPDU: 90 00 [21:41:46]wFMCommunicate OK [21:41:46]SAM_PROTO_ClearQueue done [21:41:46]KKMCreateOFDPacket [21:41:46]OFDProtocolAddRootSTLVToBuf [21:41:46]FM_MakeSignedData [21:41:46]FM_MakeSignedData [21:41:46]SAM_PROTO_SignData [21:41:46]wFMCommunicate request_size=4 [21:41:46]MH_SAM_APDU [21:41:46]CAPDU: 80 0D 01 02 [21:41:46]Write to MH i2c: E2 08 00 57 10 80 0D 01 02 00 00 00 00 E0 [21:41:46]Write i2c OK [21:41:46]MH_I2C_Read... [21:41:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:41:46]Read from MH i2c: E2 [21:41:46]MH_I2C_Read... [21:41:46]Read from MH i2c: E2 03 00 [21:41:46]MH_I2C_Read... [21:41:46]Read from MH i2c: E2 03 00 57 10 00 90 00 DB [21:41:46]RAPDU: 90 00 [21:41:46]wFMCommunicate OK [21:41:46]wFMCommunicate request_size=255 [21:41:46]MH_SAM_APDU [21:41:46]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 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 4F 00 00 00 F4 03 04 00 9D 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [21:41:46]Write to MH i2c: E2 02 01 58 10 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 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 4F 00 00 00 F4 03 04 00 9D 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 62 [21:41:46]Write i2c OK [21:41:46]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 [21:41:47]MH_I2C_Read... [21:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:47]Read from MH i2c: E2 03 00 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 03 00 58 10 00 90 00 DC [21:41:47]RAPDU: 90 00 [21:41:47]wFMCommunicate OK [21:41:47]wFMCommunicate request_size=46 [21:41:47]MH_SAM_APDU [21:41:47]CAPDU: 80 0D 02 02 29 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 17 91 00 00 35 04 06 00 C1 70 08 7C 2C 6C [21:41:47]Write to MH i2c: E2 31 00 59 10 80 0D 02 02 29 00 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 17 91 00 00 35 04 06 00 C1 70 08 7C 2C 6C 00 00 64 [21:41:47]Write i2c OK [21:41:47]MH_I2C_Read... [21:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:47]Read from MH i2c: E2 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 03 00 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 03 00 59 10 00 90 00 DD [21:41:47]RAPDU: 90 00 [21:41:47]wFMCommunicate OK [21:41:47]wFMCommunicate request_size=4 [21:41:47]MH_SAM_APDU [21:41:47]CAPDU: 80 0D 03 02 [21:41:47]Write to MH i2c: E2 08 00 5A 10 80 0D 03 02 00 00 00 00 E5 [21:41:47]Write i2c OK [21:41:47]MH_I2C_Read... [21:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:41:47]Read from MH i2c: E2 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 0B 00 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 0B 00 5A 10 00 2F 98 BC 72 89 ED CF 30 90 00 50 [21:41:47]RAPDU: 2F 98 BC 72 89 ED CF 30 90 00 [21:41:47]wFMCommunicate OK [21:41:47]SAM_PROTO_SignData done [21:41:47]FM_MakeSignedData done [21:41:47]CreateOFDProtocolMessage [21:41:47]wFMCommunicate request_size=4 [21:41:47]MH_SAM_APDU [21:41:47]CAPDU: 80 11 00 00 [21:41:47]Write to MH i2c: E2 08 00 5B 10 80 11 00 00 00 00 00 00 E5 [21:41:47]Write i2c OK [21:41:47]MH_I2C_Read... [21:41:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:47]Read from MH i2c: E2 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 17 00 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: E2 17 00 5B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 38 [21:41:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:41:47]wFMCommunicate OK [21:41:47]CreateOFDProtocolMessage done [21:41:47]OFDSenderStorePacket 37143 [21:41:47]StoreOFDPacket docnum=37143 [21:41:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 52 51 2B 01 26 CF 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 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 4F 00 00 00 F4 03 04 00 9D 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 17 91 00 00 35 04 06 00 C1 70 08 7C 2C 6C 2F 98 BC 72 89 ED CF 30 [21:41:47]CheckFolder [21:41:47]dirname=/storage/ofd_packets [21:41:47]CheckFolder done [21:41:47]ProducePacketName [21:41:47]name=ofd_packets/00037143 [21:41:47]NVStorageSaveData ofd_packets/00037143 [21:41:47]File name is /storage/ofd_packets/00037143 [21:41:47]Write 337 bytes [21:41:47]NVStorageSaveData done [21:41:47]OFDSenderStorePacket done [21:41:47]KKMCreateOFDPacket done [21:41:47]NVStorageSaveData kkm_last_timestamp [21:41:47]File name is /storage/kkm_last_timestamp [21:41:47]Write 4 bytes [21:41:47]NVStorageSaveData done [21:41:47]ExternCall_PrintAddStr [21:41:47]wPrintStart [21:41:47]Write to MH i2c: 01 00 00 5C 10 6C [21:41:47]Write i2c OK [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: 01 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: 01 07 00 [21:41:47]MH_I2C_Read... [21:41:47]Read from MH i2c: 01 07 00 5C 10 00 00 00 00 00 FF 0F 81 [21:41:47]RasterBufferAndPrint [21:41:47]line Счет N : (3)76629 [21:41:47]line ИНН: 02508201610067 [21:41:47]line Контрольно-Кассовый Чек [21:41:47]line ПРОДАЖА [21:41:47]line Товар: 2000053020015 [21:41:47]line Бумажные стаканы 250мл 1шт [21:41:47]line 5.000 * 7.00 [21:41:47]line = 35.00 [21:41:47]line НДС 12% НСП 1% [21:41:47]line > о реализуемом товаре [21:41:47]line ИТОГО: 35.00 [21:41:47]line НСП 1% : 0.31 [21:41:47]line НДС 12% : 3.72 [21:41:47]line Наличными: 35.00 [21:41:47]line Безнал.: 0.00 [21:41:47]line Место: АЗС № 165 "Партнер Нефть" [21:41:47]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:41:47]line СНО: Общий режим [21:41:47]line Чек 79 19.10.2024 21:41 [21:41:47]line Смена: 460 ФФД: 1.0 [21:41:47]line ЗНМ: 0300000235 [21:41:47]line РНМ: 0000000000098149 [21:41:47]line Версия ККМ: 001 [21:41:47]line ФМ: 0000000000965372 [21:41:47]line ФД: 37143 [21:41:47]line ФПД: 212686922853484 [21:41:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T214149&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37143&fm=212686922853484&tin=02508201610067®Number=0000000000098149&sum=3500 [21:41:47]OFD Sender: Processing packet 37143 [packets to send 25, broken 24] [21:41:47]ProducePacketName [21:41:47]name=ofd_packets/00037143 [21:41:47]OFD Sender: To server: pG, [21:41:47]CommunicateWithHost lk.salyk.kg:30040 [21:41:47]ConnectInit lk.salyk.kg [21:41:47]line 0 [21:41:47]written 0, free lines is 4095 [21:41:47]Connected sock=10 [21:41:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 33 01 00 00 52 51 2B 01 26 CF 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 BC 02 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 4F 00 00 00 F4 03 04 00 9D 27 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 17 91 00 00 35 04 06 00 C1 70 08 7C 2C 6C 2F 98 BC 72 89 ED CF 30 [21:41:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 37 FD 47 00 35 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 17 91 00 00 F4 03 04 00 31 D0 13 67 B6 04 01 00 00 C1 F4 81 2E F8 7B E9 34 [21:41:47]CommunicateWithHost err = 0 [21:41:47]CheckOFDResponse [21:41:47]1017 (14) - 77093643461234 [21:41:47]1041 (16) - 0000000000965372 [21:41:47]1040 (4) - 37143 [21:41:47]1012 (4) - 19.10.2024 15:28 [21:41:47]1206 (1) - 0 [21:41:47]OFD Sender: Remove packet 37143 [21:41:47]ProducePacketName [21:41:47]name=ofd_packets/00037143 [21:41:47]NVStorageDeleteData [21:41:48]Write to MH i2c: 01 00 00 85 10 95 [21:41:48]Write i2c OK [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: 01 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: 01 07 00 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: 01 07 00 85 10 00 00 00 00 00 D5 0C 7D [21:41:48]RasterBufferAndPrint [21:41:48]line [21:41:48]line [21:41:48]line [21:41:48]line [21:41:48]line [21:41:48]written 0, free lines is 3291 [21:41:48]process_action close_receipt done [21:41:48]requested_data is exist [21:41:48]produce_requested_data [21:41:48]requested_item fm.sn is exist - process it [21:41:48]wFMCommunicate request_size=4 [21:41:48]MH_SAM_APDU [21:41:48]CAPDU: 80 11 00 00 [21:41:48]Write to MH i2c: E2 08 00 8C 10 80 11 00 00 00 00 00 00 16 [21:41:48]Write i2c OK [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 [21:41:48]MH_I2C_Read... [21:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:48]Read from MH i2c: E2 17 00 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 17 00 8C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 69 [21:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:41:48]wFMCommunicate OK [21:41:48]requested_item fd.num is exist - process it [21:41:48]SAM_PROTO_GetFieldsCounters [21:41:48]wFMCommunicate request_size=4 [21:41:48]MH_SAM_APDU [21:41:48]CAPDU: 80 13 00 00 [21:41:48]Write to MH i2c: E2 08 00 8D 10 80 13 00 00 00 00 00 00 19 [21:41:48]Write i2c OK [21:41:48]MH_I2C_Read... [21:41:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:41:48]Read from MH i2c: E2 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 62 00 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 62 00 8D 10 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 17 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [21:41:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 17 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:41:48]wFMCommunicate OK [21:41:48]SAM_PROTO_GetFieldsCounters done [21:41:48]requested_item shift.num is exist - process it [21:41:48]requested_item shift.opened is exist - process it [21:41:48]req_shift_opened [21:41:48]FM_GetShiftState [21:41:48]SAM_PROTO_GetShiftState [21:41:48]wFMCommunicate request_size=4 [21:41:48]MH_SAM_APDU [21:41:48]CAPDU: 80 13 01 00 [21:41:48]Write to MH i2c: E2 08 00 8E 10 80 13 01 00 00 00 00 00 1B [21:41:48]Write i2c OK [21:41:48]MH_I2C_Read... [21:41:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:48]Read from MH i2c: E2 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 0E 00 [21:41:48]MH_I2C_Read... [21:41:48]Read from MH i2c: E2 0E 00 8E 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 35 [21:41:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:41:48]wFMCommunicate OK [21:41:48]SAM_PROTO_GetShiftState done [21:41:48]FM_GetShiftState done [21:41:48]req_shift_opened done [21:41:48]requested_item shift.open_date is exist - process it [21:41:48]req_shift_open_date [21:41:48]req_shift_open_date done [21:41:48]produce_requested_data done [21:41:48]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37143,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:41:48]process_action_free close_receipt [21:41:48]json_value_free [21:41:48]json_value_free done [21:41:48]process_json_proto returns [21:41:48]Send response to host [21:41:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37143,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:41:48]free response buf [21:41:48]execute_script done [21:41:48]execute_script returns [21:41:48]free content buf [21:41:48]Sock 7.Close socket [21:41:48]Sock 7.Thread stoped [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]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:10]int [21:57:10]Write to MH i2c: 01 00 00 8F 10 9F [21:57:10]*** FLAG_PRN_KEY set [21:57:10]Write i2c OK [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: 01 [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: 01 07 00 [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: 01 07 00 8F 10 00 08 00 00 00 FF 0F BC [21:57:10]state=0 [21:57:10]Key pressed [21:57:10]Feed [21:57:10]Write to MH i2c: D8 00 00 90 10 77 [21:57:10]Write i2c OK [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: D8 [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: D8 01 00 [21:57:10]MH_I2C_Read... [21:57:10]Read from MH i2c: D8 01 00 90 10 00 78 [21:57:10]int [21:57:10]Write to MH i2c: 01 00 00 91 10 A1 [21:57:10]Write i2c OK [21:57:10]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 [21:57:11]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 07 00 [21:57:11]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 07 00 91 10 00 48 00 00 00 3D 00 2D [21:57:11]state=2 [21:57:11]Key pressed [21:57:11]int [21:57:11]Write to MH i2c: 01 00 00 92 10 A2 [21:57:11]*** FLAG_PRN_KEY reset [21:57:11]Write i2c OK [21:57:11]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 [21:57:11]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 07 00 [21:57:11]MH_I2C_Read... [21:57:11]Read from MH i2c: 01 07 00 92 10 00 00 00 00 00 F5 0F AD [21:57:11]state=2 [21:57:11]Stop feed [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:28]accept exits with 9 [21:57:28]New connection [21:57:28]New thread 3066555748 created [21:57:28]Thread 3066699108 joined [21:57:28]Waiting for new connection... [21:57:28] Sock 9.Parse request [21:57:28]Sock 9.Check first char [21:57:28]Sock 9.First char is OK [21:57:28]request: POST /json_proto HTTP/1.0 [21:57:28]Method: POST [21:57:28]URL: /json_proto [21:57:28]Method is POST - this is cgi request [21:57:28]url: /json_proto [21:57:28]query_string will be loaded in cgi processing [21:57:28]execute_cgi json_proto POST (null) [21:57:28]execute_cgi path=json_proto method=POST [21:57:28]POST find Content-Length [21:57:28]Host: 172.17.53.68:8080 [21:57:28]Content-Length: 627 [21:57:28]Content-Type: application/json [21:57:28] [21:57:28]POST finish read [21:57:28]Found Content-Length = 627 [21:57:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76630", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 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" ] } } [21:57:28]execute_script... [21:57: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)76630", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 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" ] } } [21:57:28]POST & json_proto [21:57:28]process_json_proto [21:57:28]json parsed OK: [21:57:28]protocol is kg_v1.0 [21:57:28]action value=close_receipt [21:57:28]process_action close_receipt [21:57:28]cmd_close_receipt [21:57:28]MH_GetDate [21:57:28]Write to MH i2c: F0 00 00 93 10 92 [21:57:28]Write i2c OK [21:57:28]MH_I2C_Read... [21:57:28]Read from MH i2c: F0 [21:57:28]MH_I2C_Read... [21:57:28]Read from MH i2c: F0 09 00 [21:57:28]MH_I2C_Read... [21:57:28]Read from MH i2c: F0 09 00 93 10 00 4C 2B 14 67 C5 A4 76 66 D2 [21:57:28]GetLastDocTimeStamp 1729374109 [21:57:28]current date 1729375052 [21:57:28]FM_GetShiftState [21:57:28]SAM_PROTO_GetShiftState [21:57:28]wFMCommunicate request_size=4 [21:57:28]MH_SAM_APDU [21:57:28]CAPDU: 80 13 01 00 [21:57:28]Write to MH i2c: E2 08 00 94 10 80 13 01 00 00 00 00 00 21 [21:57:28]Write i2c OK [21:57:28]MH_I2C_Read... [21:57:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:28]Read from MH i2c: E2 [21:57:28]MH_I2C_Read... [21:57:28]Read from MH i2c: E2 0E 00 [21:57:28]MH_I2C_Read... [21:57:28]Read from MH i2c: E2 0E 00 94 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 3B [21:57:28]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:57:28]wFMCommunicate OK [21:57:28]SAM_PROTO_GetShiftState done [21:57:28]FM_GetShiftState done [21:57:28]opened in 1729296796 [21:57:28]opened+sec_in_day 1729383196 [21:57:28]quantity*price = 13000 [21:57:28]sum+1 = 13001 [21:57:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 80 19.10.2024 21:57 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37144 ФПД: 13295553041319 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T215732&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37144&fm=13295553041319&tin=02508201610067®Number=0000000000098149&sum=13000 0 [21:57:29]StoreToDocumentArchive [21:57:29]shift 460 fd 37144 [21:57:29]save to /storage/0460/doc_00037144 [21:57:29]save last doc name /storage/0460/doc_00037144 to /storage/kkm_last_doc_name [21:57:29]save OK [21:57:29]Clear old archive folders... [21:57:29]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:57:29]tlvbuf is 00983520 [21:57:29]SAM_PROTO_ClearQueue [21:57:29]wFMCommunicate request_size=4 [21:57:29]MH_SAM_APDU [21:57:29]CAPDU: 80 09 00 00 [21:57:29]Write to MH i2c: E2 08 00 A1 10 80 09 00 00 00 00 00 00 23 [21:57:29]Write i2c OK [21:57:29]MH_I2C_Read... [21:57:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:57:29]Read from MH i2c: E2 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 A1 10 00 90 00 25 [21:57:29]RAPDU: 90 00 [21:57:29]wFMCommunicate OK [21:57:29]SAM_PROTO_ClearQueue done [21:57:29]KKMCreateOFDPacket [21:57:29]OFDProtocolAddRootSTLVToBuf [21:57:29]FM_MakeSignedData [21:57:29]FM_MakeSignedData [21:57:29]SAM_PROTO_SignData [21:57:29]wFMCommunicate request_size=4 [21:57:29]MH_SAM_APDU [21:57:29]CAPDU: 80 0D 01 02 [21:57:29]Write to MH i2c: E2 08 00 A2 10 80 0D 01 02 00 00 00 00 2B [21:57:29]Write i2c OK [21:57:29]MH_I2C_Read... [21:57:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:57:29]Read from MH i2c: E2 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 A2 10 00 90 00 26 [21:57:29]RAPDU: 90 00 [21:57:29]wFMCommunicate OK [21:57:29]wFMCommunicate request_size=255 [21:57:29]MH_SAM_APDU [21:57:29]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 50 00 00 00 F4 03 04 00 4C 2B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 [21:57:29]Write to MH i2c: E2 02 01 A3 10 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 50 00 00 00 F4 03 04 00 4C 2B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 00 00 5B [21:57:29]Write i2c OK [21:57:29]MH_I2C_Read... [21:57:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:29]Read from MH i2c: E2 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 [21:57:29]MH_I2C_Read... [21:57:29]Read from MH i2c: E2 03 00 A3 10 00 90 00 27 [21:57:29]RAPDU: 90 00 [21:57:29]wFMCommunicate OK [21:57:29]wFMCommunicate request_size=35 [21:57:29]MH_SAM_APDU [21:57:29]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 18 91 00 00 35 04 06 00 0C 17 9C B7 53 A7 [21:57:29]Write to MH i2c: E2 26 00 A4 10 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 18 91 00 00 35 04 06 00 0C 17 9C B7 53 A7 00 00 3A [21:57:29]Write i2c OK [21:57:29]MH_I2C_Read... [21:57:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:57:30]Read from MH i2c: E2 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 03 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 03 00 A4 10 00 90 00 28 [21:57:30]RAPDU: 90 00 [21:57:30]wFMCommunicate OK [21:57:30]wFMCommunicate request_size=4 [21:57:30]MH_SAM_APDU [21:57:30]CAPDU: 80 0D 03 02 [21:57:30]Write to MH i2c: E2 08 00 A5 10 80 0D 03 02 00 00 00 00 30 [21:57:30]Write i2c OK [21:57:30]MH_I2C_Read... [21:57:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:57:30]Read from MH i2c: E2 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 0B 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 0B 00 A5 10 00 D2 A2 57 AE C9 58 D4 DC 90 00 7B [21:57:30]RAPDU: D2 A2 57 AE C9 58 D4 DC 90 00 [21:57:30]wFMCommunicate OK [21:57:30]SAM_PROTO_SignData done [21:57:30]FM_MakeSignedData done [21:57:30]CreateOFDProtocolMessage [21:57:30]wFMCommunicate request_size=4 [21:57:30]MH_SAM_APDU [21:57:30]CAPDU: 80 11 00 00 [21:57:30]Write to MH i2c: E2 08 00 A6 10 80 11 00 00 00 00 00 00 30 [21:57:30]Write i2c OK [21:57:30]MH_I2C_Read... [21:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:30]Read from MH i2c: E2 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 17 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 17 00 A6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 83 [21:57:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:57:30]wFMCommunicate OK [21:57:30]CreateOFDProtocolMessage done [21:57:30]OFDSenderStorePacket 37144 [21:57:30]StoreOFDPacket docnum=37144 [21:57:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 28 01 00 00 99 A9 20 01 34 40 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 50 00 00 00 F4 03 04 00 4C 2B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 18 91 00 00 35 04 06 00 0C 17 9C B7 53 A7 D2 A2 57 AE C9 58 D4 DC [21:57:30]CheckFolder [21:57:30]dirname=/storage/ofd_packets [21:57:30]CheckFolder done [21:57:30]ProducePacketName [21:57:30]name=ofd_packets/00037144 [21:57:30]NVStorageSaveData ofd_packets/00037144 [21:57:30]File name is /storage/ofd_packets/00037144 [21:57:30]Write 326 bytes [21:57:30]NVStorageSaveData done [21:57:30]OFDSenderStorePacket done [21:57:30]KKMCreateOFDPacket done [21:57:30]NVStorageSaveData kkm_last_timestamp [21:57:30]File name is /storage/kkm_last_timestamp [21:57:30]Write 4 bytes [21:57:30]NVStorageSaveData done [21:57:30]OFD Sender: Processing packet 37144 [packets to send 25, broken 24] [21:57:30]ProducePacketName [21:57:30]name=ofd_packets/00037144 [21:57:30]OFD Sender: To server: pG, [21:57:30]CommunicateWithHost lk.salyk.kg:30040 [21:57:30]ConnectInit lk.salyk.kg [21:57:30]ExternCall_PrintAddStr [21:57:30]wPrintStart [21:57:30]Write to MH i2c: 01 00 00 A7 10 B7 [21:57:30]Write i2c OK [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 07 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 07 00 A7 10 00 00 00 00 00 FF 0F CC [21:57:30]RasterBufferAndPrint [21:57:30]line Счет N : (3)76630 [21:57:30]line ИНН: 02508201610067 [21:57:30]line Контрольно-Кассовый Чек [21:57:30]line ПРОДАЖА [21:57:30]line Товар: 2000036230011 [21:57:30]line Кофе Латте XL(GABB TRADE) [21:57:30]line 1.000 * 130.00 [21:57:30]line = 130.00 [21:57:30]line НДС 12% НСП 1% [21:57:30]line > о реализуемом товаре [21:57:30]line ИТОГО: 130.00 [21:57:30]line НСП 1% : 1.15 [21:57:30]line НДС 12% : 13.80 [21:57:30]line Наличными: 130.00 [21:57:30]line Безнал.: 0.00 [21:57:30]line Место: АЗС № 165 "Партнер Нефть" [21:57:30]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [21:57:30]line СНО: Общий режим [21:57:30]line Чек 80 19.10.2024 21:57 [21:57:30]line Смена: 460 ФФД: 1.0 [21:57:30]line ЗНМ: 0300000235 [21:57:30]line РНМ: 0000000000098149 [21:57:30]line Версия ККМ: 001 [21:57:30]line ФМ: 0000000000965372 [21:57:30]line ФД: 37144 [21:57:30]line ФПД: 13295553041319 [21:57:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T215732&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37144&fm=13295553041319&tin=02508201610067®Number=0000000000098149&sum=13000 [21:57:30]line 0 [21:57:30]Connected sock=11 [21:57: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 33 37 32 28 01 00 00 99 A9 20 01 34 40 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 50 00 00 00 F4 03 04 00 4C 2B 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 18 91 00 00 35 04 06 00 0C 17 9C B7 53 A7 D2 A2 57 AE C9 58 D4 DC [21:57:30]written 0, free lines is 4095 [21:57:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 F3 30 47 00 1A 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 18 91 00 00 F4 03 04 00 E0 D3 13 67 B6 04 01 00 00 8A FF 62 CF C3 56 F7 F2 [21:57:30]CommunicateWithHost err = 0 [21:57:30]CheckOFDResponse [21:57:30]1017 (14) - 77093643461234 [21:57:30]1041 (16) - 0000000000965372 [21:57:30]1040 (4) - 37144 [21:57:30]1012 (4) - 19.10.2024 15:44 [21:57:30]1206 (1) - 0 [21:57:30]OFD Sender: Remove packet 37144 [21:57:30]ProducePacketName [21:57:30]name=ofd_packets/00037144 [21:57:30]NVStorageDeleteData [21:57:30]Write to MH i2c: 01 00 00 CF 10 DF [21:57:30]Write i2c OK [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 07 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: 01 07 00 CF 10 00 00 00 00 00 05 0D F8 [21:57:30]RasterBufferAndPrint [21:57:30]line [21:57:30]line [21:57:30]line [21:57:30]line [21:57:30]line [21:57:30]written 0, free lines is 3340 [21:57:30]process_action close_receipt done [21:57:30]requested_data is exist [21:57:30]produce_requested_data [21:57:30]requested_item fm.sn is exist - process it [21:57:30]wFMCommunicate request_size=4 [21:57:30]MH_SAM_APDU [21:57:30]CAPDU: 80 11 00 00 [21:57:30]Write to MH i2c: E2 08 00 D6 10 80 11 00 00 00 00 00 00 60 [21:57:30]Write i2c OK [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 [21:57:30]MH_I2C_Read... [21:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:30]Read from MH i2c: E2 17 00 [21:57:30]MH_I2C_Read... [21:57:30]Read from MH i2c: E2 17 00 D6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B3 [21:57:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [21:57:31]wFMCommunicate OK [21:57:31]requested_item fd.num is exist - process it [21:57:31]SAM_PROTO_GetFieldsCounters [21:57:31]wFMCommunicate request_size=4 [21:57:31]MH_SAM_APDU [21:57:31]CAPDU: 80 13 00 00 [21:57:31]Write to MH i2c: E2 08 00 D7 10 80 13 00 00 00 00 00 00 63 [21:57:31]Write i2c OK [21:57:31]MH_I2C_Read... [21:57:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:31]Read from MH i2c: E2 [21:57:31]MH_I2C_Read... [21:57:31]Read from MH i2c: E2 62 00 [21:57:31]MH_I2C_Read... [21:57:31]Read from MH i2c: E2 62 00 D7 10 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 18 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [21:57:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 18 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:57:31]wFMCommunicate OK [21:57:31]SAM_PROTO_GetFieldsCounters done [21:57:31]requested_item shift.num is exist - process it [21:57:31]requested_item shift.opened is exist - process it [21:57:31]req_shift_opened [21:57:31]FM_GetShiftState [21:57:31]SAM_PROTO_GetShiftState [21:57:31]wFMCommunicate request_size=4 [21:57:31]MH_SAM_APDU [21:57:31]CAPDU: 80 13 01 00 [21:57:31]Write to MH i2c: E2 08 00 D8 10 80 13 01 00 00 00 00 00 65 [21:57:31]Write i2c OK [21:57:31]MH_I2C_Read... [21:57:31]OFD Sender: No OFD packet to send [21:57:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:31]Read from MH i2c: E2 [21:57:31]MH_I2C_Read... [21:57:31]Read from MH i2c: E2 0E 00 [21:57:31]MH_I2C_Read... [21:57:31]Read from MH i2c: E2 0E 00 D8 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 7F [21:57:31]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [21:57:31]wFMCommunicate OK [21:57:31]SAM_PROTO_GetShiftState done [21:57:31]FM_GetShiftState done [21:57:31]req_shift_opened done [21:57:31]requested_item shift.open_date is exist - process it [21:57:31]req_shift_open_date [21:57:31]req_shift_open_date done [21:57:31]produce_requested_data done [21:57:31]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37144,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [21:57:31]process_action_free close_receipt [21:57:31]json_value_free [21:57:31]json_value_free done [21:57:31]process_json_proto returns [21:57:31]Send response to host [21:57:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37144,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [21:57:31]free response buf [21:57:31]execute_script done [21:57:31]execute_script returns [21:57:31]free content buf [21:57:31]Sock 9.Close socket [21:57:31]Sock 9.Thread stoped [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:47]int [21:57:47]Write to MH i2c: 01 00 00 D9 10 E9 [21:57:47]*** FLAG_PRN_KEY set [21:57:47]Write i2c OK [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 D9 10 00 08 00 00 00 FF 0F 06 [21:57:47]state=0 [21:57:47]Key pressed [21:57:47]Feed [21:57:47]Write to MH i2c: D8 00 00 DA 10 C1 [21:57:47]Write i2c OK [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: D8 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: D8 01 00 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: D8 01 00 DA 10 00 C2 [21:57:47]int [21:57:47]Write to MH i2c: 01 00 00 DB 10 EB [21:57:47]Write i2c OK [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 DB 10 00 48 00 00 00 3D 00 77 [21:57:47]state=2 [21:57:47]Key pressed [21:57:47]int [21:57:47]Write to MH i2c: 01 00 00 DC 10 EC [21:57:47]*** FLAG_PRN_KEY reset [21:57:47]Write i2c OK [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 [21:57:47]MH_I2C_Read... [21:57:47]Read from MH i2c: 01 07 00 DC 10 00 00 00 00 00 F6 0F F8 [21:57:47]state=2 [21:57:47]Stop feed [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14: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:39]accept exits with 7 [22:14:39]New connection [22:14:39]New thread 3066699108 created [22:14:39]Thread 3066555748 joined [22:14:39]Waiting for new connection... [22:14:39] Sock 7.Parse request [22:14:39]Sock 7.Check first char [22:14:39]Sock 7.First char is OK [22:14:39]request: POST /json_proto HTTP/1.0 [22:14:39]Method: POST [22:14:39]URL: /json_proto [22:14:39]Method is POST - this is cgi request [22:14:39]url: /json_proto [22:14:39]query_string will be loaded in cgi processing [22:14:39]execute_cgi json_proto POST (null) [22:14:39]execute_cgi path=json_proto method=POST [22:14:39]POST find Content-Length [22:14:39]Host: 172.17.53.68:8080 [22:14:39]Content-Length: 654 [22:14:39]Content-Type: application/json [22:14:39] [22:14:39]POST finish read [22:14:39]Found Content-Length = 654 [22:14:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76631", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:39]execute_script... [22:14: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)76631", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:14:39]POST & json_proto [22:14:39]process_json_proto [22:14:39]json parsed OK: [22:14:39]protocol is kg_v1.0 [22:14:39]action value=close_receipt [22:14:39]process_action close_receipt [22:14:39]cmd_close_receipt [22:14:39]MH_GetDate [22:14:39]Write to MH i2c: F0 00 00 DD 10 DC [22:14:39]Write i2c OK [22:14:39]MH_I2C_Read... [22:14:39]Read from MH i2c: F0 [22:14:39]MH_I2C_Read... [22:14:39]Read from MH i2c: F0 09 00 [22:14:39]MH_I2C_Read... [22:14:39]Read from MH i2c: F0 09 00 DD 10 00 53 2F 14 67 C5 A4 76 66 27 [22:14:39]GetLastDocTimeStamp 1729375052 [22:14:39]current date 1729376083 [22:14:39]FM_GetShiftState [22:14:39]SAM_PROTO_GetShiftState [22:14:39]wFMCommunicate request_size=4 [22:14:39]MH_SAM_APDU [22:14:39]CAPDU: 80 13 01 00 [22:14:39]Write to MH i2c: E2 08 00 DE 10 80 13 01 00 00 00 00 00 6B [22:14:39]Write i2c OK [22:14:39]MH_I2C_Read... [22:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:39]Read from MH i2c: E2 [22:14:39]MH_I2C_Read... [22:14:39]Read from MH i2c: E2 0E 00 [22:14:39]MH_I2C_Read... [22:14:39]Read from MH i2c: E2 0E 00 DE 10 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 85 [22:14:39]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:14:39]wFMCommunicate OK [22:14:39]SAM_PROTO_GetShiftState done [22:14:39]FM_GetShiftState done [22:14:39]opened in 1729296796 [22:14:39]opened+sec_in_day 1729383196 [22:14:39]quantity*price = 6900 [22:14:39]sum+1 = 6901 [22:14:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 81 19.10.2024 22:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37145 ФПД: 64662219008129 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221443&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37145&fm=64662219008129&tin=02508201610067®Number=0000000000098149&sum=6900 0 [22:14:40]StoreToDocumentArchive [22:14:40]shift 460 fd 37145 [22:14:40]save to /storage/0460/doc_00037145 [22:14:40]save last doc name /storage/0460/doc_00037145 to /storage/kkm_last_doc_name [22:14:40]save OK [22:14:40]Clear old archive folders... [22:14:40]ProcessDocumentItem done err = 0, tmpTLVsize=294 [22:14:40]tlvbuf is 00987AD0 [22:14:40]SAM_PROTO_ClearQueue [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 09 00 00 [22:14:40]Write to MH i2c: E2 08 00 EB 10 80 09 00 00 00 00 00 00 6D [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 EB 10 00 90 00 6F [22:14:40]RAPDU: 90 00 [22:14:40]wFMCommunicate OK [22:14:40]SAM_PROTO_ClearQueue done [22:14:40]KKMCreateOFDPacket [22:14:40]OFDProtocolAddRootSTLVToBuf [22:14:40]FM_MakeSignedData [22:14:40]FM_MakeSignedData [22:14:40]SAM_PROTO_SignData [22:14:40]wFMCommunicate request_size=4 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 0D 01 02 [22:14:40]Write to MH i2c: E2 08 00 EC 10 80 0D 01 02 00 00 00 00 75 [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 EC 10 00 90 00 70 [22:14:40]RAPDU: 90 00 [22:14:40]wFMCommunicate OK [22:14:40]wFMCommunicate request_size=255 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 53 2F 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [22:14:40]Write to MH i2c: E2 02 01 ED 10 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 53 2F 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 9F [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:40]Read from MH i2c: E2 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 [22:14:40]MH_I2C_Read... [22:14:40]Read from MH i2c: E2 03 00 ED 10 00 90 00 71 [22:14:40]RAPDU: 90 00 [22:14:40]wFMCommunicate OK [22:14:40]wFMCommunicate request_size=53 [22:14:40]MH_SAM_APDU [22:14:40]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 19 91 00 00 35 04 06 00 3A CF 58 98 28 81 [22:14:40]Write to MH i2c: E2 38 00 EE 10 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 19 91 00 00 35 04 06 00 3A CF 58 98 28 81 00 00 BF [22:14:40]Write i2c OK [22:14:40]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 03 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 03 00 EE 10 00 90 00 72 [22:14:41]RAPDU: 90 00 [22:14:41]wFMCommunicate OK [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 0D 03 02 [22:14:41]Write to MH i2c: E2 08 00 EF 10 80 0D 03 02 00 00 00 00 7A [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 0B 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 0B 00 EF 10 00 D3 A9 66 DC CE B5 7D 89 90 00 C2 [22:14:41]RAPDU: D3 A9 66 DC CE B5 7D 89 90 00 [22:14:41]wFMCommunicate OK [22:14:41]SAM_PROTO_SignData done [22:14:41]FM_MakeSignedData done [22:14:41]CreateOFDProtocolMessage [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 11 00 00 [22:14:41]Write to MH i2c: E2 08 00 F0 10 80 11 00 00 00 00 00 00 7A [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 17 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 17 00 F0 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CD [22:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:14:41]wFMCommunicate OK [22:14:41]CreateOFDProtocolMessage done [22:14:41]OFDSenderStorePacket 37145 [22:14:41]StoreOFDPacket docnum=37145 [22:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3A 01 00 00 AD 23 32 01 2B EC 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 53 2F 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 19 91 00 00 35 04 06 00 3A CF 58 98 28 81 D3 A9 66 DC CE B5 7D 89 [22:14:41]CheckFolder [22:14:41]dirname=/storage/ofd_packets [22:14:41]CheckFolder done [22:14:41]ProducePacketName [22:14:41]name=ofd_packets/00037145 [22:14:41]NVStorageSaveData ofd_packets/00037145 [22:14:41]File name is /storage/ofd_packets/00037145 [22:14:41]Write 344 bytes [22:14:41]NVStorageSaveData done [22:14:41]OFDSenderStorePacket done [22:14:41]KKMCreateOFDPacket done [22:14:41]NVStorageSaveData kkm_last_timestamp [22:14:41]File name is /storage/kkm_last_timestamp [22:14:41]Write 4 bytes [22:14:41]NVStorageSaveData done [22:14:41]ExternCall_PrintAddStr [22:14:41]wPrintStart [22:14:41]Write to MH i2c: 01 00 00 F1 10 01 [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 07 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 07 00 F1 10 00 00 00 00 00 FF 0F 16 [22:14:41]RasterBufferAndPrint [22:14:41]line Счет N : (3)76631 [22:14:41]line ИНН: 02508201610067 [22:14:41]line Контрольно-Кассовый Чек [22:14:41]line ПРОДАЖА [22:14:41]line Товар: 4600682557456 [22:14:41]line Напиток FLash up energy эн ж/б 0,5/0,45л [22:14:41]line 1.000 * 69.00 [22:14:41]line = 69.00 [22:14:41]line НДС 12% НСП 1% [22:14:41]line > о реализуемом товаре [22:14:41]line ИТОГО: 69.00 [22:14:41]line НСП 1% : 0.61 [22:14:41]line НДС 12% : 7.33 [22:14:41]line Наличными: 69.00 [22:14:41]line Безнал.: 0.00 [22:14:41]line Место: АЗС № 165 "Партнер Нефть" [22:14:41]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:14:41]line СНО: Общий режим [22:14:41]line Чек 81 19.10.2024 22:14 [22:14:41]line Смена: 460 ФФД: 1.0 [22:14:41]line ЗНМ: 0300000235 [22:14:41]line РНМ: 0000000000098149 [22:14:41]line Версия ККМ: 001 [22:14:41]line ФМ: 0000000000965372 [22:14:41]line ФД: 37145 [22:14:41]line ФПД: 64662219008129 [22:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T221443&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37145&fm=64662219008129&tin=02508201610067®Number=0000000000098149&sum=6900 [22:14:41]line 0 [22:14:41]OFD Sender: Processing packet 37145 [packets to send 25, broken 24] [22:14:41]ProducePacketName [22:14:41]name=ofd_packets/00037145 [22:14:41]OFD Sender: To server: pG, [22:14:41]CommunicateWithHost lk.salyk.kg:30040 [22:14:41]ConnectInit lk.salyk.kg [22:14:41]written 0, free lines is 4095 [22:14:41]Connected sock=9 [22:14: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 33 37 32 3A 01 00 00 AD 23 32 01 2B EC 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 53 2F 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 19 91 00 00 35 04 06 00 3A CF 58 98 28 81 D3 A9 66 DC CE B5 7D 89 [22:14:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 AF 12 47 00 A4 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 19 91 00 00 F4 03 04 00 E7 D7 13 67 B6 04 01 00 00 7C AE 4F 00 45 B5 55 E3 [22:14:41]CommunicateWithHost err = 0 [22:14:41]CheckOFDResponse [22:14:41]1017 (14) - 77093643461234 [22:14:41]1041 (16) - 0000000000965372 [22:14:41]1040 (4) - 37145 [22:14:41]1012 (4) - 19.10.2024 16:01 [22:14:41]1206 (1) - 0 [22:14:41]OFD Sender: Remove packet 37145 [22:14:41]ProducePacketName [22:14:41]name=ofd_packets/00037145 [22:14:41]NVStorageDeleteData [22:14:41]Write to MH i2c: 01 00 00 1A 11 2B [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 07 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: 01 07 00 1A 11 00 00 00 00 00 DE 0C 1C [22:14:41]RasterBufferAndPrint [22:14:41]line [22:14:41]line [22:14:41]line [22:14:41]line [22:14:41]line [22:14:41]written 0, free lines is 3302 [22:14:41]process_action close_receipt done [22:14:41]requested_data is exist [22:14:41]produce_requested_data [22:14:41]requested_item fm.sn is exist - process it [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 11 00 00 [22:14:41]Write to MH i2c: E2 08 00 21 11 80 11 00 00 00 00 00 00 AC [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:14:41]Read from MH i2c: E2 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 17 00 [22:14:41]MH_I2C_Read... [22:14:41]Read from MH i2c: E2 17 00 21 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 FF [22:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:14:41]wFMCommunicate OK [22:14:41]requested_item fd.num is exist - process it [22:14:41]SAM_PROTO_GetFieldsCounters [22:14:41]wFMCommunicate request_size=4 [22:14:41]MH_SAM_APDU [22:14:41]CAPDU: 80 13 00 00 [22:14:41]Write to MH i2c: E2 08 00 22 11 80 13 00 00 00 00 00 00 AF [22:14:41]Write i2c OK [22:14:41]MH_I2C_Read... [22:14:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:14:42]Read from MH i2c: E2 [22:14:42]MH_I2C_Read... [22:14:42]Read from MH i2c: E2 62 00 [22:14:42]MH_I2C_Read... [22:14:42]Read from MH i2c: E2 62 00 22 11 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 19 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [22:14: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 19 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:14:42]wFMCommunicate OK [22:14:42]SAM_PROTO_GetFieldsCounters done [22:14:42]requested_item shift.num is exist - process it [22:14:42]requested_item shift.opened is exist - process it [22:14:42]req_shift_opened [22:14:42]FM_GetShiftState [22:14:42]SAM_PROTO_GetShiftState [22:14:42]wFMCommunicate request_size=4 [22:14:42]MH_SAM_APDU [22:14:42]CAPDU: 80 13 01 00 [22:14:42]Write to MH i2c: E2 08 00 23 11 80 13 01 00 00 00 00 00 B1 [22:14:42]Write i2c OK [22:14:42]MH_I2C_Read... [22:14:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:14:42]Read from MH i2c: E2 [22:14:42]MH_I2C_Read... [22:14:42]Read from MH i2c: E2 0E 00 [22:14:42]MH_I2C_Read... [22:14:42]Read from MH i2c: E2 0E 00 23 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 CB [22:14:42]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:14:42]wFMCommunicate OK [22:14:42]SAM_PROTO_GetShiftState done [22:14:42]FM_GetShiftState done [22:14:42]req_shift_opened done [22:14:42]requested_item shift.open_date is exist - process it [22:14:42]req_shift_open_date [22:14:42]req_shift_open_date done [22:14:42]produce_requested_data done [22:14:42]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37145,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:14:42]process_action_free close_receipt [22:14:42]json_value_free [22:14:42]json_value_free done [22:14:42]process_json_proto returns [22:14:42]Send response to host [22:14:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37145,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:14:42]free response buf [22:14:42]execute_script done [22:14:42]execute_script returns [22:14:42]free content buf [22:14:42]Sock 7.Close socket [22:14:42]Sock 7.Thread stoped [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]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:02]OFD Sender: No OFD packet to send [22:22:07]OFD Sender: No OFD packet to send [22:22:12]OFD Sender: No OFD packet to send [22:22:17]OFD Sender: No OFD packet to send [22:22:22]OFD Sender: No OFD packet to send [22:22:27]OFD Sender: No OFD packet to send [22:22:32]OFD Sender: No OFD packet to send [22:22:37]OFD Sender: No OFD packet to send [22:22:42]OFD Sender: No OFD packet to send [22:22:47]OFD Sender: No OFD packet to send [22:22:52]OFD Sender: No OFD packet to send [22:22:57]OFD Sender: No OFD packet to send [22:23:02]OFD Sender: No OFD packet to send [22:23:07]OFD Sender: No OFD packet to send [22:23:12]OFD Sender: No OFD packet to send [22:23:17]OFD Sender: No OFD packet to send [22:23:22]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:32]accept exits with 10 [22:23:32]New connection [22:23:32]New thread 3066555748 created [22:23:32]Thread 3066699108 joined [22:23:32]Waiting for new connection... [22:23:32] Sock 10.Parse request [22:23:32]Sock 10.Check first char [22:23:32]Sock 10.First char is OK [22:23:32]request: POST /json_proto HTTP/1.0 [22:23:32]Method: POST [22:23:32]URL: /json_proto [22:23:32]Method is POST - this is cgi request [22:23:32]url: /json_proto [22:23:32]query_string will be loaded in cgi processing [22:23:32]execute_cgi json_proto POST (null) [22:23:32]execute_cgi path=json_proto method=POST [22:23:32]POST find Content-Length [22:23:32]Host: 172.17.53.68:8080 [22:23:32]Content-Length: 935 [22:23:32]Content-Type: application/json [22:23:32] [22:23:32]POST finish read [22:23:32]Found Content-Length = 935 [22:23:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76632", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 344.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:32]execute_script... [22:23:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76632", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 344.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:32]POST & json_proto [22:23:32]process_json_proto [22:23:32]json parsed OK: [22:23:32]protocol is kg_v1.0 [22:23:32]action value=close_receipt [22:23:32]process_action close_receipt [22:23:32]cmd_close_receipt [22:23:32]MH_GetDate [22:23:32]Write to MH i2c: F0 00 00 24 11 24 [22:23:32]Write i2c OK [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: F0 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: F0 09 00 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: F0 09 00 24 11 00 68 31 14 67 C5 A4 76 66 86 [22:23:32]GetLastDocTimeStamp 1729376083 [22:23:32]current date 1729376616 [22:23:32]FM_GetShiftState [22:23:32]SAM_PROTO_GetShiftState [22:23:32]wFMCommunicate request_size=4 [22:23:32]MH_SAM_APDU [22:23:32]CAPDU: 80 13 01 00 [22:23:32]Write to MH i2c: E2 08 00 25 11 80 13 01 00 00 00 00 00 B3 [22:23:32]Write i2c OK [22:23:32]MH_I2C_Read... [22:23:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:32]Read from MH i2c: E2 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: E2 0E 00 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: E2 0E 00 25 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 CD [22:23:32]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:23:32]wFMCommunicate OK [22:23:32]SAM_PROTO_GetShiftState done [22:23:32]FM_GetShiftState done [22:23:32]opened in 1729296796 [22:23:32]opened+sec_in_day 1729383196 [22:23:32]quantity*price = 19000 [22:23:32]sum+1 = 19001 [22:23:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 344.00 НСП 1% : 3.04 НДС 12% : 36.53 Наличными: 344.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 82 19.10.2024 22:23 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37146 ФПД: 93534367177498 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T222336&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37146&fm=93534367177498&tin=02508201610067®Number=0000000000098149&sum=34400 0 [22:23:33]StoreToDocumentArchive [22:23:33]shift 460 fd 37146 [22:23:33]save to /storage/0460/doc_00037146 [22:23:33]save last doc name /storage/0460/doc_00037146 to /storage/kkm_last_doc_name [22:23:33]save OK [22:23:33]Clear old archive folders... [22:23:33]ProcessDocumentItem done err = 0, tmpTLVsize=403 [22:23:33]tlvbuf is 00988AD0 [22:23:33]SAM_PROTO_ClearQueue [22:23:33]wFMCommunicate request_size=4 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 09 00 00 [22:23:33]Write to MH i2c: E2 08 00 32 11 80 09 00 00 00 00 00 00 B5 [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:33]Read from MH i2c: E2 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 03 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 03 00 32 11 00 90 00 B7 [22:23:33]RAPDU: 90 00 [22:23:33]wFMCommunicate OK [22:23:33]SAM_PROTO_ClearQueue done [22:23:33]KKMCreateOFDPacket [22:23:33]OFDProtocolAddRootSTLVToBuf [22:23:33]FM_MakeSignedData [22:23:33]FM_MakeSignedData [22:23:33]SAM_PROTO_SignData [22:23:33]wFMCommunicate request_size=4 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 0D 01 02 [22:23:33]Write to MH i2c: E2 08 00 33 11 80 0D 01 02 00 00 00 00 BD [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:33]Read from MH i2c: E2 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 03 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 03 00 33 11 00 90 00 B8 [22:23:33]RAPDU: 90 00 [22:23:33]wFMCommunicate OK [22:23:33]wFMCommunicate request_size=255 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 86 00 00 [22:23:33]Write to MH i2c: E2 02 01 34 11 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 86 00 00 00 00 9F [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:34]Read from MH i2c: E2 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 03 00 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 03 00 34 11 00 90 00 B9 [22:23:34]RAPDU: 90 00 [22:23:34]wFMCommunicate OK [22:23:34]wFMCommunicate request_size=162 [22:23:34]MH_SAM_APDU [22:23:34]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 68 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1A 91 00 00 35 04 06 00 55 11 AA BA DB 1A [22:23:34]Write to MH i2c: E2 A5 00 35 11 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 68 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1A 91 00 00 35 04 06 00 55 11 AA BA DB 1A 00 00 44 [22:23:34]Write i2c OK [22:23:34]MH_I2C_Read... [22:23:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:34]Read from MH i2c: E2 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 03 00 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 03 00 35 11 00 90 00 BA [22:23:34]RAPDU: 90 00 [22:23:34]wFMCommunicate OK [22:23:34]wFMCommunicate request_size=4 [22:23:34]MH_SAM_APDU [22:23:34]CAPDU: 80 0D 03 02 [22:23:34]Write to MH i2c: E2 08 00 36 11 80 0D 03 02 00 00 00 00 C2 [22:23:34]Write i2c OK [22:23:34]MH_I2C_Read... [22:23:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:34]Read from MH i2c: E2 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 0B 00 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 0B 00 36 11 00 15 0D D6 04 D1 09 CF FB 90 00 63 [22:23:34]RAPDU: 15 0D D6 04 D1 09 CF FB 90 00 [22:23:34]wFMCommunicate OK [22:23:34]SAM_PROTO_SignData done [22:23:34]FM_MakeSignedData done [22:23:34]CreateOFDProtocolMessage [22:23:34]wFMCommunicate request_size=4 [22:23:34]MH_SAM_APDU [22:23:34]CAPDU: 80 11 00 00 [22:23:34]Write to MH i2c: E2 08 00 37 11 80 11 00 00 00 00 00 00 C2 [22:23:34]Write i2c OK [22:23:34]MH_I2C_Read... [22:23:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:34]Read from MH i2c: E2 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 17 00 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: E2 17 00 37 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 15 [22:23:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:23:34]wFMCommunicate OK [22:23:34]CreateOFDProtocolMessage done [22:23:34]OFDSenderStorePacket 37146 [22:23:34]StoreOFDPacket docnum=37146 [22:23:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 A7 01 00 00 32 2B 9F 01 2C 67 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 68 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1A 91 00 00 35 04 06 00 55 11 AA BA DB 1A 15 0D D6 04 D1 09 CF FB [22:23:34]CheckFolder [22:23:34]dirname=/storage/ofd_packets [22:23:34]CheckFolder done [22:23:34]ProducePacketName [22:23:34]name=ofd_packets/00037146 [22:23:34]NVStorageSaveData ofd_packets/00037146 [22:23:34]File name is /storage/ofd_packets/00037146 [22:23:34]Write 453 bytes [22:23:34]NVStorageSaveData done [22:23:34]OFDSenderStorePacket done [22:23:34]KKMCreateOFDPacket done [22:23:34]NVStorageSaveData kkm_last_timestamp [22:23:34]File name is /storage/kkm_last_timestamp [22:23:34]Write 4 bytes [22:23:34]NVStorageSaveData done [22:23:34]ExternCall_PrintAddStr [22:23:34]wPrintStart [22:23:34]Write to MH i2c: 01 00 00 38 11 49 [22:23:34]Write i2c OK [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: 01 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: 01 07 00 [22:23:34]MH_I2C_Read... [22:23:34]Read from MH i2c: 01 07 00 38 11 00 00 00 00 00 FF 0F 5E [22:23:34]RasterBufferAndPrint [22:23:34]line Счет N : (3)76632 [22:23:34]line ИНН: 02508201610067 [22:23:34]line Контрольно-Кассовый Чек [22:23:34]line ПРОДАЖА [22:23:34]line Товар: 4700000480364 [22:23:34]line Напиток энерг Nitro экзотик 0.45 ж/б [22:23:34]line 2.000 * 95.00 [22:23:34]line = 190.00 [22:23:34]line НДС 12% НСП 1% [22:23:34]line > о реализуемом товаре [22:23:34]line Товар: 46230614 [22:23:34]line Сигареты Richmond Red Edition [22:23:34]line 1.000 * 154.00 [22:23:34]line = 154.00 [22:23:34]line НДС 12% НСП 1% [22:23:34]line > о реализуемом товаре [22:23:34]line ИТОГО: 344.00 [22:23:34]line НСП 1% : 3.04 [22:23:34]line НДС 12% : 36.53 [22:23:34]line Наличными: 344.00 [22:23:34]line Безнал.: 0.00 [22:23:34]line Место: АЗС № 165 "Партнер Нефть" [22:23:34]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:23:34]line СНО: Общий режим [22:23:34]line Чек 82 19.10.2024 22:23 [22:23:34]line Смена: 460 ФФД: 1.0 [22:23:34]line ЗНМ: 0300000235 [22:23:34]line РНМ: 0000000000098149 [22:23:34]line Версия ККМ: 001 [22:23:34]line ФМ: 0000000000965372 [22:23:34]line ФД: 37146 [22:23:34]line ФПД: 93534367177498 [22:23:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T222336&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37146&fm=93534367177498&tin=02508201610067®Number=0000000000098149&sum=34400 [22:23:34]line 0 [22:23:34]OFD Sender: Processing packet 37146 [packets to send 25, broken 24] [22:23:34]ProducePacketName [22:23:34]name=ofd_packets/00037146 [22:23:34]OFD Sender: To server: pG, [22:23:34]CommunicateWithHost lk.salyk.kg:30040 [22:23:34]ConnectInit lk.salyk.kg [22:23:34]written 0, free lines is 4095 [22:23:34]Connected sock=9 [22:23: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 33 37 32 A7 01 00 00 32 2B 9F 01 2C 67 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 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 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 68 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1A 91 00 00 35 04 06 00 55 11 AA BA DB 1A 15 0D D6 04 D1 09 CF FB [22:23:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 20 49 47 00 EA 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 1A 91 00 00 F4 03 04 00 FC D9 13 67 B6 04 01 00 00 B8 66 3C 66 42 F2 0E 64 [22:23:35]CommunicateWithHost err = 0 [22:23:35]CheckOFDResponse [22:23:35]1017 (14) - 77093643461234 [22:23:35]1041 (16) - 0000000000965372 [22:23:35]1040 (4) - 37146 [22:23:35]1012 (4) - 19.10.2024 16:10 [22:23:35]1206 (1) - 0 [22:23:35]OFD Sender: Remove packet 37146 [22:23:35]ProducePacketName [22:23:35]name=ofd_packets/00037146 [22:23:35]NVStorageDeleteData [22:23:35]Write to MH i2c: 01 00 00 68 11 79 [22:23:35]Write i2c OK [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: 01 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: 01 07 00 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: 01 07 00 68 11 00 00 00 00 00 5D 0C E9 [22:23:35]RasterBufferAndPrint [22:23:35]line [22:23:35]line [22:23:35]line [22:23:35]line [22:23:35]line [22:23:35]written 0, free lines is 3171 [22:23:35]process_action close_receipt done [22:23:35]requested_data is exist [22:23:35]produce_requested_data [22:23:35]requested_item fm.sn is exist - process it [22:23:35]wFMCommunicate request_size=4 [22:23:35]MH_SAM_APDU [22:23:35]CAPDU: 80 11 00 00 [22:23:35]Write to MH i2c: E2 08 00 6F 11 80 11 00 00 00 00 00 00 FA [22:23:35]Write i2c OK [22:23:35]MH_I2C_Read... [22:23:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:35]Read from MH i2c: E2 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 17 00 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 17 00 6F 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4D [22:23:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:23:35]wFMCommunicate OK [22:23:35]requested_item fd.num is exist - process it [22:23:35]SAM_PROTO_GetFieldsCounters [22:23:35]wFMCommunicate request_size=4 [22:23:35]MH_SAM_APDU [22:23:35]CAPDU: 80 13 00 00 [22:23:35]Write to MH i2c: E2 08 00 70 11 80 13 00 00 00 00 00 00 FD [22:23:35]Write i2c OK [22:23:35]MH_I2C_Read... [22:23:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:35]Read from MH i2c: E2 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 62 00 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 62 00 70 11 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1A 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [22:23: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1A 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:23:35]wFMCommunicate OK [22:23:35]SAM_PROTO_GetFieldsCounters done [22:23:35]requested_item shift.num is exist - process it [22:23:35]requested_item shift.opened is exist - process it [22:23:35]req_shift_opened [22:23:35]FM_GetShiftState [22:23:35]SAM_PROTO_GetShiftState [22:23:35]wFMCommunicate request_size=4 [22:23:35]MH_SAM_APDU [22:23:35]CAPDU: 80 13 01 00 [22:23:35]Write to MH i2c: E2 08 00 71 11 80 13 01 00 00 00 00 00 FF [22:23:35]Write i2c OK [22:23:35]MH_I2C_Read... [22:23:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:35]Read from MH i2c: E2 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 0E 00 [22:23:35]MH_I2C_Read... [22:23:35]Read from MH i2c: E2 0E 00 71 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 19 [22:23:35]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:23:35]wFMCommunicate OK [22:23:35]SAM_PROTO_GetShiftState done [22:23:35]FM_GetShiftState done [22:23:35]req_shift_opened done [22:23:35]requested_item shift.open_date is exist - process it [22:23:35]req_shift_open_date [22:23:35]req_shift_open_date done [22:23:35]produce_requested_data done [22:23:35]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37146,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:23:35]process_action_free close_receipt [22:23:35]json_value_free [22:23:35]json_value_free done [22:23:35]process_json_proto returns [22:23:35]Send response to host [22:23:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37146,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:23:35]free response buf [22:23:35]execute_script done [22:23:35]execute_script returns [22:23:35]free content buf [22:23:35]Sock 10.Close socket [22:23:35]Sock 10.Thread stoped [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:47]accept exits with 7 [22:23:47]New connection [22:23:47]New thread 3066699108 created [22:23:47]Thread 3066555748 joined [22:23:47]Waiting for new connection... [22:23:47] Sock 7.Parse request [22:23:47]Sock 7.Check first char [22:23:47]Sock 7.First char is OK [22:23:47]request: POST /json_proto HTTP/1.0 [22:23:47]Method: POST [22:23:47]URL: /json_proto [22:23:47]Method is POST - this is cgi request [22:23:47]url: /json_proto [22:23:47]query_string will be loaded in cgi processing [22:23:47]execute_cgi json_proto POST (null) [22:23:47]execute_cgi path=json_proto method=POST [22:23:47]POST find Content-Length [22:23:47]Host: 172.17.53.68:8080 [22:23:47]Content-Length: 727 [22:23:47]Content-Type: application/json [22:23:47] [22:23:47]POST finish read [22:23:47]Found Content-Length = 727 [22:23:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76633", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:47]execute_script... [22:23:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76633", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:47]POST & json_proto [22:23:47]process_json_proto [22:23:47]json parsed OK: [22:23:47]protocol is kg_v1.0 [22:23:47]action value=close_receipt [22:23:47]process_action close_receipt [22:23:47]cmd_close_receipt [22:23:47]MH_GetDate [22:23:47]Write to MH i2c: F0 00 00 72 11 72 [22:23:47]Write i2c OK [22:23:47]MH_I2C_Read... [22:23:47]Read from MH i2c: F0 [22:23:47]MH_I2C_Read... [22:23:47]Read from MH i2c: F0 09 00 [22:23:47]MH_I2C_Read... [22:23:47]Read from MH i2c: F0 09 00 72 11 00 77 31 14 67 C5 A4 76 66 E3 [22:23:47]GetLastDocTimeStamp 1729376616 [22:23:47]current date 1729376631 [22:23:47]FM_GetShiftState [22:23:47]SAM_PROTO_GetShiftState [22:23:47]wFMCommunicate request_size=4 [22:23:47]MH_SAM_APDU [22:23:47]CAPDU: 80 13 01 00 [22:23:47]Write to MH i2c: E2 08 00 73 11 80 13 01 00 00 00 00 00 01 [22:23:47]Write i2c OK [22:23:47]MH_I2C_Read... [22:23:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:47]Read from MH i2c: E2 [22:23:47]MH_I2C_Read... [22:23:47]Read from MH i2c: E2 0E 00 [22:23:47]MH_I2C_Read... [22:23:47]Read from MH i2c: E2 0E 00 73 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 1B [22:23:47]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:23:47]wFMCommunicate OK [22:23:47]SAM_PROTO_GetShiftState done [22:23:47]FM_GetShiftState done [22:23:47]opened in 1729296796 [22:23:47]opened+sec_in_day 1729383196 [22:23:47]quantity*price = 12000 [22:23:47]sum+1 = 12001 [22:23:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 83 19.10.2024 22:23 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37147 ФПД: 40874298149994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T222351&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37147&fm=40874298149994&tin=02508201610067®Number=0000000000098149&sum=12000 0 [22:23:48]StoreToDocumentArchive [22:23:48]shift 460 fd 37147 [22:23:48]save to /storage/0460/doc_00037147 [22:23:48]save last doc name /storage/0460/doc_00037147 to /storage/kkm_last_doc_name [22:23:48]save OK [22:23:48]Clear old archive folders... [22:23:48]ProcessDocumentItem done err = 0, tmpTLVsize=308 [22:23:48]tlvbuf is B6E831F0 [22:23:48]SAM_PROTO_ClearQueue [22:23:48]wFMCommunicate request_size=4 [22:23:48]MH_SAM_APDU [22:23:48]CAPDU: 80 09 00 00 [22:23:48]Write to MH i2c: E2 08 00 80 11 80 09 00 00 00 00 00 00 03 [22:23:48]Write i2c OK [22:23:48]MH_I2C_Read... [22:23:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:48]Read from MH i2c: E2 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 80 11 00 90 00 05 [22:23:48]RAPDU: 90 00 [22:23:48]wFMCommunicate OK [22:23:48]SAM_PROTO_ClearQueue done [22:23:48]KKMCreateOFDPacket [22:23:48]OFDProtocolAddRootSTLVToBuf [22:23:48]FM_MakeSignedData [22:23:48]FM_MakeSignedData [22:23:48]SAM_PROTO_SignData [22:23:48]wFMCommunicate request_size=4 [22:23:48]MH_SAM_APDU [22:23:48]CAPDU: 80 0D 01 02 [22:23:48]Write to MH i2c: E2 08 00 81 11 80 0D 01 02 00 00 00 00 0B [22:23:48]Write i2c OK [22:23:48]MH_I2C_Read... [22:23:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:48]Read from MH i2c: E2 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 81 11 00 90 00 06 [22:23:48]RAPDU: 90 00 [22:23:48]wFMCommunicate OK [22:23:48]wFMCommunicate request_size=255 [22:23:48]MH_SAM_APDU [22:23:48]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 77 31 14 67 0E 04 04 00 CC 01 00 00 B9 [22:23:48]Write to MH i2c: E2 02 01 82 11 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 77 31 14 67 0E 04 04 00 CC 01 00 00 B9 00 00 7E [22:23:48]Write i2c OK [22:23:48]MH_I2C_Read... [22:23:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:48]Read from MH i2c: E2 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 [22:23:48]MH_I2C_Read... [22:23:48]Read from MH i2c: E2 03 00 82 11 00 90 00 07 [22:23:48]RAPDU: 90 00 [22:23:48]wFMCommunicate OK [22:23:48]wFMCommunicate request_size=67 [22:23:48]MH_SAM_APDU [22:23:48]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1B 91 00 00 35 04 06 00 25 2C CA 05 8C 6A [22:23:49]Write to MH i2c: E2 46 00 83 11 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1B 91 00 00 35 04 06 00 25 2C CA 05 8C 6A 00 00 2E [22:23:49]Write i2c OK [22:23:49]MH_I2C_Read... [22:23:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:49]Read from MH i2c: E2 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 03 00 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 03 00 83 11 00 90 00 08 [22:23:49]RAPDU: 90 00 [22:23:49]wFMCommunicate OK [22:23:49]wFMCommunicate request_size=4 [22:23:49]MH_SAM_APDU [22:23:49]CAPDU: 80 0D 03 02 [22:23:49]Write to MH i2c: E2 08 00 84 11 80 0D 03 02 00 00 00 00 10 [22:23:49]Write i2c OK [22:23:49]MH_I2C_Read... [22:23:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:49]Read from MH i2c: E2 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 0B 00 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 0B 00 84 11 00 B9 61 C9 6F B9 D0 4A 0E 90 00 44 [22:23:49]RAPDU: B9 61 C9 6F B9 D0 4A 0E 90 00 [22:23:49]wFMCommunicate OK [22:23:49]SAM_PROTO_SignData done [22:23:49]FM_MakeSignedData done [22:23:49]CreateOFDProtocolMessage [22:23:49]wFMCommunicate request_size=4 [22:23:49]MH_SAM_APDU [22:23:49]CAPDU: 80 11 00 00 [22:23:49]Write to MH i2c: E2 08 00 85 11 80 11 00 00 00 00 00 00 10 [22:23:49]Write i2c OK [22:23:49]MH_I2C_Read... [22:23:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:49]Read from MH i2c: E2 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 17 00 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: E2 17 00 85 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 63 [22:23:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:23:49]wFMCommunicate OK [22:23:49]CreateOFDProtocolMessage done [22:23:49]OFDSenderStorePacket 37147 [22:23:49]StoreOFDPacket docnum=37147 [22:23:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 48 01 00 00 5E 1A 40 01 92 FC 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 77 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1B 91 00 00 35 04 06 00 25 2C CA 05 8C 6A B9 61 C9 6F B9 D0 4A 0E [22:23:49]CheckFolder [22:23:49]dirname=/storage/ofd_packets [22:23:49]CheckFolder done [22:23:49]ProducePacketName [22:23:49]name=ofd_packets/00037147 [22:23:49]NVStorageSaveData ofd_packets/00037147 [22:23:49]File name is /storage/ofd_packets/00037147 [22:23:49]Write 358 bytes [22:23:49]NVStorageSaveData done [22:23:49]OFDSenderStorePacket done [22:23:49]KKMCreateOFDPacket done [22:23:49]NVStorageSaveData kkm_last_timestamp [22:23:49]File name is /storage/kkm_last_timestamp [22:23:49]Write 4 bytes [22:23:49]NVStorageSaveData done [22:23:49]ExternCall_PrintAddStr [22:23:49]wPrintStart [22:23:49]Write to MH i2c: 01 00 00 86 11 97 [22:23:49]Write i2c OK [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: 01 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: 01 07 00 [22:23:49]MH_I2C_Read... [22:23:49]Read from MH i2c: 01 07 00 86 11 00 00 00 00 00 FF 0F AC [22:23:49]RasterBufferAndPrint [22:23:49]line Счет N : (3)76633 [22:23:49]line ИНН: 02508201610067 [22:23:49]line Контрольно-Кассовый Чек [22:23:49]line ПРОДАЖА [22:23:49]line Товар: 5449000027474 [22:23:49]line Напиток FuzeTea зел чай манго,ромашка 1л [22:23:49]line 1.000 * 120.00 [22:23:49]line = 120.00 [22:23:49]line НДС 12% НСП 1% [22:23:49]line > о реализуемом товаре [22:23:49]line ИТОГО: 120.00 [22:23:49]line НСП 1% : 1.06 [22:23:49]line НДС 12% : 12.74 [22:23:49]line Наличными: 120.00 [22:23:49]line Безнал.: 0.00 [22:23:49]line Место: АЗС № 165 "Партнер Нефть" [22:23:49]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:23:49]line СНО: Общий режим [22:23:49]line Чек 83 19.10.2024 22:23 [22:23:49]line Смена: 460 ФФД: 1.0 [22:23:49]line ЗНМ: 0300000235 [22:23:49]line РНМ: 0000000000098149 [22:23:49]line Версия ККМ: 001 [22:23:49]line ФМ: 0000000000965372 [22:23:49]line ФД: 37147 [22:23:49]line ФПД: 40874298149994 [22:23:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T222351&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37147&fm=40874298149994&tin=02508201610067®Number=0000000000098149&sum=12000 [22:23:49]OFD Sender: Processing packet 37147 [packets to send 25, broken 24] [22:23:49]ProducePacketName [22:23:49]name=ofd_packets/00037147 [22:23:49]OFD Sender: To server: pG, [22:23:49]CommunicateWithHost lk.salyk.kg:30040 [22:23:49]ConnectInit lk.salyk.kg [22:23:49]line 0 [22:23:49]written 0, free lines is 4095 [22:23:49]Connected sock=10 [22:23:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 48 01 00 00 5E 1A 40 01 92 FC 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 77 31 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1B 91 00 00 35 04 06 00 25 2C CA 05 8C 6A B9 61 C9 6F B9 D0 4A 0E [22:23:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 B2 0C 47 00 1A B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 1B 91 00 00 F4 03 04 00 0B DA 13 67 B6 04 01 00 00 6C E5 A2 81 84 36 E7 42 [22:23:49]CommunicateWithHost err = 0 [22:23:49]CheckOFDResponse [22:23:49]1017 (14) - 77093643461234 [22:23:49]1041 (16) - 0000000000965372 [22:23:49]1040 (4) - 37147 [22:23:49]1012 (4) - 19.10.2024 16:10 [22:23:49]1206 (1) - 0 [22:23:49]OFD Sender: Remove packet 37147 [22:23:49]ProducePacketName [22:23:49]name=ofd_packets/00037147 [22:23:49]NVStorageDeleteData [22:23:50]Write to MH i2c: 01 00 00 AF 11 C0 [22:23:50]Write i2c OK [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: 01 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: 01 07 00 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: 01 07 00 AF 11 00 00 00 00 00 01 0D D5 [22:23:50]RasterBufferAndPrint [22:23:50]line [22:23:50]line [22:23:50]line [22:23:50]line [22:23:50]line [22:23:50]written 0, free lines is 3336 [22:23:50]process_action close_receipt done [22:23:50]requested_data is exist [22:23:50]produce_requested_data [22:23:50]requested_item fm.sn is exist - process it [22:23:50]wFMCommunicate request_size=4 [22:23:50]MH_SAM_APDU [22:23:50]CAPDU: 80 11 00 00 [22:23:50]Write to MH i2c: E2 08 00 B6 11 80 11 00 00 00 00 00 00 41 [22:23:50]Write i2c OK [22:23:50]MH_I2C_Read... [22:23:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:50]Read from MH i2c: E2 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 17 00 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 17 00 B6 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 94 [22:23:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:23:50]wFMCommunicate OK [22:23:50]requested_item fd.num is exist - process it [22:23:50]SAM_PROTO_GetFieldsCounters [22:23:50]wFMCommunicate request_size=4 [22:23:50]MH_SAM_APDU [22:23:50]CAPDU: 80 13 00 00 [22:23:50]Write to MH i2c: E2 08 00 B7 11 80 13 00 00 00 00 00 00 44 [22:23:50]Write i2c OK [22:23:50]MH_I2C_Read... [22:23:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:50]Read from MH i2c: E2 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 62 00 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 62 00 B7 11 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1B 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [22:23:50]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1B 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:23:50]wFMCommunicate OK [22:23:50]SAM_PROTO_GetFieldsCounters done [22:23:50]requested_item shift.num is exist - process it [22:23:50]requested_item shift.opened is exist - process it [22:23:50]req_shift_opened [22:23:50]FM_GetShiftState [22:23:50]SAM_PROTO_GetShiftState [22:23:50]wFMCommunicate request_size=4 [22:23:50]MH_SAM_APDU [22:23:50]CAPDU: 80 13 01 00 [22:23:50]Write to MH i2c: E2 08 00 B8 11 80 13 01 00 00 00 00 00 46 [22:23:50]Write i2c OK [22:23:50]MH_I2C_Read... [22:23:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:50]Read from MH i2c: E2 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 0E 00 [22:23:50]MH_I2C_Read... [22:23:50]Read from MH i2c: E2 0E 00 B8 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 60 [22:23:50]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:23:50]wFMCommunicate OK [22:23:50]SAM_PROTO_GetShiftState done [22:23:50]FM_GetShiftState done [22:23:50]req_shift_opened done [22:23:50]requested_item shift.open_date is exist - process it [22:23:50]req_shift_open_date [22:23:50]req_shift_open_date done [22:23:50]produce_requested_data done [22:23:50]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37147,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:23:50]process_action_free close_receipt [22:23:50]json_value_free [22:23:50]json_value_free done [22:23:50]process_json_proto returns [22:23:50]Send response to host [22:23:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37147,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:23:50]free response buf [22:23:50]execute_script done [22:23:50]execute_script returns [22:23:50]free content buf [22:23:50]Sock 7.Close socket [22:23:50]Sock 7.Thread stoped [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:10]OFD Sender: No OFD packet to send [22:25:15]OFD Sender: No OFD packet to send [22:25:20]OFD Sender: No OFD packet to send [22:25:25]OFD Sender: No OFD packet to send [22:25:30]OFD Sender: No OFD packet to send [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:46]accept exits with 9 [22:33:46]New connection [22:33:46]New thread 3066555748 created [22:33:46]Thread 3066699108 joined [22:33:46]Waiting for new connection... [22:33:46] Sock 9.Parse request [22:33:46]Sock 9.Check first char [22:33:46]Sock 9.First char is OK [22:33:46]request: POST /json_proto HTTP/1.0 [22:33:46]Method: POST [22:33:46]URL: /json_proto [22:33:46]Method is POST - this is cgi request [22:33:46]url: /json_proto [22:33:46]query_string will be loaded in cgi processing [22:33:46]execute_cgi json_proto POST (null) [22:33:46]execute_cgi path=json_proto method=POST [22:33:46]POST find Content-Length [22:33:46]Host: 172.17.53.68:8080 [22:33:46]Content-Length: 622 [22:33:46]Content-Type: application/json [22:33:46] [22:33:46]POST finish read [22:33:46]Found Content-Length = 622 [22:33:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76634", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:33:46]execute_script... [22:33:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76634", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:33:46]POST & json_proto [22:33:46]process_json_proto [22:33:46]json parsed OK: [22:33:46]protocol is kg_v1.0 [22:33:46]action value=close_receipt [22:33:46]process_action close_receipt [22:33:46]cmd_close_receipt [22:33:46]MH_GetDate [22:33:46]Write to MH i2c: F0 00 00 B9 11 B9 [22:33:46]Write i2c OK [22:33:46]MH_I2C_Read... [22:33:46]Read from MH i2c: F0 [22:33:46]MH_I2C_Read... [22:33:46]Read from MH i2c: F0 09 00 [22:33:46]MH_I2C_Read... [22:33:46]Read from MH i2c: F0 09 00 B9 11 00 CE 33 14 67 C5 A4 76 66 83 [22:33:46]GetLastDocTimeStamp 1729376631 [22:33:46]current date 1729377230 [22:33:46]FM_GetShiftState [22:33:46]SAM_PROTO_GetShiftState [22:33:46]wFMCommunicate request_size=4 [22:33:46]MH_SAM_APDU [22:33:46]CAPDU: 80 13 01 00 [22:33:46]Write to MH i2c: E2 08 00 BA 11 80 13 01 00 00 00 00 00 48 [22:33:46]Write i2c OK [22:33:46]MH_I2C_Read... [22:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:46]Read from MH i2c: E2 [22:33:46]MH_I2C_Read... [22:33:46]Read from MH i2c: E2 0E 00 [22:33:46]MH_I2C_Read... [22:33:46]Read from MH i2c: E2 0E 00 BA 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 62 [22:33:46]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:33:46]wFMCommunicate OK [22:33:46]SAM_PROTO_GetShiftState done [22:33:46]FM_GetShiftState done [22:33:46]opened in 1729296796 [22:33:46]opened+sec_in_day 1729383196 [22:33:46]quantity*price = 14400 [22:33:46]sum+1 = 14401 [22:33:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 84 19.10.2024 22:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37148 ФПД: 236561577604642 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223350&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37148&fm=236561577604642&tin=02508201610067®Number=0000000000098149&sum=14400 0 [22:33:47]StoreToDocumentArchive [22:33:47]shift 460 fd 37148 [22:33:47]save to /storage/0460/doc_00037148 [22:33:47]save last doc name /storage/0460/doc_00037148 to /storage/kkm_last_doc_name [22:33:47]save OK [22:33:47]Clear old archive folders... [22:33:47]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:33:47]tlvbuf is 0098BA50 [22:33:47]SAM_PROTO_ClearQueue [22:33:47]wFMCommunicate request_size=4 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 09 00 00 [22:33:47]Write to MH i2c: E2 08 00 C7 11 80 09 00 00 00 00 00 00 4A [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 C7 11 00 90 00 4C [22:33:47]RAPDU: 90 00 [22:33:47]wFMCommunicate OK [22:33:47]SAM_PROTO_ClearQueue done [22:33:47]KKMCreateOFDPacket [22:33:47]OFDProtocolAddRootSTLVToBuf [22:33:47]FM_MakeSignedData [22:33:47]FM_MakeSignedData [22:33:47]SAM_PROTO_SignData [22:33:47]wFMCommunicate request_size=4 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 0D 01 02 [22:33:47]Write to MH i2c: E2 08 00 C8 11 80 0D 01 02 00 00 00 00 52 [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 C8 11 00 90 00 4D [22:33:47]RAPDU: 90 00 [22:33:47]wFMCommunicate OK [22:33:47]wFMCommunicate request_size=255 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CE 33 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 [22:33:47]Write to MH i2c: E2 02 01 C9 11 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CE 33 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 00 00 FA [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 C9 11 00 90 00 4E [22:33:47]RAPDU: 90 00 [22:33:47]wFMCommunicate OK [22:33:47]wFMCommunicate request_size=34 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1C 91 00 00 35 04 06 00 D7 26 C8 CC F6 22 [22:33:47]Write to MH i2c: E2 25 00 CA 11 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1C 91 00 00 35 04 06 00 D7 26 C8 CC F6 22 00 00 6C [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 03 00 CA 11 00 90 00 4F [22:33:47]RAPDU: 90 00 [22:33:47]wFMCommunicate OK [22:33:47]wFMCommunicate request_size=4 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 0D 03 02 [22:33:47]Write to MH i2c: E2 08 00 CB 11 80 0D 03 02 00 00 00 00 57 [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 0B 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 0B 00 CB 11 00 14 88 66 90 1C 61 87 9B 90 00 89 [22:33:47]RAPDU: 14 88 66 90 1C 61 87 9B 90 00 [22:33:47]wFMCommunicate OK [22:33:47]SAM_PROTO_SignData done [22:33:47]FM_MakeSignedData done [22:33:47]CreateOFDProtocolMessage [22:33:47]wFMCommunicate request_size=4 [22:33:47]MH_SAM_APDU [22:33:47]CAPDU: 80 11 00 00 [22:33:47]Write to MH i2c: E2 08 00 CC 11 80 11 00 00 00 00 00 00 57 [22:33:47]Write i2c OK [22:33:47]MH_I2C_Read... [22:33:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:47]Read from MH i2c: E2 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 17 00 [22:33:47]MH_I2C_Read... [22:33:47]Read from MH i2c: E2 17 00 CC 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 AA [22:33:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:33:47]wFMCommunicate OK [22:33:47]CreateOFDProtocolMessage done [22:33:47]OFDSenderStorePacket 37148 [22:33:47]StoreOFDPacket docnum=37148 [22:33:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 66 4B 1F 01 D0 36 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CE 33 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1C 91 00 00 35 04 06 00 D7 26 C8 CC F6 22 14 88 66 90 1C 61 87 9B [22:33:47]CheckFolder [22:33:47]dirname=/storage/ofd_packets [22:33:47]CheckFolder done [22:33:47]ProducePacketName [22:33:47]name=ofd_packets/00037148 [22:33:47]NVStorageSaveData ofd_packets/00037148 [22:33:47]File name is /storage/ofd_packets/00037148 [22:33:47]Write 325 bytes [22:33:47]NVStorageSaveData done [22:33:47]OFDSenderStorePacket done [22:33:47]KKMCreateOFDPacket done [22:33:47]NVStorageSaveData kkm_last_timestamp [22:33:47]File name is /storage/kkm_last_timestamp [22:33:47]Write 4 bytes [22:33:47]NVStorageSaveData done [22:33:47]ExternCall_PrintAddStr [22:33:47]wPrintStart [22:33:47]Write to MH i2c: 01 00 00 CD 11 DE [22:33:47]Write i2c OK [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 07 00 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 07 00 CD 11 00 00 00 00 00 FF 0F F3 [22:33:48]RasterBufferAndPrint [22:33:48]line Счет N : (3)76634 [22:33:48]line ИНН: 02508201610067 [22:33:48]line Контрольно-Кассовый Чек [22:33:48]line ПРОДАЖА [22:33:48]line Товар: 48743587 [22:33:48]line Сигареты Winston XStyle Silver [22:33:48]line 1.000 * 144.00 [22:33:48]line = 144.00 [22:33:48]line НДС 12% НСП 1% [22:33:48]line > о реализуемом товаре [22:33:48]line ИТОГО: 144.00 [22:33:48]line НСП 1% : 1.27 [22:33:48]line НДС 12% : 15.29 [22:33:48]line Наличными: 144.00 [22:33:48]line Безнал.: 0.00 [22:33:48]line Место: АЗС № 165 "Партнер Нефть" [22:33:48]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:33:48]line СНО: Общий режим [22:33:48]line Чек 84 19.10.2024 22:33 [22:33:48]line Смена: 460 ФФД: 1.0 [22:33:48]line ЗНМ: 0300000235 [22:33:48]line РНМ: 0000000000098149 [22:33:48]line Версия ККМ: 001 [22:33:48]line ФМ: 0000000000965372 [22:33:48]line ФД: 37148 [22:33:48]line ФПД: 236561577604642 [22:33:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223350&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37148&fm=236561577604642&tin=02508201610067®Number=0000000000098149&sum=14400 [22:33:48]line 0 [22:33:48]OFD Sender: Processing packet 37148 [packets to send 25, broken 24] [22:33:48]ProducePacketName [22:33:48]name=ofd_packets/00037148 [22:33:48]OFD Sender: To server: pG, [22:33:48]CommunicateWithHost lk.salyk.kg:30040 [22:33:48]ConnectInit lk.salyk.kg [22:33:48]written 0, free lines is 4095 [22:33:48]Connected sock=10 [22:33:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 27 01 00 00 66 4B 1F 01 D0 36 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CE 33 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1C 91 00 00 35 04 06 00 D7 26 C8 CC F6 22 14 88 66 90 1C 61 87 9B [22:33:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0F 47 47 00 8C 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 1C 91 00 00 F4 03 04 00 62 DC 13 67 B6 04 01 00 00 6A DE FE 66 2F FA 85 65 [22:33:48]CommunicateWithHost err = 0 [22:33:48]CheckOFDResponse [22:33:48]1017 (14) - 77093643461234 [22:33:48]1041 (16) - 0000000000965372 [22:33:48]1040 (4) - 37148 [22:33:48]1012 (4) - 19.10.2024 16:20 [22:33:48]1206 (1) - 0 [22:33:48]OFD Sender: Remove packet 37148 [22:33:48]ProducePacketName [22:33:48]name=ofd_packets/00037148 [22:33:48]NVStorageDeleteData [22:33:48]Write to MH i2c: 01 00 00 F6 11 07 [22:33:48]Write i2c OK [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 07 00 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: 01 07 00 F6 11 00 00 00 00 00 FD 0C 17 [22:33:48]RasterBufferAndPrint [22:33:48]line [22:33:48]line [22:33:48]line [22:33:48]line [22:33:48]line [22:33:48]written 0, free lines is 3331 [22:33:48]process_action close_receipt done [22:33:48]requested_data is exist [22:33:48]produce_requested_data [22:33:48]requested_item fm.sn is exist - process it [22:33:48]wFMCommunicate request_size=4 [22:33:48]MH_SAM_APDU [22:33:48]CAPDU: 80 11 00 00 [22:33:48]Write to MH i2c: E2 08 00 FD 11 80 11 00 00 00 00 00 00 88 [22:33:48]Write i2c OK [22:33:48]MH_I2C_Read... [22:33:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:33:48]Read from MH i2c: E2 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: E2 17 00 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: E2 17 00 FD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 DB [22:33:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:33:48]wFMCommunicate OK [22:33:48]requested_item fd.num is exist - process it [22:33:48]SAM_PROTO_GetFieldsCounters [22:33:48]wFMCommunicate request_size=4 [22:33:48]MH_SAM_APDU [22:33:48]CAPDU: 80 13 00 00 [22:33:48]Write to MH i2c: E2 08 00 FE 11 80 13 00 00 00 00 00 00 8B [22:33:48]Write i2c OK [22:33:48]MH_I2C_Read... [22:33:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:33:48]Read from MH i2c: E2 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: E2 62 00 [22:33:48]MH_I2C_Read... [22:33:48]Read from MH i2c: E2 62 00 FE 11 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1C 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [22:33:48]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1C 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:33:48]wFMCommunicate OK [22:33:48]SAM_PROTO_GetFieldsCounters done [22:33:48]requested_item shift.num is exist - process it [22:33:48]requested_item shift.opened is exist - process it [22:33:48]req_shift_opened [22:33:48]FM_GetShiftState [22:33:48]SAM_PROTO_GetShiftState [22:33:48]wFMCommunicate request_size=4 [22:33:48]MH_SAM_APDU [22:33:48]CAPDU: 80 13 01 00 [22:33:48]Write to MH i2c: E2 08 00 FF 11 80 13 01 00 00 00 00 00 8D [22:33:48]Write i2c OK [22:33:48]MH_I2C_Read... [22:33:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:33:49]Read from MH i2c: E2 [22:33:49]MH_I2C_Read... [22:33:49]Read from MH i2c: E2 0E 00 [22:33:49]MH_I2C_Read... [22:33:49]Read from MH i2c: E2 0E 00 FF 11 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 A7 [22:33:49]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:33:49]wFMCommunicate OK [22:33:49]SAM_PROTO_GetShiftState done [22:33:49]FM_GetShiftState done [22:33:49]req_shift_opened done [22:33:49]requested_item shift.open_date is exist - process it [22:33:49]req_shift_open_date [22:33:49]req_shift_open_date done [22:33:49]produce_requested_data done [22:33:49]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37148,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:33:49]process_action_free close_receipt [22:33:49]json_value_free [22:33:49]json_value_free done [22:33:49]process_json_proto returns [22:33:49]Send response to host [22:33:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37148,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:33:49]free response buf [22:33:49]execute_script done [22:33:49]execute_script returns [22:33:49]free content buf [22:33:49]Sock 9.Close socket [22:33:49]Sock 9.Thread stoped [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:48]accept exits with 7 [22:38:48]New connection [22:38:48]New thread 3066699108 created [22:38:48]Thread 3066555748 joined [22:38:48]Waiting for new connection... [22:38:48] Sock 7.Parse request [22:38:48]Sock 7.Check first char [22:38:48]Sock 7.First char is OK [22:38:48]request: POST /json_proto HTTP/1.0 [22:38:48]Method: POST [22:38:48]URL: /json_proto [22:38:48]Method is POST - this is cgi request [22:38:48]url: /json_proto [22:38:48]query_string will be loaded in cgi processing [22:38:48]execute_cgi json_proto POST (null) [22:38:48]execute_cgi path=json_proto method=POST [22:38:48]POST find Content-Length [22:38:48]Host: 172.17.53.68:8080 [22:38:48]Content-Length: 1226 [22:38:48]Content-Type: application/json [22:38:48] [22:38:48]POST finish read [22:38:48]Found Content-Length = 1226 [22:38:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76635", "tax_sys" : 0, "items" : [ { "code": "4607018771791", "name": "\u041C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u043E\u0434\u0430 \u0415\u0441\u0441\u0435\u043D\u0442\u0443\u043A\u0438 17 0,45\u043B \u0441\u0442", "price" : 105.00, "quantity" : 2.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:48]execute_script... [22:38: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)76635", "tax_sys" : 0, "items" : [ { "code": "4607018771791", "name": "\u041C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u043E\u0434\u0430 \u0415\u0441\u0441\u0435\u043D\u0442\u0443\u043A\u0438 17 0,45\u043B \u0441\u0442", "price" : 105.00, "quantity" : 2.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "payments": [ { "type": 0, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:48]POST & json_proto [22:38:48]process_json_proto [22:38:48]json parsed OK: [22:38:48]protocol is kg_v1.0 [22:38:48]action value=close_receipt [22:38:48]process_action close_receipt [22:38:48]cmd_close_receipt [22:38:48]MH_GetDate [22:38:48]Write to MH i2c: F0 00 00 00 12 01 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 09 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: F0 09 00 00 12 00 FC 34 14 67 C5 A4 76 66 FA [22:38:48]GetLastDocTimeStamp 1729377230 [22:38:48]current date 1729377532 [22:38:48]FM_GetShiftState [22:38:48]SAM_PROTO_GetShiftState [22:38:48]wFMCommunicate request_size=4 [22:38:48]MH_SAM_APDU [22:38:48]CAPDU: 80 13 01 00 [22:38:48]Write to MH i2c: E2 08 00 01 12 80 13 01 00 00 00 00 00 90 [22:38:48]Write i2c OK [22:38:48]MH_I2C_Read... [22:38:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:48]Read from MH i2c: E2 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 [22:38:48]MH_I2C_Read... [22:38:48]Read from MH i2c: E2 0E 00 01 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 AA [22:38:48]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:38:48]wFMCommunicate OK [22:38:48]SAM_PROTO_GetShiftState done [22:38:48]FM_GetShiftState done [22:38:48]opened in 1729296796 [22:38:48]opened+sec_in_day 1729383196 [22:38:48]quantity*price = 21000 [22:38:48]sum+1 = 21001 [22:38:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 85 19.10.2024 22:38 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37149 ФПД: 253104906656917 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223852&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37149&fm=253104906656917&tin=02508201610067®Number=0000000000098149&sum=30000 0 [22:38:49]StoreToDocumentArchive [22:38:49]shift 460 fd 37149 [22:38:49]save to /storage/0460/doc_00037149 [22:38:49]save last doc name /storage/0460/doc_00037149 to /storage/kkm_last_doc_name [22:38:49]save OK [22:38:49]Clear old archive folders... [22:38:49]ProcessDocumentItem done err = 0, tmpTLVsize=507 [22:38:49]tlvbuf is 00999640 [22:38:49]SAM_PROTO_ClearQueue [22:38:49]wFMCommunicate request_size=4 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 09 00 00 [22:38:49]Write to MH i2c: E2 08 00 0E 12 80 09 00 00 00 00 00 00 92 [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:49]Read from MH i2c: E2 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 0E 12 00 90 00 94 [22:38:49]RAPDU: 90 00 [22:38:49]wFMCommunicate OK [22:38:49]SAM_PROTO_ClearQueue done [22:38:49]KKMCreateOFDPacket [22:38:49]OFDProtocolAddRootSTLVToBuf [22:38:49]FM_MakeSignedData [22:38:49]FM_MakeSignedData [22:38:49]SAM_PROTO_SignData [22:38:49]wFMCommunicate request_size=4 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 0D 01 02 [22:38:49]Write to MH i2c: E2 08 00 0F 12 80 0D 01 02 00 00 00 00 9A [22:38:49]Write i2c OK [22:38:49]MH_I2C_Read... [22:38:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:49]Read from MH i2c: E2 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 [22:38:49]MH_I2C_Read... [22:38:49]Read from MH i2c: E2 03 00 0F 12 00 90 00 95 [22:38:49]RAPDU: 90 00 [22:38:49]wFMCommunicate OK [22:38:49]wFMCommunicate request_size=255 [22:38:49]MH_SAM_APDU [22:38:49]CAPDU: 80 0D 02 02 FA 03 00 FB 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 41 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A [22:38:50]Write to MH i2c: E2 02 01 10 12 80 0D 02 02 FA 00 03 00 FB 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 41 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 00 00 21 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 10 12 00 90 00 96 [22:38:50]RAPDU: 90 00 [22:38:50]wFMCommunicate OK [22:38:50]wFMCommunicate request_size=255 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 0D 02 02 FA 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 FC 34 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1D 91 00 [22:38:50]Write to MH i2c: E2 02 01 11 12 80 0D 02 02 FA 00 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 FC 34 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1D 91 00 00 00 E7 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 11 12 00 90 00 97 [22:38:50]RAPDU: 90 00 [22:38:50]wFMCommunicate OK [22:38:50]wFMCommunicate request_size=16 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 0D 02 02 0B 00 35 04 06 00 E6 32 94 0D 5C 95 [22:38:50]Write to MH i2c: E2 13 00 12 12 80 0D 02 02 0B 00 00 35 04 06 00 E6 32 94 0D 5C 95 00 00 9D [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 03 00 12 12 00 90 00 98 [22:38:50]RAPDU: 90 00 [22:38:50]wFMCommunicate OK [22:38:50]wFMCommunicate request_size=4 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 0D 03 02 [22:38:50]Write to MH i2c: E2 08 00 13 12 80 0D 03 02 00 00 00 00 A0 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 0B 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 0B 00 13 12 00 F6 84 A3 BF C4 21 1A 73 90 00 EF [22:38:50]RAPDU: F6 84 A3 BF C4 21 1A 73 90 00 [22:38:50]wFMCommunicate OK [22:38:50]SAM_PROTO_SignData done [22:38:50]FM_MakeSignedData done [22:38:50]CreateOFDProtocolMessage [22:38:50]wFMCommunicate request_size=4 [22:38:50]MH_SAM_APDU [22:38:50]CAPDU: 80 11 00 00 [22:38:50]Write to MH i2c: E2 08 00 14 12 80 11 00 00 00 00 00 00 A0 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:50]Read from MH i2c: E2 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 17 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: E2 17 00 14 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 F3 [22:38:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:38:50]wFMCommunicate OK [22:38:50]CreateOFDProtocolMessage done [22:38:50]OFDSenderStorePacket 37149 [22:38:50]StoreOFDPacket docnum=37149 [22:38:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0F 02 00 00 55 4E 07 02 D0 24 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 41 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 FC 34 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1D 91 00 00 35 04 06 00 E6 32 94 0D 5C 95 F6 84 A3 BF C4 21 1A 73 [22:38:50]CheckFolder [22:38:50]dirname=/storage/ofd_packets [22:38:50]CheckFolder done [22:38:50]ProducePacketName [22:38:50]name=ofd_packets/00037149 [22:38:50]NVStorageSaveData ofd_packets/00037149 [22:38:50]File name is /storage/ofd_packets/00037149 [22:38:50]Write 557 bytes [22:38:50]NVStorageSaveData done [22:38:50]OFDSenderStorePacket done [22:38:50]KKMCreateOFDPacket done [22:38:50]NVStorageSaveData kkm_last_timestamp [22:38:50]File name is /storage/kkm_last_timestamp [22:38:50]Write 4 bytes [22:38:50]NVStorageSaveData done [22:38:50]ExternCall_PrintAddStr [22:38:50]wPrintStart [22:38:50]Write to MH i2c: 01 00 00 15 12 27 [22:38:50]Write i2c OK [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: 01 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: 01 07 00 [22:38:50]MH_I2C_Read... [22:38:50]Read from MH i2c: 01 07 00 15 12 00 00 00 00 00 FF 0F 3C [22:38:50]RasterBufferAndPrint [22:38:50]line Счет N : (3)76635 [22:38:50]line ИНН: 02508201610067 [22:38:50]line Контрольно-Кассовый Чек [22:38:50]line ПРОДАЖА [22:38:50]line Товар: 4607018771791 [22:38:50]line Минеральная вода Ессентуки 17 0,45л ст [22:38:50]line 2.000 * 105.00 [22:38:50]line = 210.00 [22:38:50]line НДС 12% НСП 1% [22:38:50]line > о реализуемом товаре [22:38:50]line Товар: 4700000160358 [22:38:50]line Вода Легенда 1л [22:38:50]line 1.000 * 50.00 [22:38:50]line = 50.00 [22:38:50]line НДС 12% НСП 1% [22:38:50]line > о реализуемом товаре [22:38:50]line Товар: 4700000160211 [22:38:50]line Вода Легенда 0,5л [22:38:50]line 1.000 * 40.00 [22:38:50]line = 40.00 [22:38:50]line НДС 12% НСП 1% [22:38:50]line > о реализуемом товаре [22:38:50]line ИТОГО: 300.00 [22:38:50]line НСП 1% : 2.65 [22:38:50]line НДС 12% : 31.86 [22:38:50]line Наличными: 300.00 [22:38:50]line Безнал.: 0.00 [22:38:50]line Место: АЗС № 165 "Партнер Нефть" [22:38:50]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:38:50]line СНО: Общий режим [22:38:50]line Чек 85 19.10.2024 22:38 [22:38:50]line Смена: 460 ФФД: 1.0 [22:38:50]line ЗНМ: 0300000235 [22:38:50]line РНМ: 0000000000098149 [22:38:50]line Версия ККМ: 001 [22:38:50]line ФМ: 0000000000965372 [22:38:50]line ФД: 37149 [22:38:50]line ФПД: 253104906656917 [22:38:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T223852&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37149&fm=253104906656917&tin=02508201610067®Number=0000000000098149&sum=30000 [22:38:51]OFD Sender: Processing packet 37149 [packets to send 25, broken 24] [22:38:51]ProducePacketName [22:38:51]name=ofd_packets/00037149 [22:38:51]OFD Sender: To server: pG, [22:38:51]CommunicateWithHost lk.salyk.kg:30040 [22:38:51]ConnectInit lk.salyk.kg [22:38:51]line 0 [22:38:51]written 0, free lines is 4095 [22:38:51]Connected sock=10 [22:38: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 33 37 32 0F 02 00 00 55 4E 07 02 D0 24 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 36 30 37 30 31 38 37 37 31 37 39 31 06 04 41 00 D0 9C D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B2 D0 BE D0 B4 D0 B0 20 D0 95 D1 81 D1 81 D0 B5 D0 BD D1 82 D1 83 D0 BA D0 B8 20 31 37 20 30 2C 34 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 FC 34 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1D 91 00 00 35 04 06 00 E6 32 94 0D 5C 95 F6 84 A3 BF C4 21 1A 73 [22:38:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 E7 05 47 00 54 C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1D 91 00 00 F4 03 04 00 91 DD 13 67 B6 04 01 00 00 45 74 A9 77 B0 A0 31 EE [22:38:51]CommunicateWithHost err = 0 [22:38:51]CheckOFDResponse [22:38:51]1017 (14) - 77093643461234 [22:38:51]1041 (16) - 0000000000965372 [22:38:51]1040 (4) - 37149 [22:38:51]1012 (4) - 19.10.2024 16:25 [22:38:51]1206 (1) - 0 [22:38:51]OFD Sender: Remove packet 37149 [22:38:51]ProducePacketName [22:38:51]name=ofd_packets/00037149 [22:38:51]NVStorageDeleteData [22:38:51]Write to MH i2c: 01 00 00 4A 12 5C [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 07 00 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: 01 07 00 4A 12 00 00 00 00 00 21 0C 90 [22:38:51]RasterBufferAndPrint [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]line [22:38:51]written 0, free lines is 3112 [22:38:51]process_action close_receipt done [22:38:51]requested_data is exist [22:38:51]produce_requested_data [22:38:51]requested_item fm.sn is exist - process it [22:38:51]wFMCommunicate request_size=4 [22:38:51]MH_SAM_APDU [22:38:51]CAPDU: 80 11 00 00 [22:38:51]Write to MH i2c: E2 08 00 51 12 80 11 00 00 00 00 00 00 DD [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: E2 [22:38:51]MH_I2C_Read... [22:38:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:51]Read from MH i2c: E2 17 00 [22:38:51]MH_I2C_Read... [22:38:51]Read from MH i2c: E2 17 00 51 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 30 [22:38:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:38:51]wFMCommunicate OK [22:38:51]requested_item fd.num is exist - process it [22:38:51]SAM_PROTO_GetFieldsCounters [22:38:51]wFMCommunicate request_size=4 [22:38:51]MH_SAM_APDU [22:38:51]CAPDU: 80 13 00 00 [22:38:51]Write to MH i2c: E2 08 00 52 12 80 13 00 00 00 00 00 00 E0 [22:38:51]Write i2c OK [22:38:51]MH_I2C_Read... [22:38:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:52]Read from MH i2c: E2 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 62 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 62 00 52 12 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1D 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 81 [22:38: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1D 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:38:52]wFMCommunicate OK [22:38:52]SAM_PROTO_GetFieldsCounters done [22:38:52]requested_item shift.num is exist - process it [22:38:52]requested_item shift.opened is exist - process it [22:38:52]req_shift_opened [22:38:52]FM_GetShiftState [22:38:52]SAM_PROTO_GetShiftState [22:38:52]wFMCommunicate request_size=4 [22:38:52]MH_SAM_APDU [22:38:52]CAPDU: 80 13 01 00 [22:38:52]Write to MH i2c: E2 08 00 53 12 80 13 01 00 00 00 00 00 E2 [22:38:52]Write i2c OK [22:38:52]MH_I2C_Read... [22:38:52]OFD Sender: No OFD packet to send [22:38:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:52]Read from MH i2c: E2 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 0E 00 [22:38:52]MH_I2C_Read... [22:38:52]Read from MH i2c: E2 0E 00 53 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FC [22:38:52]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:38:52]wFMCommunicate OK [22:38:52]SAM_PROTO_GetShiftState done [22:38:52]FM_GetShiftState done [22:38:52]req_shift_opened done [22:38:52]requested_item shift.open_date is exist - process it [22:38:52]req_shift_open_date [22:38:52]req_shift_open_date done [22:38:52]produce_requested_data done [22:38:52]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37149,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:38:52]process_action_free close_receipt [22:38:52]json_value_free [22:38:52]json_value_free done [22:38:52]process_json_proto returns [22:38:52]Send response to host [22:38:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37149,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:38:52]free response buf [22:38:52]execute_script done [22:38:52]execute_script returns [22:38:52]free content buf [22:38:52]Sock 7.Close socket [22:38:52]Sock 7.Thread stoped [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:30]accept exits with 9 [22:46:30]New connection [22:46:30]New thread 3066555748 created [22:46:30]Thread 3066699108 joined [22:46:30]Waiting for new connection... [22:46:30] Sock 9.Parse request [22:46:30]Sock 9.Check first char [22:46:30]Sock 9.First char is OK [22:46:30]request: POST /json_proto HTTP/1.0 [22:46:30]Method: POST [22:46:30]URL: /json_proto [22:46:30]Method is POST - this is cgi request [22:46:30]url: /json_proto [22:46:30]query_string will be loaded in cgi processing [22:46:30]execute_cgi json_proto POST (null) [22:46:30]execute_cgi path=json_proto method=POST [22:46:30]POST find Content-Length [22:46:30]Host: 172.17.53.68:8080 [22:46:30]Content-Length: 687 [22:46:30]Content-Type: application/json [22:46:30] [22:46:30]POST finish read [22:46:30]Found Content-Length = 687 [22:46:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76636", "tax_sys" : 0, "items" : [ { "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:30]execute_script... [22:46: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)76636", "tax_sys" : 0, "items" : [ { "code": "4870209744564", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u0428\u0430\u0448\u043B\u044B\u043A 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:30]POST & json_proto [22:46:30]process_json_proto [22:46:30]json parsed OK: [22:46:30]protocol is kg_v1.0 [22:46:30]action value=close_receipt [22:46:30]process_action close_receipt [22:46:30]cmd_close_receipt [22:46:30]MH_GetDate [22:46:30]Write to MH i2c: F0 00 00 54 12 55 [22:46:30]Write i2c OK [22:46:30]MH_I2C_Read... [22:46:30]Read from MH i2c: F0 [22:46:30]MH_I2C_Read... [22:46:30]Read from MH i2c: F0 09 00 [22:46:30]MH_I2C_Read... [22:46:30]Read from MH i2c: F0 09 00 54 12 00 CA 36 14 67 C5 A4 76 66 1E [22:46:30]GetLastDocTimeStamp 1729377532 [22:46:30]current date 1729377994 [22:46:30]FM_GetShiftState [22:46:30]SAM_PROTO_GetShiftState [22:46:30]wFMCommunicate request_size=4 [22:46:30]MH_SAM_APDU [22:46:30]CAPDU: 80 13 01 00 [22:46:30]Write to MH i2c: E2 08 00 55 12 80 13 01 00 00 00 00 00 E4 [22:46:30]Write i2c OK [22:46:30]MH_I2C_Read... [22:46:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:30]Read from MH i2c: E2 [22:46:30]MH_I2C_Read... [22:46:30]Read from MH i2c: E2 0E 00 [22:46:30]MH_I2C_Read... [22:46:30]Read from MH i2c: E2 0E 00 55 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 FE [22:46:30]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:46:30]wFMCommunicate OK [22:46:30]SAM_PROTO_GetShiftState done [22:46:30]FM_GetShiftState done [22:46:30]opened in 1729296796 [22:46:30]opened+sec_in_day 1729383196 [22:46:30]quantity*price = 6000 [22:46:30]sum+1 = 6001 [22:46:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 86 19.10.2024 22:46 Смена: 460 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37150 ФПД: 151829585574937 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T224634&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37150&fm=151829585574937&tin=02508201610067®Number=0000000000098149&sum=6000 0 [22:46:31]StoreToDocumentArchive [22:46:31]shift 460 fd 37150 [22:46:31]save to /storage/0460/doc_00037150 [22:46:31]save last doc name /storage/0460/doc_00037150 to /storage/kkm_last_doc_name [22:46:31]save OK [22:46:31]Clear old archive folders... [22:46:31]ProcessDocumentItem done err = 0, tmpTLVsize=291 [22:46:31]tlvbuf is 0097B930 [22:46:31]SAM_PROTO_ClearQueue [22:46:31]wFMCommunicate request_size=4 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 09 00 00 [22:46:31]Write to MH i2c: E2 08 00 62 12 80 09 00 00 00 00 00 00 E6 [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 62 12 00 90 00 E8 [22:46:31]RAPDU: 90 00 [22:46:31]wFMCommunicate OK [22:46:31]SAM_PROTO_ClearQueue done [22:46:31]KKMCreateOFDPacket [22:46:31]OFDProtocolAddRootSTLVToBuf [22:46:31]FM_MakeSignedData [22:46:31]FM_MakeSignedData [22:46:31]SAM_PROTO_SignData [22:46:31]wFMCommunicate request_size=4 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 0D 01 02 [22:46:31]Write to MH i2c: E2 08 00 63 12 80 0D 01 02 00 00 00 00 EE [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 63 12 00 90 00 E9 [22:46:31]RAPDU: 90 00 [22:46:31]wFMCommunicate OK [22:46:31]wFMCommunicate request_size=255 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 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 56 00 00 00 F4 03 04 00 CA 36 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [22:46:31]Write to MH i2c: E2 02 01 64 12 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 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 56 00 00 00 F4 03 04 00 CA 36 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 97 [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 64 12 00 90 00 EA [22:46:31]RAPDU: 90 00 [22:46:31]wFMCommunicate OK [22:46:31]wFMCommunicate request_size=50 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 0D 02 02 2D 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1E 91 00 00 35 04 06 00 8A 16 94 83 BC 19 [22:46:31]Write to MH i2c: E2 35 00 65 12 80 0D 02 02 2D 00 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1E 91 00 00 35 04 06 00 8A 16 94 83 BC 19 00 00 91 [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 03 00 65 12 00 90 00 EB [22:46:31]RAPDU: 90 00 [22:46:31]wFMCommunicate OK [22:46:31]wFMCommunicate request_size=4 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 0D 03 02 [22:46:31]Write to MH i2c: E2 08 00 66 12 80 0D 03 02 00 00 00 00 F3 [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 0B 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 0B 00 66 12 00 49 00 FB 68 BB EC E6 EF 90 00 1C [22:46:31]RAPDU: 49 00 FB 68 BB EC E6 EF 90 00 [22:46:31]wFMCommunicate OK [22:46:31]SAM_PROTO_SignData done [22:46:31]FM_MakeSignedData done [22:46:31]CreateOFDProtocolMessage [22:46:31]wFMCommunicate request_size=4 [22:46:31]MH_SAM_APDU [22:46:31]CAPDU: 80 11 00 00 [22:46:31]Write to MH i2c: E2 08 00 67 12 80 11 00 00 00 00 00 00 F3 [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:31]Read from MH i2c: E2 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 17 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: E2 17 00 67 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 46 [22:46:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:46:31]wFMCommunicate OK [22:46:31]CreateOFDProtocolMessage done [22:46:31]OFDSenderStorePacket 37150 [22:46:31]StoreOFDPacket docnum=37150 [22:46:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 37 01 00 00 48 13 2F 01 6F 04 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 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 56 00 00 00 F4 03 04 00 CA 36 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1E 91 00 00 35 04 06 00 8A 16 94 83 BC 19 49 00 FB 68 BB EC E6 EF [22:46:31]CheckFolder [22:46:31]dirname=/storage/ofd_packets [22:46:31]CheckFolder done [22:46:31]ProducePacketName [22:46:31]name=ofd_packets/00037150 [22:46:31]NVStorageSaveData ofd_packets/00037150 [22:46:31]File name is /storage/ofd_packets/00037150 [22:46:31]Write 341 bytes [22:46:31]NVStorageSaveData done [22:46:31]OFDSenderStorePacket done [22:46:31]KKMCreateOFDPacket done [22:46:31]NVStorageSaveData kkm_last_timestamp [22:46:31]File name is /storage/kkm_last_timestamp [22:46:31]Write 4 bytes [22:46:31]NVStorageSaveData done [22:46:31]ExternCall_PrintAddStr [22:46:31]wPrintStart [22:46:31]Write to MH i2c: 01 00 00 68 12 7A [22:46:31]Write i2c OK [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: 01 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: 01 07 00 [22:46:31]MH_I2C_Read... [22:46:31]Read from MH i2c: 01 07 00 68 12 00 00 00 00 00 FF 0F 8F [22:46:31]RasterBufferAndPrint [22:46:31]line Счет N : (3)76636 [22:46:31]line ИНН: 02508201610067 [22:46:31]line Контрольно-Кассовый Чек [22:46:31]line ПРОДАЖА [22:46:31]line Товар: 4870209744564 [22:46:31]line Сухарики Флинт Шашлык 100 гр [22:46:31]line 1.000 * 60.00 [22:46:31]line = 60.00 [22:46:31]line НДС 12% НСП 1% [22:46:31]line > о реализуемом товаре [22:46:31]line ИТОГО: 60.00 [22:46:31]line НСП 1% : 0.53 [22:46:31]line НДС 12% : 6.37 [22:46:31]line Наличными: 60.00 [22:46:31]line Безнал.: 0.00 [22:46:31]line Место: АЗС № 165 "Партнер Нефть" [22:46:31]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [22:46:31]line СНО: Общий режим [22:46:31]line Чек 86 19.10.2024 22:46 [22:46:31]line Смена: 460 ФФД: 1.0 [22:46:31]line ЗНМ: 0300000235 [22:46:31]line РНМ: 0000000000098149 [22:46:31]line Версия ККМ: 001 [22:46:31]line ФМ: 0000000000965372 [22:46:31]line ФД: 37150 [22:46:31]line ФПД: 151829585574937 [22:46:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241019T224634&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37150&fm=151829585574937&tin=02508201610067®Number=0000000000098149&sum=6000 [22:46:32]line 0 [22:46:32]OFD Sender: Processing packet 37150 [packets to send 25, broken 24] [22:46:32]ProducePacketName [22:46:32]name=ofd_packets/00037150 [22:46:32]OFD Sender: To server: pG, [22:46:32]CommunicateWithHost lk.salyk.kg:30040 [22:46:32]ConnectInit lk.salyk.kg [22:46:32]written 0, free lines is 4095 [22:46:32]Connected sock=10 [22:46: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 33 37 32 37 01 00 00 48 13 2F 01 6F 04 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 36 34 06 04 31 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 A8 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 31 30 30 20 D0 B3 D1 80 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 56 00 00 00 F4 03 04 00 CA 36 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 1E 91 00 00 35 04 06 00 8A 16 94 83 BC 19 49 00 FB 68 BB EC E6 EF [22:46:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 FD C1 47 00 A6 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 1E 91 00 00 F4 03 04 00 5E DF 13 67 B6 04 01 00 00 4A 09 B1 37 22 23 2D DC [22:46:32]CommunicateWithHost err = 0 [22:46:32]CheckOFDResponse [22:46:32]1017 (14) - 77093643461234 [22:46:32]1041 (16) - 0000000000965372 [22:46:32]1040 (4) - 37150 [22:46:32]1012 (4) - 19.10.2024 16:33 [22:46:32]1206 (1) - 0 [22:46:32]OFD Sender: Remove packet 37150 [22:46:32]ProducePacketName [22:46:32]name=ofd_packets/00037150 [22:46:32]NVStorageDeleteData [22:46:32]Write to MH i2c: 01 00 00 91 12 A3 [22:46:32]Write i2c OK [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: 01 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: 01 07 00 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: 01 07 00 91 12 00 00 00 00 00 D5 0C 8B [22:46:32]RasterBufferAndPrint [22:46:32]line [22:46:32]line [22:46:32]line [22:46:32]line [22:46:32]line [22:46:32]written 0, free lines is 3291 [22:46:32]process_action close_receipt done [22:46:32]requested_data is exist [22:46:32]produce_requested_data [22:46:32]requested_item fm.sn is exist - process it [22:46:32]wFMCommunicate request_size=4 [22:46:32]MH_SAM_APDU [22:46:32]CAPDU: 80 11 00 00 [22:46:32]Write to MH i2c: E2 08 00 98 12 80 11 00 00 00 00 00 00 24 [22:46:32]Write i2c OK [22:46:32]MH_I2C_Read... [22:46:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:32]Read from MH i2c: E2 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 17 00 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 17 00 98 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 77 [22:46:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [22:46:32]wFMCommunicate OK [22:46:32]requested_item fd.num is exist - process it [22:46:32]SAM_PROTO_GetFieldsCounters [22:46:32]wFMCommunicate request_size=4 [22:46:32]MH_SAM_APDU [22:46:32]CAPDU: 80 13 00 00 [22:46:32]Write to MH i2c: E2 08 00 99 12 80 13 00 00 00 00 00 00 27 [22:46:32]Write i2c OK [22:46:32]MH_I2C_Read... [22:46:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:32]Read from MH i2c: E2 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 62 00 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 62 00 99 12 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [22:46: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:32]wFMCommunicate OK [22:46:32]SAM_PROTO_GetFieldsCounters done [22:46:32]requested_item shift.num is exist - process it [22:46:32]requested_item shift.opened is exist - process it [22:46:32]req_shift_opened [22:46:32]FM_GetShiftState [22:46:32]SAM_PROTO_GetShiftState [22:46:32]wFMCommunicate request_size=4 [22:46:32]MH_SAM_APDU [22:46:32]CAPDU: 80 13 01 00 [22:46:32]Write to MH i2c: E2 08 00 9A 12 80 13 01 00 00 00 00 00 29 [22:46:32]Write i2c OK [22:46:32]MH_I2C_Read... [22:46:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:32]Read from MH i2c: E2 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 0E 00 [22:46:32]MH_I2C_Read... [22:46:32]Read from MH i2c: E2 0E 00 9A 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 43 [22:46:32]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [22:46:32]wFMCommunicate OK [22:46:32]SAM_PROTO_GetShiftState done [22:46:32]FM_GetShiftState done [22:46:32]req_shift_opened done [22:46:32]requested_item shift.open_date is exist - process it [22:46:32]req_shift_open_date [22:46:32]req_shift_open_date done [22:46:32]produce_requested_data done [22:46:32]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [22:46:32]process_action_free close_receipt [22:46:32]json_value_free [22:46:32]json_value_free done [22:46:32]process_json_proto returns [22:46:32]Send response to host [22:46:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [22:46:32]free response buf [22:46:32]execute_script done [22:46:32]execute_script returns [22:46:32]free content buf [22:46:32]Sock 9.Close socket [22:46:32]Sock 9.Thread stoped [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]OFD Sender: No OFD packet to send [23:51:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:41]OFD Sender: No OFD packet to send [23:51:46]OFD Sender: No OFD packet to send [23:51:51]OFD Sender: No OFD packet to send [23:51:56]OFD Sender: No OFD packet to send [23:52:01]OFD Sender: No OFD packet to send [23:52:06]OFD Sender: No OFD packet to send [23:52:11]OFD Sender: No OFD packet to send [23:52:16]OFD Sender: No OFD packet to send [23:52:21]OFD Sender: No OFD packet to send [23:52:26]OFD Sender: No OFD packet to send [23:52:31]OFD Sender: No OFD packet to send [23:52:36]OFD Sender: No OFD packet to send [23:52:41]OFD Sender: No OFD packet to send [23:52:46]OFD Sender: No OFD packet to send [23:52:51]OFD Sender: No OFD packet to send [23:52:56]OFD Sender: No OFD packet to send [23:53:01]OFD Sender: No OFD packet to send [23:53:06]OFD Sender: No OFD packet to send [23:53:11]OFD Sender: No OFD packet to send [23:53:16]OFD Sender: No OFD packet to send [23:53:21]OFD Sender: No OFD packet to send [23:53:26]OFD Sender: No OFD packet to send [23:53:31]OFD Sender: No OFD packet to send [23:53:35]int [23:53:35]Write to MH i2c: 01 00 00 9B 12 AD [23:53:35]*** FLAG_PRN_KEY set [23:53:35]Write i2c OK [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 07 00 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 07 00 9B 12 00 08 00 00 00 FF 0F CA [23:53:35]state=0 [23:53:35]Key pressed [23:53:35]Feed [23:53:35]Write to MH i2c: D8 00 00 9C 12 85 [23:53:35]Write i2c OK [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: D8 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: D8 01 00 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: D8 01 00 9C 12 00 86 [23:53:35]int [23:53:35]Write to MH i2c: 01 00 00 9D 12 AF [23:53:35]Write i2c OK [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 07 00 [23:53:35]MH_I2C_Read... [23:53:35]Read from MH i2c: 01 07 00 9D 12 00 48 00 00 00 3D 00 3B [23:53:35]state=2 [23:53:35]Key pressed [23:53:36]int [23:53:36]Write to MH i2c: 01 00 00 9E 12 B0 [23:53:36]*** FLAG_PRN_KEY reset [23:53:36]Write i2c OK [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 9E 12 00 00 00 00 00 F6 0F BC [23:53:36]state=2 [23:53:36]Stop feed [23:53:36]OFD Sender: No OFD packet to send [23:53:36]int [23:53:36]Write to MH i2c: 01 00 00 9F 12 B1 [23:53:36]*** FLAG_PRN_KEY set [23:53:36]Write i2c OK [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 9F 12 00 08 00 00 00 FF 0F CE [23:53:36]state=0 [23:53:36]Key pressed [23:53:36]Feed [23:53:36]Write to MH i2c: D8 00 00 A0 12 89 [23:53:36]Write i2c OK [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: D8 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: D8 01 00 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: D8 01 00 A0 12 00 8A [23:53:36]int [23:53:36]Write to MH i2c: 01 00 00 A1 12 B3 [23:53:36]Write i2c OK [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 A1 12 00 48 00 00 00 3D 00 3F [23:53:36]state=2 [23:53:36]Key pressed [23:53:36]int [23:53:36]Write to MH i2c: 01 00 00 A2 12 B4 [23:53:36]*** FLAG_PRN_KEY reset [23:53:36]Write i2c OK [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 [23:53:36]MH_I2C_Read... [23:53:36]Read from MH i2c: 01 07 00 A2 12 00 00 00 00 00 F6 0F C0 [23:53:36]state=2 [23:53:36]Stop feed [23:53:41]OFD Sender: No OFD packet to send [23:53:46]OFD Sender: No OFD packet to send [23:53:51]OFD Sender: No OFD packet to send [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:21]OFD Sender: No OFD packet to send [23:54:26]OFD Sender: No OFD packet to send [23:54:27]accept exits with 7 [23:54:27]New connection [23:54:27]New thread 3066699108 created [23:54:27]Thread 3066555748 joined [23:54:27]Waiting for new connection... [23:54:27] Sock 7.Parse request [23:54:27]Sock 7.Check first char [23:54:27]Sock 7.First char is OK [23:54:27]request: POST /json_proto HTTP/1.0 [23:54:27]Method: POST [23:54:27]URL: /json_proto [23:54:27]Method is POST - this is cgi request [23:54:27]url: /json_proto [23:54:27]query_string will be loaded in cgi processing [23:54:27]execute_cgi json_proto POST (null) [23:54:27]execute_cgi path=json_proto method=POST [23:54:27]POST find Content-Length [23:54:27]Host: 172.17.53.68:8080 [23:54:27]Content-Length: 215 [23:54:27]Content-Type: application/json [23:54:27] [23:54:27]POST finish read [23:54:27]Found Content-Length = 215 [23:54:27]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:54:27]execute_script... [23:54:27]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:54:27]POST & json_proto [23:54:27]process_json_proto [23:54:27]json parsed OK: [23:54:27]protocol is kg_v1.0 [23:54:27]action value=get_value [23:54:27]process_action get_value [23:54:27]cmd_get_value [23:54:27]process_action get_value done [23:54:27]requested_data is exist [23:54:27]produce_requested_data [23:54:27]requested_item kkm.sn is exist - process it [23:54:27]requested_item kkm.ver is exist - process it [23:54:27]requested_item fm.sn is exist - process it [23:54:27]wFMCommunicate request_size=4 [23:54:27]MH_SAM_APDU [23:54:27]CAPDU: 80 11 00 00 [23:54:27]Write to MH i2c: E2 08 00 A3 12 80 11 00 00 00 00 00 00 2F [23:54:27]Write i2c OK [23:54:27]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 17 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 17 00 A3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 82 [23:54:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:54:27]wFMCommunicate OK [23:54:27]requested_item fd.num is exist - process it [23:54:27]SAM_PROTO_GetFieldsCounters [23:54:27]wFMCommunicate request_size=4 [23:54:27]MH_SAM_APDU [23:54:27]CAPDU: 80 13 00 00 [23:54:27]Write to MH i2c: E2 08 00 A4 12 80 13 00 00 00 00 00 00 32 [23:54:27]Write i2c OK [23:54:27]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 62 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 62 00 A4 12 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [23:54:27]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:27]wFMCommunicate OK [23:54:27]SAM_PROTO_GetFieldsCounters done [23:54:27]requested_item shift.num is exist - process it [23:54:27]requested_item shift.opened is exist - process it [23:54:27]req_shift_opened [23:54:27]FM_GetShiftState [23:54:27]SAM_PROTO_GetShiftState [23:54:27]wFMCommunicate request_size=4 [23:54:27]MH_SAM_APDU [23:54:27]CAPDU: 80 13 01 00 [23:54:27]Write to MH i2c: E2 08 00 A5 12 80 13 01 00 00 00 00 00 34 [23:54:27]Write i2c OK [23:54:27]MH_I2C_Read... [23:54:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:27]Read from MH i2c: E2 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 0E 00 [23:54:27]MH_I2C_Read... [23:54:27]Read from MH i2c: E2 0E 00 A5 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 4E [23:54:27]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [23:54:27]wFMCommunicate OK [23:54:27]SAM_PROTO_GetShiftState done [23:54:27]FM_GetShiftState done [23:54:27]req_shift_opened done [23:54:27]requested_item shift.open_date is exist - process it [23:54:27]req_shift_open_date [23:54:27]req_shift_open_date done [23:54:27]produce_requested_data done [23:54:27]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [23:54:27]process_action_free get_value [23:54:27]json_value_free [23:54:27]json_value_free done [23:54:27]process_json_proto returns [23:54:27]Send response to host [23:54:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [23:54:27]free response buf [23:54:27]execute_script done [23:54:27]execute_script returns [23:54:27]free content buf [23:54:27]Sock 7.Close socket [23:54:27]Sock 7.Thread stoped [23:54:27]accept exits with 9 [23:54:27]New connection [23:54:27]New thread 3066555748 created [23:54:27]Thread 3066699108 joined [23:54:27]Waiting for new connection... [23:54:27] Sock 9.Parse request [23:54:27]Sock 9.Check first char [23:54:27]Sock 9.First char is OK [23:54:27]request: POST /json_proto HTTP/1.0 [23:54:27]Method: POST [23:54:27]URL: /json_proto [23:54:27]Method is POST - this is cgi request [23:54:27]url: /json_proto [23:54:27]query_string will be loaded in cgi processing [23:54:27]execute_cgi json_proto POST (null) [23:54:27]execute_cgi path=json_proto method=POST [23:54:27]POST find Content-Length [23:54:27]Host: 172.17.53.68:8080 [23:54:27]Content-Length: 331 [23:54:27]Content-Type: application/json [23:54:27] [23:54:27]POST finish read [23:54:27]Found Content-Length = 331 [23:54:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:27]execute_script... [23:54:28]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:54:28]POST & json_proto [23:54:28]process_json_proto [23:54:28]json parsed OK: [23:54:28]protocol is kg_v1.0 [23:54:28]action value=get_value [23:54:28]process_action get_value [23:54:28]cmd_get_value [23:54:28]process_action get_value done [23:54:28]requested_data is exist [23:54:28]produce_requested_data [23:54:28]requested_item fm.sale.total is exist - process it [23:54:28]SAM_PROTO_GetFMData [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 13 03 00 [23:54:28]Write to MH i2c: E2 08 00 A6 12 80 13 03 00 00 00 00 00 37 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 FD 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 FD 00 A6 12 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 E2 [23:54:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:28]wFMCommunicate OK [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 17 00 00 [23:54:28]Write to MH i2c: E2 08 00 A7 12 80 17 00 00 00 00 00 00 39 [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:28]Read from MH i2c: E2 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 FD 00 [23:54:28]MH_I2C_Read... [23:54:28]Read from MH i2c: E2 FD 00 A7 12 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 51 [23:54:28]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:28]wFMCommunicate OK [23:54:28]wFMCommunicate request_size=4 [23:54:28]MH_SAM_APDU [23:54:28]CAPDU: 80 17 00 00 [23:54:28]Write to MH i2c: E2 08 00 A8 12 80 17 00 00 00 00 00 00 3A [23:54:28]Write i2c OK [23:54:28]MH_I2C_Read... [23:54:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:29]Read from MH i2c: E2 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 A8 12 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 4F [23:54:29]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:29]wFMCommunicate OK [23:54:29]wFMCommunicate request_size=4 [23:54:29]MH_SAM_APDU [23:54:29]CAPDU: 80 17 00 00 [23:54:29]Write to MH i2c: E2 08 00 A9 12 80 17 00 00 00 00 00 00 3B [23:54:29]Write i2c OK [23:54:29]MH_I2C_Read... [23:54:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:29]Read from MH i2c: E2 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 FD 00 A9 12 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 B3 [23:54:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:29]wFMCommunicate OK [23:54:29]wFMCommunicate request_size=4 [23:54:29]MH_SAM_APDU [23:54:29]CAPDU: 80 17 00 00 [23:54:29]Write to MH i2c: E2 08 00 AA 12 80 17 00 00 00 00 00 00 3C [23:54:29]Write i2c OK [23:54:29]MH_I2C_Read... [23:54:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:29]Read from MH i2c: E2 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 E1 00 [23:54:29]MH_I2C_Read... [23:54:29]Read from MH i2c: E2 E1 00 AA 12 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [23:54:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:29]wFMCommunicate OK [23:54:29]SAM_PROTO_GetFMData done [23:54:29]requested_item fm.sale_refund.total is exist - process it [23:54:29]requested_item fm.buy.total is exist - process it [23:54:29]requested_item shift.sale.total is exist - process it [23:54:29]SAM_PROTO_GetShiftData [23:54:29]wFMCommunicate request_size=4 [23:54:29]MH_SAM_APDU [23:54:29]CAPDU: 80 13 02 00 [23:54:29]Write to MH i2c: E2 08 00 AB 12 80 13 02 00 00 00 00 00 3B [23:54:29]Write i2c OK [23:54:29]MH_I2C_Read... [23:54:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 AB 12 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 49 [23:54:30]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 AC 12 80 17 00 00 00 00 00 00 3E [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 AC 12 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 60 [23:54:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 AD 12 80 17 00 00 00 00 00 00 3F [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 AD 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F6 [23:54:30]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:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 AE 12 80 17 00 00 00 00 00 00 40 [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:30]Read from MH i2c: E2 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 [23:54:30]MH_I2C_Read... [23:54:30]Read from MH i2c: E2 FD 00 AE 12 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 B2 [23:54:30]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:54:30]wFMCommunicate OK [23:54:30]wFMCommunicate request_size=4 [23:54:30]MH_SAM_APDU [23:54:30]CAPDU: 80 17 00 00 [23:54:30]Write to MH i2c: E2 08 00 AF 12 80 17 00 00 00 00 00 00 41 [23:54:30]Write i2c OK [23:54:30]MH_I2C_Read... [23:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:31]Read from MH i2c: E2 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 CB 00 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 CB 00 AF 12 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 2A [23:54:31]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:54:31]wFMCommunicate OK [23:54:31]SAM_PROTO_GetShiftData done [23:54:31]requested_item shift.sale.total_cash is exist - process it [23:54:31]requested_item shift.sale_refund.total is exist - process it [23:54:31]requested_item shift.sale_refund.total_cash is exist - process it [23:54:31]requested_item shift.buy.total is exist - process it [23:54:31]requested_item shift.buy.total_cash is exist - process it [23:54:31]produce_requested_data done [23:54:31]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:54:31]process_action_free get_value [23:54:31]json_value_free [23:54:31]json_value_free done [23:54:31]process_json_proto returns [23:54:31]Send response to host [23:54:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:54:31]free response buf [23:54:31]execute_script done [23:54:31]execute_script returns [23:54:31]free content buf [23:54:31]Sock 9.Close socket [23:54:31]Sock 9.Thread stoped [23:54:31]accept exits with 7 [23:54:31]New connection [23:54:31]New thread 3066699108 created [23:54:31]Thread 3066555748 joined [23:54:31]Waiting for new connection... [23:54:31] Sock 7.Parse request [23:54:31]Sock 7.Check first char [23:54:31]Sock 7.First char is OK [23:54:31]request: POST /json_proto HTTP/1.0 [23:54:31]Method: POST [23:54:31]URL: /json_proto [23:54:31]Method is POST - this is cgi request [23:54:31]url: /json_proto [23:54:31]query_string will be loaded in cgi processing [23:54:31]execute_cgi json_proto POST (null) [23:54:31]execute_cgi path=json_proto method=POST [23:54:31]POST find Content-Length [23:54:31]Host: 172.17.53.68:8080 [23:54:31]Content-Length: 331 [23:54:31]Content-Type: application/json [23:54:31] [23:54:31]POST finish read [23:54:31]Found Content-Length = 331 [23:54: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" ] } } [23:54:31]execute_script... [23:54:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:54:31]POST & json_proto [23:54:31]process_json_proto [23:54:31]json parsed OK: [23:54:31]protocol is kg_v1.0 [23:54:31]action value=get_value [23:54:31]process_action get_value [23:54:31]cmd_get_value [23:54:31]process_action get_value done [23:54:31]requested_data is exist [23:54:31]produce_requested_data [23:54:31]requested_item fm.sale.total is exist - process it [23:54:31]SAM_PROTO_GetFMData [23:54:31]wFMCommunicate request_size=4 [23:54:31]MH_SAM_APDU [23:54:31]CAPDU: 80 13 03 00 [23:54:31]Write to MH i2c: E2 08 00 B0 12 80 13 03 00 00 00 00 00 41 [23:54:31]Write i2c OK [23:54:31]MH_I2C_Read... [23:54:31]OFD Sender: No OFD packet to send [23:54:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:31]Read from MH i2c: E2 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 FD 00 [23:54:31]MH_I2C_Read... [23:54:31]Read from MH i2c: E2 FD 00 B0 12 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 EC [23:54:31]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:31]wFMCommunicate OK [23:54:31]wFMCommunicate request_size=4 [23:54:31]MH_SAM_APDU [23:54:31]CAPDU: 80 17 00 00 [23:54:31]Write to MH i2c: E2 08 00 B1 12 80 17 00 00 00 00 00 00 43 [23:54:31]Write i2c OK [23:54:31]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 B1 12 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 5B [23:54:32]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:32]wFMCommunicate OK [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 17 00 00 [23:54:32]Write to MH i2c: E2 08 00 B2 12 80 17 00 00 00 00 00 00 44 [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 B2 12 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 59 [23:54:32]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:32]wFMCommunicate OK [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 17 00 00 [23:54:32]Write to MH i2c: E2 08 00 B3 12 80 17 00 00 00 00 00 00 45 [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:32]Read from MH i2c: E2 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 [23:54:32]MH_I2C_Read... [23:54:32]Read from MH i2c: E2 FD 00 B3 12 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 BD [23:54:32]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:32]wFMCommunicate OK [23:54:32]wFMCommunicate request_size=4 [23:54:32]MH_SAM_APDU [23:54:32]CAPDU: 80 17 00 00 [23:54:32]Write to MH i2c: E2 08 00 B4 12 80 17 00 00 00 00 00 00 46 [23:54:32]Write i2c OK [23:54:32]MH_I2C_Read... [23:54:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:33]Read from MH i2c: E2 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 E1 00 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 E1 00 B4 12 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 34 [23:54:33]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:33]wFMCommunicate OK [23:54:33]SAM_PROTO_GetFMData done [23:54:33]requested_item fm.sale_refund.total is exist - process it [23:54:33]requested_item fm.buy.total is exist - process it [23:54:33]requested_item shift.sale.total is exist - process it [23:54:33]SAM_PROTO_GetShiftData [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 13 02 00 [23:54:33]Write to MH i2c: E2 08 00 B5 12 80 13 02 00 00 00 00 00 45 [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:33]Read from MH i2c: E2 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 [23:54:33]MH_I2C_Read... [23:54:33]Read from MH i2c: E2 FD 00 B5 12 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 53 [23:54:33]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:54:33]wFMCommunicate OK [23:54:33]wFMCommunicate request_size=4 [23:54:33]MH_SAM_APDU [23:54:33]CAPDU: 80 17 00 00 [23:54:33]Write to MH i2c: E2 08 00 B6 12 80 17 00 00 00 00 00 00 48 [23:54:33]Write i2c OK [23:54:33]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 B6 12 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 6A [23:54: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 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 B7 12 80 17 00 00 00 00 00 00 49 [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 B7 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:54: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 [23:54:34]wFMCommunicate OK [23:54:34]wFMCommunicate request_size=4 [23:54:34]MH_SAM_APDU [23:54:34]CAPDU: 80 17 00 00 [23:54:34]Write to MH i2c: E2 08 00 B8 12 80 17 00 00 00 00 00 00 4A [23:54:34]Write i2c OK [23:54:34]MH_I2C_Read... [23:54:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:34]Read from MH i2c: E2 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 [23:54:34]MH_I2C_Read... [23:54:34]Read from MH i2c: E2 FD 00 B8 12 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 BC [23:54:34]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:54:35]wFMCommunicate OK [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 17 00 00 [23:54:35]Write to MH i2c: E2 08 00 B9 12 80 17 00 00 00 00 00 00 4B [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 CB 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 CB 00 B9 12 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 34 [23:54: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 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetShiftData done [23:54:35]requested_item shift.sale.total_cash is exist - process it [23:54:35]requested_item shift.sale_refund.total is exist - process it [23:54:35]requested_item shift.sale_refund.total_cash is exist - process it [23:54:35]requested_item shift.buy.total is exist - process it [23:54:35]requested_item shift.buy.total_cash is exist - process it [23:54:35]produce_requested_data done [23:54:35]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:54:35]process_action_free get_value [23:54:35]json_value_free [23:54:35]json_value_free done [23:54:35]process_json_proto returns [23:54:35]Send response to host [23:54:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:54:35]free response buf [23:54:35]execute_script done [23:54:35]execute_script returns [23:54:35]free content buf [23:54:35]Sock 7.Close socket [23:54:35]Sock 7.Thread stoped [23:54:35]accept exits with 9 [23:54:35]New connection [23:54:35]New thread 3066555748 created [23:54:35]Thread 3066699108 joined [23:54:35]Waiting for new connection... [23:54:35] Sock 9.Parse request [23:54:35]Sock 9.Check first char [23:54:35]Sock 9.First char is OK [23:54:35]request: POST /json_proto HTTP/1.0 [23:54:35]Method: POST [23:54:35]URL: /json_proto [23:54:35]Method is POST - this is cgi request [23:54:35]url: /json_proto [23:54:35]query_string will be loaded in cgi processing [23:54:35]execute_cgi json_proto POST (null) [23:54:35]execute_cgi path=json_proto method=POST [23:54:35]POST find Content-Length [23:54:35]Host: 172.17.53.68:8080 [23:54:35]Content-Length: 269 [23:54:35]Content-Type: application/json [23:54:35] [23:54:35]POST finish read [23:54:35]Found Content-Length = 269 [23:54:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0440\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:35]execute_script... [23:54:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0440\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:54:35]POST & json_proto [23:54:35]process_json_proto [23:54:35]json parsed OK: [23:54:35]protocol is kg_v1.0 [23:54:35]action value=x_report [23:54:35]process_action x_report [23:54:35]cmd_x_report [23:54:35]MH_GetDate [23:54:35]Write to MH i2c: F0 00 00 BA 12 BB [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 09 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 09 00 BA 12 00 BF 46 14 67 C5 A4 76 66 89 [23:54:35]GetLastDocTimeStamp 1729377994 [23:54:35]current date 1729382079 [23:54:35]FM_GetShiftState [23:54:35]SAM_PROTO_GetShiftState [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 01 00 [23:54:35]Write to MH i2c: E2 08 00 BB 12 80 13 01 00 00 00 00 00 4A [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 0E 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 0E 00 BB 12 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 64 [23:54:35]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetShiftState done [23:54:35]FM_GetShiftState done [23:54:35]KKMCreateXReportDocument [23:54:35]Load OK [23:54:35]Malloc new data [23:54:35]MH_GetDate [23:54:35]Write to MH i2c: F0 00 00 BC 12 BD [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 09 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: F0 09 00 BC 12 00 BF 46 14 67 C5 A4 76 66 8B [23:54:35]Malloc new data [23:54:35]Malloc new data [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 11 00 00 [23:54:35]Write to MH i2c: E2 08 00 BD 12 80 11 00 00 00 00 00 00 49 [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 17 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 17 00 BD 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 9C [23:54:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetFieldsCounters [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 00 00 [23:54:35]Write to MH i2c: E2 08 00 BE 12 80 13 00 00 00 00 00 00 4C [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:35]Read from MH i2c: E2 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 62 00 [23:54:35]MH_I2C_Read... [23:54:35]Read from MH i2c: E2 62 00 BE 12 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [23:54: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:35]wFMCommunicate OK [23:54:35]SAM_PROTO_GetFieldsCounters done [23:54:35]Malloc new data [23:54:35]Malloc new data [23:54:35]Malloc new data [23:54:35]KKMCreateXReportDocument OK [23:54:35]KKMSetXReportData OK [23:54:35]KKMPrepareXReportFMData [23:54:35]SAM_PROTO_GetShiftData [23:54:35]wFMCommunicate request_size=4 [23:54:35]MH_SAM_APDU [23:54:35]CAPDU: 80 13 02 00 [23:54:35]Write to MH i2c: E2 08 00 BF 12 80 13 02 00 00 00 00 00 4F [23:54:35]Write i2c OK [23:54:35]MH_I2C_Read... [23:54:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 BF 12 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5D [23:54:36]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 C0 12 80 17 00 00 00 00 00 00 52 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:36]OFD Sender: No OFD packet to send [23:54:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:36]Read from MH i2c: E2 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 [23:54:36]MH_I2C_Read... [23:54:36]Read from MH i2c: E2 FD 00 C0 12 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 74 [23:54:36]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:54:36]wFMCommunicate OK [23:54:36]wFMCommunicate request_size=4 [23:54:36]MH_SAM_APDU [23:54:36]CAPDU: 80 17 00 00 [23:54:36]Write to MH i2c: E2 08 00 C1 12 80 17 00 00 00 00 00 00 53 [23:54:36]Write i2c OK [23:54:36]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 C1 12 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0A [23:54:37]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:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 C2 12 80 17 00 00 00 00 00 00 54 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:37]Read from MH i2c: E2 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 [23:54:37]MH_I2C_Read... [23:54:37]Read from MH i2c: E2 FD 00 C2 12 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 C6 [23:54:37]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:54:37]wFMCommunicate OK [23:54:37]wFMCommunicate request_size=4 [23:54:37]MH_SAM_APDU [23:54:37]CAPDU: 80 17 00 00 [23:54:37]Write to MH i2c: E2 08 00 C3 12 80 17 00 00 00 00 00 00 55 [23:54:37]Write i2c OK [23:54:37]MH_I2C_Read... [23:54:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:54:38]Read from MH i2c: E2 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 CB 00 [23:54:38]MH_I2C_Read... [23:54:38]Read from MH i2c: E2 CB 00 C3 12 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 3E [23:54:38]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:54:38]wFMCommunicate OK [23:54:38]SAM_PROTO_GetShiftData done [23:54:38]1194 (1194) - счетчики итогов смены [23:54:38] 1134 (4) - 86 - количество чеков со всеми признаками расчетов [23:54:38] 1129 (155) - счетчики операций «приход» [23:54:38] 1135 (4) - 86 - количество чеков по признаку расчетов [23:54:38] 1201 (3) - 34673.88 - общая итоговая сумма в чеках [23:54:38] 1136 (3) - 19498.00 - итоговая сумма в чеках наличными [23:54:38] 1138 (3) - 15175.88 - итоговая сумма в чеках безналичными [23:54:38] 1024 (122) - суммы налогов [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 0% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1006 (12) - суммы НДС [23:54:38] 1010 (1) - 12% - код ставки НДС [23:54:38] 1011 (3) - 3682.59 - сумма НДС по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (11) - суммы НСП [23:54:38] 1014 (1) - 1% - код ставки НСП [23:54:38] 1015 (2) - 306.76 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 2% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 3% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 5% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1130 (141) - счетчики операций «возврат прихода» [23:54:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:38] 1024 (117) - суммы налогов [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 0% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 12% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 2% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 3% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 5% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1131 (141) - счетчики операций «расход» [23:54:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:38] 1024 (117) - суммы налогов [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 0% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 12% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 2% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 3% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 5% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1132 (141) - счетчики операций «возврат расхода» [23:54:38] 1135 (4) - 0 - количество чеков по признаку расчетов [23:54:38] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:54:38] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:54:38] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:54:38] 1024 (117) - суммы налогов [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 0% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1006 (9) - суммы НДС [23:54:38] 1010 (1) - 12% - код ставки НДС [23:54:38] 1011 (0) - 0.00 - сумма НДС по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 2% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 3% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 5% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 0,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1007 (9) - суммы НСП [23:54:38] 1014 (1) - 1,50% - код ставки НСП [23:54:38] 1015 (0) - 0.00 - сумма НСП по ставке [23:54:38] 1133 (588) - - счетчики коррекции - не используются [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1194 (04AA) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1134 (046E) [23:54:38]Malloc new data [23:54:38]Processing tag 1129 (0469) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1135 (046F) [23:54:38]Malloc new data [23:54:38]Processing tag 1201 (04B1) [23:54:38]Malloc new data [23:54:38]Processing tag 1136 (0470) [23:54:38]Malloc new data [23:54:38]Processing tag 1138 (0472) [23:54:38]Malloc new data [23:54:38]Processing tag 1024 (0400) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]SetTLVBufToDocument err=0 [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1130 (046A) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1135 (046F) [23:54:38]Malloc new data [23:54:38]Processing tag 1201 (04B1) [23:54:38]Malloc new data [23:54:38]Processing tag 1136 (0470) [23:54:38]Malloc new data [23:54:38]Processing tag 1138 (0472) [23:54:38]Malloc new data [23:54:38]Processing tag 1024 (0400) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]SetTLVBufToDocument err=0 [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1131 (046B) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1135 (046F) [23:54:38]Malloc new data [23:54:38]Processing tag 1201 (04B1) [23:54:38]Malloc new data [23:54:38]Processing tag 1136 (0470) [23:54:38]Malloc new data [23:54:38]Processing tag 1138 (0472) [23:54:38]Malloc new data [23:54:38]Processing tag 1024 (0400) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1006 (03EE) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1010 (03F2) [23:54:38]Malloc new data [23:54:38]Processing tag 1011 (03F3) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:38]Malloc new data [23:54:38]SetTLVBufToDocument err=0 [23:54:38]Processing tag 1007 (03EF) [23:54:38]Load OK [23:54:38]SetTLVBufToDocument [23:54:38]Processing tag 1014 (03F6) [23:54:38]Malloc new data [23:54:38]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]SetTLVBufToDocument err=0 [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1132 (046C) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1135 (046F) [23:54:39]Malloc new data [23:54:39]Processing tag 1201 (04B1) [23:54:39]Malloc new data [23:54:39]Processing tag 1136 (0470) [23:54:39]Malloc new data [23:54:39]Processing tag 1138 (0472) [23:54:39]Malloc new data [23:54:39]Processing tag 1024 (0400) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1006 (03EE) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1010 (03F2) [23:54:39]Malloc new data [23:54:39]Processing tag 1011 (03F3) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1006 (03EE) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1010 (03F2) [23:54:39]Malloc new data [23:54:39]Processing tag 1011 (03F3) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1007 (03EF) [23:54:39]Load OK [23:54:39]SetTLVBufToDocument [23:54:39]Processing tag 1014 (03F6) [23:54:39]Malloc new data [23:54:39]Processing tag 1015 (03F7) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]SetTLVBufToDocument err=0 [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Processing tag 1133 (046D) [23:54:39]Malloc new data [23:54:39]SetTLVBufToDocument err=0 [23:54:39]SetTLVBufToDocument err=0 [23:54:39]Malloc new data [23:54:39]SAM_PROTO_GetFMData [23:54:39]wFMCommunicate request_size=4 [23:54:39]MH_SAM_APDU [23:54:39]CAPDU: 80 13 03 00 [23:54:39]Write to MH i2c: E2 08 00 C4 12 80 13 03 00 00 00 00 00 55 [23:54:39]Write i2c OK [23:54:39]MH_I2C_Read... [23:54:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:54:39]Read from MH i2c: E2 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 [23:54:39]MH_I2C_Read... [23:54:39]Read from MH i2c: E2 FD 00 C4 12 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 00 [23:54:39]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 C5 12 80 17 00 00 00 00 00 00 57 [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 C5 12 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6F [23:54:40]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:54:40]wFMCommunicate OK [23:54:40]wFMCommunicate request_size=4 [23:54:40]MH_SAM_APDU [23:54:40]CAPDU: 80 17 00 00 [23:54:40]Write to MH i2c: E2 08 00 C6 12 80 17 00 00 00 00 00 00 58 [23:54:40]Write i2c OK [23:54:40]MH_I2C_Read... [23:54:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:40]Read from MH i2c: E2 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 [23:54:40]MH_I2C_Read... [23:54:40]Read from MH i2c: E2 FD 00 C6 12 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 6D [23:54:41]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:54:41]wFMCommunicate OK [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 17 00 00 [23:54:41]Write to MH i2c: E2 08 00 C7 12 80 17 00 00 00 00 00 00 59 [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:54:41]Read from MH i2c: E2 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 [23:54:41]MH_I2C_Read... [23:54:41]Read from MH i2c: E2 FD 00 C7 12 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D1 [23:54:41]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:54:41]wFMCommunicate OK [23:54:41]wFMCommunicate request_size=4 [23:54:41]MH_SAM_APDU [23:54:41]CAPDU: 80 17 00 00 [23:54:41]Write to MH i2c: E2 08 00 C8 12 80 17 00 00 00 00 00 00 5A [23:54:41]OFD Sender: No OFD packet to send [23:54:41]Write i2c OK [23:54:41]MH_I2C_Read... [23:54:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:54:42]Read from MH i2c: E2 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 E1 00 [23:54:42]MH_I2C_Read... [23:54:42]Read from MH i2c: E2 E1 00 C8 12 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 48 [23:54:42]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:54:42]wFMCommunicate OK [23:54:42]SAM_PROTO_GetFMData done [23:54:42]FM_GetFMData:85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E 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 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:54:42]oper:6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:54:43]total:3A FC 70 45 [23:54:43]Malloc new data [23:54:43]oper:6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E 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 7C E3 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 [23:54:43]total:64 5B B7 01 [23:54:43]Malloc new data [23:54:43]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:54:43]total: [23:54:43]Malloc new data [23:54:43]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:54:43]total: [23:54:43]Malloc new data [23:54:43]KKMPrepareXReportFMData err=0 [23:54:43]Х отчет ИНН: 02508201610067 Кассир: Медербеков М. 19.10.2024 23:54 Смена: 266 РНМ: 0000000000098149 ЗНМ: 0300000235 СНО: Общий режим Всего чеков: 86 ИТОГИ ПРИХОД Чеков: 86 Общий итог: 34673.88 Итого наличными: 19498.00 Итого безнал.: 15175.88 НДС 0% : 0.00 НДС 12% : 3682.59 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 306.76 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 19498.00 НС Приход: 11650325.06 НС Возвр.Прихода: 287937.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965372 [23:54:43]StoreToDocumentArchive [23:54:43]MH_GetDate [23:54:43]Write to MH i2c: F0 00 00 C9 12 CA [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: F0 09 00 C9 12 00 C7 46 14 67 C5 A4 76 66 A0 [23:54:43]shift 266 fd 1729382087 [23:54:43]Create dir for shift 0266 [23:54:43]save to /storage/0266/doc_1729382087 [23:54:43]save last doc name /storage/0266/doc_1729382087 to /storage/kkm_last_doc_name [23:54:43]save OK [23:54:43]Clear old archive folders... [23:54:43]NVStorageSaveData kkm_last_timestamp [23:54:43]File name is /storage/kkm_last_timestamp [23:54:43]Write 4 bytes [23:54:43]NVStorageSaveData done [23:54:43]ExternCall_PrintAddStr [23:54:43]wPrintStart [23:54:43]Write to MH i2c: 01 00 00 CA 12 DC [23:54:43]Write i2c OK [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: 01 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: 01 07 00 [23:54:43]MH_I2C_Read... [23:54:43]Read from MH i2c: 01 07 00 CA 12 00 00 00 00 00 FF 0F F1 [23:54:43]RasterBufferAndPrint [23:54:43]line Х отчет [23:54:43]line ИНН: 02508201610067 [23:54:43]line Кассир: Медербеков М. [23:54:43]line 19.10.2024 23:54 [23:54:43]line Смена: 266 [23:54:43]line РНМ: 0000000000098149 [23:54:43]line ЗНМ: 0300000235 [23:54:43]line СНО: Общий режим [23:54:43]line Всего чеков: 86 [23:54:43]line ИТОГИ ПРИХОД [23:54:43]line Чеков: 86 [23:54:43]line Общий итог: 34673.88 [23:54:43]line Итого наличными: 19498.00 [23:54:43]line Итого безнал.: 15175.88 [23:54:43]line НДС 0% : 0.00 [23:54:43]line НДС 12% : 3682.59 [23:54:43]line НСП 0% : 0.00 [23:54:43]line НСП 1,50% : 0.00 [23:54:43]line НСП 0,50% : 0.00 [23:54:43]line НСП 5% : 0.00 [23:54:43]line НСП 3% : 0.00 [23:54:43]line НСП 2% : 0.00 [23:54:43]line НСП 1% : 306.76 [23:54:43]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:54:43]line Чеков: 0 [23:54:43]line Общий итог: 0.00 [23:54:43]line Итого наличными: 0.00 [23:54:43]line Итого безнал.: 0.00 [23:54:43]line НДС 0% : 0.00 [23:54:43]line НДС 12% : 0.00 [23:54:43]line НСП 0% : 0.00 [23:54:43]line НСП 1,50% : 0.00 [23:54:43]line НСП 0,50% : 0.00 [23:54:43]line НСП 5% : 0.00 [23:54:43]line НСП 3% : 0.00 [23:54:43]line НСП 2% : 0.00 [23:54:43]line НСП 1% : 0.00 [23:54:43]line ИТОГИ РАСХОД [23:54:43]line Чеков: 0 [23:54:43]line Общий итог: 0.00 [23:54:43]line Итого наличными: 0.00 [23:54:43]line Итого безнал.: 0.00 [23:54:43]line НДС 0% : 0.00 [23:54:43]line НДС 12% : 0.00 [23:54:43]line НСП 0% : 0.00 [23:54:43]line НСП 1,50% : 0.00 [23:54:43]line НСП 0,50% : 0.00 [23:54:43]line НСП 5% : 0.00 [23:54:43]line НСП 3% : 0.00 [23:54:43]line НСП 2% : 0.00 [23:54:43]line НСП 1% : 0.00 [23:54:43]line ИТОГИ ВОЗВРАТ РАСХОДА [23:54:43]line Чеков: 0 [23:54:43]line Общий итог: 0.00 [23:54:43]line Итого наличными: 0.00 [23:54:43]line Итого безнал.: 0.00 [23:54:43]line НДС 0% : 0.00 [23:54:43]line НДС 12% : 0.00 [23:54:43]line НСП 0% : 0.00 [23:54:43]line НСП 1,50% : 0.00 [23:54:43]line НСП 0,50% : 0.00 [23:54:43]line НСП 5% : 0.00 [23:54:43]line НСП 3% : 0.00 [23:54:43]line НСП 2% : 0.00 [23:54:43]line НСП 1% : 0.00 [23:54:43]line Сумма внесений: 0.00 [23:54:43]line Сумма выплат: 0.00 [23:54:43]line Нал. в кассе: 19498.00 [23:54:43]line НС Приход: 11650325.06 [23:54:43]line НС Возвр.Прихода: 287937.00 [23:54:43]line НС Расход: 0.00 [23:54:43]line НС Возвр.Расхода: 0.00 [23:54:43]line ФМ: 0000000000965372 [23:54:43]written 0, free lines is 4095 [23:54:44]Write to MH i2c: 01 00 00 15 13 28 [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: 01 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: 01 07 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: 01 07 00 15 13 00 00 00 00 00 C1 0A FA [23:54:44]RasterBufferAndPrint [23:54:44]line [23:54:44]line [23:54:44]line [23:54:44]line [23:54:44]line [23:54:44]written 0, free lines is 2789 [23:54:44]process_action x_report done [23:54:44]requested_data is exist [23:54:44]produce_requested_data [23:54:44]requested_item fd.num is exist - process it [23:54:44]SAM_PROTO_GetFieldsCounters [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 13 00 00 [23:54:44]Write to MH i2c: E2 08 00 1C 13 80 13 00 00 00 00 00 00 AB [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 62 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 62 00 1C 13 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [23:54:44]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:54:44]wFMCommunicate OK [23:54:44]SAM_PROTO_GetFieldsCounters done [23:54:44]requested_item shift.num is exist - process it [23:54:44]requested_item shift.opened is exist - process it [23:54:44]req_shift_opened [23:54:44]FM_GetShiftState [23:54:44]SAM_PROTO_GetShiftState [23:54:44]wFMCommunicate request_size=4 [23:54:44]MH_SAM_APDU [23:54:44]CAPDU: 80 13 01 00 [23:54:44]Write to MH i2c: E2 08 00 1D 13 80 13 01 00 00 00 00 00 AD [23:54:44]Write i2c OK [23:54:44]MH_I2C_Read... [23:54:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:54:44]Read from MH i2c: E2 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 0E 00 [23:54:44]MH_I2C_Read... [23:54:44]Read from MH i2c: E2 0E 00 1D 13 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 C7 [23:54:44]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [23:54:44]wFMCommunicate OK [23:54:44]SAM_PROTO_GetShiftState done [23:54:44]FM_GetShiftState done [23:54:44]req_shift_opened done [23:54:44]requested_item shift.open_date is exist - process it [23:54:44]req_shift_open_date [23:54:44]req_shift_open_date done [23:54:44]produce_requested_data done [23:54:44]produce_requested_data return {"fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [23:54:44]process_action_free x_report [23:54:44]json_value_free [23:54:44]json_value_free done [23:54:44]process_json_proto returns [23:54:44]Send response to host [23:54:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [23:54:44]free response buf [23:54:44]execute_script done [23:54:44]execute_script returns [23:54:44]free content buf [23:54:44]Sock 9.Close socket [23:54:44]Sock 9.Thread stoped [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:55]int [23:54:55]Write to MH i2c: 01 00 00 1E 13 31 [23:54:55]*** FLAG_PRN_KEY set [23:54:55]Write i2c OK [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 1E 13 00 08 00 00 00 FF 0F 4E [23:54:55]state=0 [23:54:55]Key pressed [23:54:55]Feed [23:54:55]Write to MH i2c: D8 00 00 1F 13 09 [23:54:55]Write i2c OK [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: D8 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: D8 01 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: D8 01 00 1F 13 00 0A [23:54:55]int line is 0 - check status [23:54:55]Write to MH i2c: 01 00 00 20 13 33 [23:54:55]Write i2c OK [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 20 13 00 48 00 00 00 3D 00 BF [23:54:55]state=2 [23:54:55]Key pressed [23:54:55]int [23:54:55]Write to MH i2c: 01 00 00 21 13 34 [23:54:55]Write i2c OK [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 [23:54:55]MH_I2C_Read... [23:54:55]Read from MH i2c: 01 07 00 21 13 00 48 00 00 00 3C 00 BF [23:54:55]state=2 [23:54:55]Key pressed [23:54:56]int [23:54:56]Write to MH i2c: 01 00 00 22 13 35 [23:54:56]*** FLAG_PRN_KEY reset [23:54:56]Write i2c OK [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 07 00 [23:54:56]MH_I2C_Read... [23:54:56]Read from MH i2c: 01 07 00 22 13 00 00 00 00 00 FF 0F 4A [23:54:56]state=2 [23:54:56]Stop feed [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:16]OFD Sender: No OFD packet to send [23:55:21]accept exits with 7 [23:55:21]New connection [23:55:21]New thread 3066699108 created [23:55:21]Thread 3066555748 joined [23:55:21]Waiting for new connection... [23:55:21] Sock 7.Parse request [23:55:21]Sock 7.Check first char [23:55:21]Sock 7.First char is OK [23:55:21]request: POST /json_proto HTTP/1.0 [23:55:21]Method: POST [23:55:21]URL: /json_proto [23:55:21]Method is POST - this is cgi request [23:55:21]url: /json_proto [23:55:21]query_string will be loaded in cgi processing [23:55:21]execute_cgi json_proto POST (null) [23:55:21]execute_cgi path=json_proto method=POST [23:55:21]POST find Content-Length [23:55:21]Host: 172.17.53.68:8080 [23:55:21]Content-Length: 215 [23:55:21]Content-Type: application/json [23:55:21] [23:55:21]POST finish read [23:55:21]Found Content-Length = 215 [23:55:21]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:55:21]execute_script... [23:55:21]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:55:21]POST & json_proto [23:55:21]process_json_proto [23:55:21]json parsed OK: [23:55:21]protocol is kg_v1.0 [23:55:21]action value=get_value [23:55:21]process_action get_value [23:55:21]cmd_get_value [23:55:21]process_action get_value done [23:55:21]requested_data is exist [23:55:21]produce_requested_data [23:55:21]requested_item kkm.sn is exist - process it [23:55:21]requested_item kkm.ver is exist - process it [23:55:21]requested_item fm.sn is exist - process it [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 11 00 00 [23:55:21]Write to MH i2c: E2 08 00 23 13 80 11 00 00 00 00 00 00 B0 [23:55:21]Write i2c OK [23:55:21]MH_I2C_Read... [23:55:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:21]Read from MH i2c: E2 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 17 00 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 17 00 23 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 03 [23:55:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:55:21]wFMCommunicate OK [23:55:21]requested_item fd.num is exist - process it [23:55:21]SAM_PROTO_GetFieldsCounters [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 13 00 00 [23:55:21]Write to MH i2c: E2 08 00 24 13 80 13 00 00 00 00 00 00 B3 [23:55:21]Write i2c OK [23:55:21]MH_I2C_Read... [23:55:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:21]Read from MH i2c: E2 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 62 00 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 62 00 24 13 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [23:55: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1E 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:21]wFMCommunicate OK [23:55:21]SAM_PROTO_GetFieldsCounters done [23:55:21]requested_item shift.num is exist - process it [23:55:21]requested_item shift.opened is exist - process it [23:55:21]req_shift_opened [23:55:21]FM_GetShiftState [23:55:21]SAM_PROTO_GetShiftState [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 13 01 00 [23:55:21]Write to MH i2c: E2 08 00 25 13 80 13 01 00 00 00 00 00 B5 [23:55:21]Write i2c OK [23:55:21]MH_I2C_Read... [23:55:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:21]Read from MH i2c: E2 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 0E 00 [23:55:21]MH_I2C_Read... [23:55:21]Read from MH i2c: E2 0E 00 25 13 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 CF [23:55:21]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [23:55:21]wFMCommunicate OK [23:55:21]SAM_PROTO_GetShiftState done [23:55:21]FM_GetShiftState done [23:55:21]req_shift_opened done [23:55:21]requested_item shift.open_date is exist - process it [23:55:21]req_shift_open_date [23:55:21]req_shift_open_date done [23:55:21]produce_requested_data done [23:55:21]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796} [23:55:21]process_action_free get_value [23:55:21]json_value_free [23:55:21]json_value_free done [23:55:21]process_json_proto returns [23:55:21]Send response to host [23:55:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37150,"shift.num":460,"shift.opened":1,"shift.open_date":1729296796}}} [23:55:21]free response buf [23:55:21]execute_script done [23:55:21]execute_script returns [23:55:21]free content buf [23:55:21]Sock 7.Close socket [23:55:21]Sock 7.Thread stoped [23:55:21]accept exits with 9 [23:55:21]New connection [23:55:21]New thread 3066555748 created [23:55:21]Thread 3066699108 joined [23:55:21]Waiting for new connection... [23:55:21] Sock 9.Parse request [23:55:21]Sock 9.Check first char [23:55:21]Sock 9.First char is OK [23:55:21]request: POST /json_proto HTTP/1.0 [23:55:21]Method: POST [23:55:21]URL: /json_proto [23:55:21]Method is POST - this is cgi request [23:55:21]url: /json_proto [23:55:21]query_string will be loaded in cgi processing [23:55:21]execute_cgi json_proto POST (null) [23:55:21]execute_cgi path=json_proto method=POST [23:55:21]POST find Content-Length [23:55:21]Host: 172.17.53.68:8080 [23:55:21]Content-Length: 331 [23:55:21]Content-Type: application/json [23:55:21] [23:55:21]POST finish read [23:55:21]Found Content-Length = 331 [23:55:21]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:55:21]execute_script... [23:55:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:55:21]POST & json_proto [23:55:21]process_json_proto [23:55:21]json parsed OK: [23:55:21]protocol is kg_v1.0 [23:55:21]action value=get_value [23:55:21]process_action get_value [23:55:21]cmd_get_value [23:55:21]process_action get_value done [23:55:21]requested_data is exist [23:55:21]produce_requested_data [23:55:21]requested_item fm.sale.total is exist - process it [23:55:21]SAM_PROTO_GetFMData [23:55:21]wFMCommunicate request_size=4 [23:55:21]MH_SAM_APDU [23:55:21]CAPDU: 80 13 03 00 [23:55:21]Write to MH i2c: E2 08 00 26 13 80 13 03 00 00 00 00 00 B8 [23:55:21]Write i2c OK [23:55:21]MH_I2C_Read... [23:55:21]OFD Sender: No OFD packet to send [23:55:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:22]Read from MH i2c: E2 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 26 13 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 63 [23:55:22]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:22]wFMCommunicate OK [23:55:22]wFMCommunicate request_size=4 [23:55:22]MH_SAM_APDU [23:55:22]CAPDU: 80 17 00 00 [23:55:22]Write to MH i2c: E2 08 00 27 13 80 17 00 00 00 00 00 00 BA [23:55:22]Write i2c OK [23:55:22]MH_I2C_Read... [23:55:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:22]Read from MH i2c: E2 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 27 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 D2 [23:55:22]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:22]wFMCommunicate OK [23:55:22]wFMCommunicate request_size=4 [23:55:22]MH_SAM_APDU [23:55:22]CAPDU: 80 17 00 00 [23:55:22]Write to MH i2c: E2 08 00 28 13 80 17 00 00 00 00 00 00 BB [23:55:22]Write i2c OK [23:55:22]MH_I2C_Read... [23:55:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:22]Read from MH i2c: E2 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 [23:55:22]MH_I2C_Read... [23:55:22]Read from MH i2c: E2 FD 00 28 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D0 [23:55:22]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:22]wFMCommunicate OK [23:55:22]wFMCommunicate request_size=4 [23:55:22]MH_SAM_APDU [23:55:22]CAPDU: 80 17 00 00 [23:55:22]Write to MH i2c: E2 08 00 29 13 80 17 00 00 00 00 00 00 BC [23:55:22]Write i2c OK [23:55:22]MH_I2C_Read... [23:55:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:23]Read from MH i2c: E2 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 29 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 34 [23:55:23]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:23]wFMCommunicate OK [23:55:23]wFMCommunicate request_size=4 [23:55:23]MH_SAM_APDU [23:55:23]CAPDU: 80 17 00 00 [23:55:23]Write to MH i2c: E2 08 00 2A 13 80 17 00 00 00 00 00 00 BD [23:55:23]Write i2c OK [23:55:23]MH_I2C_Read... [23:55:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:23]Read from MH i2c: E2 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 E1 00 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 E1 00 2A 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AB [23:55:23]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:23]wFMCommunicate OK [23:55:23]SAM_PROTO_GetFMData done [23:55:23]requested_item fm.sale_refund.total is exist - process it [23:55:23]requested_item fm.buy.total is exist - process it [23:55:23]requested_item shift.sale.total is exist - process it [23:55:23]SAM_PROTO_GetShiftData [23:55:23]wFMCommunicate request_size=4 [23:55:23]MH_SAM_APDU [23:55:23]CAPDU: 80 13 02 00 [23:55:23]Write to MH i2c: E2 08 00 2B 13 80 13 02 00 00 00 00 00 BC [23:55:23]Write i2c OK [23:55:23]MH_I2C_Read... [23:55:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:23]Read from MH i2c: E2 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 [23:55:23]MH_I2C_Read... [23:55:23]Read from MH i2c: E2 FD 00 2B 13 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [23:55:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:55:24]wFMCommunicate OK [23:55:24]wFMCommunicate request_size=4 [23:55:24]MH_SAM_APDU [23:55:24]CAPDU: 80 17 00 00 [23:55:24]Write to MH i2c: E2 08 00 2C 13 80 17 00 00 00 00 00 00 BF [23:55:24]Write i2c OK [23:55:24]MH_I2C_Read... [23:55:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:24]Read from MH i2c: E2 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 2C 13 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 E1 [23:55:24]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:55:24]wFMCommunicate OK [23:55:24]wFMCommunicate request_size=4 [23:55:24]MH_SAM_APDU [23:55:24]CAPDU: 80 17 00 00 [23:55:24]Write to MH i2c: E2 08 00 2D 13 80 17 00 00 00 00 00 00 C0 [23:55:24]Write i2c OK [23:55:24]MH_I2C_Read... [23:55:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:24]Read from MH i2c: E2 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 2D 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 77 [23:55:24]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:55:24]wFMCommunicate OK [23:55:24]wFMCommunicate request_size=4 [23:55:24]MH_SAM_APDU [23:55:24]CAPDU: 80 17 00 00 [23:55:24]Write to MH i2c: E2 08 00 2E 13 80 17 00 00 00 00 00 00 C1 [23:55:24]Write i2c OK [23:55:24]MH_I2C_Read... [23:55:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:24]Read from MH i2c: E2 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 [23:55:24]MH_I2C_Read... [23:55:24]Read from MH i2c: E2 FD 00 2E 13 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 33 [23:55:24]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:55:24]wFMCommunicate OK [23:55:24]wFMCommunicate request_size=4 [23:55:24]MH_SAM_APDU [23:55:24]CAPDU: 80 17 00 00 [23:55:24]Write to MH i2c: E2 08 00 2F 13 80 17 00 00 00 00 00 00 C2 [23:55:24]Write i2c OK [23:55:24]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 CB 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 CB 00 2F 13 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 AB [23:55:25]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:55:25]wFMCommunicate OK [23:55:25]SAM_PROTO_GetShiftData done [23:55:25]requested_item shift.sale.total_cash is exist - process it [23:55:25]requested_item shift.sale_refund.total is exist - process it [23:55:25]requested_item shift.sale_refund.total_cash is exist - process it [23:55:25]requested_item shift.buy.total is exist - process it [23:55:25]requested_item shift.buy.total_cash is exist - process it [23:55:25]produce_requested_data done [23:55:25]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:55:25]process_action_free get_value [23:55:25]json_value_free [23:55:25]json_value_free done [23:55:25]process_json_proto returns [23:55:25]Send response to host [23:55:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:55:25]free response buf [23:55:25]execute_script done [23:55:25]execute_script returns [23:55:25]free content buf [23:55:25]Sock 9.Close socket [23:55:25]Sock 9.Thread stoped [23:55:25]accept exits with 7 [23:55:25]New connection [23:55:25]New thread 3066699108 created [23:55:25]Thread 3066555748 joined [23:55:25]Waiting for new connection... [23:55:25] Sock 7.Parse request [23:55:25]Sock 7.Check first char [23:55:25]Sock 7.First char is OK [23:55:25]request: POST /json_proto HTTP/1.0 [23:55:25]Method: POST [23:55:25]URL: /json_proto [23:55:25]Method is POST - this is cgi request [23:55:25]url: /json_proto [23:55:25]query_string will be loaded in cgi processing [23:55:25]execute_cgi json_proto POST (null) [23:55:25]execute_cgi path=json_proto method=POST [23:55:25]POST find Content-Length [23:55:25]Host: 172.17.53.68:8080 [23:55:25]Content-Length: 331 [23:55:25]Content-Type: application/json [23:55:25] [23:55:25]POST finish read [23:55:25]Found Content-Length = 331 [23:55:25]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:55:25]execute_script... [23:55:25]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:55:25]POST & json_proto [23:55:25]process_json_proto [23:55:25]json parsed OK: [23:55:25]protocol is kg_v1.0 [23:55:25]action value=get_value [23:55:25]process_action get_value [23:55:25]cmd_get_value [23:55:25]process_action get_value done [23:55:25]requested_data is exist [23:55:25]produce_requested_data [23:55:25]requested_item fm.sale.total is exist - process it [23:55:25]SAM_PROTO_GetFMData [23:55:25]wFMCommunicate request_size=4 [23:55:25]MH_SAM_APDU [23:55:25]CAPDU: 80 13 03 00 [23:55:25]Write to MH i2c: E2 08 00 30 13 80 13 03 00 00 00 00 00 C2 [23:55:25]Write i2c OK [23:55:25]MH_I2C_Read... [23:55:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:25]Read from MH i2c: E2 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 FD 00 [23:55:25]MH_I2C_Read... [23:55:25]Read from MH i2c: E2 FD 00 30 13 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 6D [23:55:26]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 31 13 80 17 00 00 00 00 00 00 C4 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 31 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 DC [23:55:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 32 13 80 17 00 00 00 00 00 00 C5 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:26]Read from MH i2c: E2 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 [23:55:26]MH_I2C_Read... [23:55:26]Read from MH i2c: E2 FD 00 32 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 DA [23:55:26]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:26]wFMCommunicate OK [23:55:26]wFMCommunicate request_size=4 [23:55:26]MH_SAM_APDU [23:55:26]CAPDU: 80 17 00 00 [23:55:26]Write to MH i2c: E2 08 00 33 13 80 17 00 00 00 00 00 00 C6 [23:55:26]Write i2c OK [23:55:26]MH_I2C_Read... [23:55:27]OFD Sender: No OFD packet to send [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 FD 00 33 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 3E [23:55:27]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:27]wFMCommunicate OK [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 17 00 00 [23:55:27]Write to MH i2c: E2 08 00 34 13 80 17 00 00 00 00 00 00 C7 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:27]Read from MH i2c: E2 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 E1 00 [23:55:27]MH_I2C_Read... [23:55:27]Read from MH i2c: E2 E1 00 34 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B5 [23:55:27]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:27]wFMCommunicate OK [23:55:27]SAM_PROTO_GetFMData done [23:55:27]requested_item fm.sale_refund.total is exist - process it [23:55:27]requested_item fm.buy.total is exist - process it [23:55:27]requested_item shift.sale.total is exist - process it [23:55:27]SAM_PROTO_GetShiftData [23:55:27]wFMCommunicate request_size=4 [23:55:27]MH_SAM_APDU [23:55:27]CAPDU: 80 13 02 00 [23:55:27]Write to MH i2c: E2 08 00 35 13 80 13 02 00 00 00 00 00 C6 [23:55:27]Write i2c OK [23:55:27]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 35 13 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [23:55:28]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 17 00 00 [23:55:28]Write to MH i2c: E2 08 00 36 13 80 17 00 00 00 00 00 00 C9 [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:28]Read from MH i2c: E2 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 [23:55:28]MH_I2C_Read... [23:55:28]Read from MH i2c: E2 FD 00 36 13 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 EB [23:55:28]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:55:28]wFMCommunicate OK [23:55:28]wFMCommunicate request_size=4 [23:55:28]MH_SAM_APDU [23:55:28]CAPDU: 80 17 00 00 [23:55:28]Write to MH i2c: E2 08 00 37 13 80 17 00 00 00 00 00 00 CA [23:55:28]Write i2c OK [23:55:28]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 37 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 81 [23:55:29]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:55:29]wFMCommunicate OK [23:55:29]wFMCommunicate request_size=4 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 17 00 00 [23:55:29]Write to MH i2c: E2 08 00 38 13 80 17 00 00 00 00 00 00 CB [23:55:29]Write i2c OK [23:55:29]MH_I2C_Read... [23:55:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:29]Read from MH i2c: E2 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 [23:55:29]MH_I2C_Read... [23:55:29]Read from MH i2c: E2 FD 00 38 13 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 3D [23:55:29]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:55:29]wFMCommunicate OK [23:55:29]wFMCommunicate request_size=4 [23:55:29]MH_SAM_APDU [23:55:29]CAPDU: 80 17 00 00 [23:55:29]Write to MH i2c: E2 08 00 39 13 80 17 00 00 00 00 00 00 CC [23:55:29]Write i2c OK [23:55:29]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 CB 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 CB 00 39 13 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 B5 [23:55:30]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:55:30]wFMCommunicate OK [23:55:30]SAM_PROTO_GetShiftData done [23:55:30]requested_item shift.sale.total_cash is exist - process it [23:55:30]requested_item shift.sale_refund.total is exist - process it [23:55:30]requested_item shift.sale_refund.total_cash is exist - process it [23:55:30]requested_item shift.buy.total is exist - process it [23:55:30]requested_item shift.buy.total_cash is exist - process it [23:55:30]produce_requested_data done [23:55:30]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:55:30]process_action_free get_value [23:55:30]json_value_free [23:55:30]json_value_free done [23:55:30]process_json_proto returns [23:55:30]Send response to host [23:55:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:55:30]free response buf [23:55:30]execute_script done [23:55:30]execute_script returns [23:55:30]free content buf [23:55:30]Sock 7.Close socket [23:55:30]Sock 7.Thread stoped [23:55:30]accept exits with 9 [23:55:30]New connection [23:55:30]New thread 3066555748 created [23:55:30]Thread 3066699108 joined [23:55:30]Waiting for new connection... [23:55:30] Sock 9.Parse request [23:55:30]Sock 9.Check first char [23:55:30]Sock 9.First char is OK [23:55:30]request: POST /json_proto HTTP/1.0 [23:55:30]Method: POST [23:55:30]URL: /json_proto [23:55:30]Method is POST - this is cgi request [23:55:30]url: /json_proto [23:55:30]query_string will be loaded in cgi processing [23:55:30]execute_cgi json_proto POST (null) [23:55:30]execute_cgi path=json_proto method=POST [23:55:30]POST find Content-Length [23:55:30]Host: 172.17.53.68:8080 [23:55:30]Content-Length: 272 [23:55:30]Content-Type: application/json [23:55:30] [23:55:30]POST finish read [23:55:30]Found Content-Length = 272 [23:55:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0440\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:30]execute_script... [23:55:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0440\u0431\u0435\u043A\u043E\u0432 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:30]POST & json_proto [23:55:30]process_json_proto [23:55:30]json parsed OK: [23:55:30]protocol is kg_v1.0 [23:55:30]action value=close_shift [23:55:30]process_action close_shift [23:55:30]cmd_close_shift [23:55:30]MH_GetDate [23:55:30]Write to MH i2c: F0 00 00 3A 13 3C [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 09 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 09 00 3A 13 00 F6 46 14 67 C5 A4 76 66 41 [23:55:30]GetLastDocTimeStamp 1729382079 [23:55:30]current date 1729382134 [23:55:30]FM_GetShiftState [23:55:30]SAM_PROTO_GetShiftState [23:55:30]wFMCommunicate request_size=4 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 13 01 00 [23:55:30]Write to MH i2c: E2 08 00 3B 13 80 13 01 00 00 00 00 00 CB [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 0E 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 0E 00 3B 13 00 09 00 01 9C F9 12 67 00 00 00 00 90 00 E5 [23:55:30]RAPDU: 09 00 01 9C F9 12 67 00 00 00 00 90 00 [23:55:30]wFMCommunicate OK [23:55:30]SAM_PROTO_GetShiftState done [23:55:30]FM_GetShiftState done [23:55:30]KKMCreateCloseShiftDocument [23:55:30]Load OK [23:55:30]Malloc new data [23:55:30]MH_GetDate [23:55:30]Write to MH i2c: F0 00 00 3C 13 3E [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 09 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: F0 09 00 3C 13 00 F6 46 14 67 C5 A4 76 66 43 [23:55:30]Malloc new data [23:55:30]Malloc new data [23:55:30]Malloc new data [23:55:30]Malloc new data [23:55:30]KKMCreateCloseShiftDocument OK [23:55:30]KKMSetCloseShiftData OK [23:55:30]ProcessDocumentItem done err = 0, tmpTLVsize=75 [23:55:30]tlvbuf is 00A02EA0 [23:55:30]KKMLoadAndSignCloseShiftData [23:55:30]SAM_PROTO_ProcessDocument [23:55:30]wFMCommunicate request_size=9 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 15 01 00 04 05 00 4B 00 [23:55:30]Write to MH i2c: E2 0C 00 3D 13 80 15 01 00 04 00 05 00 4B 00 00 00 27 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 3D 13 00 90 00 C4 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=23 [23:55:30]MH_SAM_APDU [23:55:30]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:55:30]Write to MH i2c: E2 1A 00 3E 13 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 C6 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 3E 13 00 90 00 C5 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=34 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 [23:55:30]Write to MH i2c: E2 25 00 3F 13 80 15 02 00 1D 00 FD 03 19 00 D0 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 00 00 EA [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 3F 13 00 90 00 C6 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=13 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 15 02 00 08 F4 03 04 00 F6 46 14 67 [23:55:30]Write to MH i2c: E2 10 00 40 13 80 15 02 00 08 00 F4 03 04 00 F6 46 14 67 00 00 95 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 40 13 00 90 00 C7 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=25 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [23:55:30]Write to MH i2c: E2 1C 00 41 13 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 3C [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:55:30]Read from MH i2c: E2 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 [23:55:30]MH_I2C_Read... [23:55:30]Read from MH i2c: E2 03 00 41 13 00 90 00 C8 [23:55:30]RAPDU: 90 00 [23:55:30]wFMCommunicate OK [23:55:30]wFMCommunicate request_size=4 [23:55:30]MH_SAM_APDU [23:55:30]CAPDU: 80 15 03 00 [23:55:30]Write to MH i2c: E2 08 00 42 13 80 15 03 00 00 00 00 00 D6 [23:55:30]Write i2c OK [23:55:30]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 [23:55:31]MH_I2C_Read... [23:55:31]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:55:31]Read from MH i2c: E2 FD 00 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 FD 00 42 13 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 33 37 32 10 04 04 00 1F 91 00 00 0E 04 04 00 CC 01 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AE [23:55:31]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 33 37 32 10 04 04 00 1F 91 00 00 0E 04 04 00 CC 01 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:55:31]wFMCommunicate OK [23:55:31]SAM_PROTO_ProcessDocument answer len = 1265 [23:55:31]SAM_PROTO_ProcessDocument remain to read = 1017 [23:55:31]wFMCommunicate request_size=4 [23:55:31]MH_SAM_APDU [23:55:31]CAPDU: 80 17 00 00 [23:55:31]Write to MH i2c: E2 08 00 43 13 80 17 00 00 00 00 00 00 D6 [23:55:31]Write i2c OK [23:55:31]MH_I2C_Read... [23:55:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:31]Read from MH i2c: E2 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 FD 00 [23:55:31]MH_I2C_Read... [23:55:31]Read from MH i2c: E2 FD 00 43 13 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1F [23:55:32]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 OFD Sender: No OFD packet to send [23:55:32]00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:55:32]wFMCommunicate OK [23:55:32]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:32]SAM_PROTO_ProcessDocument remain to read = 767 [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 17 00 00 [23:55:32]Write to MH i2c: E2 08 00 44 13 80 17 00 00 00 00 00 00 D7 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:32]Read from MH i2c: E2 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 [23:55:32]MH_I2C_Read... [23:55:32]Read from MH i2c: E2 FD 00 44 13 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 39 [23:55:32]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:55:32]wFMCommunicate OK [23:55:32]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:32]SAM_PROTO_ProcessDocument remain to read = 517 [23:55:32]wFMCommunicate request_size=4 [23:55:32]MH_SAM_APDU [23:55:32]CAPDU: 80 17 00 00 [23:55:32]Write to MH i2c: E2 08 00 45 13 80 17 00 00 00 00 00 00 D8 [23:55:32]Write i2c OK [23:55:32]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:33]Read from MH i2c: E2 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 45 13 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 62 [23:55:33]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:55:33]wFMCommunicate OK [23:55:33]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:33]SAM_PROTO_ProcessDocument remain to read = 267 [23:55:33]wFMCommunicate request_size=4 [23:55:33]MH_SAM_APDU [23:55:33]CAPDU: 80 17 00 00 [23:55:33]Write to MH i2c: E2 08 00 46 13 80 17 00 00 00 00 00 00 D9 [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:33]Read from MH i2c: E2 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 FD 00 46 13 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 A1 [23:55:33]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:55:33]wFMCommunicate OK [23:55:33]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:55:33]SAM_PROTO_ProcessDocument remain to read = 17 [23:55:33]wFMCommunicate request_size=4 [23:55:33]MH_SAM_APDU [23:55:33]CAPDU: 80 17 00 00 [23:55:33]Write to MH i2c: E2 08 00 47 13 80 17 00 00 00 00 00 00 DA [23:55:33]Write i2c OK [23:55:33]MH_I2C_Read... [23:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:55:33]Read from MH i2c: E2 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 14 00 [23:55:33]MH_I2C_Read... [23:55:33]Read from MH i2c: E2 14 00 47 13 00 01 00 06 F7 03 00 00 35 04 06 00 1F 98 88 9B A7 5A 90 00 FA [23:55:33]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 1F 98 88 9B A7 5A 90 00 [23:55:34]wFMCommunicate OK [23:55:34]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:55:34]SAM_PROTO_ProcessDocument done [23:55:34]1209 (1) - 1.0 - номер версии ФФД [23:55:34]1041 (16) - 0000000000965372 - номер ФМ [23:55:34]1040 (4) - 37151 - номер ФД [23:55:34]1038 (4) - 460 - номер смены [23:55:34]1118 (4) - 86 - количество кассовых чеков за смену [23:55:34]1111 (4) - 88 - общее количество ФД за смену [23:55:34]1194 (1194) - счетчики итогов смены [23:55:34] 1134 (4) - 86 - количество чеков со всеми признаками расчетов [23:55:34] 1129 (155) - счетчики операций «приход» [23:55:34] 1135 (4) - 86 - количество чеков по признаку расчетов [23:55:34] 1201 (3) - 34673.88 - общая итоговая сумма в чеках [23:55:34] 1136 (3) - 19498.00 - итоговая сумма в чеках наличными [23:55:34] 1138 (3) - 15175.88 - итоговая сумма в чеках безналичными [23:55:34] 1024 (122) - суммы налогов [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 0% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1006 (12) - суммы НДС [23:55:34] 1010 (1) - 12% - код ставки НДС [23:55:34] 1011 (3) - 3682.59 - сумма НДС по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (11) - суммы НСП [23:55:34] 1014 (1) - 1% - код ставки НСП [23:55:34] 1015 (2) - 306.76 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 2% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 3% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 5% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1130 (141) - счетчики операций «возврат прихода» [23:55:34] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:34] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:34] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:34] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:34] 1024 (117) - суммы налогов [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 0% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 12% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 2% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 3% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 5% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1131 (141) - счетчики операций «расход» [23:55:34] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:34] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:34] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:34] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:34] 1024 (117) - суммы налогов [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 0% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 12% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 2% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 3% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 5% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1132 (141) - счетчики операций «возврат расхода» [23:55:34] 1135 (4) - 0 - количество чеков по признаку расчетов [23:55:34] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:55:34] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:55:34] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:55:34] 1024 (117) - суммы налогов [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 0% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1006 (9) - суммы НДС [23:55:34] 1010 (1) - 12% - код ставки НДС [23:55:34] 1011 (0) - 0.00 - сумма НДС по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 2% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 3% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 5% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 0,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1007 (9) - суммы НСП [23:55:34] 1014 (1) - 1,50% - код ставки НСП [23:55:34] 1015 (0) - 0.00 - сумма НСП по ставке [23:55:34] 1133 (588) - - счетчики коррекции - не используются [23:55:34]1077 (6) - 34739987392346 - ФПД [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1209 (04B9) [23:55:34]Malloc new data [23:55:34]Processing tag 1041 (0411) [23:55:34]Processing tag 1040 (0410) [23:55:34]Malloc new data [23:55:34]Processing tag 1038 (040E) [23:55:34]Malloc new data [23:55:34]Processing tag 1118 (045E) [23:55:34]Malloc new data [23:55:34]Processing tag 1111 (0457) [23:55:34]Malloc new data [23:55:34]Processing tag 1194 (04AA) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1134 (046E) [23:55:34]Malloc new data [23:55:34]Processing tag 1129 (0469) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1135 (046F) [23:55:34]Malloc new data [23:55:34]Processing tag 1201 (04B1) [23:55:34]Malloc new data [23:55:34]Processing tag 1136 (0470) [23:55:34]Malloc new data [23:55:34]Processing tag 1138 (0472) [23:55:34]Malloc new data [23:55:34]Processing tag 1024 (0400) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1130 (046A) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1135 (046F) [23:55:34]Malloc new data [23:55:34]Processing tag 1201 (04B1) [23:55:34]Malloc new data [23:55:34]Processing tag 1136 (0470) [23:55:34]Malloc new data [23:55:34]Processing tag 1138 (0472) [23:55:34]Malloc new data [23:55:34]Processing tag 1024 (0400) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1131 (046B) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1135 (046F) [23:55:34]Malloc new data [23:55:34]Processing tag 1201 (04B1) [23:55:34]Malloc new data [23:55:34]Processing tag 1136 (0470) [23:55:34]Malloc new data [23:55:34]Processing tag 1138 (0472) [23:55:34]Malloc new data [23:55:34]Processing tag 1024 (0400) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1132 (046C) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1135 (046F) [23:55:34]Malloc new data [23:55:34]Processing tag 1201 (04B1) [23:55:34]Malloc new data [23:55:34]Processing tag 1136 (0470) [23:55:34]Malloc new data [23:55:34]Processing tag 1138 (0472) [23:55:34]Malloc new data [23:55:34]Processing tag 1024 (0400) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1006 (03EE) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1010 (03F2) [23:55:34]Malloc new data [23:55:34]Processing tag 1011 (03F3) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:34]Processing tag 1007 (03EF) [23:55:34]Load OK [23:55:34]SetTLVBufToDocument [23:55:34]Processing tag 1014 (03F6) [23:55:34]Malloc new data [23:55:34]Processing tag 1015 (03F7) [23:55:34]Malloc new data [23:55:34]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1007 (03EF) [23:55:35]Load OK [23:55:35]SetTLVBufToDocument [23:55:35]Processing tag 1014 (03F6) [23:55:35]Malloc new data [23:55:35]Processing tag 1015 (03F7) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1007 (03EF) [23:55:35]Load OK [23:55:35]SetTLVBufToDocument [23:55:35]Processing tag 1014 (03F6) [23:55:35]Malloc new data [23:55:35]Processing tag 1015 (03F7) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1007 (03EF) [23:55:35]Load OK [23:55:35]SetTLVBufToDocument [23:55:35]Processing tag 1014 (03F6) [23:55:35]Malloc new data [23:55:35]Processing tag 1015 (03F7) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1007 (03EF) [23:55:35]Load OK [23:55:35]SetTLVBufToDocument [23:55:35]Processing tag 1014 (03F6) [23:55:35]Malloc new data [23:55:35]Processing tag 1015 (03F7) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1007 (03EF) [23:55:35]Load OK [23:55:35]SetTLVBufToDocument [23:55:35]Processing tag 1014 (03F6) [23:55:35]Malloc new data [23:55:35]Processing tag 1015 (03F7) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]SetTLVBufToDocument err=0 [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1133 (046D) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Processing tag 1077 (0435) [23:55:35]Malloc new data [23:55:35]SetTLVBufToDocument err=0 [23:55:35]Malloc new data [23:55:35]SAM_PROTO_GetFMData [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 13 03 00 [23:55:35]Write to MH i2c: E2 08 00 48 13 80 13 03 00 00 00 00 00 DA [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:55:35]Read from MH i2c: E2 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 FD 00 [23:55:35]MH_I2C_Read... [23:55:35]Read from MH i2c: E2 FD 00 48 13 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 85 [23:55:35]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [23:55:35]wFMCommunicate OK [23:55:35]wFMCommunicate request_size=4 [23:55:35]MH_SAM_APDU [23:55:35]CAPDU: 80 17 00 00 [23:55:35]Write to MH i2c: E2 08 00 49 13 80 17 00 00 00 00 00 00 DC [23:55:35]Write i2c OK [23:55:35]MH_I2C_Read... [23:55:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:36]Read from MH i2c: E2 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 49 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 F4 [23:55:36]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:55:36]wFMCommunicate OK [23:55:36]wFMCommunicate request_size=4 [23:55:36]MH_SAM_APDU [23:55:36]CAPDU: 80 17 00 00 [23:55:36]Write to MH i2c: E2 08 00 4A 13 80 17 00 00 00 00 00 00 DD [23:55:36]Write i2c OK [23:55:36]MH_I2C_Read... [23:55:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:36]Read from MH i2c: E2 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 [23:55:36]MH_I2C_Read... [23:55:36]Read from MH i2c: E2 FD 00 4A 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 F2 [23:55:36]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:55:36]wFMCommunicate OK [23:55:36]wFMCommunicate request_size=4 [23:55:36]MH_SAM_APDU [23:55:36]CAPDU: 80 17 00 00 [23:55:36]Write to MH i2c: E2 08 00 4B 13 80 17 00 00 00 00 00 00 DE [23:55:36]Write i2c OK [23:55:36]MH_I2C_Read... [23:55:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:55:37]Read from MH i2c: E2 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 FD 00 4B 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 OFD Sender: No OFD packet to send [23:55:37]00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 56 [23:55:37]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:55:37]wFMCommunicate OK [23:55:37]wFMCommunicate request_size=4 [23:55:37]MH_SAM_APDU [23:55:37]CAPDU: 80 17 00 00 [23:55:37]Write to MH i2c: E2 08 00 4C 13 80 17 00 00 00 00 00 00 DF [23:55:37]Write i2c OK [23:55:37]MH_I2C_Read... [23:55:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:55:37]Read from MH i2c: E2 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 E1 00 [23:55:37]MH_I2C_Read... [23:55:37]Read from MH i2c: E2 E1 00 4C 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [23:55:37]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:55:38]wFMCommunicate OK [23:55:38]SAM_PROTO_GetFMData done [23:55:38]Malloc new data [23:55:38]Malloc new data [23:55:38]Malloc new data [23:55:38]Malloc new data [23:55:38]KKMLoadAndSignCloseShiftData err=0 [23:55:38]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Медербеков М. 19.10.2024 23:55 Смена: 460 РНМ: 0000000000098149 ЗНМ: 0300000235 СНО: Общий режим Чеков за смену: 86 ФД за смену: 88 Всего чеков: 86 ИТОГИ ПРИХОД Чеков: 86 Общий итог: 34673.88 Итого наличными: 19498.00 Итого безнал.: 15175.88 НДС 0% : 0.00 НДС 12% : 3682.59 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 306.76 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 19498.00 НС Приход: 11650325.06 НС Возвр.Прихода: 287937.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 37151 ФМ: 0000000000965372 ФПД: 34739987392346 [23:55:38]StoreToDocumentArchive [23:55:38]shift 460 fd 37151 [23:55:38]save to /storage/0460/doc_00037151 [23:55:38]save last doc name /storage/0460/doc_00037151 to /storage/kkm_last_doc_name [23:55:38]save OK [23:55:38]Clear old archive folders... [23:55:38]Remove dir /storage/0266 [23:55:38]opendir ok [23:55:38]file . [23:55:38]file .. [23:55:38]file doc_1729382087 [23:55:38]remove file /storage/0266/doc_1729382087 [23:55:38]remove dir /storage/0266 [23:55:38]NVStorageSaveData kkm_registers [23:55:38]File name is /storage/kkm_registers [23:55:38]Write 24 bytes [23:55:38]NVStorageSaveData done [23:55:38]NVStorageSaveData kkm_registers [23:55:38]File name is /storage/kkm_registers [23:55:38]Write 24 bytes [23:55:38]NVStorageSaveData done [23:55:38]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [23:55:38]tlvbuf is 00A25400 [23:55:38]SAM_PROTO_ClearQueue [23:55:38]wFMCommunicate request_size=4 [23:55:38]MH_SAM_APDU [23:55:38]CAPDU: 80 09 00 00 [23:55:38]Write to MH i2c: E2 08 00 4D 13 80 09 00 00 00 00 00 00 D2 [23:55:38]Write i2c OK [23:55:38]MH_I2C_Read... [23:55:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 4D 13 00 90 00 D4 [23:55:38]RAPDU: 90 00 [23:55:38]wFMCommunicate OK [23:55:38]SAM_PROTO_ClearQueue done [23:55:38]KKMCreateOFDPacket [23:55:38]OFDProtocolAddRootSTLVToBuf [23:55:38]FM_MakeSignedData [23:55:38]FM_MakeSignedData [23:55:38]SAM_PROTO_SignData [23:55:38]wFMCommunicate request_size=4 [23:55:38]MH_SAM_APDU [23:55:38]CAPDU: 80 0D 01 02 [23:55:38]Write to MH i2c: E2 08 00 4E 13 80 0D 01 02 00 00 00 00 DA [23:55:38]Write i2c OK [23:55:38]MH_I2C_Read... [23:55:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 4E 13 00 90 00 D5 [23:55:38]RAPDU: 90 00 [23:55:38]wFMCommunicate OK [23:55:38]wFMCommunicate request_size=255 [23:55:38]MH_SAM_APDU [23:55:38]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 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 F6 46 14 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 D5 04 6E 04 04 00 56 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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:55:38]Write to MH i2c: E2 02 01 4F 13 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 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 F6 46 14 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 D5 04 6E 04 04 00 56 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 48 [23:55:38]Write i2c OK [23:55:38]MH_I2C_Read... [23:55:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:38]Read from MH i2c: E2 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 [23:55:38]MH_I2C_Read... [23:55:38]Read from MH i2c: E2 03 00 4F 13 00 90 00 D6 [23:55:38]RAPDU: 90 00 [23:55:38]wFMCommunicate OK [23:55:38]wFMCommunicate request_size=255 [23:55:38]MH_SAM_APDU [23:55:38]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 D4 77 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:55:39]Write to MH i2c: E2 02 01 50 13 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 D4 77 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 95 [23:55:39]Write i2c OK [23:55:39]MH_I2C_Read... [23:55:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:39]Read from MH i2c: E2 [23:55:39]MH_I2C_Read... [23:55:39]Read from MH i2c: E2 03 00 [23:55:39]MH_I2C_Read... [23:55:39]Read from MH i2c: E2 03 00 50 13 00 90 00 D7 [23:55:39]RAPDU: 90 00 [23:55:39]wFMCommunicate OK [23:55:39]wFMCommunicate request_size=255 [23:55:39]MH_SAM_APDU [23:55:39]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:55:39]Write to MH i2c: E2 02 01 51 13 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 A4 [23:55:40]Write i2c OK [23:55:40]MH_I2C_Read... [23:55:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:40]Read from MH i2c: E2 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 03 00 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 03 00 51 13 00 90 00 D8 [23:55:40]RAPDU: 90 00 [23:55:40]wFMCommunicate OK [23:55:40]wFMCommunicate request_size=255 [23:55:40]MH_SAM_APDU [23:55:40]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:55:40]Write to MH i2c: E2 02 01 52 13 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 A3 [23:55:40]Write i2c OK [23:55:40]MH_I2C_Read... [23:55:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:40]Read from MH i2c: E2 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 03 00 [23:55:40]MH_I2C_Read... [23:55:40]Read from MH i2c: E2 03 00 52 13 00 90 00 D9 [23:55:40]RAPDU: 90 00 [23:55:40]wFMCommunicate OK [23:55:40]wFMCommunicate request_size=255 [23:55:40]MH_SAM_APDU [23:55:40]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:55:41]Write to MH i2c: E2 02 01 53 13 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 68 [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 53 13 00 90 00 DA [23:55:41]RAPDU: 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=142 [23:55:41]MH_SAM_APDU [23:55:41]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 1F 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 1F 98 88 9B A7 5A [23:55:41]Write to MH i2c: E2 91 00 54 13 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 1F 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 1F 98 88 9B A7 5A 00 00 B3 [23:55:41]Write i2c OK [23:55:41]MH_I2C_Read... [23:55:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:41]Read from MH i2c: E2 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 [23:55:41]MH_I2C_Read... [23:55:41]Read from MH i2c: E2 03 00 54 13 00 90 00 DB [23:55:41]RAPDU: 90 00 [23:55:41]wFMCommunicate OK [23:55:41]wFMCommunicate request_size=4 [23:55:41]MH_SAM_APDU [23:55:41]CAPDU: 80 0D 03 02 [23:55:41]Write to MH i2c: E2 08 00 55 13 80 0D 03 02 00 00 00 00 E3 [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 0B 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 0B 00 55 13 00 8A 16 A4 79 47 CE DA BA 90 00 4A [23:55:42]RAPDU: 8A 16 A4 79 47 CE DA BA 90 00 [23:55:42]wFMCommunicate OK [23:55:42]SAM_PROTO_SignData done [23:55:42]FM_MakeSignedData done [23:55:42]CreateOFDProtocolMessage [23:55:42]wFMCommunicate request_size=4 [23:55:42]MH_SAM_APDU [23:55:42]CAPDU: 80 11 00 00 [23:55:42]Write to MH i2c: E2 08 00 56 13 80 11 00 00 00 00 00 00 E3 [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:42]Read from MH i2c: E2 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 17 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: E2 17 00 56 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 36 [23:55:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [23:55:42]wFMCommunicate OK [23:55:42]CreateOFDProtocolMessage done [23:55:42]OFDSenderStorePacket 37151 [23:55:42]StoreOFDPacket docnum=37151 [23:55:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 7B 05 00 00 61 CF 73 05 E5 D3 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 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 F6 46 14 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 D5 04 6E 04 04 00 56 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 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 1F 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 1F 98 88 9B A7 5A 8A 16 A4 79 47 CE DA BA [23:55:42]CheckFolder [23:55:42]dirname=/storage/ofd_packets [23:55:42]CheckFolder done [23:55:42]ProducePacketName [23:55:42]name=ofd_packets/00037151 [23:55:42]NVStorageSaveData ofd_packets/00037151 [23:55:42]File name is /storage/ofd_packets/00037151 [23:55:42]Write 1433 bytes [23:55:42]NVStorageSaveData done [23:55:42]OFDSenderStorePacket done [23:55:42]KKMCreateOFDPacket done [23:55:42]NVStorageSaveData kkm_last_timestamp [23:55:42]File name is /storage/kkm_last_timestamp [23:55:42]OFD Sender: No OFD packet to send [23:55:42]Write 4 bytes [23:55:42]NVStorageSaveData done [23:55:42]ExternCall_PrintAddStr [23:55:42]wPrintStart [23:55:42]Write to MH i2c: 01 00 00 57 13 6A [23:55:42]Write i2c OK [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: 01 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: 01 07 00 [23:55:42]MH_I2C_Read... [23:55:42]Read from MH i2c: 01 07 00 57 13 00 00 00 00 00 FF 0F 7F [23:55:42]RasterBufferAndPrint [23:55:42]line Отчет о закрытии смены [23:55:42]line ФФД: 1.0 [23:55:42]line ИНН: 02508201610067 [23:55:42]line Кассир: Медербеков М. [23:55:42]line 19.10.2024 23:55 [23:55:42]line Смена: 460 [23:55:42]line РНМ: 0000000000098149 [23:55:42]line ЗНМ: 0300000235 [23:55:42]line СНО: Общий режим [23:55:42]line Чеков за смену: 86 [23:55:42]line ФД за смену: 88 [23:55:42]line Всего чеков: 86 [23:55:42]line ИТОГИ ПРИХОД [23:55:42]line Чеков: 86 [23:55:42]line Общий итог: 34673.88 [23:55:42]line Итого наличными: 19498.00 [23:55:42]line Итого безнал.: 15175.88 [23:55:42]line НДС 0% : 0.00 [23:55:42]line НДС 12% : 3682.59 [23:55:42]line НСП 0% : 0.00 [23:55:42]line НСП 1,50% : 0.00 [23:55:42]line НСП 0,50% : 0.00 [23:55:42]line НСП 5% : 0.00 [23:55:42]line НСП 3% : 0.00 [23:55:42]line НСП 2% : 0.00 [23:55:42]line НСП 1% : 306.76 [23:55:42]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:55:42]line Чеков: 0 [23:55:42]line Общий итог: 0.00 [23:55:42]line Итого наличными: 0.00 [23:55:42]line Итого безнал.: 0.00 [23:55:42]line НДС 0% : 0.00 [23:55:42]line НДС 12% : 0.00 [23:55:42]line НСП 0% : 0.00 [23:55:42]line НСП 1,50% : 0.00 [23:55:42]line НСП 0,50% : 0.00 [23:55:42]line НСП 5% : 0.00 [23:55:42]line НСП 3% : 0.00 [23:55:42]line НСП 2% : 0.00 [23:55:42]line НСП 1% : 0.00 [23:55:42]line ИТОГИ РАСХОД [23:55:42]line Чеков: 0 [23:55:42]line Общий итог: 0.00 [23:55:42]line Итого наличными: 0.00 [23:55:42]line Итого безнал.: 0.00 [23:55:42]line НДС 0% : 0.00 [23:55:42]line НДС 12% : 0.00 [23:55:42]line НСП 0% : 0.00 [23:55:42]line НСП 1,50% : 0.00 [23:55:42]line НСП 0,50% : 0.00 [23:55:42]line НСП 5% : 0.00 [23:55:42]line НСП 3% : 0.00 [23:55:42]line НСП 2% : 0.00 [23:55:42]line НСП 1% : 0.00 [23:55:42]line ИТОГИ ВОЗВРАТ РАСХОДА [23:55:42]line Чеков: 0 [23:55:42]line Общий итог: 0.00 [23:55:42]line Итого наличными: 0.00 [23:55:42]line Итого безнал.: 0.00 [23:55:42]line НДС 0% : 0.00 [23:55:42]line НДС 12% : 0.00 [23:55:42]line НСП 0% : 0.00 [23:55:42]line НСП 1,50% : 0.00 [23:55:42]line НСП 0,50% : 0.00 [23:55:42]line НСП 5% : 0.00 [23:55:42]line НСП 3% : 0.00 [23:55:42]line НСП 2% : 0.00 [23:55:42]line НСП 1% : 0.00 [23:55:42]line Сумма внесений: 0.00 [23:55:42]line Сумма выплат: 0.00 [23:55:42]line Нал. в кассе: 19498.00 [23:55:42]line НС Приход: 11650325.06 [23:55:42]line НС Возвр.Прихода: 287937.00 [23:55:42]line НС Расход: 0.00 [23:55:42]line НС Возвр.Расхода: 0.00 [23:55:42]line ФД: 37151 [23:55:42]line ФМ: 0000000000965372 [23:55:42]line ФПД: 34739987392346 [23:55:42]written 0, free lines is 4095 [23:55:42]OFD Sender: Processing packet 37151 [packets to send 25, broken 24] [23:55:42]ProducePacketName [23:55:42]name=ofd_packets/00037151 [23:55:42]OFD Sender: To server: pG, [23:55:42]CommunicateWithHost lk.salyk.kg:30040 [23:55:42]ConnectInit lk.salyk.kg [23:55:42]Connected sock=10 [23:55:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 7B 05 00 00 61 CF 73 05 E5 D3 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 9C D0 B5 D0 B4 D0 B5 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 9C 2E 20 F4 03 04 00 F6 46 14 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 AA 04 D5 04 6E 04 04 00 56 00 00 00 69 04 A2 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 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 Write to MH i2c: 03 01 00 00 00 00 EE A7 03 13 09 BA 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 [23:55:43]03 Write i2c OK [23:55:43]01 MH_I2C_Read... [23:55:43]00 Read from MH i2c: 00 01 F7 [23:55:43]03 MH_I2C_Read... [23:55:43]00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 Read from MH i2c: 00 01 07 EF 00 03 [23:55:43]09 MH_I2C_Read... [23:55:43]00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: 00 01 EF 07 03 00 09 A7 00 13 F6 00 03 00 01 00 00 00 01 00 F7 66 03 0B 00 32 00 [23:55:43]EF RasterBufferAndPrint [23:55:43]03 line [23:55:43]09 line [23:55:43]00 line [23:55:43]F6 line [23:55:43]03 line [23:55:43]01 00 02 written 0, free lines is 3363 [23:55:43]F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 process_action close_shift done [23:55:43]EF requested_data is exist [23:55:43]03 produce_requested_data [23:55:43]09 requested_item fd.num is exist - process it [23:55:43]00 SAM_PROTO_GetFieldsCounters [23:55:43]F6 wFMCommunicate request_size=4 [23:55:43]03 MH_SAM_APDU [23:55:43]01 CAPDU: 00 80 04 13 F7 00 03 00 00 [23:55:43]00 Write to MH i2c: EF E2 03 08 09 00 00 AE F6 13 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 80 06 13 F7 00 03 00 00 00 00 00 7A 00 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 00 70 3D 04 [23:55:43]00 00 Write i2c OK [23:55:43]72 MH_I2C_Read... [23:55:43]04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:44]01 Read from MH i2c: 00 E2 00 [23:55:44]F3 MH_I2C_Read... [23:55:44]03 00 00 EE 03 09 Read from MH i2c: 00 E2 F2 62 03 00 01 [23:55:44]00 MH_I2C_Read... [23:55:44]01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 Read from MH i2c: 03 E2 00 62 00 00 EF AE 03 13 09 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 5D 03 00 01 B9 00 04 02 01 F7 00 03 01 00 11 00 04 EF 10 03 00 09 30 00 30 F6 30 03 30 01 00 30 03 30 F7 30 03 30 00 30 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 30 EF 39 03 36 09 35 00 33 F6 37 03 32 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 0D 06 04 F7 10 03 00 00 30 00 30 10 30 04 30 04 30 00 30 1F 30 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 30 30 30 39 30 36 39 35 38 33 31 37 34 32 39 35 10 04 04 00 1F 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [23:55:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 04 35 06 33 00 37 1F 32 98 0D 88 04 9B 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 A7 31 5A 34 8A 39 16 10 A4 04 79 04 47 00 CE 1F DA 91 BA 00 [23:55:44]00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:55:44]wFMCommunicate OK [23:55:44]SAM_PROTO_GetFieldsCounters done [23:55:44]requested_item shift.num is exist - process it [23:55:44]requested_item shift.opened is exist - process it [23:55:44]req_shift_opened [23:55:44]FM_GetShiftState [23:55:44]SAM_PROTO_GetShiftState [23:55:44]wFMCommunicate request_size=4 [23:55:44]MH_SAM_APDU [23:55:44]CAPDU: 80 13 01 00 [23:55:44]Write to MH i2c: E2 08 00 AF 13 80 13 01 00 00 00 00 00 3F [23:55:44]Write i2c OK [23:55:44]MH_I2C_Read... [23:55:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:44]Read from MH i2c: E2 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 0E 00 [23:55:44]MH_I2C_Read... [23:55:44]Read from MH i2c: E2 0E 00 AF 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4A [23:55:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:44]wFMCommunicate OK [23:55:44]SAM_PROTO_GetShiftState done [23:55:44]FM_GetShiftState done [23:55:44]req_shift_opened done [23:55:44]requested_item shift.open_date is exist - process it [23:55:44]req_shift_open_date [23:55:44]FM_GetShiftState [23:55:44]SAM_PROTO_GetShiftState [23:55:44]wFMCommunicate request_size=4 [23:55:44]MH_SAM_APDU [23:55:44]CAPDU: 80 13 01 00 [23:55:44]Write to MH i2c: E2 08 00 B0 13 80 13 01 00 00 00 00 00 40 [23:55:44]Write i2c OK [23:55:44]MH_I2C_Read... [23:55:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 18 B4 47 00 3E EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 Read from MH i2c: 00 E2 30 [23:55:44]30 MH_I2C_Read... [23:55:44]30 30 30 30 30 30 30 Read from MH i2c: 30 E2 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:44]0E 39 00 36 [23:55:44]35 MH_I2C_Read... [23:55:44]33 37 32 10 04 04 00 1F 91 00 00 F4 03 04 00 Read from MH i2c: 96 E2 EF 0E 13 00 67 B0 B6 13 04 00 01 00 00 FA 2E B5 0C 3A E6 8A 4E [23:55:44]CommunicateWithHost err = 0 [23:55:44]CheckOFDResponse [23:55:44]09 1017 (14) - 77093643461234 [23:55:44]00 1041 (16) - 0000000000965372 [23:55:44]00 1040 (4) - 37151 [23:55:44]00 1012 (4) - 19.10.2024 17:42 [23:55:44]00 1206 (1) - 0 [23:55:44]00 OFD Sender: Remove packet 37151 [23:55:44]ProducePacketName [23:55:44]name=ofd_packets/00037151 [23:55:44]NVStorageDeleteData [23:55:44]00 00 00 00 00 90 00 4B [23:55:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:55:44]wFMCommunicate OK [23:55:44]SAM_PROTO_GetShiftState done [23:55:44]FM_GetShiftState done [23:55:44]req_shift_open_date done [23:55:44]produce_requested_data done [23:55:44]produce_requested_data return {"fd.num":37151,"shift.num":460,"shift.opened":0,"shift.open_date":0} [23:55:44]process_action_free close_shift [23:55:44]json_value_free [23:55:44]json_value_free done [23:55:44]process_json_proto returns [23:55:44]Send response to host [23:55:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37151,"shift.num":460,"shift.opened":0,"shift.open_date":0}}} [23:55:44]free response buf [23:55:44]execute_script done [23:55:44]execute_script returns [23:55:44]free content buf [23:55:44]Sock 9.Close socket [23:55:44]Sock 9.Thread stoped [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:34]int [23:56:34]Write to MH i2c: 01 00 00 B1 13 C4 [23:56:34]*** FLAG_PRN_KEY set [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 B1 13 00 08 00 00 00 FF 0F E1 [23:56:34]state=0 [23:56:34]Key pressed [23:56:34]Feed [23:56:34]Write to MH i2c: D8 00 00 B2 13 9C [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: D8 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: D8 01 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: D8 01 00 B2 13 00 9D [23:56:34]int [23:56:34]Write to MH i2c: 01 00 00 B3 13 C6 [23:56:34]Write i2c OK [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 [23:56:34]MH_I2C_Read... [23:56:34]Read from MH i2c: 01 07 00 B3 13 00 48 00 00 00 3D 00 52 [23:56:34]state=2 [23:56:34]Key pressed [23:56:35]int [23:56:35]*** FLAG_PRN_KEY reset [23:56:35]Write to MH i2c: 01 00 00 B4 13 C7 [23:56:35]Write i2c OK [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 07 00 [23:56:35]MH_I2C_Read... [23:56:35]Read from MH i2c: 01 07 00 B4 13 00 00 00 00 00 F7 0F D4 [23:56:35]state=2 [23:56:35]Stop feed [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:00]OFD Sender: No OFD packet to send [00:08:05]OFD Sender: No OFD packet to send [00:08:10]OFD Sender: No OFD packet to send [00:08:15]OFD Sender: No OFD packet to send [00:08:20]OFD Sender: No OFD packet to send [00:08:25]OFD Sender: No OFD packet to send [00:08:30]OFD Sender: No OFD packet to send [00:08:35]OFD Sender: No OFD packet to send [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]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]accept exits with 7 [00:14:51]New connection [00:14:51]New thread 3066699108 created [00:14:51]Thread 3066555748 joined [00:14:51]Waiting for new connection... [00:14:51] Sock 7.Parse request [00:14:51]Sock 7.Check first char [00:14:51]Sock 7.First char is OK [00:14:51]request: POST /json_proto HTTP/1.0 [00:14:51]Method: POST [00:14:51]URL: /json_proto [00:14:51]Method is POST - this is cgi request [00:14:51]url: /json_proto [00:14:51]query_string will be loaded in cgi processing [00:14:51]execute_cgi json_proto POST (null) [00:14:51]execute_cgi path=json_proto method=POST [00:14:51]POST find Content-Length [00:14:51]Host: 172.17.53.68:8080 [00:14:51]Content-Length: 215 [00:14:51]Content-Type: application/json [00:14:51] [00:14:51]POST finish read [00:14:51]Found Content-Length = 215 [00:14:51]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:14:51]execute_script... [00:14:51]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:14:51]POST & json_proto [00:14:51]process_json_proto [00:14:51]json parsed OK: [00:14:51]protocol is kg_v1.0 [00:14:51]action value=get_value [00:14:51]process_action get_value [00:14:51]cmd_get_value [00:14:51]process_action get_value done [00:14:51]requested_data is exist [00:14:51]produce_requested_data [00:14:51]requested_item kkm.sn is exist - process it [00:14:51]requested_item kkm.ver is exist - process it [00:14:51]requested_item fm.sn is exist - process it [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 11 00 00 [00:14:51]Write to MH i2c: E2 08 00 B5 13 80 11 00 00 00 00 00 00 42 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 17 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 17 00 B5 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 95 [00:14:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:14:51]wFMCommunicate OK [00:14:51]requested_item fd.num is exist - process it [00:14:51]SAM_PROTO_GetFieldsCounters [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 13 00 00 [00:14:51]Write to MH i2c: E2 08 00 B6 13 80 13 00 00 00 00 00 00 45 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]OFD Sender: No OFD packet to send [00:14:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 62 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 62 00 B6 13 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1F 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [00:14:51]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 1F 91 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:51]wFMCommunicate OK [00:14:51]SAM_PROTO_GetFieldsCounters done [00:14:51]requested_item shift.num is exist - process it [00:14:51]requested_item shift.opened is exist - process it [00:14:51]req_shift_opened [00:14:51]FM_GetShiftState [00:14:51]SAM_PROTO_GetShiftState [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 13 01 00 [00:14:51]Write to MH i2c: E2 08 00 B7 13 80 13 01 00 00 00 00 00 47 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 0E 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 0E 00 B7 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 52 [00:14:51]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:51]wFMCommunicate OK [00:14:51]SAM_PROTO_GetShiftState done [00:14:51]FM_GetShiftState done [00:14:51]req_shift_opened done [00:14:51]requested_item shift.open_date is exist - process it [00:14:51]req_shift_open_date [00:14:51]FM_GetShiftState [00:14:51]SAM_PROTO_GetShiftState [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 13 01 00 [00:14:51]Write to MH i2c: E2 08 00 B8 13 80 13 01 00 00 00 00 00 48 [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 0E 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 0E 00 B8 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 53 [00:14:51]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:51]wFMCommunicate OK [00:14:51]SAM_PROTO_GetShiftState done [00:14:51]FM_GetShiftState done [00:14:51]req_shift_open_date done [00:14:51]produce_requested_data done [00:14:51]produce_requested_data return {"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37151,"shift.num":460,"shift.opened":0,"shift.open_date":0} [00:14:51]process_action_free get_value [00:14:51]json_value_free [00:14:51]json_value_free done [00:14:51]process_json_proto returns [00:14:51]Send response to host [00:14:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000235","kkm.ver":"001","fm.sn":"0000000000965372","fd.num":37151,"shift.num":460,"shift.opened":0,"shift.open_date":0}}} [00:14:51]free response buf [00:14:51]execute_script done [00:14:51]execute_script returns [00:14:51]free content buf [00:14:51]Sock 7.Close socket [00:14:51]Sock 7.Thread stoped [00:14:51]accept exits with 9 [00:14:51]New connection [00:14:51]New thread 3066555748 created [00:14:51]Thread 3066699108 joined [00:14:51]Waiting for new connection... [00:14:51] Sock 9.Parse request [00:14:51]Sock 9.Check first char [00:14:51]Sock 9.First char is OK [00:14:51]request: POST /json_proto HTTP/1.0 [00:14:51]Method: POST [00:14:51]URL: /json_proto [00:14:51]Method is POST - this is cgi request [00:14:51]url: /json_proto [00:14:51]query_string will be loaded in cgi processing [00:14:51]execute_cgi json_proto POST (null) [00:14:51]execute_cgi path=json_proto method=POST [00:14:51]POST find Content-Length [00:14:51]Host: 172.17.53.68:8080 [00:14:51]Content-Length: 331 [00:14:51]Content-Type: application/json [00:14:51] [00:14:51]POST finish read [00:14:51]Found Content-Length = 331 [00:14:51]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:14:51]execute_script... [00:14:51]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:14:51]POST & json_proto [00:14:51]process_json_proto [00:14:51]json parsed OK: [00:14:51]protocol is kg_v1.0 [00:14:51]action value=get_value [00:14:51]process_action get_value [00:14:51]cmd_get_value [00:14:51]process_action get_value done [00:14:51]requested_data is exist [00:14:51]produce_requested_data [00:14:51]requested_item fm.sale.total is exist - process it [00:14:51]SAM_PROTO_GetFMData [00:14:51]wFMCommunicate request_size=4 [00:14:51]MH_SAM_APDU [00:14:51]CAPDU: 80 13 03 00 [00:14:51]Write to MH i2c: E2 08 00 B9 13 80 13 03 00 00 00 00 00 4B [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 B9 13 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 F6 [00:14:52]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 BA 13 80 17 00 00 00 00 00 00 4D [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 BA 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 65 [00:14:52]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 BB 13 80 17 00 00 00 00 00 00 4E [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 BB 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 63 [00:14:52]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 BC 13 80 17 00 00 00 00 00 00 4F [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 BC 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 C7 [00:14:52]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 BD 13 80 17 00 00 00 00 00 00 50 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:14:53]Read from MH i2c: E2 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 E1 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 E1 00 BD 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3E [00:14:53]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:53]wFMCommunicate OK [00:14:53]SAM_PROTO_GetFMData done [00:14:53]requested_item fm.sale_refund.total is exist - process it [00:14:53]requested_item fm.buy.total is exist - process it [00:14:53]requested_item shift.sale.total is exist - process it [00:14:53]SAM_PROTO_GetShiftData [00:14:53]wFMCommunicate request_size=4 [00:14:53]MH_SAM_APDU [00:14:53]CAPDU: 80 13 02 00 [00:14:53]Write to MH i2c: E2 08 00 BE 13 80 13 02 00 00 00 00 00 4F [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:53]Read from MH i2c: E2 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 FD 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 FD 00 BE 13 00 AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5D [00:14:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 7C E8 34 70 04 03 00 68 C0 1D 72 04 03 00 14 28 17 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 83 9E 05 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 D4 77 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:14:53]wFMCommunicate OK [00:14:53]wFMCommunicate request_size=4 [00:14:53]MH_SAM_APDU [00:14:53]CAPDU: 80 17 00 00 [00:14:53]Write to MH i2c: E2 08 00 BF 13 80 17 00 00 00 00 00 00 52 [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:53]Read from MH i2c: E2 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 FD 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 FD 00 BF 13 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 74 [00:14: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 [00:14:53]wFMCommunicate OK [00:14:53]wFMCommunicate request_size=4 [00:14:53]MH_SAM_APDU [00:14:53]CAPDU: 80 17 00 00 [00:14:53]Write to MH i2c: E2 08 00 C0 13 80 17 00 00 00 00 00 00 53 [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 C0 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0A [00:14:54]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:14:54]wFMCommunicate OK [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 17 00 00 [00:14:54]Write to MH i2c: E2 08 00 C1 13 80 17 00 00 00 00 00 00 54 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 FD 00 C1 13 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 C6 [00:14: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 [00:14:54]wFMCommunicate OK [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 17 00 00 [00:14:54]Write to MH i2c: E2 08 00 C2 13 80 17 00 00 00 00 00 00 55 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 CB 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 CB 00 C2 13 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 3E [00:14: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 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetShiftData done [00:14:54]requested_item shift.sale.total_cash is exist - process it [00:14:54]requested_item shift.sale_refund.total is exist - process it [00:14:54]requested_item shift.sale_refund.total_cash is exist - process it [00:14:54]requested_item shift.buy.total is exist - process it [00:14:54]requested_item shift.buy.total_cash is exist - process it [00:14:54]produce_requested_data done [00:14:54]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:14:54]process_action_free get_value [00:14:54]json_value_free [00:14:54]json_value_free done [00:14:54]process_json_proto returns [00:14:54]Send response to host [00:14:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":34673.88,"shift.sale.total_cash":19498.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:14:54]free response buf [00:14:54]execute_script done [00:14:54]execute_script returns [00:14:54]free content buf [00:14:54]Sock 9.Close socket [00:14:54]Sock 9.Thread stoped [00:14:54]accept exits with 7 [00:14:54]New connection [00:14:54]New thread 3066699108 created [00:14:54]Thread 3066555748 joined [00:14:54]Waiting for new connection... [00:14:54] Sock 7.Parse request [00:14:54]Sock 7.Check first char [00:14:54]Sock 7.First char is OK [00:14:54]request: POST /json_proto HTTP/1.0 [00:14:54]Method: POST [00:14:54]URL: /json_proto [00:14:54]Method is POST - this is cgi request [00:14:54]url: /json_proto [00:14:54]query_string will be loaded in cgi processing [00:14:54]execute_cgi json_proto POST (null) [00:14:54]execute_cgi path=json_proto method=POST [00:14:54]POST find Content-Length [00:14:54]Host: 172.17.53.68:8080 [00:14:54]Content-Length: 265 [00:14:54]Content-Type: application/json [00:14:54] [00:14:54]POST finish read [00:14:54]Found Content-Length = 265 [00:14:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:54]execute_script... [00:14:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u043C\u0430\u0433\u0430\u043D\u043E\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:54]POST & json_proto [00:14:54]process_json_proto [00:14:54]json parsed OK: [00:14:54]protocol is kg_v1.0 [00:14:54]action value=open_shift [00:14:54]process_action open_shift [00:14:54]cmd_open_shift [00:14:54]MH_GetDate [00:14:54]Write to MH i2c: F0 00 00 C3 13 C5 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 09 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 09 00 C3 13 00 83 4B 14 67 C5 A4 76 66 5C [00:14:54]GetLastDocTimeStamp 1729382134 [00:14:54]current date 1729383299 [00:14:54]FM_GetShiftState [00:14:54]SAM_PROTO_GetShiftState [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 01 00 [00:14:54]Write to MH i2c: E2 08 00 C4 13 80 13 01 00 00 00 00 00 54 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 C4 13 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5F [00:14:54]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetShiftState done [00:14:54]FM_GetShiftState done [00:14:54]KKMCreateOpenShiftDocument [00:14:54]Load OK [00:14:54]Malloc new data [00:14:54]MH_GetDate [00:14:54]Write to MH i2c: F0 00 00 C5 13 C7 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 09 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: F0 09 00 C5 13 00 83 4B 14 67 C5 A4 76 66 5E [00:14:54]Malloc new data [00:14:54]KKMCreateOpenShiftDocument OK [00:14:54]KKMSetOpenShiftData OK [00:14:54]ProcessDocumentItem done err = 0, tmpTLVsize=198 [00:14:54]tlvbuf is 009FEF80 [00:14:54]KKMLoadAndSignOpenShiftData [00:14:54]SAM_PROTO_ProcessDocument [00:14:54]wFMCommunicate request_size=9 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 15 01 00 04 02 00 C6 00 [00:14:54]Write to MH i2c: E2 0C 00 C6 13 80 15 01 00 04 00 02 00 C6 00 00 00 28 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 C6 13 00 90 00 4D [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=23 [00:14:55]MH_SAM_APDU [00:14:55]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:14:55]Write to MH i2c: E2 1A 00 C7 13 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 4F [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 C7 13 00 90 00 4E [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=32 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 [00:14:55]Write to MH i2c: E2 23 00 C8 13 80 15 02 00 1B 00 FD 03 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 00 00 13 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 C8 13 00 90 00 4F [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=84 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 02 00 4F F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 [00:14:55]Write to MH i2c: E2 57 00 C9 13 80 15 02 00 4F 00 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 00 00 F9 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 C9 13 00 90 00 50 [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=51 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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:14:55]Write to MH i2c: E2 36 00 CA 13 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 0B [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 CA 13 00 90 00 51 [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=13 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 02 00 08 F4 03 04 00 83 4B 14 67 [00:14:55]Write to MH i2c: E2 10 00 CB 13 80 15 02 00 08 00 F4 03 04 00 83 4B 14 67 00 00 B2 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 CB 13 00 90 00 52 [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=25 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 [00:14:55]Write to MH i2c: E2 1C 00 CC 13 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 00 00 C7 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 03 00 CC 13 00 90 00 53 [00:14:55]RAPDU: 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=4 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 15 03 00 [00:14:55]Write to MH i2c: E2 08 00 CD 13 80 15 03 00 00 00 00 00 61 [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 38 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 38 00 CD 13 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 33 37 32 10 04 04 00 20 91 00 00 0E 04 04 00 CD 01 00 00 35 04 06 00 E8 E2 E8 CD 1C BE 90 00 05 [00:14:55]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 33 37 32 10 04 04 00 20 91 00 00 0E 04 04 00 CD 01 00 00 35 04 06 00 E8 E2 E8 CD 1C BE 90 00 [00:14:55]wFMCommunicate OK [00:14:55]SAM_PROTO_ProcessDocument answer len = 51 [00:14:55]SAM_PROTO_ProcessDocument done [00:14:55]SetTLVBufToDocument [00:14:55]Processing tag 1209 (04B9) [00:14:55]Malloc new data [00:14:55]Processing tag 1041 (0411) [00:14:55]Processing tag 1040 (0410) [00:14:55]Malloc new data [00:14:55]Processing tag 1038 (040E) [00:14:55]Malloc new data [00:14:55]Processing tag 1077 (0435) [00:14:55]Malloc new data [00:14:55]SetTLVBufToDocument err=0 [00:14:55]KKMLoadAndSignOpenShiftData store KKM data [00:14:55]KKMLoadAndSignOpenShiftData err=0 [00:14:55]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Самаганов А. Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 Место: АЗС № 165 "Партнер Нефть" 20.10.2024 00:14 Смена: 461 РНМ: 0000000000098149 ЗНМ: 0300000235 ФД: 37152 ФМ: 0000000000965372 ФПД: 256061266009278 [00:14:55]StoreToDocumentArchive [00:14:55]shift 461 fd 37152 [00:14:55]Create dir for shift 0461 [00:14:55]save to /storage/0461/doc_00037152 [00:14:55]save last doc name /storage/0461/doc_00037152 to /storage/kkm_last_doc_name [00:14:55]save OK [00:14:55]Clear old archive folders... [00:14:55]Remove dir /storage/0460 [00:14:55]opendir ok [00:14:55]file . [00:14:55]file .. [00:14:55]file doc_00037064 [00:14:55]remove file /storage/0460/doc_00037064 [00:14:55]file doc_00037065 [00:14:55]remove file /storage/0460/doc_00037065 [00:14:55]file doc_00037066 [00:14:55]remove file /storage/0460/doc_00037066 [00:14:55]file doc_00037067 [00:14:55]remove file /storage/0460/doc_00037067 [00:14:55]file doc_00037068 [00:14:55]remove file /storage/0460/doc_00037068 [00:14:55]file doc_00037069 [00:14:55]remove file /storage/0460/doc_00037069 [00:14:55]file doc_00037070 [00:14:55]remove file /storage/0460/doc_00037070 [00:14:55]file doc_00037071 [00:14:55]remove file /storage/0460/doc_00037071 [00:14:55]file doc_00037072 [00:14:55]remove file /storage/0460/doc_00037072 [00:14:55]file doc_00037073 [00:14:55]remove file /storage/0460/doc_00037073 [00:14:55]file doc_00037074 [00:14:55]remove file /storage/0460/doc_00037074 [00:14:55]file doc_00037075 [00:14:55]remove file /storage/0460/doc_00037075 [00:14:55]file doc_00037076 [00:14:55]remove file /storage/0460/doc_00037076 [00:14:55]file doc_00037077 [00:14:55]remove file /storage/0460/doc_00037077 [00:14:55]file doc_00037078 [00:14:55]remove file /storage/0460/doc_00037078 [00:14:55]file doc_00037079 [00:14:55]remove file /storage/0460/doc_00037079 [00:14:55]file doc_00037080 [00:14:55]remove file /storage/0460/doc_00037080 [00:14:55]file doc_00037081 [00:14:55]remove file /storage/0460/doc_00037081 [00:14:55]file doc_00037082 [00:14:55]remove file /storage/0460/doc_00037082 [00:14:55]file doc_00037083 [00:14:55]remove file /storage/0460/doc_00037083 [00:14:55]file doc_00037084 [00:14:55]remove file /storage/0460/doc_00037084 [00:14:55]file doc_00037085 [00:14:55]remove file /storage/0460/doc_00037085 [00:14:55]file doc_00037086 [00:14:55]remove file /storage/0460/doc_00037086 [00:14:55]file doc_00037087 [00:14:55]remove file /storage/0460/doc_00037087 [00:14:55]file doc_00037088 [00:14:55]remove file /storage/0460/doc_00037088 [00:14:55]file doc_00037089 [00:14:55]remove file /storage/0460/doc_00037089 [00:14:55]file doc_00037090 [00:14:55]remove file /storage/0460/doc_00037090 [00:14:55]file doc_00037091 [00:14:55]remove file /storage/0460/doc_00037091 [00:14:55]file doc_00037092 [00:14:55]remove file /storage/0460/doc_00037092 [00:14:55]file doc_00037093 [00:14:55]remove file /storage/0460/doc_00037093 [00:14:55]file doc_00037094 [00:14:55]remove file /storage/0460/doc_00037094 [00:14:55]file doc_00037095 [00:14:55]remove file /storage/0460/doc_00037095 [00:14:55]file doc_00037096 [00:14:55]remove file /storage/0460/doc_00037096 [00:14:55]file doc_00037097 [00:14:55]remove file /storage/0460/doc_00037097 [00:14:55]file doc_00037098 [00:14:55]remove file /storage/0460/doc_00037098 [00:14:55]file doc_00037099 [00:14:55]remove file /storage/0460/doc_00037099 [00:14:55]file doc_00037100 [00:14:55]remove file /storage/0460/doc_00037100 [00:14:55]file doc_00037101 [00:14:55]remove file /storage/0460/doc_00037101 [00:14:55]file doc_00037102 [00:14:55]remove file /storage/0460/doc_00037102 [00:14:55]file doc_00037103 [00:14:55]remove file /storage/0460/doc_00037103 [00:14:55]file doc_00037104 [00:14:55]remove file /storage/0460/doc_00037104 [00:14:55]file doc_00037105 [00:14:55]remove file /storage/0460/doc_00037105 [00:14:55]file doc_00037106 [00:14:55]remove file /storage/0460/doc_00037106 [00:14:55]file doc_00037107 [00:14:55]remove file /storage/0460/doc_00037107 [00:14:55]file doc_00037108 [00:14:55]remove file /storage/0460/doc_00037108 [00:14:55]file doc_00037109 [00:14:55]remove file /storage/0460/doc_00037109 [00:14:55]file doc_00037110 [00:14:55]remove file /storage/0460/doc_00037110 [00:14:55]file doc_00037111 [00:14:55]remove file /storage/0460/doc_00037111 [00:14:55]file doc_00037112 [00:14:55]remove file /storage/0460/doc_00037112 [00:14:55]file doc_00037113 [00:14:55]remove file /storage/0460/doc_00037113 [00:14:55]file doc_00037114 [00:14:55]remove file /storage/0460/doc_00037114 [00:14:55]file doc_00037115 [00:14:55]remove file /storage/0460/doc_00037115 [00:14:55]file doc_00037116 [00:14:55]remove file /storage/0460/doc_00037116 [00:14:56]file doc_00037117 [00:14:56]remove file /storage/0460/doc_00037117 [00:14:56]file doc_00037118 [00:14:56]remove file /storage/0460/doc_00037118 [00:14:56]file doc_00037119 [00:14:56]remove file /storage/0460/doc_00037119 [00:14:56]file doc_00037120 [00:14:56]remove file /storage/0460/doc_00037120 [00:14:56]file doc_00037121 [00:14:56]remove file /storage/0460/doc_00037121 [00:14:56]file doc_00037122 [00:14:56]remove file /storage/0460/doc_00037122 [00:14:56]file doc_00037123 [00:14:56]remove file /storage/0460/doc_00037123 [00:14:56]file doc_00037124 [00:14:56]remove file /storage/0460/doc_00037124 [00:14:56]file doc_00037125 [00:14:56]remove file /storage/0460/doc_00037125 [00:14:56]file doc_00037126 [00:14:56]remove file /storage/0460/doc_00037126 [00:14:56]file doc_00037127 [00:14:56]remove file /storage/0460/doc_00037127 [00:14:56]file doc_00037128 [00:14:56]remove file /storage/0460/doc_00037128 [00:14:56]file doc_00037129 [00:14:56]remove file /storage/0460/doc_00037129 [00:14:56]file doc_00037130 [00:14:56]remove file /storage/0460/doc_00037130 [00:14:56]file doc_00037131 [00:14:56]remove file /storage/0460/doc_00037131 [00:14:56]file doc_00037132 [00:14:56]remove file /storage/0460/doc_00037132 [00:14:56]file doc_00037133 [00:14:56]remove file /storage/0460/doc_00037133 [00:14:56]file doc_00037134 [00:14:56]remove file /storage/0460/doc_00037134 [00:14:56]file doc_00037135 [00:14:56]remove file /storage/0460/doc_00037135 [00:14:56]file doc_00037136 [00:14:56]remove file /storage/0460/doc_00037136 [00:14:56]file doc_00037137 [00:14:56]remove file /storage/0460/doc_00037137 [00:14:56]file doc_00037138 [00:14:56]remove file /storage/0460/doc_00037138 [00:14:56]file doc_00037139 [00:14:56]remove file /storage/0460/doc_00037139 [00:14:56]file doc_00037140 [00:14:56]remove file /storage/0460/doc_00037140 [00:14:56]file doc_00037141 [00:14:56]remove file /storage/0460/doc_00037141 [00:14:56]file doc_00037142 [00:14:56]remove file /storage/0460/doc_00037142 [00:14:56]file doc_00037143 [00:14:56]remove file /storage/0460/doc_00037143 [00:14:56]file doc_00037144 [00:14:56]remove file /storage/0460/doc_00037144 [00:14:56]file doc_00037145 [00:14:56]remove file /storage/0460/doc_00037145 [00:14:56]file doc_00037146 [00:14:56]remove file /storage/0460/doc_00037146 [00:14:56]file doc_00037147 [00:14:56]remove file /storage/0460/doc_00037147 [00:14:56]file doc_00037148 [00:14:56]remove file /storage/0460/doc_00037148 [00:14:56]file doc_00037149 [00:14:56]remove file /storage/0460/doc_00037149 [00:14:56]file doc_00037150 [00:14:56]remove file /storage/0460/doc_00037150 [00:14:56]file doc_00037151 [00:14:56]remove file /storage/0460/doc_00037151 [00:14:56]remove dir /storage/0460 [00:14:56]ProcessDocumentItem done err = 0, tmpTLVsize=249 [00:14:56]tlvbuf is 00A33000 [00:14:56]SAM_PROTO_ClearQueue [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 09 00 00 [00:14:56]Write to MH i2c: E2 08 00 CE 13 80 09 00 00 00 00 00 00 53 [00:14:56]OFD Sender: No OFD packet to send [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 CE 13 00 90 00 55 [00:14:56]RAPDU: 90 00 [00:14:56]wFMCommunicate OK [00:14:56]SAM_PROTO_ClearQueue done [00:14:56]KKMCreateOFDPacket [00:14:56]OFDProtocolAddRootSTLVToBuf [00:14:56]FM_MakeSignedData [00:14:56]FM_MakeSignedData [00:14:56]SAM_PROTO_SignData [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 0D 01 02 [00:14:56]Write to MH i2c: E2 08 00 CF 13 80 0D 01 02 00 00 00 00 5B [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 CF 13 00 90 00 56 [00:14:56]RAPDU: 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=255 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 0D 02 02 FA 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 83 4B 14 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 E8 E2 E8 [00:14:56]Write to MH i2c: E2 02 01 D0 13 80 0D 02 02 FA 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 83 4B 14 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 E8 E2 E8 00 00 17 [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 D0 13 00 90 00 57 [00:14:56]RAPDU: 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=8 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 0D 02 02 03 CD 1C BE [00:14:56]Write to MH i2c: E2 0B 00 D1 13 80 0D 02 02 03 00 CD 1C BE 00 00 0B [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 03 00 D1 13 00 90 00 58 [00:14:56]RAPDU: 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 0D 03 02 [00:14:56]Write to MH i2c: E2 08 00 D2 13 80 0D 03 02 00 00 00 00 60 [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 0B 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 0B 00 D2 13 00 33 8F 45 70 96 8E 02 73 90 00 71 [00:14:56]RAPDU: 33 8F 45 70 96 8E 02 73 90 00 [00:14:56]wFMCommunicate OK [00:14:56]SAM_PROTO_SignData done [00:14:56]FM_MakeSignedData done [00:14:56]CreateOFDProtocolMessage [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 11 00 00 [00:14:56]Write to MH i2c: E2 08 00 D3 13 80 11 00 00 00 00 00 00 60 [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 17 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 17 00 D3 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B3 [00:14:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:14:57]wFMCommunicate OK [00:14:57]CreateOFDProtocolMessage done [00:14:57]OFDSenderStorePacket 37152 [00:14:57]StoreOFDPacket docnum=37152 [00:14:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 0D 01 00 00 FC EC 05 01 40 92 5A 02 01 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 83 4B 14 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 E8 E2 E8 CD 1C BE 33 8F 45 70 96 8E 02 73 [00:14:57]CheckFolder [00:14:57]dirname=/storage/ofd_packets [00:14:57]CheckFolder done [00:14:57]ProducePacketName [00:14:57]name=ofd_packets/00037152 [00:14:57]NVStorageSaveData ofd_packets/00037152 [00:14:57]File name is /storage/ofd_packets/00037152 [00:14:57]Write 299 bytes [00:14:57]NVStorageSaveData done [00:14:57]OFDSenderStorePacket done [00:14:57]KKMCreateOFDPacket done [00:14:57]NVStorageSaveData kkm_last_timestamp [00:14:57]File name is /storage/kkm_last_timestamp [00:14:57]Write 4 bytes [00:14:57]NVStorageSaveData done [00:14:57]ExternCall_PrintAddStr [00:14:57]wPrintStart [00:14:57]Write to MH i2c: 01 00 00 D4 13 E7 [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 07 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 07 00 D4 13 00 00 00 00 00 FF 0F FC [00:14:57]RasterBufferAndPrint [00:14:57]line Отчет об открытии смены [00:14:57]line ФФД: 1.0 [00:14:57]line ИНН: 02508201610067 [00:14:57]line Кассир: Самаганов А. [00:14:57]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [00:14:57]line Место: АЗС № 165 "Партнер Нефть" [00:14:57]line 20.10.2024 00:14 [00:14:57]line Смена: 461 [00:14:57]line РНМ: 0000000000098149 [00:14:57]line ЗНМ: 0300000235 [00:14:57]line ФД: 37152 [00:14:57]line ФМ: 0000000000965372 [00:14:57]line ФПД: 256061266009278 [00:14:57]written 0, free lines is 4095 [00:14:57]OFD Sender: Processing packet 37152 [packets to send 25, broken 24] [00:14:57]ProducePacketName [00:14:57]name=ofd_packets/00037152 [00:14:57]OFD Sender: To server: pG, [00:14:57]CommunicateWithHost lk.salyk.kg:30040 [00:14:57]ConnectInit lk.salyk.kg [00:14:57]Connected sock=10 [00:14: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 33 37 32 0D 01 00 00 FC EC 05 01 40 92 5A 02 01 00 02 00 F9 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 17 00 D0 A1 D0 B0 D0 BC D0 B0 D0 B3 D0 B0 D0 BD D0 BE D0 B2 20 D0 90 2E 20 F1 03 4B 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D1 80 D0 BF D1 8B 2C 20 D1 83 D0 BB 2E 20 D0 90 D1 82 D1 82 D0 BE D0 BA D1 83 D1 80 D0 BE D0 B2 D0 B0 20 32 32 30 2C 20 34 31 2E 30 30 33 36 31 35 2C 37 33 2E 30 32 37 38 36 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 35 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 83 4B 14 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 04 06 00 E8 E2 E8 CD 1C BE 33 8F 45 70 96 8E 02 73 [00:14:57]Write to MH i2c: 01 00 00 E6 13 F9 [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 07 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: 01 07 00 E6 13 00 00 00 00 00 CA 0E D8 [00:14:57]RasterBufferAndPrint [00:14:57]line [00:14:57]line [00:14:57]line [00:14:57]line [00:14:57]line [00:14:57]written 0, free lines is 3800 [00:14:57]process_action open_shift done [00:14:57]requested_data is exist [00:14:57]produce_requested_data [00:14:57]requested_item fd.num is exist - process it [00:14:57]SAM_PROTO_GetFieldsCounters [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 13 00 00 [00:14:57]Write to MH i2c: E2 08 00 ED 13 80 13 00 00 00 00 00 00 7C [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 62 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 62 00 ED 13 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 0E 04 04 00 CD 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 22 [00:14: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 20 91 00 00 0E 04 04 00 CD 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:14:57]wFMCommunicate OK [00:14:57]SAM_PROTO_GetFieldsCounters done [00:14:57]requested_item shift.num is exist - process it [00:14:57]requested_item shift.opened is exist - process it [00:14:57]req_shift_opened [00:14:57]FM_GetShiftState [00:14:57]SAM_PROTO_GetShiftState [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 13 01 00 [00:14:57]Write to MH i2c: E2 08 00 EE 13 80 13 01 00 00 00 00 00 7E [00:14:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 75 BA 47 00 8B 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 20 91 00 00 F4 03 04 00 17 F4 13 67 B6 04 01 00 00 6B C1 F5 F8 E8 90 39 8D [00:14:57]CommunicateWithHost err = 0 [00:14:57]CheckOFDResponse [00:14:57]1017 (14) - 77093643461234 [00:14:57]1041 (16) - 0000000000965372 [00:14:57]1040 (4) - 37152 [00:14:57]1012 (4) - 19.10.2024 18:01 [00:14:57]1206 (1) - 0 [00:14:57]OFD Sender: Remove packet 37152 [00:14:57]ProducePacketName [00:14:57]name=ofd_packets/00037152 [00:14:57]NVStorageDeleteData [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 0E 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 0E 00 EE 13 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 D3 [00:14:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [00:14:57]wFMCommunicate OK [00:14:57]SAM_PROTO_GetShiftState done [00:14:57]FM_GetShiftState done [00:14:57]req_shift_opened done [00:14:57]requested_item shift.open_date is exist - process it [00:14:57]req_shift_open_date [00:14:57]req_shift_open_date done [00:14:57]produce_requested_data done [00:14:57]produce_requested_data return {"fd.num":37152,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [00:14:57]process_action_free open_shift [00:14:57]json_value_free [00:14:57]json_value_free done [00:14:57]process_json_proto returns [00:14:57]Send response to host [00:14:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37152,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [00:14:57]free response buf [00:14:57]execute_script done [00:14:57]execute_script returns [00:14:57]free content buf [00:14:57]Sock 7.Close socket [00:14:57]Sock 7.Thread stoped [00:14:57]accept exits with 9 [00:14:57]New connection [00:14:57]New thread 3066555748 created [00:14:57]Thread 3066699108 joined [00:14:57]Waiting for new connection... [00:14:57] Sock 9.Parse request [00:14:57]Sock 9.Check first char [00:14:57]Sock 9.First char is OK [00:14:57]request: POST /json_proto HTTP/1.0 [00:14:57]Method: POST [00:14:57]URL: /json_proto [00:14:57]Method is POST - this is cgi request [00:14:57]url: /json_proto [00:14:57]query_string will be loaded in cgi processing [00:14:57]execute_cgi json_proto POST (null) [00:14:57]execute_cgi path=json_proto method=POST [00:14:57]POST find Content-Length [00:14:57]Host: 172.17.53.68:8080 [00:14:57]Content-Length: 331 [00:14:57]Content-Type: application/json [00:14:57] [00:14:57]POST finish read [00:14:57]Found Content-Length = 331 [00:14:57]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:14:57]execute_script... [00:14:57]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:14:57]POST & json_proto [00:14:57]process_json_proto [00:14:57]json parsed OK: [00:14:57]protocol is kg_v1.0 [00:14:57]action value=get_value [00:14:57]process_action get_value [00:14:57]cmd_get_value [00:14:57]process_action get_value done [00:14:57]requested_data is exist [00:14:57]produce_requested_data [00:14:57]requested_item fm.sale.total is exist - process it [00:14:57]SAM_PROTO_GetFMData [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 13 03 00 [00:14:57]Write to MH i2c: E2 08 00 EF 13 80 13 03 00 00 00 00 00 81 [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 EF 13 00 C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 2C [00:14:58]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 86 8D 00 00 69 04 A0 00 6F 04 04 00 3D 8C 00 00 B1 04 04 00 3A FC 70 45 70 04 04 00 C4 E6 C1 3D 72 04 04 OFD Sender: No OFD packet to send [00:14:58]00 76 15 AF 07 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 18 50 60 07 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 52 4D 9D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 49 01 00 00 B1 04 04 00 64 5B B7 01 70 04 04 00 04 A2 B2 01 72 04 03 00 60 B9 04 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C5 AA 2E EF 03 09 00 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 F0 13 80 17 00 00 00 00 00 00 83 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 F0 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 9B [00:14:58]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 7C E3 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 F1 13 80 17 00 00 00 00 00 00 84 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:59]Read from MH i2c: E2 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 FD 00 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 FD 00 F1 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 99 [00:14:59]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:14:59]wFMCommunicate OK [00:14:59]wFMCommunicate request_size=4 [00:14:59]MH_SAM_APDU [00:14:59]CAPDU: 80 17 00 00 [00:14:59]Write to MH i2c: E2 08 00 F2 13 80 17 00 00 00 00 00 00 85 [00:14:59]Write i2c OK [00:14:59]MH_I2C_Read... [00:14:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:59]Read from MH i2c: E2 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 FD 00 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 FD 00 F2 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 FD [00:14:59]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:59]wFMCommunicate OK [00:14:59]wFMCommunicate request_size=4 [00:14:59]MH_SAM_APDU [00:14:59]CAPDU: 80 17 00 00 [00:14:59]Write to MH i2c: E2 08 00 F3 13 80 17 00 00 00 00 00 00 86 [00:14:59]Write i2c OK [00:14:59]MH_I2C_Read... [00:14:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:14:59]Read from MH i2c: E2 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 E1 00 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 E1 00 F3 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 74 [00:15:00]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:15:00]wFMCommunicate OK [00:15:00]SAM_PROTO_GetFMData done [00:15:00]requested_item fm.sale_refund.total is exist - process it [00:15:00]requested_item fm.buy.total is exist - process it [00:15:00]requested_item shift.sale.total is exist - process it [00:15:00]SAM_PROTO_GetShiftData [00:15:00]wFMCommunicate request_size=4 [00:15:00]MH_SAM_APDU [00:15:00]CAPDU: 80 13 02 00 [00:15:00]Write to MH i2c: E2 08 00 F4 13 80 13 02 00 00 00 00 00 85 [00:15:00]Write i2c OK [00:15:00]MH_I2C_Read... [00:15:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:15:00]Read from MH i2c: E2 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 F4 13 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 F8 [00:15:00]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:15:00]wFMCommunicate OK [00:15:00]wFMCommunicate request_size=4 [00:15:00]MH_SAM_APDU [00:15:00]CAPDU: 80 17 00 00 [00:15:00]Write to MH i2c: E2 08 00 F5 13 80 17 00 00 00 00 00 00 88 [00:15:00]Write i2c OK [00:15:00]MH_I2C_Read... [00:15:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:00]Read from MH i2c: E2 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 F5 13 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 90 [00:15:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:15:01]wFMCommunicate OK [00:15:01]wFMCommunicate request_size=4 [00:15:01]MH_SAM_APDU [00:15:01]CAPDU: 80 17 00 00 [00:15:01]Write to MH i2c: E2 08 00 F6 13 80 17 00 00 00 00 00 00 89 [00:15:01]Write i2c OK [00:15:01]MH_I2C_Read... [00:15:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:01]Read from MH i2c: E2 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 F6 13 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 5B [00:15:01]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:15:01]wFMCommunicate OK [00:15:01]wFMCommunicate request_size=4 [00:15:01]MH_SAM_APDU [00:15:01]CAPDU: 80 17 00 00 [00:15:01]Write to MH i2c: E2 08 00 F7 13 80 17 00 00 00 00 00 00 8A [00:15:01]Write i2c OK [00:15:01]MH_I2C_Read... [00:15:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:01]Read from MH i2c: E2 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 F7 13 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 FC [00:15:01]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:15:02]wFMCommunicate OK [00:15:02]wFMCommunicate request_size=4 [00:15:02]MH_SAM_APDU [00:15:02]CAPDU: 80 17 00 00 [00:15:02]Write to MH i2c: E2 08 00 F8 13 80 17 00 00 00 00 00 00 8B [00:15:02]Write i2c OK [00:15:02]MH_I2C_Read... [00:15:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:15:02]Read from MH i2c: E2 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 BD 00 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 BD 00 F8 13 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 71 [00:15:02]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:15:02]wFMCommunicate OK [00:15:02]SAM_PROTO_GetShiftData done [00:15:02]requested_item shift.sale.total_cash is exist - process it [00:15:02]requested_item shift.sale_refund.total is exist - process it [00:15:02]requested_item shift.sale_refund.total_cash is exist - process it [00:15:02]requested_item shift.buy.total is exist - process it [00:15:02]requested_item shift.buy.total_cash is exist - process it [00:15:02]produce_requested_data done [00:15:02]produce_requested_data return {"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:15:02]process_action_free get_value [00:15:02]json_value_free [00:15:02]json_value_free done [00:15:02]process_json_proto returns [00:15:02]Send response to host [00:15:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11650325.06,"fm.sale_refund.total":287937.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:15:02]free response buf [00:15:02]execute_script done [00:15:02]execute_script returns [00:15:02]free content buf [00:15:02]Sock 9.Close socket [00:15:02]Sock 9.Thread stoped [00:15:03]OFD Sender: No OFD packet to send [00:15:08]OFD Sender: No OFD packet to send [00:15:13]OFD Sender: No OFD packet to send [00:15:18]OFD Sender: No OFD packet to send [00:15:23]OFD Sender: No OFD packet to send [00:15:28]OFD Sender: No OFD packet to send [00:15:33]OFD Sender: No OFD packet to send [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:05]accept exits with 7 [00:24:05]New connection [00:24:05]New thread 3066699108 created [00:24:05]Thread 3066555748 joined [00:24:05]Waiting for new connection... [00:24:05] Sock 7.Parse request [00:24:05]Sock 7.Check first char [00:24:05]Sock 7.First char is OK [00:24:05]request: POST /json_proto HTTP/1.0 [00:24:05]Method: POST [00:24:05]URL: /json_proto [00:24:05]Method is POST - this is cgi request [00:24:05]url: /json_proto [00:24:05]query_string will be loaded in cgi processing [00:24:05]execute_cgi json_proto POST (null) [00:24:05]execute_cgi path=json_proto method=POST [00:24:05]POST find Content-Length [00:24:05]Host: 172.17.53.68:8080 [00:24:05]Content-Length: 866 [00:24:05]Content-Type: application/json [00:24:05] [00:24:05]POST finish read [00:24:05]Found Content-Length = 866 [00:24:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76638", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 294.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:05]execute_script... [00:24:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76638", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 294.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:05]POST & json_proto [00:24:05]process_json_proto [00:24:05]json parsed OK: [00:24:05]protocol is kg_v1.0 [00:24:05]action value=close_receipt [00:24:05]process_action close_receipt [00:24:05]cmd_close_receipt [00:24:05]MH_GetDate [00:24:05]Write to MH i2c: F0 00 00 F9 13 FB [00:24:05]Write i2c OK [00:24:05]MH_I2C_Read... [00:24:05]Read from MH i2c: F0 [00:24:05]MH_I2C_Read... [00:24:05]Read from MH i2c: F0 09 00 [00:24:05]MH_I2C_Read... [00:24:05]Read from MH i2c: F0 09 00 F9 13 00 AA 4D 14 67 C5 A4 76 66 BB [00:24:05]GetLastDocTimeStamp 1729383299 [00:24:05]current date 1729383850 [00:24:05]FM_GetShiftState [00:24:05]SAM_PROTO_GetShiftState [00:24:05]wFMCommunicate request_size=4 [00:24:05]MH_SAM_APDU [00:24:05]CAPDU: 80 13 01 00 [00:24:05]Write to MH i2c: E2 08 00 FA 13 80 13 01 00 00 00 00 00 8A [00:24:05]Write i2c OK [00:24:05]MH_I2C_Read... [00:24:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:05]Read from MH i2c: E2 [00:24:05]MH_I2C_Read... [00:24:05]Read from MH i2c: E2 0E 00 [00:24:05]MH_I2C_Read... [00:24:05]Read from MH i2c: E2 0E 00 FA 13 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 DF [00:24:05]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [00:24:05]wFMCommunicate OK [00:24:05]SAM_PROTO_GetShiftState done [00:24:05]FM_GetShiftState done [00:24:05]opened in 1729383299 [00:24:05]opened+sec_in_day 1729469699 [00:24:05]quantity*price = 14400 [00:24:05]sum+1 = 14401 [00:24:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001151546 Сок Da-Da 1л зел.ябл 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 294.00 НСП 1% : 2.60 НДС 12% : 31.22 Наличными: 294.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 1 20.10.2024 00:24 Смена: 461 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37153 ФПД: 196623783550757 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T002410&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37153&fm=196623783550757&tin=02508201610067®Number=0000000000098149&sum=29400 0 [00:24:07]StoreToDocumentArchive [00:24:07]shift 461 fd 37153 [00:24:07]save to /storage/0461/doc_00037153 [00:24:07]save last doc name /storage/0461/doc_00037153 to /storage/kkm_last_doc_name [00:24:07]save OK [00:24:07]Clear old archive folders... [00:24:07]ProcessDocumentItem done err = 0, tmpTLVsize=377 [00:24:07]tlvbuf is 009AE2F0 [00:24:07]SAM_PROTO_ClearQueue [00:24:07]wFMCommunicate request_size=4 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 09 00 00 [00:24:07]Write to MH i2c: E2 08 00 07 14 80 09 00 00 00 00 00 00 8D [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 07 14 00 90 00 8F [00:24:07]RAPDU: 90 00 [00:24:07]wFMCommunicate OK [00:24:07]SAM_PROTO_ClearQueue done [00:24:07]KKMCreateOFDPacket [00:24:07]OFDProtocolAddRootSTLVToBuf [00:24:07]FM_MakeSignedData [00:24:07]FM_MakeSignedData [00:24:07]SAM_PROTO_SignData [00:24:07]wFMCommunicate request_size=4 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 0D 01 02 [00:24:07]Write to MH i2c: E2 08 00 08 14 80 0D 01 02 00 00 00 00 95 [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 08 14 00 90 00 90 [00:24:07]RAPDU: 90 00 [00:24:07]wFMCommunicate OK [00:24:07]wFMCommunicate request_size=255 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 04 01 00 00 00 00 EE [00:24:07]Write to MH i2c: E2 02 01 09 14 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 04 01 00 00 00 00 EE 00 00 0B [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 09 14 00 90 00 91 [00:24:07]RAPDU: 90 00 [00:24:07]wFMCommunicate OK [00:24:07]wFMCommunicate request_size=136 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 0C 00 00 00 00 07 04 06 00 D8 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 AA 4D 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 21 91 00 00 35 04 06 00 B2 D4 0A C5 DF 25 [00:24:07]Write to MH i2c: E2 8B 00 0A 14 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 0C 00 00 00 00 07 04 06 00 D8 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 AA 4D 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 21 91 00 00 35 04 06 00 B2 D4 0A C5 DF 25 00 00 B7 [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 03 00 0A 14 00 90 00 92 [00:24:07]RAPDU: 90 00 [00:24:07]wFMCommunicate OK [00:24:07]wFMCommunicate request_size=4 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 0D 03 02 [00:24:07]Write to MH i2c: E2 08 00 0B 14 80 0D 03 02 00 00 00 00 9A [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 0B 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 0B 00 0B 14 00 41 12 4C 7C 96 ED 9A AB 90 00 7E [00:24:07]RAPDU: 41 12 4C 7C 96 ED 9A AB 90 00 [00:24:07]wFMCommunicate OK [00:24:07]SAM_PROTO_SignData done [00:24:07]FM_MakeSignedData done [00:24:07]CreateOFDProtocolMessage [00:24:07]wFMCommunicate request_size=4 [00:24:07]MH_SAM_APDU [00:24:07]CAPDU: 80 11 00 00 [00:24:07]Write to MH i2c: E2 08 00 0C 14 80 11 00 00 00 00 00 00 9A [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:07]Read from MH i2c: E2 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 17 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: E2 17 00 0C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 ED [00:24:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:24:07]wFMCommunicate OK [00:24:07]CreateOFDProtocolMessage done [00:24:07]OFDSenderStorePacket 37153 [00:24:07]StoreOFDPacket docnum=37153 [00:24:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 8D 01 00 00 47 BE 85 01 48 9D 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 04 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 0C 00 00 00 00 07 04 06 00 D8 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 AA 4D 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 21 91 00 00 35 04 06 00 B2 D4 0A C5 DF 25 41 12 4C 7C 96 ED 9A AB [00:24:07]CheckFolder [00:24:07]dirname=/storage/ofd_packets [00:24:07]CheckFolder done [00:24:07]ProducePacketName [00:24:07]name=ofd_packets/00037153 [00:24:07]NVStorageSaveData ofd_packets/00037153 [00:24:07]File name is /storage/ofd_packets/00037153 [00:24:07]Write 427 bytes [00:24:07]NVStorageSaveData done [00:24:07]OFDSenderStorePacket done [00:24:07]KKMCreateOFDPacket done [00:24:07]NVStorageSaveData kkm_last_timestamp [00:24:07]File name is /storage/kkm_last_timestamp [00:24:07]Write 4 bytes [00:24:07]NVStorageSaveData done [00:24:07]ExternCall_PrintAddStr [00:24:07]wPrintStart [00:24:07]Write to MH i2c: 01 00 00 0D 14 21 [00:24:07]Write i2c OK [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: 01 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: 01 07 00 [00:24:07]MH_I2C_Read... [00:24:07]Read from MH i2c: 01 07 00 0D 14 00 00 00 00 00 FF 0F 36 [00:24:07]RasterBufferAndPrint [00:24:07]line Счет N : (3)76638 [00:24:07]line ИНН: 02508201610067 [00:24:07]line Контрольно-Кассовый Чек [00:24:07]line ПРОДАЖА [00:24:07]line Товар: 48743587 [00:24:07]line Сигареты Winston XStyle Silver [00:24:07]line 1.000 * 144.00 [00:24:07]line = 144.00 [00:24:07]line НДС 12% НСП 1% [00:24:08]line > о реализуемом товаре [00:24:08]line Товар: 4870001151546 [00:24:08]line Сок Da-Da 1л зел.ябл [00:24:08]line 1.000 * 150.00 [00:24:08]line = 150.00 [00:24:08]line НДС 12% НСП 1% [00:24:08]line > о реализуемом товаре [00:24:08]line ИТОГО: 294.00 [00:24:08]line НСП 1% : 2.60 [00:24:08]line НДС 12% : 31.22 [00:24:08]line Наличными: 294.00 [00:24:08]line Безнал.: 0.00 [00:24:08]line Место: АЗС № 165 "Партнер Нефть" [00:24:08]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [00:24:08]line СНО: Общий режим [00:24:08]line Чек 1 20.10.2024 00:24 [00:24:08]line Смена: 461 ФФД: 1.0 [00:24:08]line ЗНМ: 0300000235 [00:24:08]line РНМ: 0000000000098149 [00:24:08]line Версия ККМ: 001 [00:24:08]line ФМ: 0000000000965372 [00:24:08]line ФД: 37153 [00:24:08]line ФПД: 196623783550757 [00:24:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T002410&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37153&fm=196623783550757&tin=02508201610067®Number=0000000000098149&sum=29400 [00:24:08]line 0 [00:24:08]OFD Sender: Processing packet 37153 [packets to send 25, broken 24] [00:24:08]ProducePacketName [00:24:08]name=ofd_packets/00037153 [00:24:08]OFD Sender: To server: pG, [00:24:08]CommunicateWithHost lk.salyk.kg:30040 [00:24:08]ConnectInit lk.salyk.kg [00:24:08]written 0, free lines is 4095 [00:24:08]Connected sock=10 [00:24:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 8D 01 00 00 47 BE 85 01 48 9D 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 04 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 0C 00 00 00 00 07 04 06 00 D8 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 AA 4D 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 21 91 00 00 35 04 06 00 B2 D4 0A C5 DF 25 41 12 4C 7C 96 ED 9A AB [00:24:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0E 15 47 00 99 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 21 91 00 00 F4 03 04 00 3E F6 13 67 B6 04 01 00 00 08 74 85 19 FC 6A 05 F7 [00:24:08]CommunicateWithHost err = 0 [00:24:08]CheckOFDResponse [00:24:08]1017 (14) - 77093643461234 [00:24:08]1041 (16) - 0000000000965372 [00:24:08]1040 (4) - 37153 [00:24:08]1012 (4) - 19.10.2024 18:11 [00:24:08]1206 (1) - 0 [00:24:08]OFD Sender: Remove packet 37153 [00:24:08]ProducePacketName [00:24:08]name=ofd_packets/00037153 [00:24:08]NVStorageDeleteData [00:24:08]Write to MH i2c: 01 00 00 3C 14 50 [00:24:08]Write i2c OK [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: 01 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: 01 07 00 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: 01 07 00 3C 14 00 00 00 00 00 8A 0C ED [00:24:08]RasterBufferAndPrint [00:24:08]line [00:24:08]line [00:24:08]line [00:24:08]line [00:24:08]line [00:24:08]written 0, free lines is 3218 [00:24:08]process_action close_receipt done [00:24:08]requested_data is exist [00:24:08]produce_requested_data [00:24:08]requested_item fm.sn is exist - process it [00:24:08]wFMCommunicate request_size=4 [00:24:08]MH_SAM_APDU [00:24:08]CAPDU: 80 11 00 00 [00:24:08]Write to MH i2c: E2 08 00 43 14 80 11 00 00 00 00 00 00 D1 [00:24:08]Write i2c OK [00:24:08]MH_I2C_Read... [00:24:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:08]Read from MH i2c: E2 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 17 00 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 17 00 43 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 24 [00:24:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:24:08]wFMCommunicate OK [00:24:08]requested_item fd.num is exist - process it [00:24:08]SAM_PROTO_GetFieldsCounters [00:24:08]wFMCommunicate request_size=4 [00:24:08]MH_SAM_APDU [00:24:08]CAPDU: 80 13 00 00 [00:24:08]Write to MH i2c: E2 08 00 44 14 80 13 00 00 00 00 00 00 D4 [00:24:08]Write i2c OK [00:24:08]MH_I2C_Read... [00:24:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:08]Read from MH i2c: E2 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 62 00 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 62 00 44 14 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 21 91 00 00 0E 04 04 00 CD 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 7E [00:24: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 21 91 00 00 0E 04 04 00 CD 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 [00:24:08]wFMCommunicate OK [00:24:08]SAM_PROTO_GetFieldsCounters done [00:24:08]requested_item shift.num is exist - process it [00:24:08]requested_item shift.opened is exist - process it [00:24:08]req_shift_opened [00:24:08]FM_GetShiftState [00:24:08]SAM_PROTO_GetShiftState [00:24:08]wFMCommunicate request_size=4 [00:24:08]MH_SAM_APDU [00:24:08]CAPDU: 80 13 01 00 [00:24:08]Write to MH i2c: E2 08 00 45 14 80 13 01 00 00 00 00 00 D6 [00:24:08]Write i2c OK [00:24:08]MH_I2C_Read... [00:24:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:08]Read from MH i2c: E2 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 0E 00 [00:24:08]MH_I2C_Read... [00:24:08]Read from MH i2c: E2 0E 00 45 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 2B [00:24:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [00:24:08]wFMCommunicate OK [00:24:08]SAM_PROTO_GetShiftState done [00:24:08]FM_GetShiftState done [00:24:08]req_shift_opened done [00:24:08]requested_item shift.open_date is exist - process it [00:24:08]req_shift_open_date [00:24:08]req_shift_open_date done [00:24:08]produce_requested_data done [00:24:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37153,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [00:24:08]process_action_free close_receipt [00:24:08]json_value_free [00:24:08]json_value_free done [00:24:08]process_json_proto returns [00:24:08]Send response to host [00:24:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37153,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [00:24:08]free response buf [00:24:08]execute_script done [00:24:08]execute_script returns [00:24:08]free content buf [00:24:08]Sock 7.Close socket [00:24:08]Sock 7.Thread stoped [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26: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:05]accept exits with 9 [00:38:05]New connection [00:38:05]New thread 3066555748 created [00:38:05]Thread 3066699108 joined [00:38:05]Waiting for new connection... [00:38:05] Sock 9.Parse request [00:38:05]Sock 9.Check first char [00:38:05]Sock 9.First char is OK [00:38:05]request: POST /json_proto HTTP/1.0 [00:38:05]Method: POST [00:38:05]URL: /json_proto [00:38:05]Method is POST - this is cgi request [00:38:05]url: /json_proto [00:38:05]query_string will be loaded in cgi processing [00:38:05]execute_cgi json_proto POST (null) [00:38:05]execute_cgi path=json_proto method=POST [00:38:05]POST find Content-Length [00:38:05]Host: 172.17.53.68:8080 [00:38:05]Content-Length: 663 [00:38:05]Content-Type: application/json [00:38:05] [00:38:05]POST finish read [00:38:05]Found Content-Length = 663 [00:38:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76639", "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" ] } } [00:38:05]execute_script... [00:38:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76639", "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" ] } } [00:38:05]POST & json_proto [00:38:05]process_json_proto [00:38:05]json parsed OK: [00:38:05]protocol is kg_v1.0 [00:38:05]action value=close_receipt [00:38:05]process_action close_receipt [00:38:05]cmd_close_receipt [00:38:05]MH_GetDate [00:38:05]Write to MH i2c: F0 00 00 46 14 49 [00:38:05]Write i2c OK [00:38:05]MH_I2C_Read... [00:38:05]Read from MH i2c: F0 [00:38:05]MH_I2C_Read... [00:38:05]Read from MH i2c: F0 09 00 [00:38:05]MH_I2C_Read... [00:38:05]Read from MH i2c: F0 09 00 46 14 00 F2 50 14 67 C5 A4 76 66 54 [00:38:05]GetLastDocTimeStamp 1729383850 [00:38:05]current date 1729384690 [00:38:05]FM_GetShiftState [00:38:05]SAM_PROTO_GetShiftState [00:38:05]wFMCommunicate request_size=4 [00:38:05]MH_SAM_APDU [00:38:05]CAPDU: 80 13 01 00 [00:38:05]Write to MH i2c: E2 08 00 47 14 80 13 01 00 00 00 00 00 D8 [00:38:05]Write i2c OK [00:38:05]MH_I2C_Read... [00:38:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:05]Read from MH i2c: E2 [00:38:05]MH_I2C_Read... [00:38:05]Read from MH i2c: E2 0E 00 [00:38:05]MH_I2C_Read... [00:38:05]Read from MH i2c: E2 0E 00 47 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 2D [00:38:05]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [00:38:05]wFMCommunicate OK [00:38:05]SAM_PROTO_GetShiftState done [00:38:05]FM_GetShiftState done [00:38:05]opened in 1729383299 [00:38:05]opened+sec_in_day 1729469699 [00:38:05]quantity*price = 19000 [00:38:05]sum+1 = 19001 [00:38:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 2 20.10.2024 00:38 Смена: 461 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37154 ФПД: 138920502905013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T003810&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37154&fm=138920502905013&tin=02508201610067®Number=0000000000098149&sum=19000 0 [00:38:06]StoreToDocumentArchive [00:38:06]shift 461 fd 37154 [00:38:06]save to /storage/0461/doc_00037154 [00:38:06]save last doc name /storage/0461/doc_00037154 to /storage/kkm_last_doc_name [00:38:06]save OK [00:38:06]Clear old archive folders... [00:38:06]ProcessDocumentItem done err = 0, tmpTLVsize=289 [00:38:06]tlvbuf is 0097ACA0 [00:38:06]SAM_PROTO_ClearQueue [00:38:06]wFMCommunicate request_size=4 [00:38:06]MH_SAM_APDU [00:38:06]CAPDU: 80 09 00 00 [00:38:06]Write to MH i2c: E2 08 00 54 14 80 09 00 00 00 00 00 00 DA [00:38:06]Write i2c OK [00:38:06]MH_I2C_Read... [00:38:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:38:06]Read from MH i2c: E2 [00:38:06]MH_I2C_Read... [00:38:06]Read from MH i2c: E2 03 00 [00:38:06]MH_I2C_Read... [00:38:06]Read from MH i2c: E2 03 00 54 14 00 90 00 DC [00:38:06]RAPDU: 90 00 [00:38:06]wFMCommunicate OK [00:38:06]SAM_PROTO_ClearQueue done [00:38:06]KKMCreateOFDPacket [00:38:06]OFDProtocolAddRootSTLVToBuf [00:38:06]FM_MakeSignedData [00:38:06]FM_MakeSignedData [00:38:06]SAM_PROTO_SignData [00:38:06]wFMCommunicate request_size=4 [00:38:06]MH_SAM_APDU [00:38:06]CAPDU: 80 0D 01 02 [00:38:06]Write to MH i2c: E2 08 00 55 14 80 0D 01 02 00 00 00 00 E2 [00:38:06]Write i2c OK [00:38:06]MH_I2C_Read... [00:38:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:38:07]Read from MH i2c: E2 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 55 14 00 90 00 DD [00:38:07]RAPDU: 90 00 [00:38:07]wFMCommunicate OK [00:38:07]wFMCommunicate request_size=255 [00:38:07]MH_SAM_APDU [00:38:07]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 02 00 00 00 F4 03 04 00 F2 50 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [00:38:07]Write to MH i2c: E2 02 01 56 14 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 02 00 00 00 F4 03 04 00 F2 50 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 D7 [00:38:07]Write i2c OK [00:38:07]MH_I2C_Read... [00:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:07]Read from MH i2c: E2 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 56 14 00 90 00 DE [00:38:07]RAPDU: 90 00 [00:38:07]wFMCommunicate OK [00:38:07]wFMCommunicate request_size=48 [00:38:07]MH_SAM_APDU [00:38:07]CAPDU: 80 0D 02 02 2B 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 22 91 00 00 35 04 06 00 7E 58 F3 3A 48 B5 [00:38:07]Write to MH i2c: E2 33 00 57 14 80 0D 02 02 2B 00 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 22 91 00 00 35 04 06 00 7E 58 F3 3A 48 B5 00 00 99 [00:38:07]Write i2c OK [00:38:07]MH_I2C_Read... [00:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:07]Read from MH i2c: E2 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 03 00 57 14 00 90 00 DF [00:38:07]RAPDU: 90 00 [00:38:07]wFMCommunicate OK [00:38:07]wFMCommunicate request_size=4 [00:38:07]MH_SAM_APDU [00:38:07]CAPDU: 80 0D 03 02 [00:38:07]Write to MH i2c: E2 08 00 58 14 80 0D 03 02 00 00 00 00 E7 [00:38:07]Write i2c OK [00:38:07]MH_I2C_Read... [00:38:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:38:07]Read from MH i2c: E2 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 0B 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 0B 00 58 14 00 CB 42 6B 32 41 37 E7 7C 90 00 6D [00:38:07]RAPDU: CB 42 6B 32 41 37 E7 7C 90 00 [00:38:07]wFMCommunicate OK [00:38:07]SAM_PROTO_SignData done [00:38:07]FM_MakeSignedData done [00:38:07]CreateOFDProtocolMessage [00:38:07]wFMCommunicate request_size=4 [00:38:07]MH_SAM_APDU [00:38:07]CAPDU: 80 11 00 00 [00:38:07]Write to MH i2c: E2 08 00 59 14 80 11 00 00 00 00 00 00 E7 [00:38:07]Write i2c OK [00:38:07]MH_I2C_Read... [00:38:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:07]Read from MH i2c: E2 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 17 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: E2 17 00 59 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 3A [00:38:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:38:07]wFMCommunicate OK [00:38:07]CreateOFDProtocolMessage done [00:38:07]OFDSenderStorePacket 37154 [00:38:07]StoreOFDPacket docnum=37154 [00:38:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 01 00 00 F0 A9 2D 01 A2 D6 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 02 00 00 00 F4 03 04 00 F2 50 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 22 91 00 00 35 04 06 00 7E 58 F3 3A 48 B5 CB 42 6B 32 41 37 E7 7C [00:38:07]CheckFolder [00:38:07]dirname=/storage/ofd_packets [00:38:07]CheckFolder done [00:38:07]ProducePacketName [00:38:07]name=ofd_packets/00037154 [00:38:07]NVStorageSaveData ofd_packets/00037154 [00:38:07]File name is /storage/ofd_packets/00037154 [00:38:07]Write 339 bytes [00:38:07]NVStorageSaveData done [00:38:07]OFDSenderStorePacket done [00:38:07]KKMCreateOFDPacket done [00:38:07]NVStorageSaveData kkm_last_timestamp [00:38:07]File name is /storage/kkm_last_timestamp [00:38:07]Write 4 bytes [00:38:07]NVStorageSaveData done [00:38:07]ExternCall_PrintAddStr [00:38:07]wPrintStart [00:38:07]Write to MH i2c: 01 00 00 5A 14 6E [00:38:07]OFD Sender: Processing packet 37154 [packets to send 25, broken 24] [00:38:07]ProducePacketName [00:38:07]name=ofd_packets/00037154 [00:38:07]OFD Sender: To server: pG, [00:38:07]CommunicateWithHost lk.salyk.kg:30040 [00:38:07]ConnectInit lk.salyk.kg [00:38:07]Write i2c OK [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: 01 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: 01 07 00 [00:38:07]MH_I2C_Read... [00:38:07]Read from MH i2c: 01 07 00 5A 14 00 00 00 00 00 FF 0F 83 [00:38:07]RasterBufferAndPrint [00:38:07]line Счет N : (3)76639 [00:38:07]line ИНН: 02508201610067 [00:38:07]line Контрольно-Кассовый Чек [00:38:07]line ПРОДАЖА [00:38:07]line Товар: 5449000176431 [00:38:07]line Сок Piko Pulpy апельсин ПЭТ 0,5л [00:38:07]line 2.000 * 95.00 [00:38:07]line = 190.00 [00:38:07]line НДС 12% НСП 1% [00:38:07]line > о реализуемом товаре [00:38:07]line ИТОГО: 190.00 [00:38:07]line НСП 1% : 1.68 [00:38:07]line НДС 12% : 20.18 [00:38:07]line Наличными: 190.00 [00:38:07]line Безнал.: 0.00 [00:38:07]line Место: АЗС № 165 "Партнер Нефть" [00:38:07]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [00:38:07]line СНО: Общий режим [00:38:07]line Чек 2 20.10.2024 00:38 [00:38:07]line Смена: 461 ФФД: 1.0 [00:38:07]line ЗНМ: 0300000235 [00:38:07]line РНМ: 0000000000098149 [00:38:07]line Версия ККМ: 001 [00:38:07]line ФМ: 0000000000965372 [00:38:07]line ФД: 37154 [00:38:07]line ФПД: 138920502905013 [00:38:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T003810&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37154&fm=138920502905013&tin=02508201610067®Number=0000000000098149&sum=19000 [00:38:07]Connected sock=10 [00:38:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 35 01 00 00 F0 A9 2D 01 A2 D6 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 02 00 00 00 F4 03 04 00 F2 50 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 22 91 00 00 35 04 06 00 7E 58 F3 3A 48 B5 CB 42 6B 32 41 37 E7 7C [00:38:07]line 0 [00:38:07]written 0, free lines is 4095 [00:38:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 00 42 47 00 86 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 33 37 32 10 04 04 00 22 91 00 00 F4 03 04 00 86 F9 13 67 B6 04 01 00 00 74 09 E5 8B 22 6F 30 75 [00:38:08]CommunicateWithHost err = 0 [00:38:08]CheckOFDResponse [00:38:08]1017 (14) - 77093643461234 [00:38:08]1041 (16) - 0000000000965372 [00:38:08]1040 (4) - 37154 [00:38:08]1012 (4) - 19.10.2024 18:25 [00:38:08]1206 (1) - 0 [00:38:08]OFD Sender: Remove packet 37154 [00:38:08]ProducePacketName [00:38:08]name=ofd_packets/00037154 [00:38:08]NVStorageDeleteData [00:38:08]Write to MH i2c: 01 00 00 83 14 97 [00:38:08]Write i2c OK [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: 01 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: 01 07 00 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: 01 07 00 83 14 00 00 00 00 00 ED 0C 97 [00:38:08]RasterBufferAndPrint [00:38:08]line [00:38:08]line [00:38:08]line [00:38:08]line [00:38:08]line [00:38:08]written 0, free lines is 3318 [00:38:08]process_action close_receipt done [00:38:08]requested_data is exist [00:38:08]produce_requested_data [00:38:08]requested_item fm.sn is exist - process it [00:38:08]wFMCommunicate request_size=4 [00:38:08]MH_SAM_APDU [00:38:08]CAPDU: 80 11 00 00 [00:38:08]Write to MH i2c: E2 08 00 8A 14 80 11 00 00 00 00 00 00 18 [00:38:08]Write i2c OK [00:38:08]MH_I2C_Read... [00:38:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:08]Read from MH i2c: E2 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 17 00 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 17 00 8A 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 6B [00:38:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [00:38:08]wFMCommunicate OK [00:38:08]requested_item fd.num is exist - process it [00:38:08]SAM_PROTO_GetFieldsCounters [00:38:08]wFMCommunicate request_size=4 [00:38:08]MH_SAM_APDU [00:38:08]CAPDU: 80 13 00 00 [00:38:08]Write to MH i2c: E2 08 00 8B 14 80 13 00 00 00 00 00 00 1B [00:38:08]Write i2c OK [00:38:08]MH_I2C_Read... [00:38:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:38:08]Read from MH i2c: E2 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 62 00 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 62 00 8B 14 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 22 91 00 00 0E 04 04 00 CD 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 C9 [00:38: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 22 91 00 00 0E 04 04 00 CD 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 [00:38:08]wFMCommunicate OK [00:38:08]SAM_PROTO_GetFieldsCounters done [00:38:08]requested_item shift.num is exist - process it [00:38:08]requested_item shift.opened is exist - process it [00:38:08]req_shift_opened [00:38:08]FM_GetShiftState [00:38:08]SAM_PROTO_GetShiftState [00:38:08]wFMCommunicate request_size=4 [00:38:08]MH_SAM_APDU [00:38:08]CAPDU: 80 13 01 00 [00:38:08]Write to MH i2c: E2 08 00 8C 14 80 13 01 00 00 00 00 00 1D [00:38:08]Write i2c OK [00:38:08]MH_I2C_Read... [00:38:08]OFD Sender: No OFD packet to send [00:38:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:08]Read from MH i2c: E2 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 0E 00 [00:38:08]MH_I2C_Read... [00:38:08]Read from MH i2c: E2 0E 00 8C 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 72 [00:38:08]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [00:38:08]wFMCommunicate OK [00:38:08]SAM_PROTO_GetShiftState done [00:38:08]FM_GetShiftState done [00:38:08]req_shift_opened done [00:38:08]requested_item shift.open_date is exist - process it [00:38:08]req_shift_open_date [00:38:08]req_shift_open_date done [00:38:08]produce_requested_data done [00:38:08]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37154,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [00:38:08]process_action_free close_receipt [00:38:08]json_value_free [00:38:08]json_value_free done [00:38:08]process_json_proto returns [00:38:08]Send response to host [00:38:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37154,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [00:38:08]free response buf [00:38:08]execute_script done [00:38:08]execute_script returns [00:38:08]free content buf [00:38:08]Sock 9.Close socket [00:38:08]Sock 9.Thread stoped [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:20]accept exits with 7 [01:05:20]New connection [01:05:20]New thread 3066699108 created [01:05:20]Thread 3066555748 joined [01:05:20]Waiting for new connection... [01:05:20] Sock 7.Parse request [01:05:20]Sock 7.Check first char [01:05:20]Sock 7.First char is OK [01:05:20]request: POST /json_proto HTTP/1.0 [01:05:20]Method: POST [01:05:20]URL: /json_proto [01:05:20]Method is POST - this is cgi request [01:05:20]url: /json_proto [01:05:20]query_string will be loaded in cgi processing [01:05:20]execute_cgi json_proto POST (null) [01:05:20]execute_cgi path=json_proto method=POST [01:05:20]POST find Content-Length [01:05:20]Host: 172.17.53.68:8080 [01:05:20]Content-Length: 822 [01:05:20]Content-Type: application/json [01:05:20] [01:05:20]POST finish read [01:05:20]Found Content-Length = 822 [01:05:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76640", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:20]execute_script... [01:05: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)76640", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 189.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:20]POST & json_proto [01:05:20]process_json_proto [01:05:20]json parsed OK: [01:05:20]protocol is kg_v1.0 [01:05:20]action value=close_receipt [01:05:20]process_action close_receipt [01:05:20]cmd_close_receipt [01:05:20]MH_GetDate [01:05:20]Write to MH i2c: F0 00 00 8D 14 90 [01:05:20]Write i2c OK [01:05:20]MH_I2C_Read... [01:05:20]Read from MH i2c: F0 [01:05:20]MH_I2C_Read... [01:05:20]Read from MH i2c: F0 09 00 [01:05:20]MH_I2C_Read... [01:05:20]Read from MH i2c: F0 09 00 8D 14 00 55 57 14 67 C5 A4 76 66 05 [01:05:20]GetLastDocTimeStamp 1729384690 [01:05:20]current date 1729386325 [01:05:20]FM_GetShiftState [01:05:20]SAM_PROTO_GetShiftState [01:05:20]wFMCommunicate request_size=4 [01:05:20]MH_SAM_APDU [01:05:20]CAPDU: 80 13 01 00 [01:05:20]Write to MH i2c: E2 08 00 8E 14 80 13 01 00 00 00 00 00 1F [01:05:20]Write i2c OK [01:05:20]MH_I2C_Read... [01:05:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:20]Read from MH i2c: E2 [01:05:20]MH_I2C_Read... [01:05:20]Read from MH i2c: E2 0E 00 [01:05:20]MH_I2C_Read... [01:05:20]Read from MH i2c: E2 0E 00 8E 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 74 [01:05:20]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:05:20]wFMCommunicate OK [01:05:20]SAM_PROTO_GetShiftState done [01:05:20]FM_GetShiftState done [01:05:20]opened in 1729383299 [01:05:20]opened+sec_in_day 1729469699 [01:05:20]quantity*price = 14400 [01:05:20]sum+1 = 14401 [01:05:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173808 Жев Orbit Sweet Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 189.00 НСП 1% : 1.67 НДС 12% : 20.07 Наличными: 189.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 3 20.10.2024 01:05 Смена: 461 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37155 ФПД: 154783696978674 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T010525&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37155&fm=154783696978674&tin=02508201610067®Number=0000000000098149&sum=18900 0 [01:05:22]StoreToDocumentArchive [01:05:22]shift 461 fd 37155 [01:05:22]save to /storage/0461/doc_00037155 [01:05:22]save last doc name /storage/0461/doc_00037155 to /storage/kkm_last_doc_name [01:05:22]save OK [01:05:22]Clear old archive folders... [01:05:22]ProcessDocumentItem done err = 0, tmpTLVsize=363 [01:05:22]tlvbuf is B6E6A4E0 [01:05:22]SAM_PROTO_ClearQueue [01:05:22]wFMCommunicate request_size=4 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 09 00 00 [01:05:22]Write to MH i2c: E2 08 00 9B 14 80 09 00 00 00 00 00 00 21 [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 9B 14 00 90 00 23 [01:05:22]RAPDU: 90 00 [01:05:22]wFMCommunicate OK [01:05:22]SAM_PROTO_ClearQueue done [01:05:22]KKMCreateOFDPacket [01:05:22]OFDProtocolAddRootSTLVToBuf [01:05:22]FM_MakeSignedData [01:05:22]FM_MakeSignedData [01:05:22]SAM_PROTO_SignData [01:05:22]wFMCommunicate request_size=4 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 0D 01 02 [01:05:22]Write to MH i2c: E2 08 00 9C 14 80 0D 01 02 00 00 00 00 29 [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 9C 14 00 90 00 24 [01:05:22]RAPDU: 90 00 [01:05:22]wFMCommunicate OK [01:05:22]wFMCommunicate request_size=255 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 0D 02 02 FA 03 00 6B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 [01:05:22]Write to MH i2c: E2 02 01 9D 14 80 0D 02 02 FA 00 03 00 6B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 90 [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 9D 14 00 90 00 25 [01:05:22]RAPDU: 90 00 [01:05:22]wFMCommunicate OK [01:05:22]wFMCommunicate request_size=122 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 0D 02 02 75 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 55 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 23 91 00 00 35 04 06 00 8C C6 63 46 82 F2 [01:05:22]Write to MH i2c: E2 7D 00 9E 14 80 0D 02 02 75 00 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 55 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 23 91 00 00 35 04 06 00 8C C6 63 46 82 F2 00 00 8E [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 03 00 9E 14 00 90 00 26 [01:05:22]RAPDU: 90 00 [01:05:22]wFMCommunicate OK [01:05:22]wFMCommunicate request_size=4 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 0D 03 02 [01:05:22]Write to MH i2c: E2 08 00 9F 14 80 0D 03 02 00 00 00 00 2E [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 0B 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 0B 00 9F 14 00 92 82 87 BD 7E 76 F5 DC 90 00 4C [01:05:22]RAPDU: 92 82 87 BD 7E 76 F5 DC 90 00 [01:05:22]wFMCommunicate OK [01:05:22]SAM_PROTO_SignData done [01:05:22]FM_MakeSignedData done [01:05:22]CreateOFDProtocolMessage [01:05:22]wFMCommunicate request_size=4 [01:05:22]MH_SAM_APDU [01:05:22]CAPDU: 80 11 00 00 [01:05:22]Write to MH i2c: E2 08 00 A0 14 80 11 00 00 00 00 00 00 2E [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:22]Read from MH i2c: E2 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 17 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: E2 17 00 A0 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 81 [01:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:05:22]wFMCommunicate OK [01:05:22]CreateOFDProtocolMessage done [01:05:22]OFDSenderStorePacket 37155 [01:05:22]StoreOFDPacket docnum=37155 [01:05:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 7F 01 00 00 A5 52 77 01 22 77 5A 03 01 00 03 00 6B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 55 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 23 91 00 00 35 04 06 00 8C C6 63 46 82 F2 92 82 87 BD 7E 76 F5 DC [01:05:22]CheckFolder [01:05:22]dirname=/storage/ofd_packets [01:05:22]CheckFolder done [01:05:22]ProducePacketName [01:05:22]name=ofd_packets/00037155 [01:05:22]NVStorageSaveData ofd_packets/00037155 [01:05:22]File name is /storage/ofd_packets/00037155 [01:05:22]Write 413 bytes [01:05:22]NVStorageSaveData done [01:05:22]OFDSenderStorePacket done [01:05:22]KKMCreateOFDPacket done [01:05:22]NVStorageSaveData kkm_last_timestamp [01:05:22]File name is /storage/kkm_last_timestamp [01:05:22]Write 4 bytes [01:05:22]NVStorageSaveData done [01:05:22]ExternCall_PrintAddStr [01:05:22]wPrintStart [01:05:22]Write to MH i2c: 01 00 00 A1 14 B5 [01:05:22]Write i2c OK [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: 01 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: 01 07 00 [01:05:22]MH_I2C_Read... [01:05:22]Read from MH i2c: 01 07 00 A1 14 00 00 00 00 00 FF 0F CA [01:05:22]RasterBufferAndPrint [01:05:22]line Счет N : (3)76640 [01:05:22]line ИНН: 02508201610067 [01:05:22]line Контрольно-Кассовый Чек [01:05:22]line ПРОДАЖА [01:05:22]line Товар: 48747059 [01:05:22]line Сигареты Winston Legend Blue [01:05:22]line 1.000 * 144.00 [01:05:22]line = 144.00 [01:05:22]line НДС 12% НСП 1% [01:05:22]line > о реализуемом товаре [01:05:22]line Товар: 50173808 [01:05:22]line Жев Orbit Sweet Mint [01:05:22]line 1.000 * 45.00 [01:05:22]line = 45.00 [01:05:22]line НДС 12% НСП 1% [01:05:22]line > о реализуемом товаре [01:05:22]line ИТОГО: 189.00 [01:05:22]line НСП 1% : 1.67 [01:05:22]line НДС 12% : 20.07 [01:05:22]line Наличными: 189.00 [01:05:23]line Безнал.: 0.00 [01:05:23]line Место: АЗС № 165 "Партнер Нефть" [01:05:23]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [01:05:23]line СНО: Общий режим [01:05:23]line Чек 3 20.10.2024 01:05 [01:05:23]line Смена: 461 ФФД: 1.0 [01:05:23]line ЗНМ: 0300000235 [01:05:23]line РНМ: 0000000000098149 [01:05:23]line Версия ККМ: 001 [01:05:23]line ФМ: 0000000000965372 [01:05:23]line ФД: 37155 [01:05:23]line ФПД: 154783696978674 [01:05:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T010525&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37155&fm=154783696978674&tin=02508201610067®Number=0000000000098149&sum=18900 [01:05:23]line 0 [01:05:23]OFD Sender: Processing packet 37155 [packets to send 25, broken 24] [01:05:23]ProducePacketName [01:05:23]name=ofd_packets/00037155 [01:05:23]OFD Sender: To server: pG, [01:05:23]CommunicateWithHost lk.salyk.kg:30040 [01:05:23]ConnectInit lk.salyk.kg [01:05:23]written 0, free lines is 4095 [01:05:23]Connected sock=10 [01:05: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 33 37 32 7F 01 00 00 A5 52 77 01 22 77 5A 03 01 00 03 00 6B 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D7 07 00 00 00 00 07 04 06 00 D4 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 55 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 23 91 00 00 35 04 06 00 8C C6 63 46 82 F2 92 82 87 BD 7E 76 F5 DC [01:05:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 0C 14 47 00 4B 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 33 37 32 10 04 04 00 23 91 00 00 F4 03 04 00 E9 FF 13 67 B6 04 01 00 00 D0 81 C5 AB EC D2 40 85 [01:05:23]CommunicateWithHost err = 0 [01:05:23]CheckOFDResponse [01:05:23]1017 (14) - 77093643461234 [01:05:23]1041 (16) - 0000000000965372 [01:05:23]1040 (4) - 37155 [01:05:23]1012 (4) - 19.10.2024 18:52 [01:05:23]1206 (1) - 0 [01:05:23]OFD Sender: Remove packet 37155 [01:05:23]ProducePacketName [01:05:23]name=ofd_packets/00037155 [01:05:23]NVStorageDeleteData [01:05:23]Write to MH i2c: 01 00 00 D0 14 E4 [01:05:23]Write i2c OK [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: 01 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: 01 07 00 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: 01 07 00 D0 14 00 00 00 00 00 85 0C 7C [01:05:23]RasterBufferAndPrint [01:05:23]line [01:05:23]line [01:05:23]line [01:05:23]line [01:05:23]line [01:05:23]written 0, free lines is 3213 [01:05:23]process_action close_receipt done [01:05:23]requested_data is exist [01:05:23]produce_requested_data [01:05:23]requested_item fm.sn is exist - process it [01:05:23]wFMCommunicate request_size=4 [01:05:23]MH_SAM_APDU [01:05:23]CAPDU: 80 11 00 00 [01:05:23]Write to MH i2c: E2 08 00 D7 14 80 11 00 00 00 00 00 00 65 [01:05:23]Write i2c OK [01:05:23]MH_I2C_Read... [01:05:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:23]Read from MH i2c: E2 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 17 00 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 17 00 D7 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 B8 [01:05:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:05:23]wFMCommunicate OK [01:05:23]requested_item fd.num is exist - process it [01:05:23]SAM_PROTO_GetFieldsCounters [01:05:23]wFMCommunicate request_size=4 [01:05:23]MH_SAM_APDU [01:05:23]CAPDU: 80 13 00 00 [01:05:23]Write to MH i2c: E2 08 00 D8 14 80 13 00 00 00 00 00 00 68 [01:05:23]Write i2c OK [01:05:23]MH_I2C_Read... [01:05:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:05:23]Read from MH i2c: E2 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 62 00 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 62 00 D8 14 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 23 91 00 00 0E 04 04 00 CD 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 1A [01:05:23]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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 23 91 00 00 0E 04 04 00 CD 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 [01:05:23]wFMCommunicate OK [01:05:23]SAM_PROTO_GetFieldsCounters done [01:05:23]requested_item shift.num is exist - process it [01:05:23]requested_item shift.opened is exist - process it [01:05:23]req_shift_opened [01:05:23]FM_GetShiftState [01:05:23]SAM_PROTO_GetShiftState [01:05:23]wFMCommunicate request_size=4 [01:05:23]MH_SAM_APDU [01:05:23]CAPDU: 80 13 01 00 [01:05:23]Write to MH i2c: E2 08 00 D9 14 80 13 01 00 00 00 00 00 6A [01:05:23]Write i2c OK [01:05:23]MH_I2C_Read... [01:05:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:23]Read from MH i2c: E2 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 0E 00 [01:05:23]MH_I2C_Read... [01:05:23]Read from MH i2c: E2 0E 00 D9 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 BF [01:05:23]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:05:23]wFMCommunicate OK [01:05:23]SAM_PROTO_GetShiftState done [01:05:23]FM_GetShiftState done [01:05:23]req_shift_opened done [01:05:23]requested_item shift.open_date is exist - process it [01:05:23]req_shift_open_date [01:05:23]req_shift_open_date done [01:05:23]produce_requested_data done [01:05:23]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37155,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [01:05:23]process_action_free close_receipt [01:05:23]json_value_free [01:05:23]json_value_free done [01:05:23]process_json_proto returns [01:05:23]Send response to host [01:05:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37155,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [01:05:23]free response buf [01:05:23]execute_script done [01:05:23]execute_script returns [01:05:23]free content buf [01:05:23]Sock 7.Close socket [01:05:23]Sock 7.Thread stoped [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:52]accept exits with 9 [01:06:52]New connection [01:06:52]New thread 3066555748 created [01:06:52]Thread 3066699108 joined [01:06:52]Waiting for new connection... [01:06:52] Sock 9.Parse request [01:06:52]Sock 9.Check first char [01:06:52]Sock 9.First char is OK [01:06:52]request: POST /json_proto HTTP/1.0 [01:06:52]Method: POST [01:06:52]URL: /json_proto [01:06:52]Method is POST - this is cgi request [01:06:52]url: /json_proto [01:06:52]query_string will be loaded in cgi processing [01:06:52]execute_cgi json_proto POST (null) [01:06:52]execute_cgi path=json_proto method=POST [01:06:52]POST find Content-Length [01:06:52]Host: 172.17.53.68:8080 [01:06:52]Content-Length: 861 [01:06:52]Content-Type: application/json [01:06:52] [01:06:52]POST finish read [01:06:52]Found Content-Length = 861 [01:06:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76641", "tax_sys" : 0, "items" : [ { "code": "48743846", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET Premium Mix", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 281.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:06:52]execute_script... [01:06: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)76641", "tax_sys" : 0, "items" : [ { "code": "48743846", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET Premium Mix", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 281.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:06:52]POST & json_proto [01:06:52]process_json_proto [01:06:52]json parsed OK: [01:06:52]protocol is kg_v1.0 [01:06:52]action value=close_receipt [01:06:52]process_action close_receipt [01:06:52]cmd_close_receipt [01:06:52]MH_GetDate [01:06:52]Write to MH i2c: F0 00 00 DA 14 DD [01:06:52]Write i2c OK [01:06:52]MH_I2C_Read... [01:06:52]Read from MH i2c: F0 [01:06:52]MH_I2C_Read... [01:06:52]Read from MH i2c: F0 09 00 [01:06:52]MH_I2C_Read... [01:06:52]Read from MH i2c: F0 09 00 DA 14 00 B1 57 14 67 C5 A4 76 66 AE [01:06:52]GetLastDocTimeStamp 1729386325 [01:06:52]current date 1729386417 [01:06:52]FM_GetShiftState [01:06:52]SAM_PROTO_GetShiftState [01:06:52]wFMCommunicate request_size=4 [01:06:52]MH_SAM_APDU [01:06:52]CAPDU: 80 13 01 00 [01:06:52]Write to MH i2c: E2 08 00 DB 14 80 13 01 00 00 00 00 00 6C [01:06:52]Write i2c OK [01:06:52]MH_I2C_Read... [01:06:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:06:52]Read from MH i2c: E2 [01:06:52]MH_I2C_Read... [01:06:52]Read from MH i2c: E2 0E 00 [01:06:52]MH_I2C_Read... [01:06:52]Read from MH i2c: E2 0E 00 DB 14 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 C1 [01:06:52]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:06:52]wFMCommunicate OK [01:06:52]SAM_PROTO_GetShiftState done [01:06:52]FM_GetShiftState done [01:06:52]opened in 1729383299 [01:06:52]opened+sec_in_day 1729469699 [01:06:52]quantity*price = 13700 [01:06:52]sum+1 = 13701 [01:06:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 281.00 НСП 1% : 2.48 НДС 12% : 29.84 Наличными: 281.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 4 20.10.2024 01:06 Смена: 461 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37156 ФПД: 234120081227476 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T010657&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37156&fm=234120081227476&tin=02508201610067®Number=0000000000098149&sum=28100 0 [01:06:54]StoreToDocumentArchive [01:06:54]shift 461 fd 37156 [01:06:54]save to /storage/0461/doc_00037156 [01:06:54]save last doc name /storage/0461/doc_00037156 to /storage/kkm_last_doc_name [01:06:54]save OK [01:06:54]Clear old archive folders... [01:06:54]ProcessDocumentItem done err = 0, tmpTLVsize=380 [01:06:54]tlvbuf is 009ED2C0 [01:06:54]SAM_PROTO_ClearQueue [01:06:54]wFMCommunicate request_size=4 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 09 00 00 [01:06:54]Write to MH i2c: E2 08 00 E8 14 80 09 00 00 00 00 00 00 6E [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 E8 14 00 90 00 70 [01:06:54]RAPDU: 90 00 [01:06:54]wFMCommunicate OK [01:06:54]SAM_PROTO_ClearQueue done [01:06:54]KKMCreateOFDPacket [01:06:54]OFDProtocolAddRootSTLVToBuf [01:06:54]FM_MakeSignedData [01:06:54]FM_MakeSignedData [01:06:54]SAM_PROTO_SignData [01:06:54]wFMCommunicate request_size=4 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 0D 01 02 [01:06:54]Write to MH i2c: E2 08 00 E9 14 80 0D 01 02 00 00 00 00 76 [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 E9 14 00 90 00 71 [01:06:54]RAPDU: 90 00 [01:06:54]wFMCommunicate OK [01:06:54]wFMCommunicate request_size=255 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 0D 02 02 FA 03 00 7C 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 38 37 34 33 38 34 36 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 50 72 65 6D 69 75 6D 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 [01:06:54]Write to MH i2c: E2 02 01 EA 14 80 0D 02 02 FA 00 03 00 7C 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 38 37 34 33 38 34 36 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 50 72 65 6D 69 75 6D 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 87 [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 EA 14 00 90 00 72 [01:06:54]RAPDU: 90 00 [01:06:54]wFMCommunicate OK [01:06:54]wFMCommunicate request_size=139 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 0B 00 00 00 00 07 04 06 00 C4 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B1 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 24 91 00 00 35 04 06 00 D4 EE 54 46 BE D4 [01:06:54]Write to MH i2c: E2 8E 00 EB 14 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 0B 00 00 00 00 07 04 06 00 C4 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B1 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 24 91 00 00 35 04 06 00 D4 EE 54 46 BE D4 00 00 94 [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:54]Read from MH i2c: E2 03 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 03 00 EB 14 00 90 00 73 [01:06:54]RAPDU: 90 00 [01:06:54]wFMCommunicate OK [01:06:54]wFMCommunicate request_size=4 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 0D 03 02 [01:06:54]Write to MH i2c: E2 08 00 EC 14 80 0D 03 02 00 00 00 00 7B [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 0B 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 0B 00 EC 14 00 83 E2 B4 E3 20 72 7A DA 90 00 5E [01:06:54]RAPDU: 83 E2 B4 E3 20 72 7A DA 90 00 [01:06:54]wFMCommunicate OK [01:06:54]SAM_PROTO_SignData done [01:06:54]FM_MakeSignedData done [01:06:54]CreateOFDProtocolMessage [01:06:54]wFMCommunicate request_size=4 [01:06:54]MH_SAM_APDU [01:06:54]CAPDU: 80 11 00 00 [01:06:54]Write to MH i2c: E2 08 00 ED 14 80 11 00 00 00 00 00 00 7B [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:54]Read from MH i2c: E2 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 17 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: E2 17 00 ED 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 CE [01:06:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:06:54]wFMCommunicate OK [01:06:54]CreateOFDProtocolMessage done [01:06:54]OFDSenderStorePacket 37156 [01:06:54]StoreOFDPacket docnum=37156 [01:06:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 01 00 00 DA 7F 88 01 2F 07 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 38 37 34 33 38 34 36 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 50 72 65 6D 69 75 6D 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 0B 00 00 00 00 07 04 06 00 C4 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B1 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 24 91 00 00 35 04 06 00 D4 EE 54 46 BE D4 83 E2 B4 E3 20 72 7A DA [01:06:54]CheckFolder [01:06:54]dirname=/storage/ofd_packets [01:06:54]CheckFolder done [01:06:54]ProducePacketName [01:06:54]name=ofd_packets/00037156 [01:06:54]NVStorageSaveData ofd_packets/00037156 [01:06:54]File name is /storage/ofd_packets/00037156 [01:06:54]Write 430 bytes [01:06:54]NVStorageSaveData done [01:06:54]OFDSenderStorePacket done [01:06:54]KKMCreateOFDPacket done [01:06:54]NVStorageSaveData kkm_last_timestamp [01:06:54]File name is /storage/kkm_last_timestamp [01:06:54]Write 4 bytes [01:06:54]NVStorageSaveData done [01:06:54]ExternCall_PrintAddStr [01:06:54]wPrintStart [01:06:54]Write to MH i2c: 01 00 00 EE 14 02 [01:06:54]OFD Sender: Processing packet 37156 [packets to send 25, broken 24] [01:06:54]ProducePacketName [01:06:54]name=ofd_packets/00037156 [01:06:54]OFD Sender: To server: pG, [01:06:54]CommunicateWithHost lk.salyk.kg:30040 [01:06:54]ConnectInit lk.salyk.kg [01:06:54]Write i2c OK [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: 01 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: 01 07 00 [01:06:54]MH_I2C_Read... [01:06:54]Read from MH i2c: 01 07 00 EE 14 00 00 00 00 00 FF 0F 17 [01:06:54]RasterBufferAndPrint [01:06:54]line Счет N : (3)76641 [01:06:54]line ИНН: 02508201610067 [01:06:54]line Контрольно-Кассовый Чек [01:06:54]line ПРОДАЖА [01:06:54]line Товар: 48743846 [01:06:54]line Сигареты BOND STREET Premium Mix [01:06:54]line 1.000 * 137.00 [01:06:54]line = 137.00 [01:06:54]line НДС 12% НСП 1% [01:06:54]line > о реализуемом товаре [01:06:54]line Товар: 48743570 [01:06:54]line Сигареты Winston XStyle Blue [01:06:54]line 1.000 * 144.00 [01:06:54]line = 144.00 [01:06:54]line НДС 12% НСП 1% [01:06:55]line > о реализуемом товаре [01:06:55]line ИТОГО: 281.00 [01:06:55]line НСП 1% : 2.48 [01:06:55]line НДС 12% : 29.84 [01:06:55]line Наличными: 281.00 [01:06:55]line Безнал.: 0.00 [01:06:55]line Место: АЗС № 165 "Партнер Нефть" [01:06:55]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [01:06:55]line СНО: Общий режим [01:06:55]line Чек 4 20.10.2024 01:06 [01:06:55]line Смена: 461 ФФД: 1.0 [01:06:55]line ЗНМ: 0300000235 [01:06:55]line РНМ: 0000000000098149 [01:06:55]line Версия ККМ: 001 [01:06:55]line ФМ: 0000000000965372 [01:06:55]line ФД: 37156 [01:06:55]line ФПД: 234120081227476 [01:06:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T010657&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37156&fm=234120081227476&tin=02508201610067®Number=0000000000098149&sum=28100 [01:06:55]line 0 [01:06:55]Connected sock=10 [01:06: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 33 37 32 90 01 00 00 DA 7F 88 01 2F 07 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 38 37 34 33 38 34 36 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 50 72 65 6D 69 75 6D 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 0B 00 00 00 00 07 04 06 00 C4 6D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B1 57 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 24 91 00 00 35 04 06 00 D4 EE 54 46 BE D4 83 E2 B4 E3 20 72 7A DA [01:06:55]written 0, free lines is 4095 [01:06:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 89 D6 47 00 99 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 24 91 00 00 F4 03 04 00 45 00 14 67 B6 04 01 00 00 26 2E 4C 0A EB 43 74 A2 [01:06:55]CommunicateWithHost err = 0 [01:06:55]CheckOFDResponse [01:06:55]1017 (14) - 77093643461234 [01:06:55]1041 (16) - 0000000000965372 [01:06:55]1040 (4) - 37156 [01:06:55]1012 (4) - 19.10.2024 18:53 [01:06:55]1206 (1) - 0 [01:06:55]OFD Sender: Remove packet 37156 [01:06:55]ProducePacketName [01:06:55]name=ofd_packets/00037156 [01:06:55]NVStorageDeleteData [01:06:55]Write to MH i2c: 01 00 00 1D 15 32 [01:06:55]Write i2c OK [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: 01 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: 01 07 00 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: 01 07 00 1D 15 00 00 00 00 00 90 0C D5 [01:06:55]RasterBufferAndPrint [01:06:55]line [01:06:55]line [01:06:55]line [01:06:55]line [01:06:55]line [01:06:55]written 0, free lines is 3222 [01:06:55]process_action close_receipt done [01:06:55]requested_data is exist [01:06:55]produce_requested_data [01:06:55]requested_item fm.sn is exist - process it [01:06:55]wFMCommunicate request_size=4 [01:06:55]MH_SAM_APDU [01:06:55]CAPDU: 80 11 00 00 [01:06:55]Write to MH i2c: E2 08 00 24 15 80 11 00 00 00 00 00 00 B3 [01:06:55]Write i2c OK [01:06:55]MH_I2C_Read... [01:06:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:55]Read from MH i2c: E2 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 17 00 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 17 00 24 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 06 [01:06:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:06:55]wFMCommunicate OK [01:06:55]requested_item fd.num is exist - process it [01:06:55]SAM_PROTO_GetFieldsCounters [01:06:55]wFMCommunicate request_size=4 [01:06:55]MH_SAM_APDU [01:06:55]CAPDU: 80 13 00 00 [01:06:55]Write to MH i2c: E2 08 00 25 15 80 13 00 00 00 00 00 00 B6 [01:06:55]Write i2c OK [01:06:55]MH_I2C_Read... [01:06:55]OFD Sender: No OFD packet to send [01:06:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:06:55]Read from MH i2c: E2 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 62 00 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 62 00 25 15 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 24 91 00 00 0E 04 04 00 CD 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 6C [01:06: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 24 91 00 00 0E 04 04 00 CD 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 [01:06:55]wFMCommunicate OK [01:06:55]SAM_PROTO_GetFieldsCounters done [01:06:55]requested_item shift.num is exist - process it [01:06:55]requested_item shift.opened is exist - process it [01:06:55]req_shift_opened [01:06:55]FM_GetShiftState [01:06:55]SAM_PROTO_GetShiftState [01:06:55]wFMCommunicate request_size=4 [01:06:55]MH_SAM_APDU [01:06:55]CAPDU: 80 13 01 00 [01:06:55]Write to MH i2c: E2 08 00 26 15 80 13 01 00 00 00 00 00 B8 [01:06:55]Write i2c OK [01:06:55]MH_I2C_Read... [01:06:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:06:55]Read from MH i2c: E2 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 0E 00 [01:06:55]MH_I2C_Read... [01:06:55]Read from MH i2c: E2 0E 00 26 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0D [01:06:55]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:06:55]wFMCommunicate OK [01:06:55]SAM_PROTO_GetShiftState done [01:06:55]FM_GetShiftState done [01:06:55]req_shift_opened done [01:06:55]requested_item shift.open_date is exist - process it [01:06:55]req_shift_open_date [01:06:55]req_shift_open_date done [01:06:55]produce_requested_data done [01:06:55]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37156,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [01:06:55]process_action_free close_receipt [01:06:55]json_value_free [01:06:55]json_value_free done [01:06:55]process_json_proto returns [01:06:55]Send response to host [01:06:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37156,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [01:06:55]free response buf [01:06:55]execute_script done [01:06:55]execute_script returns [01:06:55]free content buf [01:06:55]Sock 9.Close socket [01:06:55]Sock 9.Thread stoped [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12: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:54]accept exits with 7 [01:23:54]New connection [01:23:54]New thread 3066699108 created [01:23:54]Thread 3066555748 joined [01:23:54]Waiting for new connection... [01:23:54] Sock 7.Parse request [01:23:54]Sock 7.Check first char [01:23:54]Sock 7.First char is OK [01:23:54]request: POST /json_proto HTTP/1.0 [01:23:54]Method: POST [01:23:54]URL: /json_proto [01:23:54]Method is POST - this is cgi request [01:23:54]url: /json_proto [01:23:54]query_string will be loaded in cgi processing [01:23:54]execute_cgi json_proto POST (null) [01:23:54]execute_cgi path=json_proto method=POST [01:23:54]POST find Content-Length [01:23:54]Host: 172.17.53.68:8080 [01:23:54]Content-Length: 695 [01:23:54]Content-Type: application/json [01:23:54] [01:23:54]POST finish read [01:23:54]Found Content-Length = 695 [01:23:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)76642", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 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" ] } } [01:23:54]execute_script... [01:23: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)76642", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 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" ] } } [01:23:54]POST & json_proto [01:23:54]process_json_proto [01:23:54]json parsed OK: [01:23:54]protocol is kg_v1.0 [01:23:54]action value=close_receipt [01:23:54]process_action close_receipt [01:23:54]cmd_close_receipt [01:23:54]MH_GetDate [01:23:54]Write to MH i2c: F0 00 00 27 15 2B [01:23:54]Write i2c OK [01:23:54]MH_I2C_Read... [01:23:54]Read from MH i2c: F0 [01:23:54]MH_I2C_Read... [01:23:54]Read from MH i2c: F0 09 00 [01:23:54]MH_I2C_Read... [01:23:54]Read from MH i2c: F0 09 00 27 15 00 AF 5B 14 67 C5 A4 76 66 FE [01:23:54]GetLastDocTimeStamp 1729386417 [01:23:54]current date 1729387439 [01:23:54]FM_GetShiftState [01:23:54]SAM_PROTO_GetShiftState [01:23:54]wFMCommunicate request_size=4 [01:23:54]MH_SAM_APDU [01:23:54]CAPDU: 80 13 01 00 [01:23:54]Write to MH i2c: E2 08 00 28 15 80 13 01 00 00 00 00 00 BA [01:23:54]Write i2c OK [01:23:54]MH_I2C_Read... [01:23:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:23:54]Read from MH i2c: E2 [01:23:54]MH_I2C_Read... [01:23:54]Read from MH i2c: E2 0E 00 [01:23:54]MH_I2C_Read... [01:23:54]Read from MH i2c: E2 0E 00 28 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 0F [01:23:54]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:23:54]wFMCommunicate OK [01:23:54]SAM_PROTO_GetShiftState done [01:23:54]FM_GetShiftState done [01:23:54]opened in 1729383299 [01:23:54]opened+sec_in_day 1729469699 [01:23:54]quantity*price = 9500 [01:23:54]sum+1 = 9501 [01:23:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 165 "Партнер Нефть" Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 СНО: Общий режим Чек 5 20.10.2024 01:23 Смена: 461 ФФД: 1.0 ЗНМ: 0300000235 РНМ: 0000000000098149 Версия ККМ: 001 ФМ: 0000000000965372 ФД: 37157 ФПД: 228010569520463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T012359&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37157&fm=228010569520463&tin=02508201610067®Number=0000000000098149&sum=9500 0 [01:23:55]StoreToDocumentArchive [01:23:55]shift 461 fd 37157 [01:23:55]save to /storage/0461/doc_00037157 [01:23:55]save last doc name /storage/0461/doc_00037157 to /storage/kkm_last_doc_name [01:23:55]save OK [01:23:55]Clear old archive folders... [01:23:55]ProcessDocumentItem done err = 0, tmpTLVsize=299 [01:23:55]tlvbuf is B6E6A210 [01:23:55]SAM_PROTO_ClearQueue [01:23:55]wFMCommunicate request_size=4 [01:23:55]MH_SAM_APDU [01:23:55]CAPDU: 80 09 00 00 [01:23:55]Write to MH i2c: E2 08 00 35 15 80 09 00 00 00 00 00 00 BC [01:23:55]Write i2c OK [01:23:55]MH_I2C_Read... [01:23:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:23:55]Read from MH i2c: E2 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 35 15 00 90 00 BE [01:23:55]RAPDU: 90 00 [01:23:55]wFMCommunicate OK [01:23:55]SAM_PROTO_ClearQueue done [01:23:55]KKMCreateOFDPacket [01:23:55]OFDProtocolAddRootSTLVToBuf [01:23:55]FM_MakeSignedData [01:23:55]FM_MakeSignedData [01:23:55]SAM_PROTO_SignData [01:23:55]wFMCommunicate request_size=4 [01:23:55]MH_SAM_APDU [01:23:55]CAPDU: 80 0D 01 02 [01:23:55]Write to MH i2c: E2 08 00 36 15 80 0D 01 02 00 00 00 00 C4 [01:23:55]Write i2c OK [01:23:55]MH_I2C_Read... [01:23:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:23:55]Read from MH i2c: E2 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 36 15 00 90 00 BF [01:23:55]RAPDU: 90 00 [01:23:55]wFMCommunicate OK [01:23:55]wFMCommunicate request_size=255 [01:23:55]MH_SAM_APDU [01:23:55]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 AF 5B 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [01:23:55]Write to MH i2c: E2 02 01 37 15 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 AF 5B 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 4D [01:23:55]Write i2c OK [01:23:55]MH_I2C_Read... [01:23:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:23:55]Read from MH i2c: E2 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 [01:23:55]MH_I2C_Read... [01:23:55]Read from MH i2c: E2 03 00 37 15 00 90 00 C0 [01:23:55]RAPDU: 90 00 [01:23:55]wFMCommunicate OK [01:23:55]wFMCommunicate request_size=58 [01:23:55]MH_SAM_APDU [01:23:55]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 25 91 00 00 35 04 06 00 CF 5F D9 00 55 4F [01:23:55]Write to MH i2c: E2 3D 00 38 15 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 25 91 00 00 35 04 06 00 CF 5F D9 00 55 4F 00 00 1D [01:23:55]Write i2c OK [01:23:55]MH_I2C_Read... [01:23:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:23:56]Read from MH i2c: E2 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 03 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 03 00 38 15 00 90 00 C1 [01:23:56]RAPDU: 90 00 [01:23:56]wFMCommunicate OK [01:23:56]wFMCommunicate request_size=4 [01:23:56]MH_SAM_APDU [01:23:56]CAPDU: 80 0D 03 02 [01:23:56]Write to MH i2c: E2 08 00 39 15 80 0D 03 02 00 00 00 00 C9 [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:23:56]Read from MH i2c: E2 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 0B 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 0B 00 39 15 00 65 EF E9 AE 76 3B 52 99 90 00 51 [01:23:56]RAPDU: 65 EF E9 AE 76 3B 52 99 90 00 [01:23:56]wFMCommunicate OK [01:23:56]SAM_PROTO_SignData done [01:23:56]FM_MakeSignedData done [01:23:56]CreateOFDProtocolMessage [01:23:56]wFMCommunicate request_size=4 [01:23:56]MH_SAM_APDU [01:23:56]CAPDU: 80 11 00 00 [01:23:56]Write to MH i2c: E2 08 00 3A 15 80 11 00 00 00 00 00 00 C9 [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:23:56]Read from MH i2c: E2 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 17 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 17 00 3A 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 1C [01:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:23:56]wFMCommunicate OK [01:23:56]CreateOFDProtocolMessage done [01:23:56]OFDSenderStorePacket 37157 [01:23:56]StoreOFDPacket docnum=37157 [01:23:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 3F 01 00 00 9E 58 37 01 71 DF 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 AF 5B 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 25 91 00 00 35 04 06 00 CF 5F D9 00 55 4F 65 EF E9 AE 76 3B 52 99 [01:23:56]CheckFolder [01:23:56]dirname=/storage/ofd_packets [01:23:56]CheckFolder done [01:23:56]ProducePacketName [01:23:56]name=ofd_packets/00037157 [01:23:56]NVStorageSaveData ofd_packets/00037157 [01:23:56]File name is /storage/ofd_packets/00037157 [01:23:56]Write 349 bytes [01:23:56]NVStorageSaveData done [01:23:56]OFDSenderStorePacket done [01:23:56]KKMCreateOFDPacket done [01:23:56]NVStorageSaveData kkm_last_timestamp [01:23:56]File name is /storage/kkm_last_timestamp [01:23:56]Write 4 bytes [01:23:56]NVStorageSaveData done [01:23:56]ExternCall_PrintAddStr [01:23:56]wPrintStart [01:23:56]Write to MH i2c: 01 00 00 3B 15 50 [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 07 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 07 00 3B 15 00 00 00 00 00 FF 0F 65 [01:23:56]RasterBufferAndPrint [01:23:56]line Счет N : (3)76642 [01:23:56]line ИНН: 02508201610067 [01:23:56]line Контрольно-Кассовый Чек [01:23:56]line ПРОДАЖА [01:23:56]line Товар: 4700000480364 [01:23:56]line Напиток энерг Nitro экзотик 0.45 ж/б [01:23:56]line 1.000 * 95.00 [01:23:56]line = 95.00 [01:23:56]line НДС 12% НСП 1% [01:23:56]line > о реализуемом товаре [01:23:56]line ИТОГО: 95.00 [01:23:56]line НСП 1% : 0.84 [01:23:56]line НДС 12% : 10.09 [01:23:56]line Наличными: 95.00 [01:23:56]line Безнал.: 0.00 [01:23:56]line Место: АЗС № 165 "Партнер Нефть" [01:23:56]line Адрес: 720001, с. Барпы, ул. Аттокурова 220, 41.003615,73.027864 [01:23:56]line СНО: Общий режим [01:23:56]line Чек 5 20.10.2024 01:23 [01:23:56]line Смена: 461 ФФД: 1.0 [01:23:56]line ЗНМ: 0300000235 [01:23:56]line РНМ: 0000000000098149 [01:23:56]line Версия ККМ: 001 [01:23:56]line ФМ: 0000000000965372 [01:23:56]line ФД: 37157 [01:23:56]line ФПД: 228010569520463 [01:23:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T012359&type=1&operation_type=1&fn_number=0000000000965372&fd_number=37157&fm=228010569520463&tin=02508201610067®Number=0000000000098149&sum=9500 [01:23:56]OFD Sender: Processing packet 37157 [packets to send 25, broken 24] [01:23:56]ProducePacketName [01:23:56]name=ofd_packets/00037157 [01:23:56]OFD Sender: To server: pG, [01:23:56]CommunicateWithHost lk.salyk.kg:30040 [01:23:56]ConnectInit lk.salyk.kg [01:23:56]line 0 [01:23:56]written 0, free lines is 4095 [01:23:56]Connected sock=10 [01:23: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 33 37 32 3F 01 00 00 9E 58 37 01 71 DF 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 AF 5B 14 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 25 91 00 00 35 04 06 00 CF 5F D9 00 55 4F 65 EF E9 AE 76 3B 52 99 [01:23:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 4F 00 00 00 14 BE 47 00 5C CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 10 04 04 00 25 91 00 00 F4 03 04 00 43 04 14 67 B6 04 01 00 00 A8 84 82 6A C1 37 5D C6 [01:23:56]CommunicateWithHost err = 0 [01:23:56]CheckOFDResponse [01:23:56]1017 (14) - 77093643461234 [01:23:56]1041 (16) - 0000000000965372 [01:23:56]1040 (4) - 37157 [01:23:56]1012 (4) - 19.10.2024 19:10 [01:23:56]1206 (1) - 0 [01:23:56]OFD Sender: Remove packet 37157 [01:23:56]ProducePacketName [01:23:56]name=ofd_packets/00037157 [01:23:56]NVStorageDeleteData [01:23:56]Write to MH i2c: 01 00 00 64 15 79 [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 07 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: 01 07 00 64 15 00 00 00 00 00 FE 0C 8A [01:23:56]RasterBufferAndPrint [01:23:56]line [01:23:56]line [01:23:56]line [01:23:56]line [01:23:56]line [01:23:56]written 0, free lines is 3332 [01:23:56]process_action close_receipt done [01:23:56]requested_data is exist [01:23:56]produce_requested_data [01:23:56]requested_item fm.sn is exist - process it [01:23:56]wFMCommunicate request_size=4 [01:23:56]MH_SAM_APDU [01:23:56]CAPDU: 80 11 00 00 [01:23:56]Write to MH i2c: E2 08 00 6B 15 80 11 00 00 00 00 00 00 FA [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:23:56]Read from MH i2c: E2 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 17 00 [01:23:56]MH_I2C_Read... [01:23:56]Read from MH i2c: E2 17 00 6B 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 4D [01:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 32 90 00 [01:23:56]wFMCommunicate OK [01:23:56]requested_item fd.num is exist - process it [01:23:56]SAM_PROTO_GetFieldsCounters [01:23:56]wFMCommunicate request_size=4 [01:23:56]MH_SAM_APDU [01:23:56]CAPDU: 80 13 00 00 [01:23:56]Write to MH i2c: E2 08 00 6C 15 80 13 00 00 00 00 00 00 FD [01:23:56]Write i2c OK [01:23:56]MH_I2C_Read... [01:23:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:23:57]Read from MH i2c: E2 [01:23:57]MH_I2C_Read... [01:23:57]Read from MH i2c: E2 62 00 [01:23:57]MH_I2C_Read... [01:23:57]Read from MH i2c: E2 62 00 6C 15 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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 25 91 00 00 0E 04 04 00 CD 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 B7 [01:23: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 33 37 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 39 10 04 04 00 25 91 00 00 0E 04 04 00 CD 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 [01:23:57]wFMCommunicate OK [01:23:57]SAM_PROTO_GetFieldsCounters done [01:23:57]requested_item shift.num is exist - process it [01:23:57]requested_item shift.opened is exist - process it [01:23:57]req_shift_opened [01:23:57]FM_GetShiftState [01:23:57]SAM_PROTO_GetShiftState [01:23:57]wFMCommunicate request_size=4 [01:23:57]MH_SAM_APDU [01:23:57]CAPDU: 80 13 01 00 [01:23:57]Write to MH i2c: E2 08 00 6D 15 80 13 01 00 00 00 00 00 FF [01:23:57]Write i2c OK [01:23:57]MH_I2C_Read... [01:23:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:23:57]Read from MH i2c: E2 [01:23:57]MH_I2C_Read... [01:23:57]Read from MH i2c: E2 0E 00 [01:23:57]MH_I2C_Read... [01:23:57]Read from MH i2c: E2 0E 00 6D 15 00 09 00 01 83 4B 14 67 00 00 00 00 90 00 54 [01:23:57]RAPDU: 09 00 01 83 4B 14 67 00 00 00 00 90 00 [01:23:57]wFMCommunicate OK [01:23:57]SAM_PROTO_GetShiftState done [01:23:57]FM_GetShiftState done [01:23:57]req_shift_opened done [01:23:57]requested_item shift.open_date is exist - process it [01:23:57]req_shift_open_date [01:23:57]req_shift_open_date done [01:23:57]produce_requested_data done [01:23:57]produce_requested_data return {"fm.sn":"0000000000965372","fd.num":37157,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299} [01:23:57]process_action_free close_receipt [01:23:57]json_value_free [01:23:57]json_value_free done [01:23:57]process_json_proto returns [01:23:57]Send response to host [01:23:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965372","fd.num":37157,"shift.num":461,"shift.opened":1,"shift.open_date":1729383299}}} [01:23:57]free response buf [01:23:57]execute_script done [01:23:57]execute_script returns [01:23:57]free content buf [01:23:57]Sock 7.Close socket [01:23:57]Sock 7.Thread stoped [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]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:34:02]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [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:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43:38]OFD Sender: No OFD packet to send [01:43:43]OFD Sender: No OFD packet to send [01:43:48]OFD Sender: No OFD packet to send [01:43:53]OFD Sender: No OFD packet to send [01:43:58]OFD Sender: No OFD packet to send [01:44:03]OFD Sender: No OFD packet to send [01:44:08]OFD Sender: No OFD packet to send [01:44:13]OFD Sender: No OFD packet to send [01:44:18]OFD Sender: No OFD packet to send [01:44:23]OFD Sender: No OFD packet to send [01:44:28]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:18]OFD Sender: No OFD packet to send [01:48:23]OFD Sender: No OFD packet to send [01:48:28]OFD Sender: No OFD packet to send [01:48:33]OFD Sender: No OFD packet to send [01:48:38]OFD Sender: No OFD packet to send [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:58]OFD Sender: No OFD packet to send [01:49:03]OFD Sender: No OFD packet to send [01:49:08]OFD Sender: No OFD packet to send [01:49:13]OFD Sender: No OFD packet to send [01:49:18]OFD Sender: No OFD packet to send [01:49:23]OFD Sender: No OFD packet to send [01:49:28]OFD Sender: No OFD packet to send [01:49:33]OFD Sender: No OFD packet to send [01:49:38]OFD Sender: No OFD packet to send [01:49:43]OFD Sender: No OFD packet to send [01:49:48]OFD Sender: No OFD packet to send [01:49:53]OFD Sender: No OFD packet to send [01:49:58]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:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]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:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:45]OFD Sender: No OFD packet to send [02:32:50]OFD Sender: No OFD packet to send [02:32:55]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]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:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:06]OFD Sender: No OFD packet to send [02:54:11]OFD Sender: No OFD packet to send [02:54:16]OFD Sender: No OFD packet to send [02:54:21]OFD Sender: No OFD packet to send [02:54:26]OFD Sender: No OFD packet to send [02:54:31]OFD Sender: No OFD packet to send [02:54:36]OFD Sender: No OFD packet to send [02:54:41]OFD Sender: No OFD packet to send [02:54:46]OFD Sender: No OFD packet to send [02:54:51]OFD Sender: No OFD packet to send [02:54:56]OFD Sender: No OFD packet to send [02:55:01]OFD Sender: No OFD packet to send [02:55:06]OFD Sender: No OFD packet to send [02:55:11]OFD Sender: No OFD packet to send [02:55:16]OFD Sender: No OFD packet to send [02:55:21]OFD Sender: No OFD packet to send [02:55:26]OFD Sender: No OFD packet to send [02:55:31]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]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:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send