[03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]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:49]OFD Sender: No OFD packet to send [03:34:54]OFD Sender: No OFD packet to send [03:34:59]OFD Sender: No OFD packet to send [03:35:04]OFD Sender: No OFD packet to send [03:35:09]OFD Sender: No OFD packet to send [03:35:14]OFD Sender: No OFD packet to send [03:35:19]OFD Sender: No OFD packet to send [03:35:24]OFD Sender: No OFD packet to send [03:35:29]OFD Sender: No OFD packet to send [03:35:34]OFD Sender: No OFD packet to send [03:35:39]OFD Sender: No OFD packet to send [03:35:44]OFD Sender: No OFD packet to send [03:35:49]OFD Sender: No OFD packet to send [03:35:54]OFD Sender: No OFD packet to send [03:35:59]OFD Sender: No OFD packet to send [03:36:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]OFD Sender: No OFD packet to send [03:36:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]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:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57:40]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:40]OFD Sender: No OFD packet to send [03:58:45]OFD Sender: No OFD packet to send [03:58:50]OFD Sender: No OFD packet to send [03:58:55]OFD Sender: No OFD packet to send [03:59:00]OFD Sender: No OFD packet to send [03:59:05]OFD Sender: No OFD packet to send [03:59:10]OFD Sender: No OFD packet to send [03:59:15]OFD Sender: No OFD packet to send [03:59:20]OFD Sender: No OFD packet to send [03:59:25]OFD Sender: No OFD packet to send [03:59:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:10]OFD Sender: No OFD packet to send [04:04:15]OFD Sender: No OFD packet to send [04:04:20]OFD Sender: No OFD packet to send [04:04:25]OFD Sender: No OFD packet to send [04:04:30]OFD Sender: No OFD packet to send [04:04:35]OFD Sender: No OFD packet to send [04:04:40]OFD Sender: No OFD packet to send [04:04:45]OFD Sender: No OFD packet to send [04:04:50]OFD Sender: No OFD packet to send [04:04:55]OFD Sender: No OFD packet to send [04:05:00]OFD Sender: No OFD packet to send [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:05]OFD Sender: No OFD packet to send [04:07:10]OFD Sender: No OFD packet to send [04:07:15]OFD Sender: No OFD packet to send [04:07:20]OFD Sender: No OFD packet to send [04:07:25]OFD Sender: No OFD packet to send [04:07:30]OFD Sender: No OFD packet to send [04:07:35]OFD Sender: No OFD packet to send [04:07:40]OFD Sender: No OFD packet to send [04:07:45]OFD Sender: No OFD packet to send [04:07:50]OFD Sender: No OFD packet to send [04:07:55]OFD Sender: No OFD packet to send [04:08:00]OFD Sender: No OFD packet to send [04:08:05]OFD Sender: No OFD packet to send [04:08:10]OFD Sender: No OFD packet to send [04:08:15]OFD Sender: No OFD packet to send [04:08:20]OFD Sender: No OFD packet to send [04:08:25]OFD Sender: No OFD packet to send [04:08:30]OFD Sender: No OFD packet to send [04:08:35]OFD Sender: No OFD packet to send [04:08:40]OFD Sender: No OFD packet to send [04:08:45]OFD Sender: No OFD packet to send [04:08:50]OFD Sender: No OFD packet to send [04:08:55]OFD Sender: No OFD packet to send [04:09:00]OFD Sender: No OFD packet to send [04:09:05]OFD Sender: No OFD packet to send [04:09:10]OFD Sender: No OFD packet to send [04:09:15]OFD Sender: No OFD packet to send [04:09:20]OFD Sender: No OFD packet to send [04:09:25]OFD Sender: No OFD packet to send [04:09:30]OFD Sender: No OFD packet to send [04:09:35]OFD Sender: No OFD packet to send [04:09:40]OFD Sender: No OFD packet to send [04:09:45]OFD Sender: No OFD packet to send [04:09:50]OFD Sender: No OFD packet to send [04:09:55]OFD Sender: No OFD packet to send [04:10:00]OFD Sender: No OFD packet to send [04:10:05]OFD Sender: No OFD packet to send [04:10:10]OFD Sender: No OFD packet to send [04:10:15]OFD Sender: No OFD packet to send [04:10:20]OFD Sender: No OFD packet to send [04:10:25]OFD Sender: No OFD packet to send [04:10:30]OFD Sender: No OFD packet to send [04:10:35]OFD Sender: No OFD packet to send [04:10:40]OFD Sender: No OFD packet to send [04:10:45]OFD Sender: No OFD packet to send [04:10:50]OFD Sender: No OFD packet to send [04:10:55]OFD Sender: No OFD packet to send [04:11:00]OFD Sender: No OFD packet to send [04:11:05]OFD Sender: No OFD packet to send [04:11:10]OFD Sender: No OFD packet to send [04:11:15]OFD Sender: No OFD packet to send [04:11:20]OFD Sender: No OFD packet to send [04:11:25]OFD Sender: No OFD packet to send [04:11:30]OFD Sender: No OFD packet to send [04:11:35]OFD Sender: No OFD packet to send [04:11:40]OFD Sender: No OFD packet to send [04:11:45]OFD Sender: No OFD packet to send [04:11:50]OFD Sender: No OFD packet to send [04:11:55]OFD Sender: No OFD packet to send [04:12:00]OFD Sender: No OFD packet to send [04:12:05]OFD Sender: No OFD packet to send [04:12:10]OFD Sender: No OFD packet to send [04:12:15]OFD Sender: No OFD packet to send [04:12:20]OFD Sender: No OFD packet to send [04:12:25]OFD Sender: No OFD packet to send [04:12:30]OFD Sender: No OFD packet to send [04:12:35]OFD Sender: No OFD packet to send [04:12:40]OFD Sender: No OFD packet to send [04:12:45]OFD Sender: No OFD packet to send [04:12:50]OFD Sender: No OFD packet to send [04:12:55]OFD Sender: No OFD packet to send [04:13:00]OFD Sender: No OFD packet to send [04:13:05]OFD Sender: No OFD packet to send [04:13:10]OFD Sender: No OFD packet to send [04:13:15]OFD Sender: No OFD packet to send [04:13:20]OFD Sender: No OFD packet to send [04:13:25]OFD Sender: No OFD packet to send [04:13:30]OFD Sender: No OFD packet to send [04:13:35]OFD Sender: No OFD packet to send [04:13:40]OFD Sender: No OFD packet to send [04:13:45]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:51]OFD Sender: No OFD packet to send [04:14:56]OFD Sender: No OFD packet to send [04:15:01]OFD Sender: No OFD packet to send [04:15:06]OFD Sender: No OFD packet to send [04:15:11]OFD Sender: No OFD packet to send [04:15:16]OFD Sender: No OFD packet to send [04:15:21]OFD Sender: No OFD packet to send [04:15:26]OFD Sender: No OFD packet to send [04:15:31]OFD Sender: No OFD packet to send [04:15:36]OFD Sender: No OFD packet to send [04:15:41]OFD Sender: No OFD packet to send [04:15:46]OFD Sender: No OFD packet to send [04:15:51]OFD Sender: No OFD packet to send [04:15:56]OFD Sender: No OFD packet to send [04:16:01]OFD Sender: No OFD packet to send [04:16:06]OFD Sender: No OFD packet to send [04:16:11]OFD Sender: No OFD packet to send [04:16:16]OFD Sender: No OFD packet to send [04:16:21]OFD Sender: No OFD packet to send [04:16:26]OFD Sender: No OFD packet to send [04:16:31]OFD Sender: No OFD packet to send [04:16:36]OFD Sender: No OFD packet to send [04:16:41]OFD Sender: No OFD packet to send [04:16:46]OFD Sender: No OFD packet to send [04:16:51]OFD Sender: No OFD packet to send [04:16:56]OFD Sender: No OFD packet to send [04:17:01]OFD Sender: No OFD packet to send [04:17:06]OFD Sender: No OFD packet to send [04:17:11]OFD Sender: No OFD packet to send [04:17:16]OFD Sender: No OFD packet to send [04:17:21]OFD Sender: No OFD packet to send [04:17:26]OFD Sender: No OFD packet to send [04:17:31]OFD Sender: No OFD packet to send [04:17:36]OFD Sender: No OFD packet to send [04:17:41]OFD Sender: No OFD packet to send [04:17:46]OFD Sender: No OFD packet to send [04:17:51]OFD Sender: No OFD packet to send [04:17:56]OFD Sender: No OFD packet to send [04:18:01]OFD Sender: No OFD packet to send [04:18:06]OFD Sender: No OFD packet to send [04:18:11]OFD Sender: No OFD packet to send [04:18:16]OFD Sender: No OFD packet to send [04:18:21]OFD Sender: No OFD packet to send [04:18:26]OFD Sender: No OFD packet to send [04:18:31]OFD Sender: No OFD packet to send [04:18:36]OFD Sender: No OFD packet to send [04:18:41]OFD Sender: No OFD packet to send [04:18:46]OFD Sender: No OFD packet to send [04:18:51]OFD Sender: No OFD packet to send [04:18:56]OFD Sender: No OFD packet to send [04:19:01]OFD Sender: No OFD packet to send [04:19:06]OFD Sender: No OFD packet to send [04:19:11]OFD Sender: No OFD packet to send [04:19:16]OFD Sender: No OFD packet to send [04:19:21]OFD Sender: No OFD packet to send [04:19:26]OFD Sender: No OFD packet to send [04:19:31]OFD Sender: No OFD packet to send [04:19:36]OFD Sender: No OFD packet to send [04:19:41]OFD Sender: No OFD packet to send [04:19:46]OFD Sender: No OFD packet to send [04:19:51]OFD Sender: No OFD packet to send [04:19:56]OFD Sender: No OFD packet to send [04:20:01]OFD Sender: No OFD packet to send [04:20:06]OFD Sender: No OFD packet to send [04:20:11]OFD Sender: No OFD packet to send [04:20:16]OFD Sender: No OFD packet to send [04:20:21]OFD Sender: No OFD packet to send [04:20:26]OFD Sender: No OFD packet to send [04:20:31]OFD Sender: No OFD packet to send [04:20:36]OFD Sender: No OFD packet to send [04:20:41]OFD Sender: No OFD packet to send [04:20:46]OFD Sender: No OFD packet to send [04:20:51]OFD Sender: No OFD packet to send [04:20:56]OFD Sender: No OFD packet to send [04:21:01]OFD Sender: No OFD packet to send [04:21:06]OFD Sender: No OFD packet to send [04:21:11]OFD Sender: No OFD packet to send [04:21:16]OFD Sender: No OFD packet to send [04:21:21]OFD Sender: No OFD packet to send [04:21:26]OFD Sender: No OFD packet to send [04:21:31]OFD Sender: No OFD packet to send [04:21:36]OFD Sender: No OFD packet to send [04:21:41]OFD Sender: No OFD packet to send [04:21:46]OFD Sender: No OFD packet to send [04:21:51]OFD Sender: No OFD packet to send [04:21:56]OFD Sender: No OFD packet to send [04:22:01]OFD Sender: No OFD packet to send [04:22:06]OFD Sender: No OFD packet to send [04:22:11]OFD Sender: No OFD packet to send [04:22:16]OFD Sender: No OFD packet to send [04:22:21]OFD Sender: No OFD packet to send [04:22:26]OFD Sender: No OFD packet to send [04:22:31]OFD Sender: No OFD packet to send [04:22:36]OFD Sender: No OFD packet to send [04:22:41]OFD Sender: No OFD packet to send [04:22:46]OFD Sender: No OFD packet to send [04:22:51]OFD Sender: No OFD packet to send [04:22:56]OFD Sender: No OFD packet to send [04:23:01]OFD Sender: No OFD packet to send [04:23:06]OFD Sender: No OFD packet to send [04:23:11]OFD Sender: No OFD packet to send [04:23:16]OFD Sender: No OFD packet to send [04:23:21]OFD Sender: No OFD packet to send [04:23:26]OFD Sender: No OFD packet to send [04:23:31]OFD Sender: No OFD packet to send [04:23:36]OFD Sender: No OFD packet to send [04:23:41]OFD Sender: No OFD packet to send [04:23:46]OFD Sender: No OFD packet to send [04:23:51]OFD Sender: No OFD packet to send [04:23:56]OFD Sender: No OFD packet to send [04:24:01]OFD Sender: No OFD packet to send [04:24:06]OFD Sender: No OFD packet to send [04:24:11]OFD Sender: No OFD packet to send [04:24:16]OFD Sender: No OFD packet to send [04:24:21]OFD Sender: No OFD packet to send [04:24:26]OFD Sender: No OFD packet to send [04:24:31]OFD Sender: No OFD packet to send [04:24:36]OFD Sender: No OFD packet to send [04:24:41]OFD Sender: No OFD packet to send [04:24:46]OFD Sender: No OFD packet to send [04:24:51]OFD Sender: No OFD packet to send [04:24:56]OFD Sender: No OFD packet to send [04:25:01]OFD Sender: No OFD packet to send [04:25:06]OFD Sender: No OFD packet to send [04:25:11]OFD Sender: No OFD packet to send [04:25:16]OFD Sender: No OFD packet to send [04:25:21]OFD Sender: No OFD packet to send [04:25:26]OFD Sender: No OFD packet to send [04:25:31]OFD Sender: No OFD packet to send [04:25:36]OFD Sender: No OFD packet to send [04:25:41]OFD Sender: No OFD packet to send [04:25:46]OFD Sender: No OFD packet to send [04:25:51]OFD Sender: No OFD packet to send [04:25:56]OFD Sender: No OFD packet to send [04:26:01]OFD Sender: No OFD packet to send [04:26:06]OFD Sender: No OFD packet to send [04:26:11]OFD Sender: No OFD packet to send [04:26:16]OFD Sender: No OFD packet to send [04:26:21]OFD Sender: No OFD packet to send [04:26:26]OFD Sender: No OFD packet to send [04:26:31]OFD Sender: No OFD packet to send [04:26:36]OFD Sender: No OFD packet to send [04:26:41]OFD Sender: No OFD packet to send [04:26:46]OFD Sender: No OFD packet to send [04:26:51]OFD Sender: No OFD packet to send [04:26:56]OFD Sender: No OFD packet to send [04:27:01]OFD Sender: No OFD packet to send [04:27:06]OFD Sender: No OFD packet to send [04:27:11]OFD Sender: No OFD packet to send [04:27:16]OFD Sender: No OFD packet to send [04:27:21]OFD Sender: No OFD packet to send [04:27:26]OFD Sender: No OFD packet to send [04:27:31]OFD Sender: No OFD packet to send [04:27:36]OFD Sender: No OFD packet to send [04:27:41]OFD Sender: No OFD packet to send [04:27:46]OFD Sender: No OFD packet to send [04:27:51]OFD Sender: No OFD packet to send [04:27:56]OFD Sender: No OFD packet to send [04:28:01]OFD Sender: No OFD packet to send [04:28:06]OFD Sender: No OFD packet to send [04:28:11]OFD Sender: No OFD packet to send [04:28:16]OFD Sender: No OFD packet to send [04:28:21]OFD Sender: No OFD packet to send [04:28:26]OFD Sender: No OFD packet to send [04:28:31]OFD Sender: No OFD packet to send [04:28:36]OFD Sender: No OFD packet to send [04:28:41]OFD Sender: No OFD packet to send [04:28:46]OFD Sender: No OFD packet to send [04:28:51]OFD Sender: No OFD packet to send [04:28:56]OFD Sender: No OFD packet to send [04:29:01]OFD Sender: No OFD packet to send [04:29:06]OFD Sender: No OFD packet to send [04:29:11]OFD Sender: No OFD packet to send [04:29:16]OFD Sender: No OFD packet to send [04:29:21]OFD Sender: No OFD packet to send [04:29:26]OFD Sender: No OFD packet to send [04:29:31]OFD Sender: No OFD packet to send [04:29:36]OFD Sender: No OFD packet to send [04:29:41]OFD Sender: No OFD packet to send [04:29:46]OFD Sender: No OFD packet to send [04:29:51]OFD Sender: No OFD packet to send [04:29:56]OFD Sender: No OFD packet to send [04:30:01]OFD Sender: No OFD packet to send [04:30:06]OFD Sender: No OFD packet to send [04:30:11]OFD Sender: No OFD packet to send [04:30:16]OFD Sender: No OFD packet to send [04:30:21]OFD Sender: No OFD packet to send [04:30:26]OFD Sender: No OFD packet to send [04:30:31]OFD Sender: No OFD packet to send [04:30:36]OFD Sender: No OFD packet to send [04:30:41]OFD Sender: No OFD packet to send [04:30:46]OFD Sender: No OFD packet to send [04:30:51]OFD Sender: No OFD packet to send [04:30:56]OFD Sender: No OFD packet to send [04:31:01]OFD Sender: No OFD packet to send [04:31:06]OFD Sender: No OFD packet to send [04:31:11]OFD Sender: No OFD packet to send [04:31:16]OFD Sender: No OFD packet to send [04:31:21]OFD Sender: No OFD packet to send [04:31:26]OFD Sender: No OFD packet to send [04:31:31]OFD Sender: No OFD packet to send [04:31:36]OFD Sender: No OFD packet to send [04:31:41]OFD Sender: No OFD packet to send [04:31:46]OFD Sender: No OFD packet to send [04:31:51]OFD Sender: No OFD packet to send [04:31:56]OFD Sender: No OFD packet to send [04:32:01]OFD Sender: No OFD packet to send [04:32:06]OFD Sender: No OFD packet to send [04:32:11]OFD Sender: No OFD packet to send [04:32:16]OFD Sender: No OFD packet to send [04:32:21]OFD Sender: No OFD packet to send [04:32:26]OFD Sender: No OFD packet to send [04:32:31]OFD Sender: No OFD packet to send [04:32:36]OFD Sender: No OFD packet to send [04:32:41]OFD Sender: No OFD packet to send [04:32:46]OFD Sender: No OFD packet to send [04:32:51]OFD Sender: No OFD packet to send [04:32:56]OFD Sender: No OFD packet to send [04:33:01]OFD Sender: No OFD packet to send [04:33:06]OFD Sender: No OFD packet to send [04:33:11]OFD Sender: No OFD packet to send [04:33:16]OFD Sender: No OFD packet to send [04:33:21]OFD Sender: No OFD packet to send [04:33:26]OFD Sender: No OFD packet to send [04:33:31]OFD Sender: No OFD packet to send [04:33:36]OFD Sender: No OFD packet to send [04:33:41]OFD Sender: No OFD packet to send [04:33:46]OFD Sender: No OFD packet to send [04:33:51]OFD Sender: No OFD packet to send [04:33:56]OFD Sender: No OFD packet to send [04:34:01]OFD Sender: No OFD packet to send [04:34:06]OFD Sender: No OFD packet to send [04:34:11]OFD Sender: No OFD packet to send [04:34:16]OFD Sender: No OFD packet to send [04:34:21]OFD Sender: No OFD packet to send [04:34:26]OFD Sender: No OFD packet to send [04:34:31]OFD Sender: No OFD packet to send [04:34:36]OFD Sender: No OFD packet to send [04:34:41]OFD Sender: No OFD packet to send [04:34:46]OFD Sender: No OFD packet to send [04:34:51]OFD Sender: No OFD packet to send [04:34:56]OFD Sender: No OFD packet to send [04:35:01]OFD Sender: No OFD packet to send [04:35:06]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:57]OFD Sender: No OFD packet to send [04:52:02]OFD Sender: No OFD packet to send [04:52:07]OFD Sender: No OFD packet to send [04:52:12]OFD Sender: No OFD packet to send [04:52:17]OFD Sender: No OFD packet to send [04:52:22]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:38]OFD Sender: No OFD packet to send [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:23]OFD Sender: No OFD packet to send [05:06:28]OFD Sender: No OFD packet to send [05:06:33]OFD Sender: No OFD packet to send [05:06:38]OFD Sender: No OFD packet to send [05:06:43]OFD Sender: No OFD packet to send [05:06:48]OFD Sender: No OFD packet to send [05:06:53]OFD Sender: No OFD packet to send [05:06:58]OFD Sender: No OFD packet to send [05:07:03]OFD Sender: No OFD packet to send [05:07:08]OFD Sender: No OFD packet to send [05:07:13]OFD Sender: No OFD packet to send [05:07:18]OFD Sender: No OFD packet to send [05:07:23]OFD Sender: No OFD packet to send [05:07:28]OFD Sender: No OFD packet to send [05:07:33]OFD Sender: No OFD packet to send [05:07:38]OFD Sender: No OFD packet to send [05:07:43]OFD Sender: No OFD packet to send [05:07:48]OFD Sender: No OFD packet to send [05:07:53]OFD Sender: No OFD packet to send [05:07:58]OFD Sender: No OFD packet to send [05:08:03]OFD Sender: No OFD packet to send [05:08:08]OFD Sender: No OFD packet to send [05:08:13]OFD Sender: No OFD packet to send [05:08:18]OFD Sender: No OFD packet to send [05:08:23]OFD Sender: No OFD packet to send [05:08:28]OFD Sender: No OFD packet to send [05:08:33]OFD Sender: No OFD packet to send [05:08:38]OFD Sender: No OFD packet to send [05:08:43]OFD Sender: No OFD packet to send [05:08:48]OFD Sender: No OFD packet to send [05:08:53]OFD Sender: No OFD packet to send [05:08:58]OFD Sender: No OFD packet to send [05:09:03]OFD Sender: No OFD packet to send [05:09:08]OFD Sender: No OFD packet to send [05:09:13]OFD Sender: No OFD packet to send [05:09:18]OFD Sender: No OFD packet to send [05:09:23]OFD Sender: No OFD packet to send [05:09:28]OFD Sender: No OFD packet to send [05:09:33]OFD Sender: No OFD packet to send [05:09:38]OFD Sender: No OFD packet to send [05:09:43]OFD Sender: No OFD packet to send [05:09:48]OFD Sender: No OFD packet to send [05:09:53]OFD Sender: No OFD packet to send [05:09:58]OFD Sender: No OFD packet to send [05:10:03]OFD Sender: No OFD packet to send [05:10:08]OFD Sender: No OFD packet to send [05:10:13]OFD Sender: No OFD packet to send [05:10:18]OFD Sender: No OFD packet to send [05:10:23]OFD Sender: No OFD packet to send [05:10:28]OFD Sender: No OFD packet to send [05:10:33]OFD Sender: No OFD packet to send [05:10:38]OFD Sender: No OFD packet to send [05:10:43]OFD Sender: No OFD packet to send [05:10:48]OFD Sender: No OFD packet to send [05:10:53]OFD Sender: No OFD packet to send [05:10:58]OFD Sender: No OFD packet to send [05:11:03]OFD Sender: No OFD packet to send [05:11:08]OFD Sender: No OFD packet to send [05:11:13]OFD Sender: No OFD packet to send [05:11:18]OFD Sender: No OFD packet to send [05:11:23]OFD Sender: No OFD packet to send [05:11:28]OFD Sender: No OFD packet to send [05:11:33]OFD Sender: No OFD packet to send [05:11:38]OFD Sender: No OFD packet to send [05:11:43]OFD Sender: No OFD packet to send [05:11:48]OFD Sender: No OFD packet to send [05:11:53]OFD Sender: No OFD packet to send [05:11:58]OFD Sender: No OFD packet to send [05:12:03]OFD Sender: No OFD packet to send [05:12:08]OFD Sender: No OFD packet to send [05:12:13]OFD Sender: No OFD packet to send [05:12:18]OFD Sender: No OFD packet to send [05:12:23]OFD Sender: No OFD packet to send [05:12:28]OFD Sender: No OFD packet to send [05:12:33]OFD Sender: No OFD packet to send [05:12:38]OFD Sender: No OFD packet to send [05:12:43]OFD Sender: No OFD packet to send [05:12:48]OFD Sender: No OFD packet to send [05:12:53]OFD Sender: No OFD packet to send [05:12:58]OFD Sender: No OFD packet to send [05:13:03]OFD Sender: No OFD packet to send [05:13:08]OFD Sender: No OFD packet to send [05:13:13]OFD Sender: No OFD packet to send [05:13:18]OFD Sender: No OFD packet to send [05:13:23]OFD Sender: No OFD packet to send [05:13:28]OFD Sender: No OFD packet to send [05:13:33]OFD Sender: No OFD packet to send [05:13:38]OFD Sender: No OFD packet to send [05:13:43]OFD Sender: No OFD packet to send [05:13:48]OFD Sender: No OFD packet to send [05:13:53]OFD Sender: No OFD packet to send [05:13:58]OFD Sender: No OFD packet to send [05:14:03]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:44]OFD Sender: No OFD packet to send [05:22:49]OFD Sender: No OFD packet to send [05:22:54]OFD Sender: No OFD packet to send [05:22:59]OFD Sender: No OFD packet to send [05:23:04]OFD Sender: No OFD packet to send [05:23:09]OFD Sender: No OFD packet to send [05:23:14]OFD Sender: No OFD packet to send [05:23:19]OFD Sender: No OFD packet to send [05:23:24]OFD Sender: No OFD packet to send [05:23:29]OFD Sender: No OFD packet to send [05:23:34]OFD Sender: No OFD packet to send [05:23:39]OFD Sender: No OFD packet to send [05:23:44]OFD Sender: No OFD packet to send [05:23:49]OFD Sender: No OFD packet to send [05:23:54]OFD Sender: No OFD packet to send [05:23:59]OFD Sender: No OFD packet to send [05:24:04]OFD Sender: No OFD packet to send [05:24:09]OFD Sender: No OFD packet to send [05:24:14]OFD Sender: No OFD packet to send [05:24:19]OFD Sender: No OFD packet to send [05:24:24]OFD Sender: No OFD packet to send [05:24:29]OFD Sender: No OFD packet to send [05:24:34]OFD Sender: No OFD packet to send [05:24:39]OFD Sender: No OFD packet to send [05:24:44]OFD Sender: No OFD packet to send [05:24:49]OFD Sender: No OFD packet to send [05:24:54]OFD Sender: No OFD packet to send [05:24:59]OFD Sender: No OFD packet to send [05:25:04]OFD Sender: No OFD packet to send [05:25:09]OFD Sender: No OFD packet to send [05:25:14]OFD Sender: No OFD packet to send [05:25:19]OFD Sender: No OFD packet to send [05:25:24]OFD Sender: No OFD packet to send [05:25:29]OFD Sender: No OFD packet to send [05:25:34]OFD Sender: No OFD packet to send [05:25:39]OFD Sender: No OFD packet to send [05:25:44]OFD Sender: No OFD packet to send [05:25:49]OFD Sender: No OFD packet to send [05:25:54]OFD Sender: No OFD packet to send [05:25:59]OFD Sender: No OFD packet to send [05:26:04]OFD Sender: No OFD packet to send [05:26:09]OFD Sender: No OFD packet to send [05:26:14]OFD Sender: No OFD packet to send [05:26:19]OFD Sender: No OFD packet to send [05:26:24]OFD Sender: No OFD packet to send [05:26:29]OFD Sender: No OFD packet to send [05:26:34]OFD Sender: No OFD packet to send [05:26:39]OFD Sender: No OFD packet to send [05:26:44]OFD Sender: No OFD packet to send [05:26:49]OFD Sender: No OFD packet to send [05:26:54]OFD Sender: No OFD packet to send [05:26:59]OFD Sender: No OFD packet to send [05:27:04]OFD Sender: No OFD packet to send [05:27:09]OFD Sender: No OFD packet to send [05:27:14]OFD Sender: No OFD packet to send [05:27:19]OFD Sender: No OFD packet to send [05:27:24]OFD Sender: No OFD packet to send [05:27:29]OFD Sender: No OFD packet to send [05:27:34]OFD Sender: No OFD packet to send [05:27:39]OFD Sender: No OFD packet to send [05:27:44]OFD Sender: No OFD packet to send [05:27:49]OFD Sender: No OFD packet to send [05:27:54]OFD Sender: No OFD packet to send [05:27:59]OFD Sender: No OFD packet to send [05:28:04]OFD Sender: No OFD packet to send [05:28:09]OFD Sender: No OFD packet to send [05:28:14]OFD Sender: No OFD packet to send [05:28:19]OFD Sender: No OFD packet to send [05:28:24]OFD Sender: No OFD packet to send [05:28:29]OFD Sender: No OFD packet to send [05:28:34]OFD Sender: No OFD packet to send [05:28:39]OFD Sender: No OFD packet to send [05:28:44]OFD Sender: No OFD packet to send [05:28:49]OFD Sender: No OFD packet to send [05:28:54]OFD Sender: No OFD packet to send [05:28:59]OFD Sender: No OFD packet to send [05:29:04]OFD Sender: No OFD packet to send [05:29:09]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:19]OFD Sender: No OFD packet to send [05:29:24]OFD Sender: No OFD packet to send [05:29:29]OFD Sender: No OFD packet to send [05:29:34]OFD Sender: No OFD packet to send [05:29:39]OFD Sender: No OFD packet to send [05:29:44]OFD Sender: No OFD packet to send [05:29:49]OFD Sender: No OFD packet to send [05:29:54]OFD Sender: No OFD packet to send [05:29:59]OFD Sender: No OFD packet to send [05:30:04]OFD Sender: No OFD packet to send [05:30:09]OFD Sender: No OFD packet to send [05:30:14]OFD Sender: No OFD packet to send [05:30:19]OFD Sender: No OFD packet to send [05:30:24]OFD Sender: No OFD packet to send [05:30:29]OFD Sender: No OFD packet to send [05:30:34]OFD Sender: No OFD packet to send [05:30:39]OFD Sender: No OFD packet to send [05:30:44]OFD Sender: No OFD packet to send [05:30:49]OFD Sender: No OFD packet to send [05:30:54]OFD Sender: No OFD packet to send [05:30:59]OFD Sender: No OFD packet to send [05:31:04]OFD Sender: No OFD packet to send [05:31:09]OFD Sender: No OFD packet to send [05:31:14]OFD Sender: No OFD packet to send [05:31:19]OFD Sender: No OFD packet to send [05:31:24]OFD Sender: No OFD packet to send [05:31:29]OFD Sender: No OFD packet to send [05:31:34]OFD Sender: No OFD packet to send [05:31:39]OFD Sender: No OFD packet to send [05:31:44]OFD Sender: No OFD packet to send [05:31:49]OFD Sender: No OFD packet to send [05:31:54]OFD Sender: No OFD packet to send [05:31:59]OFD Sender: No OFD packet to send [05:32:04]OFD Sender: No OFD packet to send [05:32:09]OFD Sender: No OFD packet to send [05:32:14]OFD Sender: No OFD packet to send [05:32:19]OFD Sender: No OFD packet to send [05:32:24]OFD Sender: No OFD packet to send [05:32:29]OFD Sender: No OFD packet to send [05:32:34]OFD Sender: No OFD packet to send [05:32:39]OFD Sender: No OFD packet to send [05:32:44]OFD Sender: No OFD packet to send [05:32:49]OFD Sender: No OFD packet to send [05:32:54]OFD Sender: No OFD packet to send [05:32:59]OFD Sender: No OFD packet to send [05:33:04]OFD Sender: No OFD packet to send [05:33:09]OFD Sender: No OFD packet to send [05:33:14]OFD Sender: No OFD packet to send [05:33:19]OFD Sender: No OFD packet to send [05:33:24]OFD Sender: No OFD packet to send [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:30]OFD Sender: No OFD packet to send [05:42:35]OFD Sender: No OFD packet to send [05:42:40]OFD Sender: No OFD packet to send [05:42:45]OFD Sender: No OFD packet to send [05:42:50]OFD Sender: No OFD packet to send [05:42:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]OFD Sender: No OFD packet to send [05:43:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15:51]OFD Sender: No OFD packet to send [06:15:56]OFD Sender: No OFD packet to send [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:11]OFD Sender: No OFD packet to send [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:51]OFD Sender: No OFD packet to send [06:20:56]OFD Sender: No OFD packet to send [06:21:01]OFD Sender: No OFD packet to send [06:21:06]OFD Sender: No OFD packet to send [06:21:11]OFD Sender: No OFD packet to send [06:21:16]OFD Sender: No OFD packet to send [06:21:21]OFD Sender: No OFD packet to send [06:21:26]OFD Sender: No OFD packet to send [06:21:31]OFD Sender: No OFD packet to send [06:21:36]OFD Sender: No OFD packet to send [06:21:41]OFD Sender: No OFD packet to send [06:21:46]OFD Sender: No OFD packet to send [06:21:51]OFD Sender: No OFD packet to send [06:21:56]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:57]OFD Sender: No OFD packet to send [06:38:02]OFD Sender: No OFD packet to send [06:38:07]OFD Sender: No OFD packet to send [06:38:12]OFD Sender: No OFD packet to send [06:38:17]OFD Sender: No OFD packet to send [06:38:22]OFD Sender: No OFD packet to send [06:38:27]OFD Sender: No OFD packet to send [06:38:32]OFD Sender: No OFD packet to send [06:38:37]OFD Sender: No OFD packet to send [06:38:42]OFD Sender: No OFD packet to send [06:38:47]OFD Sender: No OFD packet to send [06:38:52]OFD Sender: No OFD packet to send [06:38:57]OFD Sender: No OFD packet to send [06:39:02]OFD Sender: No OFD packet to send [06:39:07]OFD Sender: No OFD packet to send [06:39:12]OFD Sender: No OFD packet to send [06:39:17]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:52]OFD Sender: No OFD packet to send [06:40:57]OFD Sender: No OFD packet to send [06:41:02]OFD Sender: No OFD packet to send [06:41:07]OFD Sender: No OFD packet to send [06:41:12]OFD Sender: No OFD packet to send [06:41:17]OFD Sender: No OFD packet to send [06:41:22]OFD Sender: No OFD packet to send [06:41:27]OFD Sender: No OFD packet to send [06:41:32]OFD Sender: No OFD packet to send [06:41:37]OFD Sender: No OFD packet to send [06:41:42]OFD Sender: No OFD packet to send [06:41:47]OFD Sender: No OFD packet to send [06:41:52]OFD Sender: No OFD packet to send [06:41:57]OFD Sender: No OFD packet to send [06:42:02]OFD Sender: No OFD packet to send [06:42:07]OFD Sender: No OFD packet to send [06:42:12]OFD Sender: No OFD packet to send [06:42:17]OFD Sender: No OFD packet to send [06:42:22]OFD Sender: No OFD packet to send [06:42:27]OFD Sender: No OFD packet to send [06:42:32]OFD Sender: No OFD packet to send [06:42:37]OFD Sender: No OFD packet to send [06:42:42]OFD Sender: No OFD packet to send [06:42:47]OFD Sender: No OFD packet to send [06:42:52]OFD Sender: No OFD packet to send [06:42:57]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:32]accept exits with 9 [06:49:32]New connection [06:49:32]New thread 3067424100 created [06:49:32]Thread 3067567460 joined [06:49:32]Waiting for new connection... [06:49:32] Sock 9.Parse request [06:49:32]Sock 9.Check first char [06:49:32]Sock 9.First char is OK [06:49:32]request: POST /json_proto HTTP/1.0 [06:49:32]Method: POST [06:49:32]URL: /json_proto [06:49:32]Method is POST - this is cgi request [06:49:32]url: /json_proto [06:49:32]query_string will be loaded in cgi processing [06:49:32]execute_cgi json_proto POST (null) [06:49:32]execute_cgi path=json_proto method=POST [06:49:32]POST find Content-Length [06:49:32]Host: 172.17.38.134:8080 [06:49:32]Content-Length: 609 [06:49:32]Content-Type: application/json [06:49:32] [06:49:32]POST finish read [06:49:32]Found Content-Length = 609 [06:49:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184082", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "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" ] } } [06:49:32]execute_script... [06:49: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)184082", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "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" ] } } [06:49:32]POST & json_proto [06:49:32]process_json_proto [06:49:32]json parsed OK: [06:49:32]protocol is kg_v1.0 [06:49:32]action value=close_receipt [06:49:32]process_action close_receipt [06:49:32]cmd_close_receipt [06:49:32]MH_GetDate [06:49:32]Write to MH i2c: F0 00 00 24 16 29 [06:49:32]Write i2c OK [06:49:32]MH_I2C_Read... [06:49:32]Read from MH i2c: F0 [06:49:32]MH_I2C_Read... [06:49:32]Read from MH i2c: F0 09 00 [06:49:32]MH_I2C_Read... [06:49:32]Read from MH i2c: F0 09 00 24 16 00 80 7F 72 66 13 9C 7C 64 98 [06:49:32]GetLastDocTimeStamp 1718764371 [06:49:32]current date 1718779776 [06:49:32]FM_GetShiftState [06:49:32]SAM_PROTO_GetShiftState [06:49:32]wFMCommunicate request_size=4 [06:49:32]MH_SAM_APDU [06:49:32]CAPDU: 80 13 01 00 [06:49:32]Write to MH i2c: E2 08 00 25 16 80 13 01 00 00 00 00 00 B8 [06:49:32]Write i2c OK [06:49:32]MH_I2C_Read... [06:49:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:32]Read from MH i2c: E2 [06:49:32]MH_I2C_Read... [06:49:32]Read from MH i2c: E2 0E 00 [06:49:32]MH_I2C_Read... [06:49:32]Read from MH i2c: E2 0E 00 25 16 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 8E [06:49:32]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [06:49:32]wFMCommunicate OK [06:49:32]SAM_PROTO_GetShiftState done [06:49:32]FM_GetShiftState done [06:49:32]opened in 1718756813 [06:49:32]opened+sec_in_day 1718843213 [06:49:32]quantity*price = 13000 [06:49:32]sum+1 = 13001 [06:49:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 5 19.06.2024 06:49 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34301 ФПД: 186545926212630 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T064936&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34301&fm=186545926212630&tin=02508201610067®Number=0000000000092786&sum=13000 0 [06:49:33]StoreToDocumentArchive [06:49:33]shift 324 fd 34301 [06:49:33]save to /storage/0324/doc_00034301 [06:49:33]save last doc name /storage/0324/doc_00034301 to /storage/kkm_last_doc_name [06:49:33]save OK [06:49:33]Clear old archive folders... [06:49:33]ProcessDocumentItem done err = 0, tmpTLVsize=261 [06:49:33]tlvbuf is 01958D30 [06:49:33]SAM_PROTO_ClearQueue [06:49:33]wFMCommunicate request_size=4 [06:49:33]MH_SAM_APDU [06:49:33]CAPDU: 80 09 00 00 [06:49:33]Write to MH i2c: E2 08 00 32 16 80 09 00 00 00 00 00 00 BA [06:49:33]Write i2c OK [06:49:33]MH_I2C_Read... [06:49:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:49:33]Read from MH i2c: E2 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 32 16 00 90 00 BC [06:49:33]RAPDU: 90 00 [06:49:33]wFMCommunicate OK [06:49:33]SAM_PROTO_ClearQueue done [06:49:33]KKMCreateOFDPacket [06:49:33]OFDProtocolAddRootSTLVToBuf [06:49:33]FM_MakeSignedData [06:49:33]FM_MakeSignedData [06:49:33]SAM_PROTO_SignData [06:49:33]wFMCommunicate request_size=4 [06:49:33]MH_SAM_APDU [06:49:33]CAPDU: 80 0D 01 02 [06:49:33]Write to MH i2c: E2 08 00 33 16 80 0D 01 02 00 00 00 00 C2 [06:49:33]Write i2c OK [06:49:33]MH_I2C_Read... [06:49:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:49:33]Read from MH i2c: E2 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 33 16 00 90 00 BD [06:49:33]RAPDU: 90 00 [06:49:33]wFMCommunicate OK [06:49:33]wFMCommunicate request_size=255 [06:49:33]MH_SAM_APDU [06:49:33]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 05 00 00 00 F4 03 04 00 80 7F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 [06:49:33]Write to MH i2c: E2 02 01 34 16 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 05 00 00 00 F4 03 04 00 80 7F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 94 [06:49:33]Write i2c OK [06:49:33]MH_I2C_Read... [06:49:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:33]Read from MH i2c: E2 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 [06:49:33]MH_I2C_Read... [06:49:33]Read from MH i2c: E2 03 00 34 16 00 90 00 BE [06:49:33]RAPDU: 90 00 [06:49:33]wFMCommunicate OK [06:49:33]wFMCommunicate request_size=20 [06:49:33]MH_SAM_APDU [06:49:33]CAPDU: 80 0D 02 02 0F 00 FD 85 00 00 35 04 06 00 A9 A9 9B AA 8C 16 [06:49:33]Write to MH i2c: E2 17 00 35 16 80 0D 02 02 0F 00 00 FD 85 00 00 35 04 06 00 A9 A9 9B AA 8C 16 00 00 DD [06:49:33]Write i2c OK [06:49:33]MH_I2C_Read... [06:49:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:34]Read from MH i2c: E2 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 03 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 03 00 35 16 00 90 00 BF [06:49:34]RAPDU: 90 00 [06:49:34]wFMCommunicate OK [06:49:34]wFMCommunicate request_size=4 [06:49:34]MH_SAM_APDU [06:49:34]CAPDU: 80 0D 03 02 [06:49:34]Write to MH i2c: E2 08 00 36 16 80 0D 03 02 00 00 00 00 C7 [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:49:34]Read from MH i2c: E2 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 0B 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 0B 00 36 16 00 0F C6 C3 4F D7 10 AF A8 90 00 ED [06:49:34]RAPDU: 0F C6 C3 4F D7 10 AF A8 90 00 [06:49:34]wFMCommunicate OK [06:49:34]SAM_PROTO_SignData done [06:49:34]FM_MakeSignedData done [06:49:34]CreateOFDProtocolMessage [06:49:34]wFMCommunicate request_size=4 [06:49:34]MH_SAM_APDU [06:49:34]CAPDU: 80 11 00 00 [06:49:34]Write to MH i2c: E2 08 00 37 16 80 11 00 00 00 00 00 00 C7 [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:34]Read from MH i2c: E2 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 17 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: E2 17 00 37 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1C [06:49:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [06:49:34]wFMCommunicate OK [06:49:34]CreateOFDProtocolMessage done [06:49:34]OFDSenderStorePacket 34301 [06:49:34]StoreOFDPacket docnum=34301 [06:49:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 19 01 00 00 E7 85 11 01 A8 67 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 05 00 00 00 F4 03 04 00 80 7F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FD 85 00 00 35 04 06 00 A9 A9 9B AA 8C 16 0F C6 C3 4F D7 10 AF A8 [06:49:34]CheckFolder [06:49:34]dirname=/storage/ofd_packets [06:49:34]CheckFolder done [06:49:34]ProducePacketName [06:49:34]name=ofd_packets/00034301 [06:49:34]NVStorageSaveData ofd_packets/00034301 [06:49:34]File name is /storage/ofd_packets/00034301 [06:49:34]Write 311 bytes [06:49:34]NVStorageSaveData done [06:49:34]OFDSenderStorePacket done [06:49:34]KKMCreateOFDPacket done [06:49:34]NVStorageSaveData kkm_last_timestamp [06:49:34]File name is /storage/kkm_last_timestamp [06:49:34]Write 4 bytes [06:49:34]NVStorageSaveData done [06:49:34]ExternCall_PrintAddStr [06:49:34]wPrintStart [06:49:34]Write to MH i2c: 01 00 00 38 16 4E [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 07 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 07 00 38 16 00 00 00 00 00 FF 0F 63 [06:49:34]RasterBufferAndPrint [06:49:34]line Счет N : (3)184082 [06:49:34]line ИНН: 02508201610067 [06:49:34]line Контрольно-Кассовый Чек [06:49:34]line ПРОДАЖА [06:49:34]line Товар: 48741156 [06:49:34]line Сигареты LD Blue [06:49:34]line 1.000 * 130.00 [06:49:34]line = 130.00 [06:49:34]line НДС 12% НСП 1% [06:49:34]line > о реализуемом товаре [06:49:34]line ИТОГО: 130.00 [06:49:34]line НСП 1% : 1.15 [06:49:34]line НДС 12% : 13.80 [06:49:34]line Наличными: 130.00 [06:49:34]line Безнал.: 0.00 [06:49:34]line Место: АЗС № 120 "Партнер Нефть" [06:49:34]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [06:49:34]line СНО: Общий режим [06:49:34]line Чек 5 19.06.2024 06:49 [06:49:34]line Смена: 324 ФФД: 1.0 [06:49:34]line ЗНМ: 0300000172 [06:49:34]line РНМ: 0000000000092786 [06:49:34]line Версия ККМ: 001 [06:49:34]line ФМ: 0000000000875095 [06:49:34]line ФД: 34301 [06:49:34]line ФПД: 186545926212630 [06:49:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T064936&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34301&fm=186545926212630&tin=02508201610067®Number=0000000000092786&sum=13000 [06:49:34]line 0 [06:49:34]OFD Sender: Processing packet 34301 [packets to send 8, broken 7] [06:49:34]ProducePacketName [06:49:34]name=ofd_packets/00034301 [06:49:34]OFD Sender: To server: pG, [06:49:34]CommunicateWithHost lk.salyk.kg:30040 [06:49:34]ConnectInit lk.salyk.kg [06:49:34]written 0, free lines is 4095 [06:49:34]Connected sock=10 [06:49:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 19 01 00 00 E7 85 11 01 A8 67 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 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 05 00 00 00 F4 03 04 00 80 7F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FD 85 00 00 35 04 06 00 A9 A9 9B AA 8C 16 0F C6 C3 4F D7 10 AF A8 [06:49:34]Write to MH i2c: 01 00 00 60 16 76 [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 07 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: 01 07 00 60 16 00 00 00 00 00 04 0D 8E [06:49:34]RasterBufferAndPrint [06:49:34]line [06:49:34]line [06:49:34]line [06:49:34]line [06:49:34]line [06:49:34]written 0, free lines is 3342 [06:49:34]MH_Cut [06:49:34]Write to MH i2c: D1 01 00 67 16 01 4F [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: D1 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: D1 01 00 [06:49:34]MH_I2C_Read... [06:49:34]Read from MH i2c: D1 01 00 67 16 00 4E [06:49:34]Write to MH i2c: 01 00 00 68 16 7E [06:49:34]Write i2c OK [06:49:34]MH_I2C_Read... [06:49:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D9 10 47 00 7A 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FD 85 00 00 F4 03 04 00 4E 26 72 66 B6 04 01 00 00 85 F8 D2 0E 57 15 FF 3C [06:49:34]CommunicateWithHost err = 0 [06:49:34]CheckOFDResponse [06:49:34]1017 (14) - 77093643461234 [06:49:34]1041 (16) - 0000000000875095 [06:49:34]1040 (4) - 34301 [06:49:34]1012 (4) - 19.06.2024 00:29 [06:49:34]1206 (1) - 0 [06:49:34]OFD Sender: Remove packet 34301 [06:49:34]ProducePacketName [06:49:34]name=ofd_packets/00034301 [06:49:34]NVStorageDeleteData [06:49:35]OFD Sender: No OFD packet to send [06:49:35]*** Cut start [06:49:35]*** Partial cut [06:49:35]*** CUTSNS_PIN = 1 [06:49:35]*** CUTSNS_PIN = 0 [06:49:35]*** Brake cut motor [06:49:36]Read from MH i2c: 01 [06:49:36]MH_I2C_Read... [06:49:36]*** Stop cut motor [06:49:36]*** Cut end [06:49:36]Read from MH i2c: 01 07 00 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: 01 07 00 68 16 00 00 00 00 00 FF 0F 93 [06:49:36]process_action close_receipt done [06:49:36]requested_data is exist [06:49:36]produce_requested_data [06:49:36]requested_item fm.sn is exist - process it [06:49:36]wFMCommunicate request_size=4 [06:49:36]MH_SAM_APDU [06:49:36]CAPDU: 80 11 00 00 [06:49:36]Write to MH i2c: E2 08 00 69 16 80 11 00 00 00 00 00 00 F9 [06:49:36]Write i2c OK [06:49:36]MH_I2C_Read... [06:49:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:36]Read from MH i2c: E2 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 17 00 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 17 00 69 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4E [06:49:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [06:49:36]wFMCommunicate OK [06:49:36]requested_item fd.num is exist - process it [06:49:36]SAM_PROTO_GetFieldsCounters [06:49:36]wFMCommunicate request_size=4 [06:49:36]MH_SAM_APDU [06:49:36]CAPDU: 80 13 00 00 [06:49:36]Write to MH i2c: E2 08 00 6A 16 80 13 00 00 00 00 00 00 FC [06:49:36]Write i2c OK [06:49:36]MH_I2C_Read... [06:49:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:49:36]Read from MH i2c: E2 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 62 00 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 62 00 6A 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FD 85 00 00 0E 04 04 00 44 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 FC [06:49:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FD 85 00 00 0E 04 04 00 44 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 [06:49:36]wFMCommunicate OK [06:49:36]SAM_PROTO_GetFieldsCounters done [06:49:36]requested_item shift.num is exist - process it [06:49:36]requested_item shift.opened is exist - process it [06:49:36]req_shift_opened [06:49:36]FM_GetShiftState [06:49:36]SAM_PROTO_GetShiftState [06:49:36]wFMCommunicate request_size=4 [06:49:36]MH_SAM_APDU [06:49:36]CAPDU: 80 13 01 00 [06:49:36]Write to MH i2c: E2 08 00 6B 16 80 13 01 00 00 00 00 00 FE [06:49:36]Write i2c OK [06:49:36]MH_I2C_Read... [06:49:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:36]Read from MH i2c: E2 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 0E 00 [06:49:36]MH_I2C_Read... [06:49:36]Read from MH i2c: E2 0E 00 6B 16 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D4 [06:49:36]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [06:49:36]wFMCommunicate OK [06:49:36]SAM_PROTO_GetShiftState done [06:49:36]FM_GetShiftState done [06:49:36]req_shift_opened done [06:49:36]requested_item shift.open_date is exist - process it [06:49:36]req_shift_open_date [06:49:36]req_shift_open_date done [06:49:36]produce_requested_data done [06:49:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34301,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [06:49:36]process_action_free close_receipt [06:49:36]json_value_free [06:49:36]json_value_free done [06:49:36]process_json_proto returns [06:49:36]Send response to host [06:49:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34301,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [06:49:36]free response buf [06:49:36]execute_script done [06:49:36]execute_script returns [06:49:36]free content buf [06:49:36]Sock 9.Close socket [06:49:36]Sock 9.Thread stoped [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:29]accept exits with 7 [06:56:29]New connection [06:56:29]New thread 3067567460 created [06:56:29]Thread 3067424100 joined [06:56:29]Waiting for new connection... [06:56:29] Sock 7.Parse request [06:56:29]Sock 7.Check first char [06:56:29]Sock 7.First char is OK [06:56:29]request: POST /json_proto HTTP/1.0 [06:56:29]Method: POST [06:56:29]URL: /json_proto [06:56:29]Method is POST - this is cgi request [06:56:29]url: /json_proto [06:56:29]query_string will be loaded in cgi processing [06:56:29]execute_cgi json_proto POST (null) [06:56:29]execute_cgi path=json_proto method=POST [06:56:29]POST find Content-Length [06:56:29]Host: 172.17.38.134:8080 [06:56:29]Content-Length: 932 [06:56:29]Content-Type: application/json [06:56:29] [06:56:29]POST finish read [06:56:29]Found Content-Length = 932 [06:56:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184083", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:56:29]execute_script... [06:56: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)184083", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:56:29]POST & json_proto [06:56:29]process_json_proto [06:56:29]json parsed OK: [06:56:29]protocol is kg_v1.0 [06:56:29]action value=close_receipt [06:56:29]process_action close_receipt [06:56:29]cmd_close_receipt [06:56:29]MH_GetDate [06:56:29]Write to MH i2c: F0 00 00 6C 16 71 [06:56:29]Write i2c OK [06:56:29]MH_I2C_Read... [06:56:29]Read from MH i2c: F0 [06:56:29]MH_I2C_Read... [06:56:29]Read from MH i2c: F0 09 00 [06:56:29]MH_I2C_Read... [06:56:29]Read from MH i2c: F0 09 00 6C 16 00 21 81 72 66 13 9C 7C 64 83 [06:56:29]GetLastDocTimeStamp 1718779776 [06:56:29]current date 1718780193 [06:56:29]FM_GetShiftState [06:56:29]SAM_PROTO_GetShiftState [06:56:29]wFMCommunicate request_size=4 [06:56:29]MH_SAM_APDU [06:56:29]CAPDU: 80 13 01 00 [06:56:29]Write to MH i2c: E2 08 00 6D 16 80 13 01 00 00 00 00 00 00 [06:56:29]Write i2c OK [06:56:29]MH_I2C_Read... [06:56:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:56:29]Read from MH i2c: E2 [06:56:29]MH_I2C_Read... [06:56:29]Read from MH i2c: E2 0E 00 [06:56:29]MH_I2C_Read... [06:56:29]Read from MH i2c: E2 0E 00 6D 16 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D6 [06:56:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [06:56:29]wFMCommunicate OK [06:56:29]SAM_PROTO_GetShiftState done [06:56:29]FM_GetShiftState done [06:56:29]opened in 1718756813 [06:56:29]opened+sec_in_day 1718843213 [06:56:29]quantity*price = 11300 [06:56:29]sum+1 = 11301 [06:56:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481453 Напиток энерг Nitro Max 0,45 ж/б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 198.00 НСП 1% : 1.75 НДС 12% : 21.03 Наличными: 198.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 6 19.06.2024 06:56 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34302 ФПД: 87319247361543 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T065633&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34302&fm=87319247361543&tin=02508201610067®Number=0000000000092786&sum=19800 0 [06:56:30]StoreToDocumentArchive [06:56:30]shift 324 fd 34302 [06:56:30]save to /storage/0324/doc_00034302 [06:56:30]save last doc name /storage/0324/doc_00034302 to /storage/kkm_last_doc_name [06:56:30]save OK [06:56:30]Clear old archive folders... [06:56:30]ProcessDocumentItem done err = 0, tmpTLVsize=396 [06:56:30]tlvbuf is 0194A170 [06:56:30]SAM_PROTO_ClearQueue [06:56:30]wFMCommunicate request_size=4 [06:56:30]MH_SAM_APDU [06:56:30]CAPDU: 80 09 00 00 [06:56:30]Write to MH i2c: E2 08 00 7A 16 80 09 00 00 00 00 00 00 02 [06:56:30]Write i2c OK [06:56:30]MH_I2C_Read... [06:56:30]Read from MH i2c: E2 [06:56:30]MH_I2C_Read... [06:56:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:56:30]Read from MH i2c: E2 03 00 [06:56:30]MH_I2C_Read... [06:56:30]Read from MH i2c: E2 03 00 7A 16 00 90 00 04 [06:56:30]RAPDU: 90 00 [06:56:30]wFMCommunicate OK [06:56:30]SAM_PROTO_ClearQueue done [06:56:30]KKMCreateOFDPacket [06:56:30]OFDProtocolAddRootSTLVToBuf [06:56:30]FM_MakeSignedData [06:56:30]FM_MakeSignedData [06:56:30]SAM_PROTO_SignData [06:56:30]wFMCommunicate request_size=4 [06:56:30]MH_SAM_APDU [06:56:30]CAPDU: 80 0D 01 02 [06:56:30]Write to MH i2c: E2 08 00 7B 16 80 0D 01 02 00 00 00 00 0A [06:56:30]Write i2c OK [06:56:30]MH_I2C_Read... [06:56:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:56:30]Read from MH i2c: E2 [06:56:30]MH_I2C_Read... [06:56:30]Read from MH i2c: E2 03 00 [06:56:30]MH_I2C_Read... [06:56:30]Read from MH i2c: E2 03 00 7B 16 00 90 00 05 [06:56:30]RAPDU: 90 00 [06:56:30]wFMCommunicate OK [06:56:30]wFMCommunicate request_size=255 [06:56:30]MH_SAM_APDU [06:56:30]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF [06:56:30]Write to MH i2c: E2 02 01 7C 16 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 00 00 CF [06:56:30]Write i2c OK [06:56:30]MH_I2C_Read... [06:56:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:56:31]Read from MH i2c: E2 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 03 00 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 03 00 7C 16 00 90 00 06 [06:56:31]RAPDU: 90 00 [06:56:31]wFMCommunicate OK [06:56:31]wFMCommunicate request_size=155 [06:56:31]MH_SAM_APDU [06:56:31]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 21 81 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FE 85 00 00 35 04 06 00 4F 6A 98 B8 96 07 [06:56:31]Write to MH i2c: E2 9E 00 7D 16 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 21 81 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FE 85 00 00 35 04 06 00 4F 6A 98 B8 96 07 00 00 FD [06:56:31]Write i2c OK [06:56:31]MH_I2C_Read... [06:56:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:56:31]Read from MH i2c: E2 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 03 00 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 03 00 7D 16 00 90 00 07 [06:56:31]RAPDU: 90 00 [06:56:31]wFMCommunicate OK [06:56:31]wFMCommunicate request_size=4 [06:56:31]MH_SAM_APDU [06:56:31]CAPDU: 80 0D 03 02 [06:56:31]Write to MH i2c: E2 08 00 7E 16 80 0D 03 02 00 00 00 00 0F [06:56:31]Write i2c OK [06:56:31]MH_I2C_Read... [06:56:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:56:31]Read from MH i2c: E2 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 0B 00 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 0B 00 7E 16 00 36 2A 80 07 0D 91 B9 61 90 00 AF [06:56:31]RAPDU: 36 2A 80 07 0D 91 B9 61 90 00 [06:56:31]wFMCommunicate OK [06:56:31]SAM_PROTO_SignData done [06:56:31]FM_MakeSignedData done [06:56:31]CreateOFDProtocolMessage [06:56:31]wFMCommunicate request_size=4 [06:56:31]MH_SAM_APDU [06:56:31]CAPDU: 80 11 00 00 [06:56:31]Write to MH i2c: E2 08 00 7F 16 80 11 00 00 00 00 00 00 0F [06:56:31]Write i2c OK [06:56:31]MH_I2C_Read... [06:56:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:56:31]Read from MH i2c: E2 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 17 00 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: E2 17 00 7F 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 64 [06:56:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [06:56:31]wFMCommunicate OK [06:56:31]CreateOFDProtocolMessage done [06:56:31]OFDSenderStorePacket 34302 [06:56:31]StoreOFDPacket docnum=34302 [06:56:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A0 01 00 00 8A F2 98 01 1A B1 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 21 81 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FE 85 00 00 35 04 06 00 4F 6A 98 B8 96 07 36 2A 80 07 0D 91 B9 61 [06:56:31]CheckFolder [06:56:31]dirname=/storage/ofd_packets [06:56:31]CheckFolder done [06:56:31]ProducePacketName [06:56:31]name=ofd_packets/00034302 [06:56:31]NVStorageSaveData ofd_packets/00034302 [06:56:31]File name is /storage/ofd_packets/00034302 [06:56:31]Write 446 bytes [06:56:31]NVStorageSaveData done [06:56:31]OFDSenderStorePacket done [06:56:31]KKMCreateOFDPacket done [06:56:31]NVStorageSaveData kkm_last_timestamp [06:56:31]File name is /storage/kkm_last_timestamp [06:56:31]Write 4 bytes [06:56:31]NVStorageSaveData done [06:56:31]ExternCall_PrintAddStr [06:56:31]wPrintStart [06:56:31]Write to MH i2c: 01 00 00 80 16 96 [06:56:31]Write i2c OK [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: 01 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: 01 07 00 [06:56:31]MH_I2C_Read... [06:56:31]Read from MH i2c: 01 07 00 80 16 00 00 00 00 00 FF 0F AB [06:56:31]RasterBufferAndPrint [06:56:31]line Счет N : (3)184083 [06:56:31]line ИНН: 02508201610067 [06:56:31]line Контрольно-Кассовый Чек [06:56:31]line ПРОДАЖА [06:56:31]line Товар: 5449000054227 [06:56:31]line Напиток Кока-Кола 1л [06:56:31]line 1.000 * 113.00 [06:56:31]line = 113.00 [06:56:31]line НДС 12% НСП 1% [06:56:31]line > о реализуемом товаре [06:56:31]line Товар: 4700000481453 [06:56:31]line Напиток энерг Nitro Max 0,45 ж/б [06:56:31]line 1.000 * 85.00 [06:56:31]line = 85.00 [06:56:31]line НДС 12% НСП 1% [06:56:31]line > о реализуемом товаре [06:56:31]line ИТОГО: 198.00 [06:56:31]line НСП 1% : 1.75 [06:56:31]line НДС 12% : 21.03 [06:56:31]line Наличными: 198.00 [06:56:31]line Безнал.: 0.00 [06:56:31]line Место: АЗС № 120 "Партнер Нефть" [06:56:31]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [06:56:31]line СНО: Общий режим [06:56:31]line Чек 6 19.06.2024 06:56 [06:56:31]line Смена: 324 ФФД: 1.0 [06:56:31]line ЗНМ: 0300000172 [06:56:31]line РНМ: 0000000000092786 [06:56:31]line Версия ККМ: 001 [06:56:31]line ФМ: 0000000000875095 [06:56:31]line ФД: 34302 [06:56:31]line ФПД: 87319247361543 [06:56:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T065633&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34302&fm=87319247361543&tin=02508201610067®Number=0000000000092786&sum=19800 [06:56:31]line 0 [06:56:31]OFD Sender: Processing packet 34302 [packets to send 8, broken 7] [06:56:31]ProducePacketName [06:56:31]name=ofd_packets/00034302 [06:56:31]OFD Sender: To server: pG, [06:56:31]CommunicateWithHost lk.salyk.kg:30040 [06:56:31]ConnectInit lk.salyk.kg [06:56:31]written 0, free lines is 4095 [06:56:31]Connected sock=10 [06:56:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A0 01 00 00 8A F2 98 01 1A B1 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 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 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 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 21 81 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FE 85 00 00 35 04 06 00 4F 6A 98 B8 96 07 36 2A 80 07 0D 91 B9 61 [06:56:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 13 07 47 00 64 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FE 85 00 00 F4 03 04 00 EF 27 72 66 B6 04 01 00 00 BB 80 92 12 AA 4E 57 DF [06:56:32]CommunicateWithHost err = 0 [06:56:32]CheckOFDResponse [06:56:32]1017 (14) - 77093643461234 [06:56:32]1041 (16) - 0000000000875095 [06:56:32]1040 (4) - 34302 [06:56:32]1012 (4) - 19.06.2024 00:35 [06:56:32]1206 (1) - 0 [06:56:32]OFD Sender: Remove packet 34302 [06:56:32]ProducePacketName [06:56:32]name=ofd_packets/00034302 [06:56:32]NVStorageDeleteData [06:56:32]Write to MH i2c: 01 00 00 AF 16 C5 [06:56:32]Write i2c OK [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: 01 [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: 01 07 00 [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: 01 07 00 AF 16 00 00 00 00 00 87 0C 5F [06:56:32]RasterBufferAndPrint [06:56:32]line [06:56:32]line [06:56:32]line [06:56:32]line [06:56:32]line [06:56:32]written 0, free lines is 3214 [06:56:32]MH_Cut [06:56:32]Write to MH i2c: D1 01 00 B6 16 01 9E [06:56:32]Write i2c OK [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: D1 [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: D1 01 00 [06:56:32]MH_I2C_Read... [06:56:32]Read from MH i2c: D1 01 00 B6 16 00 9D [06:56:32]Write to MH i2c: 01 00 00 B7 16 CD [06:56:32]Write i2c OK [06:56:32]MH_I2C_Read... [06:56:32]OFD Sender: No OFD packet to send [06:56:33]*** Cut start [06:56:33]*** Partial cut [06:56:33]*** CUTSNS_PIN = 1 [06:56:33]*** CUTSNS_PIN = 0 [06:56:33]*** Brake cut motor [06:56:33]Read from MH i2c: 01 [06:56:33]MH_I2C_Read... [06:56:33]*** Stop cut motor [06:56:33]*** Cut end [06:56:33]Read from MH i2c: 01 07 00 [06:56:33]MH_I2C_Read... [06:56:33]Read from MH i2c: 01 07 00 B7 16 00 00 00 00 00 FF 0F E2 [06:56:33]process_action close_receipt done [06:56:33]requested_data is exist [06:56:33]produce_requested_data [06:56:33]requested_item fm.sn is exist - process it [06:56:33]wFMCommunicate request_size=4 [06:56:33]MH_SAM_APDU [06:56:33]CAPDU: 80 11 00 00 [06:56:33]Write to MH i2c: E2 08 00 B8 16 80 11 00 00 00 00 00 00 48 [06:56:33]Write i2c OK [06:56:33]MH_I2C_Read... [06:56:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:56:33]Read from MH i2c: E2 [06:56:33]MH_I2C_Read... [06:56:33]Read from MH i2c: E2 17 00 [06:56:33]MH_I2C_Read... [06:56:33]Read from MH i2c: E2 17 00 B8 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9D [06:56:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [06:56:33]wFMCommunicate OK [06:56:33]requested_item fd.num is exist - process it [06:56:33]SAM_PROTO_GetFieldsCounters [06:56:33]wFMCommunicate request_size=4 [06:56:33]MH_SAM_APDU [06:56:33]CAPDU: 80 13 00 00 [06:56:33]Write to MH i2c: E2 08 00 B9 16 80 13 00 00 00 00 00 00 4B [06:56:33]Write i2c OK [06:56:33]MH_I2C_Read... [06:56:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:56:33]Read from MH i2c: E2 [06:56:33]MH_I2C_Read... [06:56:33]Read from MH i2c: E2 62 00 [06:56:33]MH_I2C_Read... [06:56:33]Read from MH i2c: E2 62 00 B9 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FE 85 00 00 0E 04 04 00 44 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 4F [06:56:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FE 85 00 00 0E 04 04 00 44 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 [06:56:34]wFMCommunicate OK [06:56:34]SAM_PROTO_GetFieldsCounters done [06:56:34]requested_item shift.num is exist - process it [06:56:34]requested_item shift.opened is exist - process it [06:56:34]req_shift_opened [06:56:34]FM_GetShiftState [06:56:34]SAM_PROTO_GetShiftState [06:56:34]wFMCommunicate request_size=4 [06:56:34]MH_SAM_APDU [06:56:34]CAPDU: 80 13 01 00 [06:56:34]Write to MH i2c: E2 08 00 BA 16 80 13 01 00 00 00 00 00 4D [06:56:34]Write i2c OK [06:56:34]MH_I2C_Read... [06:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:56:34]Read from MH i2c: E2 [06:56:34]MH_I2C_Read... [06:56:34]Read from MH i2c: E2 0E 00 [06:56:34]MH_I2C_Read... [06:56:34]Read from MH i2c: E2 0E 00 BA 16 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 23 [06:56:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [06:56:34]wFMCommunicate OK [06:56:34]SAM_PROTO_GetShiftState done [06:56:34]FM_GetShiftState done [06:56:34]req_shift_opened done [06:56:34]requested_item shift.open_date is exist - process it [06:56:34]req_shift_open_date [06:56:34]req_shift_open_date done [06:56:34]produce_requested_data done [06:56:34]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34302,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [06:56:34]process_action_free close_receipt [06:56:34]json_value_free [06:56:34]json_value_free done [06:56:34]process_json_proto returns [06:56:34]Send response to host [06:56:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34302,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [06:56:34]free response buf [06:56:34]execute_script done [06:56:34]execute_script returns [06:56:34]free content buf [06:56:34]Sock 7.Close socket [06:56:34]Sock 7.Thread stoped [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]accept exits with 9 [07:18:13]New connection [07:18:13]New thread 3067424100 created [07:18:13]Thread 3067567460 joined [07:18:13]Waiting for new connection... [07:18:13] Sock 9.Parse request [07:18:13]Sock 9.Check first char [07:18:13]Sock 9.First char is OK [07:18:13]request: POST /json_proto HTTP/1.0 [07:18:13]Method: POST [07:18:13]URL: /json_proto [07:18:13]Method is POST - this is cgi request [07:18:13]url: /json_proto [07:18:13]query_string will be loaded in cgi processing [07:18:13]execute_cgi json_proto POST (null) [07:18:13]execute_cgi path=json_proto method=POST [07:18:13]POST find Content-Length [07:18:13]Host: 172.17.38.134:8080 [07:18:13]Content-Length: 614 [07:18:13]Content-Type: application/json [07:18:13] [07:18:13]POST finish read [07:18:13]Found Content-Length = 614 [07:18:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184084", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:13]execute_script... [07:18: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)184084", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:13]POST & json_proto [07:18:13]process_json_proto [07:18:13]json parsed OK: [07:18:13]protocol is kg_v1.0 [07:18:13]action value=close_receipt [07:18:13]process_action close_receipt [07:18:13]cmd_close_receipt [07:18:13]MH_GetDate [07:18:13]Write to MH i2c: F0 00 00 BB 16 C0 [07:18:13]Write i2c OK [07:18:13]MH_I2C_Read... [07:18:13]Read from MH i2c: F0 [07:18:13]MH_I2C_Read... [07:18:13]Read from MH i2c: F0 09 00 [07:18:13]MH_I2C_Read... [07:18:13]Read from MH i2c: F0 09 00 BB 16 00 39 86 72 66 13 9C 7C 64 EF [07:18:13]GetLastDocTimeStamp 1718780193 [07:18:13]current date 1718781497 [07:18:13]FM_GetShiftState [07:18:13]SAM_PROTO_GetShiftState [07:18:13]wFMCommunicate request_size=4 [07:18:13]MH_SAM_APDU [07:18:13]CAPDU: 80 13 01 00 [07:18:13]Write to MH i2c: E2 08 00 BC 16 80 13 01 00 00 00 00 00 4F [07:18:13]Write i2c OK [07:18:13]MH_I2C_Read... [07:18:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:13]Read from MH i2c: E2 [07:18:13]MH_I2C_Read... [07:18:13]Read from MH i2c: E2 0E 00 [07:18:13]MH_I2C_Read... [07:18:13]Read from MH i2c: E2 0E 00 BC 16 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 25 [07:18:13]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [07:18:13]wFMCommunicate OK [07:18:13]SAM_PROTO_GetShiftState done [07:18:13]FM_GetShiftState done [07:18:13]opened in 1718756813 [07:18:13]opened+sec_in_day 1718843213 [07:18:13]quantity*price = 21000 [07:18:13]sum+1 = 21001 [07:18:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 7 19.06.2024 07:18 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34303 ФПД: 48292547318339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T071817&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34303&fm=48292547318339&tin=02508201610067®Number=0000000000092786&sum=21000 0 [07:18:14]StoreToDocumentArchive [07:18:14]shift 324 fd 34303 [07:18:14]save to /storage/0324/doc_00034303 [07:18:14]save last doc name /storage/0324/doc_00034303 to /storage/kkm_last_doc_name [07:18:14]save OK [07:18:14]Clear old archive folders... [07:18:14]ProcessDocumentItem done err = 0, tmpTLVsize=266 [07:18:14]tlvbuf is 0194AFD0 [07:18:14]SAM_PROTO_ClearQueue [07:18:14]wFMCommunicate request_size=4 [07:18:14]MH_SAM_APDU [07:18:14]CAPDU: 80 09 00 00 [07:18:14]Write to MH i2c: E2 08 00 C9 16 80 09 00 00 00 00 00 00 51 [07:18:14]Write i2c OK [07:18:14]MH_I2C_Read... [07:18:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:18:14]Read from MH i2c: E2 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 C9 16 00 90 00 53 [07:18:14]RAPDU: 90 00 [07:18:14]wFMCommunicate OK [07:18:14]SAM_PROTO_ClearQueue done [07:18:14]KKMCreateOFDPacket [07:18:14]OFDProtocolAddRootSTLVToBuf [07:18:14]FM_MakeSignedData [07:18:14]FM_MakeSignedData [07:18:14]SAM_PROTO_SignData [07:18:14]wFMCommunicate request_size=4 [07:18:14]MH_SAM_APDU [07:18:14]CAPDU: 80 0D 01 02 [07:18:14]Write to MH i2c: E2 08 00 CA 16 80 0D 01 02 00 00 00 00 59 [07:18:14]Write i2c OK [07:18:14]MH_I2C_Read... [07:18:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:18:14]Read from MH i2c: E2 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 CA 16 00 90 00 54 [07:18:14]RAPDU: 90 00 [07:18:14]wFMCommunicate OK [07:18:14]wFMCommunicate request_size=255 [07:18:14]MH_SAM_APDU [07:18:14]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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 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 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 B6 08 00 00 00 00 07 04 06 00 08 52 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 39 86 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 [07:18:14]Write to MH i2c: E2 02 01 CB 16 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 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 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 B6 08 00 00 00 00 07 04 06 00 08 52 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 39 86 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 00 00 20 [07:18:14]Write i2c OK [07:18:14]MH_I2C_Read... [07:18:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:14]Read from MH i2c: E2 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 CB 16 00 90 00 55 [07:18:14]RAPDU: 90 00 [07:18:14]wFMCommunicate OK [07:18:14]wFMCommunicate request_size=25 [07:18:14]MH_SAM_APDU [07:18:14]CAPDU: 80 0D 02 02 14 39 35 10 04 04 00 FF 85 00 00 35 04 06 00 2B EB FC 20 D2 43 [07:18:14]Write to MH i2c: E2 1C 00 CC 16 80 0D 02 02 14 00 39 35 10 04 04 00 FF 85 00 00 35 04 06 00 2B EB FC 20 D2 43 00 00 14 [07:18:14]Write i2c OK [07:18:14]MH_I2C_Read... [07:18:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:14]Read from MH i2c: E2 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 [07:18:14]MH_I2C_Read... [07:18:14]Read from MH i2c: E2 03 00 CC 16 00 90 00 56 [07:18:14]RAPDU: 90 00 [07:18:14]wFMCommunicate OK [07:18:14]wFMCommunicate request_size=4 [07:18:14]MH_SAM_APDU [07:18:14]CAPDU: 80 0D 03 02 [07:18:14]Write to MH i2c: E2 08 00 CD 16 80 0D 03 02 00 00 00 00 5E [07:18:14]Write i2c OK [07:18:14]MH_I2C_Read... [07:18:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:18:15]Read from MH i2c: E2 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: E2 0B 00 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: E2 0B 00 CD 16 00 33 D1 E5 CE 18 23 CA 7A 90 00 95 [07:18:15]RAPDU: 33 D1 E5 CE 18 23 CA 7A 90 00 [07:18:15]wFMCommunicate OK [07:18:15]SAM_PROTO_SignData done [07:18:15]FM_MakeSignedData done [07:18:15]CreateOFDProtocolMessage [07:18:15]wFMCommunicate request_size=4 [07:18:15]MH_SAM_APDU [07:18:15]CAPDU: 80 11 00 00 [07:18:15]Write to MH i2c: E2 08 00 CE 16 80 11 00 00 00 00 00 00 5E [07:18:15]Write i2c OK [07:18:15]MH_I2C_Read... [07:18:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:15]Read from MH i2c: E2 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: E2 17 00 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: E2 17 00 CE 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B3 [07:18:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [07:18:15]wFMCommunicate OK [07:18:15]CreateOFDProtocolMessage done [07:18:15]OFDSenderStorePacket 34303 [07:18:15]StoreOFDPacket docnum=34303 [07:18:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 1F 5D 16 01 2A AF 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 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 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 B6 08 00 00 00 00 07 04 06 00 08 52 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 39 86 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FF 85 00 00 35 04 06 00 2B EB FC 20 D2 43 33 D1 E5 CE 18 23 CA 7A [07:18:15]CheckFolder [07:18:15]dirname=/storage/ofd_packets [07:18:15]CheckFolder done [07:18:15]ProducePacketName [07:18:15]name=ofd_packets/00034303 [07:18:15]NVStorageSaveData ofd_packets/00034303 [07:18:15]File name is /storage/ofd_packets/00034303 [07:18:15]Write 316 bytes [07:18:15]NVStorageSaveData done [07:18:15]OFDSenderStorePacket done [07:18:15]KKMCreateOFDPacket done [07:18:15]NVStorageSaveData kkm_last_timestamp [07:18:15]File name is /storage/kkm_last_timestamp [07:18:15]Write 4 bytes [07:18:15]NVStorageSaveData done [07:18:15]ExternCall_PrintAddStr [07:18:15]wPrintStart [07:18:15]Write to MH i2c: 01 00 00 CF 16 E5 [07:18:15]Write i2c OK [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 07 00 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 07 00 CF 16 00 00 00 00 00 FF 0F FA [07:18:15]RasterBufferAndPrint [07:18:15]line Счет N : (3)184084 [07:18:15]line ИНН: 02508201610067 [07:18:15]line Контрольно-Кассовый Чек [07:18:15]line ПРОДАЖА [07:18:15]line Товар: 4870001570095 [07:18:15]line Напиток Pepsi 2л [07:18:15]line 1.000 * 210.00 [07:18:15]line = 210.00 [07:18:15]line НДС 12% НСП 1% [07:18:15]line > о реализуемом товаре [07:18:15]line ИТОГО: 210.00 [07:18:15]line НСП 1% : 1.86 [07:18:15]line НДС 12% : 22.30 [07:18:15]line Наличными: 210.00 [07:18:15]line Безнал.: 0.00 [07:18:15]line Место: АЗС № 120 "Партнер Нефть" [07:18:15]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [07:18:15]line СНО: Общий режим [07:18:15]line Чек 7 19.06.2024 07:18 [07:18:15]line Смена: 324 ФФД: 1.0 [07:18:15]line ЗНМ: 0300000172 [07:18:15]line РНМ: 0000000000092786 [07:18:15]line Версия ККМ: 001 [07:18:15]line ФМ: 0000000000875095 [07:18:15]line ФД: 34303 [07:18:15]line ФПД: 48292547318339 [07:18:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T071817&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34303&fm=48292547318339&tin=02508201610067®Number=0000000000092786&sum=21000 [07:18:15]line 0 [07:18:15]OFD Sender: Processing packet 34303 [packets to send 8, broken 7] [07:18:15]ProducePacketName [07:18:15]name=ofd_packets/00034303 [07:18:15]OFD Sender: To server: pG, [07:18:15]CommunicateWithHost lk.salyk.kg:30040 [07:18:15]ConnectInit lk.salyk.kg [07:18:15]written 0, free lines is 4095 [07:18:15]Connected sock=7 [07:18:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 01 00 00 1F 5D 16 01 2A AF 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 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 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 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 B6 08 00 00 00 00 07 04 06 00 08 52 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 39 86 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FF 85 00 00 35 04 06 00 2B EB FC 20 D2 43 33 D1 E5 CE 18 23 CA 7A [07:18:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 0A 5A 47 00 12 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 FF 85 00 00 F4 03 04 00 07 2D 72 66 B6 04 01 00 00 B9 37 3B ED 6E B1 8B 85 [07:18:15]CommunicateWithHost err = 0 [07:18:15]CheckOFDResponse [07:18:15]1017 (14) - 77093643461234 [07:18:15]1041 (16) - 0000000000875095 [07:18:15]1040 (4) - 34303 [07:18:15]1012 (4) - 19.06.2024 00:57 [07:18:15]1206 (1) - 0 [07:18:15]OFD Sender: Remove packet 34303 [07:18:15]ProducePacketName [07:18:15]name=ofd_packets/00034303 [07:18:15]NVStorageDeleteData [07:18:15]Write to MH i2c: 01 00 00 F7 16 0D [07:18:15]Write i2c OK [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 07 00 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: 01 07 00 F7 16 00 00 00 00 00 FA 0C 1A [07:18:15]RasterBufferAndPrint [07:18:15]line [07:18:15]line [07:18:15]line [07:18:15]line [07:18:15]line [07:18:15]written 0, free lines is 3328 [07:18:15]MH_Cut [07:18:15]Write to MH i2c: D1 01 00 FE 16 01 E6 [07:18:15]Write i2c OK [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: D1 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: D1 01 00 [07:18:15]MH_I2C_Read... [07:18:15]Read from MH i2c: D1 01 00 FE 16 00 E5 [07:18:15]Write to MH i2c: 01 00 00 FF 16 15 [07:18:15]Write i2c OK [07:18:15]MH_I2C_Read... [07:18:16]OFD Sender: No OFD packet to send [07:18:16]*** Cut start [07:18:16]*** Partial cut [07:18:16]*** CUTSNS_PIN = 1 [07:18:16]*** CUTSNS_PIN = 0 [07:18:16]*** Brake cut motor [07:18:17]Read from MH i2c: 01 [07:18:17]MH_I2C_Read... [07:18:17]*** Stop cut motor [07:18:17]*** Cut end [07:18:17]Read from MH i2c: 01 07 00 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: 01 07 00 FF 16 00 00 00 00 00 FF 0F 2A [07:18:17]process_action close_receipt done [07:18:17]requested_data is exist [07:18:17]produce_requested_data [07:18:17]requested_item fm.sn is exist - process it [07:18:17]wFMCommunicate request_size=4 [07:18:17]MH_SAM_APDU [07:18:17]CAPDU: 80 11 00 00 [07:18:17]Write to MH i2c: E2 08 00 00 17 80 11 00 00 00 00 00 00 91 [07:18:17]Write i2c OK [07:18:17]MH_I2C_Read... [07:18:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:17]Read from MH i2c: E2 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 17 00 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 17 00 00 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E6 [07:18:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [07:18:17]wFMCommunicate OK [07:18:17]requested_item fd.num is exist - process it [07:18:17]SAM_PROTO_GetFieldsCounters [07:18:17]wFMCommunicate request_size=4 [07:18:17]MH_SAM_APDU [07:18:17]CAPDU: 80 13 00 00 [07:18:17]Write to MH i2c: E2 08 00 01 17 80 13 00 00 00 00 00 00 94 [07:18:17]Write i2c OK [07:18:17]MH_I2C_Read... [07:18:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:18:17]Read from MH i2c: E2 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 62 00 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 62 00 01 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FF 85 00 00 0E 04 04 00 44 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 9C [07:18:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 FF 85 00 00 0E 04 04 00 44 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 [07:18:17]wFMCommunicate OK [07:18:17]SAM_PROTO_GetFieldsCounters done [07:18:17]requested_item shift.num is exist - process it [07:18:17]requested_item shift.opened is exist - process it [07:18:17]req_shift_opened [07:18:17]FM_GetShiftState [07:18:17]SAM_PROTO_GetShiftState [07:18:17]wFMCommunicate request_size=4 [07:18:17]MH_SAM_APDU [07:18:17]CAPDU: 80 13 01 00 [07:18:17]Write to MH i2c: E2 08 00 02 17 80 13 01 00 00 00 00 00 96 [07:18:17]Write i2c OK [07:18:17]MH_I2C_Read... [07:18:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:17]Read from MH i2c: E2 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 0E 00 [07:18:17]MH_I2C_Read... [07:18:17]Read from MH i2c: E2 0E 00 02 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6C [07:18:17]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [07:18:17]wFMCommunicate OK [07:18:17]SAM_PROTO_GetShiftState done [07:18:17]FM_GetShiftState done [07:18:17]req_shift_opened done [07:18:17]requested_item shift.open_date is exist - process it [07:18:17]req_shift_open_date [07:18:17]req_shift_open_date done [07:18:17]produce_requested_data done [07:18:17]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34303,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [07:18:17]process_action_free close_receipt [07:18:17]json_value_free [07:18:17]json_value_free done [07:18:17]process_json_proto returns [07:18:17]Send response to host [07:18:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34303,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [07:18:17]free response buf [07:18:17]execute_script done [07:18:17]execute_script returns [07:18:17]free content buf [07:18:17]Sock 9.Close socket [07:18:17]Sock 9.Thread stoped [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29: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:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [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:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:24]accept exits with 10 [08:23:24]New connection [08:23:24]New thread 3067567460 created [08:23:24]Thread 3067424100 joined [08:23:24]Waiting for new connection... [08:23:24] Sock 10.Parse request [08:23:24]Sock 10.Check first char [08:23:24]Sock 10.First char is OK [08:23:24]request: POST /json_proto HTTP/1.0 [08:23:24]Method: POST [08:23:24]URL: /json_proto [08:23:24]Method is POST - this is cgi request [08:23:24]url: /json_proto [08:23:24]query_string will be loaded in cgi processing [08:23:24]execute_cgi json_proto POST (null) [08:23:24]execute_cgi path=json_proto method=POST [08:23:24]POST find Content-Length [08:23:24]Host: 172.17.38.134:8080 [08:23:24]Content-Length: 1371 [08:23:24]Content-Type: application/json [08:23:24] [08:23:24]POST finish read [08:23:24]Found Content-Length = 1371 [08:23:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184085", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:23:24]execute_script... [08:23: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)184085", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:23:24]POST & json_proto [08:23:24]process_json_proto [08:23:24]json parsed OK: [08:23:24]protocol is kg_v1.0 [08:23:24]action value=close_receipt [08:23:24]process_action close_receipt [08:23:24]cmd_close_receipt [08:23:24]MH_GetDate [08:23:24]Write to MH i2c: F0 00 00 03 17 09 [08:23:24]Write i2c OK [08:23:24]MH_I2C_Read... [08:23:24]Read from MH i2c: F0 [08:23:24]MH_I2C_Read... [08:23:24]Read from MH i2c: F0 09 00 [08:23:24]MH_I2C_Read... [08:23:24]Read from MH i2c: F0 09 00 03 17 00 81 95 72 66 13 9C 7C 64 8F [08:23:24]GetLastDocTimeStamp 1718781497 [08:23:24]current date 1718785409 [08:23:24]FM_GetShiftState [08:23:24]SAM_PROTO_GetShiftState [08:23:24]wFMCommunicate request_size=4 [08:23:24]MH_SAM_APDU [08:23:24]CAPDU: 80 13 01 00 [08:23:24]Write to MH i2c: E2 08 00 04 17 80 13 01 00 00 00 00 00 98 [08:23:24]Write i2c OK [08:23:24]MH_I2C_Read... [08:23:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:23:24]Read from MH i2c: E2 [08:23:24]MH_I2C_Read... [08:23:24]Read from MH i2c: E2 0E 00 [08:23:24]MH_I2C_Read... [08:23:24]Read from MH i2c: E2 0E 00 04 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6E [08:23:24]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [08:23:24]wFMCommunicate OK [08:23:24]SAM_PROTO_GetShiftState done [08:23:24]FM_GetShiftState done [08:23:24]opened in 1718756813 [08:23:24]opened+sec_in_day 1718843213 [08:23:24]quantity*price = 11500 [08:23:24]sum+1 = 11501 [08:23:25]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600452021101 Горький шоколад OZera Bitter 90г 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004862 Печ.сах.FORSITE Сэнд.шок-ор.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 343.00 НСП 1% : 3.03 НДС 12% : 36.43 Наличными: 0.00 Безнал.: 343.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 8 19.06.2024 08:23 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34304 ФПД: 18853326993977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T082329&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34304&fm=18853326993977&tin=02508201610067®Number=0000000000092786&sum=34300 0 [08:23:25]StoreToDocumentArchive [08:23:25]shift 324 fd 34304 [08:23:25]save to /storage/0324/doc_00034304 [08:23:25]save last doc name /storage/0324/doc_00034304 to /storage/kkm_last_doc_name [08:23:25]save OK [08:23:25]Clear old archive folders... [08:23:25]ProcessDocumentItem done err = 0, tmpTLVsize=512 [08:23:25]tlvbuf is 018F8BF0 [08:23:25]SAM_PROTO_ClearQueue [08:23:25]wFMCommunicate request_size=4 [08:23:25]MH_SAM_APDU [08:23:25]CAPDU: 80 09 00 00 [08:23:25]Write to MH i2c: E2 08 00 11 17 80 09 00 00 00 00 00 00 9A [08:23:25]Write i2c OK [08:23:25]MH_I2C_Read... [08:23:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:23:25]Read from MH i2c: E2 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: E2 03 00 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: E2 03 00 11 17 00 90 00 9C [08:23:25]RAPDU: 90 00 [08:23:25]wFMCommunicate OK [08:23:25]SAM_PROTO_ClearQueue done [08:23:25]KKMCreateOFDPacket [08:23:25]OFDProtocolAddRootSTLVToBuf [08:23:25]FM_MakeSignedData [08:23:25]FM_MakeSignedData [08:23:25]SAM_PROTO_SignData [08:23:25]wFMCommunicate request_size=4 [08:23:25]MH_SAM_APDU [08:23:25]CAPDU: 80 0D 01 02 [08:23:25]Write to MH i2c: E2 08 00 12 17 80 0D 01 02 00 00 00 00 A2 [08:23:25]Write i2c OK [08:23:25]MH_I2C_Read... [08:23:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:23:25]Read from MH i2c: E2 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: E2 03 00 [08:23:25]MH_I2C_Read... [08:23:25]Read from MH i2c: E2 03 00 12 17 00 90 00 9D [08:23:25]RAPDU: 90 00 [08:23:25]wFMCommunicate OK [08:23:25]wFMCommunicate request_size=255 [08:23:25]MH_SAM_APDU [08:23:25]CAPDU: 80 0D 02 02 FA 03 00 00 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 [08:23:26]Write to MH i2c: E2 02 01 13 17 80 0D 02 02 FA 00 03 00 00 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 00 00 75 [08:23:26]Write i2c OK [08:23:26]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 13 17 00 90 00 9E [08:23:26]RAPDU: 90 00 [08:23:26]wFMCommunicate OK [08:23:26]wFMCommunicate request_size=255 [08:23:26]MH_SAM_APDU [08:23:26]CAPDU: 80 0D 02 02 FA 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 81 95 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 [08:23:26]Write to MH i2c: E2 02 01 14 17 80 0D 02 02 FA 00 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 81 95 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 00 00 FC [08:23:26]Write i2c OK [08:23:26]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 14 17 00 90 00 9F [08:23:26]RAPDU: 90 00 [08:23:26]wFMCommunicate OK [08:23:26]wFMCommunicate request_size=21 [08:23:26]MH_SAM_APDU [08:23:26]CAPDU: 80 0D 02 02 10 04 00 00 86 00 00 35 04 06 00 11 25 A1 DB BA 39 [08:23:26]Write to MH i2c: E2 18 00 15 17 80 0D 02 02 10 00 04 00 00 86 00 00 35 04 06 00 11 25 A1 DB BA 39 00 00 34 [08:23:26]Write i2c OK [08:23:26]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 03 00 15 17 00 90 00 A0 [08:23:26]RAPDU: 90 00 [08:23:26]wFMCommunicate OK [08:23:26]wFMCommunicate request_size=4 [08:23:26]MH_SAM_APDU [08:23:26]CAPDU: 80 0D 03 02 [08:23:26]Write to MH i2c: E2 08 00 16 17 80 0D 03 02 00 00 00 00 A8 [08:23:26]Write i2c OK [08:23:26]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 0B 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 0B 00 16 17 00 8D 57 76 3D 97 89 80 60 90 00 40 [08:23:26]RAPDU: 8D 57 76 3D 97 89 80 60 90 00 [08:23:26]wFMCommunicate OK [08:23:26]SAM_PROTO_SignData done [08:23:26]FM_MakeSignedData done [08:23:26]CreateOFDProtocolMessage [08:23:26]wFMCommunicate request_size=4 [08:23:26]MH_SAM_APDU [08:23:26]CAPDU: 80 11 00 00 [08:23:26]Write to MH i2c: E2 08 00 17 17 80 11 00 00 00 00 00 00 A8 [08:23:26]Write i2c OK [08:23:26]MH_I2C_Read... [08:23:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:23:26]Read from MH i2c: E2 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 17 00 [08:23:26]MH_I2C_Read... [08:23:26]Read from MH i2c: E2 17 00 17 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FD [08:23:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:23:26]wFMCommunicate OK [08:23:26]CreateOFDProtocolMessage done [08:23:26]OFDSenderStorePacket 34304 [08:23:26]StoreOFDPacket docnum=34304 [08:23:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 14 02 00 00 FA 50 0C 02 D2 9D 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 81 95 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 86 00 00 35 04 06 00 11 25 A1 DB BA 39 8D 57 76 3D 97 89 80 60 [08:23:26]CheckFolder [08:23:26]dirname=/storage/ofd_packets [08:23:26]CheckFolder done [08:23:26]ProducePacketName [08:23:26]name=ofd_packets/00034304 [08:23:26]NVStorageSaveData ofd_packets/00034304 [08:23:26]File name is /storage/ofd_packets/00034304 [08:23:26]Write 562 bytes [08:23:26]NVStorageSaveData done [08:23:26]OFDSenderStorePacket done [08:23:26]KKMCreateOFDPacket done [08:23:26]NVStorageSaveData kkm_last_timestamp [08:23:26]File name is /storage/kkm_last_timestamp [08:23:26]Write 4 bytes [08:23:26]NVStorageSaveData done [08:23:26]ExternCall_PrintAddStr [08:23:26]wPrintStart [08:23:26]Write to MH i2c: 01 00 00 18 17 2F [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 18 17 00 00 00 00 00 FF 0F 44 [08:23:27]RasterBufferAndPrint [08:23:27]line Счет N : (3)184085 [08:23:27]line ИНН: 02508201610067 [08:23:27]line Контрольно-Кассовый Чек [08:23:27]line ПРОДАЖА [08:23:27]line Товар: 2000036240010 [08:23:27]line Кофе Латте (GABB TRADE) [08:23:27]line 1.000 * 115.00 [08:23:27]line = 115.00 [08:23:27]line НДС 12% НСП 1% [08:23:27]line > о реализуемом товаре [08:23:27]line Товар: 4600452021101 [08:23:27]line Горький шоколад OZera Bitter 90г [08:23:27]line 1.000 * 135.00 [08:23:27]line = 135.00 [08:23:27]line НДС 12% НСП 1% [08:23:27]line > о реализуемом товаре [08:23:27]line Товар: 4603290004862 [08:23:27]line Печ.сах.FORSITE Сэнд.шок-ор.вк [08:23:27]line 1.000 * 93.00 [08:23:27]line = 93.00 [08:23:27]line НДС 12% НСП 1% [08:23:27]line > о реализуемом товаре [08:23:27]line ИТОГО: 343.00 [08:23:27]line НСП 1% : 3.03 [08:23:27]line НДС 12% : 36.43 [08:23:27]line Наличными: 0.00 [08:23:27]line Безнал.: 343.00 [08:23:27]line Место: АЗС № 120 "Партнер Нефть" [08:23:27]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [08:23:27]line СНО: Общий режим [08:23:27]line Чек 8 19.06.2024 08:23 [08:23:27]line Смена: 324 ФФД: 1.0 [08:23:27]line ЗНМ: 0300000172 [08:23:27]line РНМ: 0000000000092786 [08:23:27]line Версия ККМ: 001 [08:23:27]line Платежная система: Бакай Банк [08:23:27]line ФМ: 0000000000875095 [08:23:27]line ФД: 34304 [08:23:27]line ФПД: 18853326993977 [08:23:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T082329&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34304&fm=18853326993977&tin=02508201610067®Number=0000000000092786&sum=34300 [08:23:27]line 0 [08:23:27]OFD Sender: Processing packet 34304 [packets to send 8, broken 7] [08:23:27]ProducePacketName [08:23:27]name=ofd_packets/00034304 [08:23:27]OFD Sender: To server: pG, [08:23:27]CommunicateWithHost lk.salyk.kg:30040 [08:23:27]ConnectInit lk.salyk.kg [08:23:27]written 0, free lines is 4095 [08:23:27]Connected sock=9 [08:23:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 14 02 00 00 FA 50 0C 02 D2 9D 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 81 95 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 86 00 00 35 04 06 00 11 25 A1 DB BA 39 8D 57 76 3D 97 89 80 60 [08:23:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 0E B0 47 00 F3 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 86 00 00 F4 03 04 00 4F 3C 72 66 B6 04 01 00 00 45 7B E4 FB 34 8B 13 47 [08:23:27]CommunicateWithHost err = 0 [08:23:27]CheckOFDResponse [08:23:27]1017 (14) - 77093643461234 [08:23:27]1041 (16) - 0000000000875095 [08:23:27]1040 (4) - 34304 [08:23:27]1012 (4) - 19.06.2024 02:02 [08:23:27]1206 (1) - 0 [08:23:27]OFD Sender: Remove packet 34304 [08:23:27]ProducePacketName [08:23:27]name=ofd_packets/00034304 [08:23:27]NVStorageDeleteData [08:23:27]Write to MH i2c: 01 00 00 50 17 67 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: 01 07 00 50 17 00 00 00 00 00 EC 0B 65 [08:23:27]RasterBufferAndPrint [08:23:27]line [08:23:27]line [08:23:27]line [08:23:27]line [08:23:27]line [08:23:27]written 0, free lines is 3058 [08:23:27]MH_Cut [08:23:27]Write to MH i2c: D1 01 00 57 17 01 40 [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: D1 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: D1 01 00 [08:23:27]MH_I2C_Read... [08:23:27]Read from MH i2c: D1 01 00 57 17 00 3F [08:23:27]Write to MH i2c: 01 00 00 58 17 6F [08:23:27]Write i2c OK [08:23:27]MH_I2C_Read... [08:23:28]OFD Sender: No OFD packet to send [08:23:28]*** Cut start [08:23:28]*** Partial cut [08:23:28]*** CUTSNS_PIN = 1 [08:23:28]*** CUTSNS_PIN = 0 [08:23:29]*** Brake cut motor [08:23:29]Read from MH i2c: 01 [08:23:29]MH_I2C_Read... [08:23:29]*** Stop cut motor [08:23:29]*** Cut end [08:23:29]Read from MH i2c: 01 07 00 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: 01 07 00 58 17 00 00 00 00 00 FF 0F 84 [08:23:29]process_action close_receipt done [08:23:29]requested_data is exist [08:23:29]produce_requested_data [08:23:29]requested_item fm.sn is exist - process it [08:23:29]wFMCommunicate request_size=4 [08:23:29]MH_SAM_APDU [08:23:29]CAPDU: 80 11 00 00 [08:23:29]Write to MH i2c: E2 08 00 59 17 80 11 00 00 00 00 00 00 EA [08:23:29]Write i2c OK [08:23:29]MH_I2C_Read... [08:23:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:23:29]Read from MH i2c: E2 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 17 00 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 17 00 59 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3F [08:23:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:23:29]wFMCommunicate OK [08:23:29]requested_item fd.num is exist - process it [08:23:29]SAM_PROTO_GetFieldsCounters [08:23:29]wFMCommunicate request_size=4 [08:23:29]MH_SAM_APDU [08:23:29]CAPDU: 80 13 00 00 [08:23:29]Write to MH i2c: E2 08 00 5A 17 80 13 00 00 00 00 00 00 ED [08:23:29]Write i2c OK [08:23:29]MH_I2C_Read... [08:23:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:23:29]Read from MH i2c: E2 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 62 00 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 62 00 5A 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 00 86 00 00 0E 04 04 00 44 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 FA [08:23:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 00 86 00 00 0E 04 04 00 44 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:23:29]wFMCommunicate OK [08:23:29]SAM_PROTO_GetFieldsCounters done [08:23:29]requested_item shift.num is exist - process it [08:23:29]requested_item shift.opened is exist - process it [08:23:29]req_shift_opened [08:23:29]FM_GetShiftState [08:23:29]SAM_PROTO_GetShiftState [08:23:29]wFMCommunicate request_size=4 [08:23:29]MH_SAM_APDU [08:23:29]CAPDU: 80 13 01 00 [08:23:29]Write to MH i2c: E2 08 00 5B 17 80 13 01 00 00 00 00 00 EF [08:23:29]Write i2c OK [08:23:29]MH_I2C_Read... [08:23:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:23:29]Read from MH i2c: E2 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 0E 00 [08:23:29]MH_I2C_Read... [08:23:29]Read from MH i2c: E2 0E 00 5B 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 C5 [08:23:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [08:23:29]wFMCommunicate OK [08:23:29]SAM_PROTO_GetShiftState done [08:23:29]FM_GetShiftState done [08:23:29]req_shift_opened done [08:23:29]requested_item shift.open_date is exist - process it [08:23:29]req_shift_open_date [08:23:29]req_shift_open_date done [08:23:29]produce_requested_data done [08:23:29]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34304,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [08:23:29]process_action_free close_receipt [08:23:29]json_value_free [08:23:29]json_value_free done [08:23:29]process_json_proto returns [08:23:29]Send response to host [08:23:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34304,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [08:23:29]free response buf [08:23:29]execute_script done [08:23:29]execute_script returns [08:23:29]free content buf [08:23:29]Sock 10.Close socket [08:23:29]Sock 10.Thread stoped [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:30]accept exits with 7 [08:39:30]New connection [08:39:30]New thread 3067424100 created [08:39:30]Thread 3067567460 joined [08:39:30]Waiting for new connection... [08:39:30] Sock 7.Parse request [08:39:30]Sock 7.Check first char [08:39:30]Sock 7.First char is OK [08:39:30]request: POST /json_proto HTTP/1.0 [08:39:30]Method: POST [08:39:30]URL: /json_proto [08:39:30]Method is POST - this is cgi request [08:39:30]url: /json_proto [08:39:30]query_string will be loaded in cgi processing [08:39:30]execute_cgi json_proto POST (null) [08:39:30]execute_cgi path=json_proto method=POST [08:39:30]POST find Content-Length [08:39:30]Host: 172.17.38.134:8080 [08:39:30]Content-Length: 874 [08:39:30]Content-Type: application/json [08:39:30] [08:39:30]POST finish read [08:39:30]Found Content-Length = 874 [08:39:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184086", "tax_sys" : 0, "items" : [ { "code": "4606453849072", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" ] } } [08:39:30]execute_script... [08:39: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)184086", "tax_sys" : 0, "items" : [ { "code": "4606453849072", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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" ] } } [08:39:30]POST & json_proto [08:39:30]process_json_proto [08:39:30]json parsed OK: [08:39:30]protocol is kg_v1.0 [08:39:30]action value=close_receipt [08:39:30]process_action close_receipt [08:39:30]cmd_close_receipt [08:39:30]MH_GetDate [08:39:30]Write to MH i2c: F0 00 00 5C 17 62 [08:39:30]Write i2c OK [08:39:30]MH_I2C_Read... [08:39:30]Read from MH i2c: F0 [08:39:30]MH_I2C_Read... [08:39:30]Read from MH i2c: F0 09 00 [08:39:30]MH_I2C_Read... [08:39:30]Read from MH i2c: F0 09 00 5C 17 00 46 99 72 66 13 9C 7C 64 B1 [08:39:30]GetLastDocTimeStamp 1718785409 [08:39:30]current date 1718786374 [08:39:30]FM_GetShiftState [08:39:30]SAM_PROTO_GetShiftState [08:39:30]wFMCommunicate request_size=4 [08:39:30]MH_SAM_APDU [08:39:30]CAPDU: 80 13 01 00 [08:39:30]Write to MH i2c: E2 08 00 5D 17 80 13 01 00 00 00 00 00 F1 [08:39:30]Write i2c OK [08:39:30]MH_I2C_Read... [08:39:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:30]Read from MH i2c: E2 [08:39:30]MH_I2C_Read... [08:39:30]Read from MH i2c: E2 0E 00 [08:39:30]MH_I2C_Read... [08:39:30]Read from MH i2c: E2 0E 00 5D 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 C7 [08:39:30]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [08:39:30]wFMCommunicate OK [08:39:30]SAM_PROTO_GetShiftState done [08:39:30]FM_GetShiftState done [08:39:30]opened in 1718756813 [08:39:30]opened+sec_in_day 1718843213 [08:39:30]quantity*price = 17000 [08:39:30]sum+1 = 17001 [08:39:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741156 Сигареты LD Blue 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.85 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 9 19.06.2024 08:39 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34305 ФПД: 68801069059724 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T083934&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34305&fm=68801069059724&tin=02508201610067®Number=0000000000092786&sum=30000 0 [08:39:31]StoreToDocumentArchive [08:39:31]shift 324 fd 34305 [08:39:31]save to /storage/0324/doc_00034305 [08:39:31]save last doc name /storage/0324/doc_00034305 to /storage/kkm_last_doc_name [08:39:31]save OK [08:39:31]Clear old archive folders... [08:39:31]ProcessDocumentItem done err = 0, tmpTLVsize=368 [08:39:31]tlvbuf is 01958D30 [08:39:31]SAM_PROTO_ClearQueue [08:39:31]wFMCommunicate request_size=4 [08:39:31]MH_SAM_APDU [08:39:31]CAPDU: 80 09 00 00 [08:39:31]Write to MH i2c: E2 08 00 6A 17 80 09 00 00 00 00 00 00 F3 [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:39:31]Read from MH i2c: E2 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 6A 17 00 90 00 F5 [08:39:31]RAPDU: 90 00 [08:39:31]wFMCommunicate OK [08:39:31]SAM_PROTO_ClearQueue done [08:39:31]KKMCreateOFDPacket [08:39:31]OFDProtocolAddRootSTLVToBuf [08:39:31]FM_MakeSignedData [08:39:31]FM_MakeSignedData [08:39:31]SAM_PROTO_SignData [08:39:31]wFMCommunicate request_size=4 [08:39:31]MH_SAM_APDU [08:39:31]CAPDU: 80 0D 01 02 [08:39:31]Write to MH i2c: E2 08 00 6B 17 80 0D 01 02 00 00 00 00 FB [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:39:31]Read from MH i2c: E2 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 6B 17 00 90 00 F6 [08:39:31]RAPDU: 90 00 [08:39:31]wFMCommunicate OK [08:39:31]wFMCommunicate request_size=255 [08:39:31]MH_SAM_APDU [08:39:31]CAPDU: 80 0D 02 02 FA 03 00 70 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 36 34 35 33 38 34 39 30 37 32 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 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 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [08:39:31]Write to MH i2c: E2 02 01 6C 17 80 0D 02 02 FA 00 03 00 70 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 36 34 35 33 38 34 39 30 37 32 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 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 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 99 [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:31]Read from MH i2c: E2 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 [08:39:31]MH_I2C_Read... [08:39:31]Read from MH i2c: E2 03 00 6C 17 00 90 00 F7 [08:39:31]RAPDU: 90 00 [08:39:31]wFMCommunicate OK [08:39:31]wFMCommunicate request_size=127 [08:39:31]MH_SAM_APDU [08:39:31]CAPDU: 80 0D 02 02 7A 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 46 99 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 01 86 00 00 35 04 06 00 3E 92 FF 48 0E 8C [08:39:31]Write to MH i2c: E2 82 00 6D 17 80 0D 02 02 7A 00 03 06 00 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 46 99 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 01 86 00 00 35 04 06 00 3E 92 FF 48 0E 8C 00 00 9D [08:39:31]Write i2c OK [08:39:31]MH_I2C_Read... [08:39:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:32]Read from MH i2c: E2 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 03 00 6D 17 00 90 00 F8 [08:39:32]RAPDU: 90 00 [08:39:32]wFMCommunicate OK [08:39:32]wFMCommunicate request_size=4 [08:39:32]MH_SAM_APDU [08:39:32]CAPDU: 80 0D 03 02 [08:39:32]Write to MH i2c: E2 08 00 6E 17 80 0D 03 02 00 00 00 00 00 [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:39:32]Read from MH i2c: E2 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 0B 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 0B 00 6E 17 00 90 E4 C3 AC 9E 18 55 F2 90 00 E1 [08:39:32]RAPDU: 90 E4 C3 AC 9E 18 55 F2 90 00 [08:39:32]wFMCommunicate OK [08:39:32]SAM_PROTO_SignData done [08:39:32]FM_MakeSignedData done [08:39:32]CreateOFDProtocolMessage [08:39:32]wFMCommunicate request_size=4 [08:39:32]MH_SAM_APDU [08:39:32]CAPDU: 80 11 00 00 [08:39:32]Write to MH i2c: E2 08 00 6F 17 80 11 00 00 00 00 00 00 00 [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:32]Read from MH i2c: E2 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 17 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: E2 17 00 6F 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 55 [08:39:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:39:32]wFMCommunicate OK [08:39:32]CreateOFDProtocolMessage done [08:39:32]OFDSenderStorePacket 34305 [08:39:32]StoreOFDPacket docnum=34305 [08:39:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 84 01 00 00 14 69 7C 01 AE 74 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 36 34 35 33 38 34 39 30 37 32 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 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 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 46 99 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 01 86 00 00 35 04 06 00 3E 92 FF 48 0E 8C 90 E4 C3 AC 9E 18 55 F2 [08:39:32]CheckFolder [08:39:32]dirname=/storage/ofd_packets [08:39:32]CheckFolder done [08:39:32]ProducePacketName [08:39:32]name=ofd_packets/00034305 [08:39:32]NVStorageSaveData ofd_packets/00034305 [08:39:32]File name is /storage/ofd_packets/00034305 [08:39:32]Write 418 bytes [08:39:32]NVStorageSaveData done [08:39:32]OFDSenderStorePacket done [08:39:32]KKMCreateOFDPacket done [08:39:32]NVStorageSaveData kkm_last_timestamp [08:39:32]File name is /storage/kkm_last_timestamp [08:39:32]Write 4 bytes [08:39:32]NVStorageSaveData done [08:39:32]ExternCall_PrintAddStr [08:39:32]wPrintStart [08:39:32]Write to MH i2c: 01 00 00 70 17 87 [08:39:32]Write i2c OK [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: 01 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: 01 07 00 [08:39:32]MH_I2C_Read... [08:39:32]Read from MH i2c: 01 07 00 70 17 00 00 00 00 00 FF 0F 9C [08:39:32]RasterBufferAndPrint [08:39:32]line Счет N : (3)184086 [08:39:32]line ИНН: 02508201610067 [08:39:32]line Контрольно-Кассовый Чек [08:39:32]line ПРОДАЖА [08:39:32]line Товар: 4606453849072 [08:39:32]line Жид/ст ПН летняя 4,5л [08:39:32]line 1.000 * 170.00 [08:39:32]line = 170.00 [08:39:32]line НДС 12% НСП 1% [08:39:32]line > о реализуемом товаре [08:39:32]line Товар: 48741156 [08:39:32]line Сигареты LD Blue [08:39:32]line 1.000 * 130.00 [08:39:32]line = 130.00 [08:39:32]line НДС 12% НСП 1% [08:39:32]line > о реализуемом товаре [08:39:32]line ИТОГО: 300.00 [08:39:32]line НСП 1% : 2.65 [08:39:32]line НДС 12% : 31.85 [08:39:32]line Наличными: 300.00 [08:39:32]line Безнал.: 0.00 [08:39:32]line Место: АЗС № 120 "Партнер Нефть" [08:39:32]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [08:39:32]line СНО: Общий режим [08:39:32]line Чек 9 19.06.2024 08:39 [08:39:32]line Смена: 324 ФФД: 1.0 [08:39:32]line ЗНМ: 0300000172 [08:39:32]line РНМ: 0000000000092786 [08:39:32]line Версия ККМ: 001 [08:39:32]line ФМ: 0000000000875095 [08:39:32]line ФД: 34305 [08:39:32]line ФПД: 68801069059724 [08:39:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T083934&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34305&fm=68801069059724&tin=02508201610067®Number=0000000000092786&sum=30000 [08:39:32]OFD Sender: Processing packet 34305 [packets to send 8, broken 7] [08:39:32]ProducePacketName [08:39:32]name=ofd_packets/00034305 [08:39:32]OFD Sender: To server: pG, [08:39:32]CommunicateWithHost lk.salyk.kg:30040 [08:39:32]ConnectInit lk.salyk.kg [08:39:32]line 0 [08:39:32]written 0, free lines is 4095 [08:39:32]Connected sock=10 [08:39:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 84 01 00 00 14 69 7C 01 AE 74 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 36 34 35 33 38 34 39 30 37 32 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 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 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 71 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 46 99 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 01 86 00 00 35 04 06 00 3E 92 FF 48 0E 8C 90 E4 C3 AC 9E 18 55 F2 [08:39:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 5A FF 47 00 A6 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 01 86 00 00 F4 03 04 00 14 40 72 66 B6 04 01 00 00 69 2A 60 63 5C 2F 19 3A [08:39:32]CommunicateWithHost err = 0 [08:39:32]CheckOFDResponse [08:39:32]1017 (14) - 77093643461234 [08:39:32]1041 (16) - 0000000000875095 [08:39:32]1040 (4) - 34305 [08:39:32]1012 (4) - 19.06.2024 02:19 [08:39:32]1206 (1) - 0 [08:39:32]OFD Sender: Remove packet 34305 [08:39:32]ProducePacketName [08:39:32]name=ofd_packets/00034305 [08:39:32]NVStorageDeleteData [08:39:33]Write to MH i2c: 01 00 00 9E 17 B5 [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 07 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: 01 07 00 9E 17 00 00 00 00 00 A2 0C 6A [08:39:33]RasterBufferAndPrint [08:39:33]line [08:39:33]line [08:39:33]line [08:39:33]line [08:39:33]line [08:39:33]written 0, free lines is 3239 [08:39:33]MH_Cut [08:39:33]Write to MH i2c: D1 01 00 A5 17 01 8E [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: D1 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: D1 01 00 [08:39:33]MH_I2C_Read... [08:39:33]Read from MH i2c: D1 01 00 A5 17 00 8D [08:39:33]Write to MH i2c: 01 00 00 A6 17 BD [08:39:33]Write i2c OK [08:39:33]MH_I2C_Read... [08:39:33]OFD Sender: No OFD packet to send [08:39:33]*** Cut start [08:39:33]*** Partial cut [08:39:33]*** CUTSNS_PIN = 1 [08:39:33]*** CUTSNS_PIN = 0 [08:39:34]*** Brake cut motor [08:39:34]Read from MH i2c: 01 [08:39:34]MH_I2C_Read... [08:39:34]*** Stop cut motor [08:39:34]*** Cut end [08:39:34]Read from MH i2c: 01 07 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: 01 07 00 A6 17 00 00 00 00 00 FF 0F D2 [08:39:34]process_action close_receipt done [08:39:34]requested_data is exist [08:39:34]produce_requested_data [08:39:34]requested_item fm.sn is exist - process it [08:39:34]wFMCommunicate request_size=4 [08:39:34]MH_SAM_APDU [08:39:34]CAPDU: 80 11 00 00 [08:39:34]Write to MH i2c: E2 08 00 A7 17 80 11 00 00 00 00 00 00 38 [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:34]Read from MH i2c: E2 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 17 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 17 00 A7 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8D [08:39:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [08:39:34]wFMCommunicate OK [08:39:34]requested_item fd.num is exist - process it [08:39:34]SAM_PROTO_GetFieldsCounters [08:39:34]wFMCommunicate request_size=4 [08:39:34]MH_SAM_APDU [08:39:34]CAPDU: 80 13 00 00 [08:39:34]Write to MH i2c: E2 08 00 A8 17 80 13 00 00 00 00 00 00 3B [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:34]Read from MH i2c: E2 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 62 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 62 00 A8 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 01 86 00 00 0E 04 04 00 44 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 4C [08:39:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 01 86 00 00 0E 04 04 00 44 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:39:34]wFMCommunicate OK [08:39:34]SAM_PROTO_GetFieldsCounters done [08:39:34]requested_item shift.num is exist - process it [08:39:34]requested_item shift.opened is exist - process it [08:39:34]req_shift_opened [08:39:34]FM_GetShiftState [08:39:34]SAM_PROTO_GetShiftState [08:39:34]wFMCommunicate request_size=4 [08:39:34]MH_SAM_APDU [08:39:34]CAPDU: 80 13 01 00 [08:39:34]Write to MH i2c: E2 08 00 A9 17 80 13 01 00 00 00 00 00 3D [08:39:34]Write i2c OK [08:39:34]MH_I2C_Read... [08:39:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:34]Read from MH i2c: E2 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 0E 00 [08:39:34]MH_I2C_Read... [08:39:34]Read from MH i2c: E2 0E 00 A9 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 13 [08:39:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [08:39:34]wFMCommunicate OK [08:39:34]SAM_PROTO_GetShiftState done [08:39:34]FM_GetShiftState done [08:39:34]req_shift_opened done [08:39:34]requested_item shift.open_date is exist - process it [08:39:34]req_shift_open_date [08:39:34]req_shift_open_date done [08:39:34]produce_requested_data done [08:39:34]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34305,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [08:39:34]process_action_free close_receipt [08:39:34]json_value_free [08:39:34]json_value_free done [08:39:34]process_json_proto returns [08:39:34]Send response to host [08:39:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34305,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [08:39:34]free response buf [08:39:34]execute_script done [08:39:34]execute_script returns [08:39:34]free content buf [08:39:34]Sock 7.Close socket [08:39:34]Sock 7.Thread stoped [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:47]accept exits with 9 [09:06:47]New connection [09:06:47]New thread 3067567460 created [09:06:47]Thread 3067424100 joined [09:06:47]Waiting for new connection... [09:06:47] Sock 9.Parse request [09:06:47]Sock 9.Check first char [09:06:47]Sock 9.First char is OK [09:06:47]request: POST /json_proto HTTP/1.0 [09:06:47]Method: POST [09:06:47]URL: /json_proto [09:06:47]Method is POST - this is cgi request [09:06:47]url: /json_proto [09:06:47]query_string will be loaded in cgi processing [09:06:47]execute_cgi json_proto POST (null) [09:06:47]execute_cgi path=json_proto method=POST [09:06:47]POST find Content-Length [09:06:47]Host: 172.17.38.134:8080 [09:06:47]Content-Length: 966 [09:06:47]Content-Type: application/json [09:06:47] [09:06:47]POST finish read [09:06:47]Found Content-Length = 966 [09:06:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184087", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:47]execute_script... [09:06: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)184087", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:47]POST & json_proto [09:06:47]process_json_proto [09:06:47]json parsed OK: [09:06:47]protocol is kg_v1.0 [09:06:47]action value=close_receipt [09:06:47]process_action close_receipt [09:06:47]cmd_close_receipt [09:06:47]MH_GetDate [09:06:47]Write to MH i2c: F0 00 00 AA 17 B0 [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: F0 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: F0 09 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: F0 09 00 AA 17 00 AB 9F 72 66 13 9C 7C 64 6A [09:06:47]GetLastDocTimeStamp 1718786374 [09:06:47]current date 1718788011 [09:06:47]FM_GetShiftState [09:06:47]SAM_PROTO_GetShiftState [09:06:47]wFMCommunicate request_size=4 [09:06:47]MH_SAM_APDU [09:06:47]CAPDU: 80 13 01 00 [09:06:47]Write to MH i2c: E2 08 00 AB 17 80 13 01 00 00 00 00 00 3F [09:06:47]Write i2c OK [09:06:47]MH_I2C_Read... [09:06:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:47]Read from MH i2c: E2 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 0E 00 [09:06:47]MH_I2C_Read... [09:06:47]Read from MH i2c: E2 0E 00 AB 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 15 [09:06:47]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:06:47]wFMCommunicate OK [09:06:47]SAM_PROTO_GetShiftState done [09:06:47]FM_GetShiftState done [09:06:47]opened in 1718756813 [09:06:47]opened+sec_in_day 1718843213 [09:06:47]quantity*price = 15000 [09:06:47]sum+1 = 15001 [09:06:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000482757 Напиток Nitro Fr газ манг,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 10 19.06.2024 09:06 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34306 ФПД: 68995349247313 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T090651&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34306&fm=68995349247313&tin=02508201610067®Number=0000000000092786&sum=24500 0 [09:06:48]StoreToDocumentArchive [09:06:48]shift 324 fd 34306 [09:06:48]save to /storage/0324/doc_00034306 [09:06:48]save last doc name /storage/0324/doc_00034306 to /storage/kkm_last_doc_name [09:06:48]save OK [09:06:48]Clear old archive folders... [09:06:48]ProcessDocumentItem done err = 0, tmpTLVsize=415 [09:06:48]tlvbuf is 0190D4F0 [09:06:48]SAM_PROTO_ClearQueue [09:06:48]wFMCommunicate request_size=4 [09:06:48]MH_SAM_APDU [09:06:48]CAPDU: 80 09 00 00 [09:06:48]Write to MH i2c: E2 08 00 B8 17 80 09 00 00 00 00 00 00 41 [09:06:48]Write i2c OK [09:06:48]MH_I2C_Read... [09:06:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:48]Read from MH i2c: E2 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 B8 17 00 90 00 43 [09:06:48]RAPDU: 90 00 [09:06:48]wFMCommunicate OK [09:06:48]SAM_PROTO_ClearQueue done [09:06:48]KKMCreateOFDPacket [09:06:48]OFDProtocolAddRootSTLVToBuf [09:06:48]FM_MakeSignedData [09:06:48]FM_MakeSignedData [09:06:48]SAM_PROTO_SignData [09:06:48]wFMCommunicate request_size=4 [09:06:48]MH_SAM_APDU [09:06:48]CAPDU: 80 0D 01 02 [09:06:48]Write to MH i2c: E2 08 00 B9 17 80 0D 01 02 00 00 00 00 49 [09:06:48]Write i2c OK [09:06:48]MH_I2C_Read... [09:06:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:48]Read from MH i2c: E2 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 B9 17 00 90 00 44 [09:06:48]RAPDU: 90 00 [09:06:48]wFMCommunicate OK [09:06:48]wFMCommunicate request_size=255 [09:06:48]MH_SAM_APDU [09:06:48]CAPDU: 80 0D 02 02 FA 03 00 9F 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [09:06:48]Write to MH i2c: E2 02 01 BA 17 80 0D 02 02 FA 00 03 00 9F 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 73 [09:06:48]Write i2c OK [09:06:48]MH_I2C_Read... [09:06:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:48]Read from MH i2c: E2 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 [09:06:48]MH_I2C_Read... [09:06:48]Read from MH i2c: E2 03 00 BA 17 00 90 00 45 [09:06:48]RAPDU: 90 00 [09:06:48]wFMCommunicate OK [09:06:48]wFMCommunicate request_size=174 [09:06:48]MH_SAM_APDU [09:06:48]CAPDU: 80 0D 02 02 A9 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 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 0A 00 00 00 F4 03 04 00 AB 9F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 02 86 00 00 35 04 06 00 3E C0 3B 48 75 51 [09:06:48]Write to MH i2c: E2 B1 00 BB 17 80 0D 02 02 A9 00 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 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 0A 00 00 00 F4 03 04 00 AB 9F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 02 86 00 00 35 04 06 00 3E C0 3B 48 75 51 00 00 62 [09:06:48]Write i2c OK [09:06:48]MH_I2C_Read... [09:06:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:49]Read from MH i2c: E2 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 03 00 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 03 00 BB 17 00 90 00 46 [09:06:49]RAPDU: 90 00 [09:06:49]wFMCommunicate OK [09:06:49]wFMCommunicate request_size=4 [09:06:49]MH_SAM_APDU [09:06:49]CAPDU: 80 0D 03 02 [09:06:49]Write to MH i2c: E2 08 00 BC 17 80 0D 03 02 00 00 00 00 4E [09:06:49]Write i2c OK [09:06:49]MH_I2C_Read... [09:06:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:49]Read from MH i2c: E2 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 0B 00 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 0B 00 BC 17 00 DB 72 8E 0E 3B D0 65 61 90 00 09 [09:06:49]RAPDU: DB 72 8E 0E 3B D0 65 61 90 00 [09:06:49]wFMCommunicate OK [09:06:49]SAM_PROTO_SignData done [09:06:49]FM_MakeSignedData done [09:06:49]CreateOFDProtocolMessage [09:06:49]wFMCommunicate request_size=4 [09:06:49]MH_SAM_APDU [09:06:49]CAPDU: 80 11 00 00 [09:06:49]Write to MH i2c: E2 08 00 BD 17 80 11 00 00 00 00 00 00 4E [09:06:49]Write i2c OK [09:06:49]MH_I2C_Read... [09:06:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:49]Read from MH i2c: E2 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 17 00 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: E2 17 00 BD 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A3 [09:06:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:06:49]wFMCommunicate OK [09:06:49]CreateOFDProtocolMessage done [09:06:49]OFDSenderStorePacket 34306 [09:06:49]StoreOFDPacket docnum=34306 [09:06:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 B3 01 00 00 3E F0 AB 01 08 54 5A 03 01 00 03 00 9F 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 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 0A 00 00 00 F4 03 04 00 AB 9F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 02 86 00 00 35 04 06 00 3E C0 3B 48 75 51 DB 72 8E 0E 3B D0 65 61 [09:06:49]CheckFolder [09:06:49]dirname=/storage/ofd_packets [09:06:49]CheckFolder done [09:06:49]ProducePacketName [09:06:49]name=ofd_packets/00034306 [09:06:49]NVStorageSaveData ofd_packets/00034306 [09:06:49]File name is /storage/ofd_packets/00034306 [09:06:49]Write 465 bytes [09:06:49]NVStorageSaveData done [09:06:49]OFDSenderStorePacket done [09:06:49]KKMCreateOFDPacket done [09:06:49]NVStorageSaveData kkm_last_timestamp [09:06:49]File name is /storage/kkm_last_timestamp [09:06:49]Write 4 bytes [09:06:49]NVStorageSaveData done [09:06:49]ExternCall_PrintAddStr [09:06:49]wPrintStart [09:06:49]Write to MH i2c: 01 00 00 BE 17 D5 [09:06:49]OFD Sender: Processing packet 34306 [packets to send 8, broken 7] [09:06:49]ProducePacketName [09:06:49]name=ofd_packets/00034306 [09:06:49]OFD Sender: To server: pG, [09:06:49]CommunicateWithHost lk.salyk.kg:30040 [09:06:49]Write i2c OK [09:06:49]ConnectInit lk.salyk.kg [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: 01 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: 01 07 00 [09:06:49]MH_I2C_Read... [09:06:49]Read from MH i2c: 01 07 00 BE 17 00 00 00 00 00 FF 0F EA [09:06:49]RasterBufferAndPrint [09:06:49]line Счет N : (3)184087 [09:06:49]line ИНН: 02508201610067 [09:06:49]line Контрольно-Кассовый Чек [09:06:49]line ПРОДАЖА [09:06:49]line Товар: 2000034730018 [09:06:49]line Кофе Американо (GABB TRADE) [09:06:49]line 2.000 * 75.00 [09:06:49]line = 150.00 [09:06:49]line НДС 12% НСП 1% [09:06:49]line > о реализуемом товаре [09:06:49]line Товар: 4700000482757 [09:06:49]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [09:06:49]line 1.000 * 95.00 [09:06:49]line = 95.00 [09:06:49]line НДС 12% НСП 1% [09:06:49]line > о реализуемом товаре [09:06:49]line ИТОГО: 245.00 [09:06:49]line НСП 1% : 2.17 [09:06:49]line НДС 12% : 26.02 [09:06:49]line Наличными: 245.00 [09:06:49]line Безнал.: 0.00 [09:06:49]line Место: АЗС № 120 "Партнер Нефть" [09:06:49]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:06:49]line СНО: Общий режим [09:06:49]line Чек 10 19.06.2024 09:06 [09:06:49]line Смена: 324 ФФД: 1.0 [09:06:49]line ЗНМ: 0300000172 [09:06:49]line РНМ: 0000000000092786 [09:06:49]line Версия ККМ: 001 [09:06:49]line ФМ: 0000000000875095 [09:06:49]line ФД: 34306 [09:06:49]line ФПД: 68995349247313 [09:06:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T090651&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34306&fm=68995349247313&tin=02508201610067®Number=0000000000092786&sum=24500 [09:06:49]line 0 [09:06:49]written 0, free lines is 4095 [09:06:49]Connected sock=10 [09:06:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 B3 01 00 00 3E F0 AB 01 08 54 5A 03 01 00 03 00 9F 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 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 0A 00 00 00 F4 03 04 00 AB 9F 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 02 86 00 00 35 04 06 00 3E C0 3B 48 75 51 DB 72 8E 0E 3B D0 65 61 [09:06:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 FC 55 47 00 D6 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 02 86 00 00 F4 03 04 00 79 46 72 66 B6 04 01 00 00 88 38 15 0A 7C F2 49 2B [09:06:49]CommunicateWithHost err = 0 [09:06:49]CheckOFDResponse [09:06:49]1017 (14) - 77093643461234 [09:06:49]1041 (16) - 0000000000875095 [09:06:49]1040 (4) - 34306 [09:06:49]1012 (4) - 19.06.2024 02:46 [09:06:49]1206 (1) - 0 [09:06:49]OFD Sender: Remove packet 34306 [09:06:49]ProducePacketName [09:06:49]name=ofd_packets/00034306 [09:06:49]NVStorageDeleteData [09:06:50]Write to MH i2c: 01 00 00 EE 17 05 [09:06:50]Write i2c OK [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: 01 [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: 01 07 00 [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: 01 07 00 EE 17 00 00 00 00 00 73 0C 8B [09:06:50]RasterBufferAndPrint [09:06:50]line [09:06:50]line [09:06:50]line [09:06:50]line [09:06:50]line [09:06:50]written 0, free lines is 3193 [09:06:50]MH_Cut [09:06:50]Write to MH i2c: D1 01 00 F5 17 01 DE [09:06:50]Write i2c OK [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: D1 [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: D1 01 00 [09:06:50]MH_I2C_Read... [09:06:50]Read from MH i2c: D1 01 00 F5 17 00 DD [09:06:50]Write to MH i2c: 01 00 00 F6 17 0D [09:06:50]Write i2c OK [09:06:50]MH_I2C_Read... [09:06:50]OFD Sender: No OFD packet to send [09:06:50]*** Cut start [09:06:50]*** Partial cut [09:06:50]*** CUTSNS_PIN = 1 [09:06:51]*** CUTSNS_PIN = 0 [09:06:51]*** Brake cut motor [09:06:51]Read from MH i2c: 01 [09:06:51]MH_I2C_Read... [09:06:51]*** Stop cut motor [09:06:51]*** Cut end [09:06:51]Read from MH i2c: 01 07 00 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: 01 07 00 F6 17 00 00 00 00 00 FF 0F 22 [09:06:51]process_action close_receipt done [09:06:51]requested_data is exist [09:06:51]produce_requested_data [09:06:51]requested_item fm.sn is exist - process it [09:06:51]wFMCommunicate request_size=4 [09:06:51]MH_SAM_APDU [09:06:51]CAPDU: 80 11 00 00 [09:06:51]Write to MH i2c: E2 08 00 F7 17 80 11 00 00 00 00 00 00 88 [09:06:51]Write i2c OK [09:06:51]MH_I2C_Read... [09:06:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:51]Read from MH i2c: E2 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 17 00 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 17 00 F7 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DD [09:06:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:06:51]wFMCommunicate OK [09:06:51]requested_item fd.num is exist - process it [09:06:51]SAM_PROTO_GetFieldsCounters [09:06:51]wFMCommunicate request_size=4 [09:06:51]MH_SAM_APDU [09:06:51]CAPDU: 80 13 00 00 [09:06:51]Write to MH i2c: E2 08 00 F8 17 80 13 00 00 00 00 00 00 8B [09:06:51]Write i2c OK [09:06:51]MH_I2C_Read... [09:06:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:51]Read from MH i2c: E2 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 62 00 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 62 00 F8 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 02 86 00 00 0E 04 04 00 44 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 A0 [09:06:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 02 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:51]wFMCommunicate OK [09:06:51]SAM_PROTO_GetFieldsCounters done [09:06:51]requested_item shift.num is exist - process it [09:06:51]requested_item shift.opened is exist - process it [09:06:51]req_shift_opened [09:06:51]FM_GetShiftState [09:06:51]SAM_PROTO_GetShiftState [09:06:51]wFMCommunicate request_size=4 [09:06:51]MH_SAM_APDU [09:06:51]CAPDU: 80 13 01 00 [09:06:51]Write to MH i2c: E2 08 00 F9 17 80 13 01 00 00 00 00 00 8D [09:06:51]Write i2c OK [09:06:51]MH_I2C_Read... [09:06:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:51]Read from MH i2c: E2 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 0E 00 [09:06:51]MH_I2C_Read... [09:06:51]Read from MH i2c: E2 0E 00 F9 17 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 63 [09:06:51]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:06:51]wFMCommunicate OK [09:06:51]SAM_PROTO_GetShiftState done [09:06:51]FM_GetShiftState done [09:06:51]req_shift_opened done [09:06:51]requested_item shift.open_date is exist - process it [09:06:51]req_shift_open_date [09:06:51]req_shift_open_date done [09:06:51]produce_requested_data done [09:06:51]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34306,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:06:51]process_action_free close_receipt [09:06:51]json_value_free [09:06:51]json_value_free done [09:06:51]process_json_proto returns [09:06:51]Send response to host [09:06:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34306,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:06:51]free response buf [09:06:51]execute_script done [09:06:51]execute_script returns [09:06:51]free content buf [09:06:51]Sock 9.Close socket [09:06:51]Sock 9.Thread stoped [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:20]OFD Sender: No OFD packet to send [09:09:25]OFD Sender: No OFD packet to send [09:09:30]OFD Sender: No OFD packet to send [09:09:35]OFD Sender: No OFD packet to send [09:09:40]OFD Sender: No OFD packet to send [09:09:45]OFD Sender: No OFD packet to send [09:09:50]OFD Sender: No OFD packet to send [09:09:55]OFD Sender: No OFD packet to send [09:10:00]OFD Sender: No OFD packet to send [09:10:05]OFD Sender: No OFD packet to send [09:10:10]OFD Sender: No OFD packet to send [09:10:15]OFD Sender: No OFD packet to send [09:10:20]OFD Sender: No OFD packet to send [09:10:25]OFD Sender: No OFD packet to send [09:10:30]OFD Sender: No OFD packet to send [09:10:35]OFD Sender: No OFD packet to send [09:10:40]OFD Sender: No OFD packet to send [09:10:45]OFD Sender: No OFD packet to send [09:10:50]OFD Sender: No OFD packet to send [09:10:55]OFD Sender: No OFD packet to send [09:11:00]OFD Sender: No OFD packet to send [09:11:05]OFD Sender: No OFD packet to send [09:11:10]OFD Sender: No OFD packet to send [09:11:15]OFD Sender: No OFD packet to send [09:11:20]OFD Sender: No OFD packet to send [09:11:25]OFD Sender: No OFD packet to send [09:11:30]OFD Sender: No OFD packet to send [09:11:35]OFD Sender: No OFD packet to send [09:11:40]OFD Sender: No OFD packet to send [09:11:45]OFD Sender: No OFD packet to send [09:11:50]OFD Sender: No OFD packet to send [09:11:55]OFD Sender: No OFD packet to send [09:12:00]OFD Sender: No OFD packet to send [09:12:05]OFD Sender: No OFD packet to send [09:12:10]OFD Sender: No OFD packet to send [09:12:15]OFD Sender: No OFD packet to send [09:12:20]OFD Sender: No OFD packet to send [09:12:25]OFD Sender: No OFD packet to send [09:12:30]OFD Sender: No OFD packet to send [09:12:35]OFD Sender: No OFD packet to send [09:12:40]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:20]OFD Sender: No OFD packet to send [09:13:25]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:30]accept exits with 7 [09:28:30]New connection [09:28:30]New thread 3067424100 created [09:28:30]Thread 3067567460 joined [09:28:30]Waiting for new connection... [09:28:30] Sock 7.Parse request [09:28:30]Sock 7.Check first char [09:28:30]Sock 7.First char is OK [09:28:30]request: POST /json_proto HTTP/1.0 [09:28:30]Method: POST [09:28:30]URL: /json_proto [09:28:30]Method is POST - this is cgi request [09:28:30]url: /json_proto [09:28:30]query_string will be loaded in cgi processing [09:28:30]execute_cgi json_proto POST (null) [09:28:30]execute_cgi path=json_proto method=POST [09:28:30]POST find Content-Length [09:28:30]Host: 172.17.38.134:8080 [09:28:30]Content-Length: 1197 [09:28:30]Content-Type: application/json [09:28:30] [09:28:30]POST finish read [09:28:30]Found Content-Length = 1197 [09:28:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672832\u000A19.06.2024 09:06\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 32\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 1328.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A3592865\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:30]execute_script... [09:28:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672832\u000A19.06.2024 09:06\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 32\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 20.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 1328.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A3592865\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:30]POST & json_proto [09:28:30]process_json_proto [09:28:30]json parsed OK: [09:28:30]protocol is kg_v1.0 [09:28:30]action value=print_text [09:28:30]process_action print_text [09:28:30]cmd_print_text [09:28:30]ExternCall_PrintAddStr [09:28:30]wPrintStart [09:28:30]Write to MH i2c: 01 00 00 FA 17 11 [09:28:30]Write i2c OK [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 07 00 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 07 00 FA 17 00 00 00 00 00 FF 0F 26 [09:28:30]RasterBufferAndPrint [09:28:30]line *****ТОВАРНЫЙ ЧЕК***** [09:28:30]line АЗС 120 [09:28:30]line Партнер нефть [09:28:30]line 02508201610067 [09:28:30]line Кассир : Байбугуева Г. [09:28:30]line Счет N : (1)672832 [09:28:30]line 19.06.2024 09:06 [09:28:30]line ПРОДАЖА [09:28:30]line ТРК (МРК, ГНК): 32 [09:28:30]line Вид ГСМ : 2710124130 [09:28:30]line Аи-92-К-5 [09:28:30]line 20.000 x 66.40 [09:28:30]line ИТОГ: 1328.00 [09:28:30]line Тип оплаты: Талоны: Партнер нефть [09:28:30]line 3592865 [09:28:30]line ______________________ [09:28:30]line (подпись) [09:28:30]written 0, free lines is 4095 [09:28:30]Write to MH i2c: 01 00 00 0E 18 26 [09:28:30]Write i2c OK [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 07 00 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: 01 07 00 0E 18 00 00 00 00 00 14 0E 4F [09:28:30]RasterBufferAndPrint [09:28:30]line [09:28:30]line [09:28:30]line [09:28:30]line [09:28:30]line [09:28:30]written 0, free lines is 3606 [09:28:30]MH_Cut [09:28:30]Write to MH i2c: D1 01 00 15 18 01 FF [09:28:30]Write i2c OK [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: D1 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: D1 01 00 [09:28:30]MH_I2C_Read... [09:28:30]Read from MH i2c: D1 01 00 15 18 00 FE [09:28:30]Write to MH i2c: 01 00 00 16 18 2E [09:28:30]Write i2c OK [09:28:30]MH_I2C_Read... [09:28:31]*** Cut start [09:28:31]*** Partial cut [09:28:31]*** CUTSNS_PIN = 1 [09:28:31]*** CUTSNS_PIN = 0 [09:28:31]OFD Sender: No OFD packet to send [09:28:31]*** Brake cut motor [09:28:31]Read from MH i2c: 01 [09:28:31]MH_I2C_Read... [09:28:31]*** Stop cut motor [09:28:31]*** Cut end [09:28:31]Read from MH i2c: 01 07 00 [09:28:31]MH_I2C_Read... [09:28:31]Read from MH i2c: 01 07 00 16 18 00 00 00 00 00 FF 0F 43 [09:28:31]process_action print_text done [09:28:31]requested_data is exist [09:28:31]produce_requested_data [09:28:31]requested_item fm.sn is exist - process it [09:28:31]wFMCommunicate request_size=4 [09:28:31]MH_SAM_APDU [09:28:31]CAPDU: 80 11 00 00 [09:28:31]Write to MH i2c: E2 08 00 17 18 80 11 00 00 00 00 00 00 A9 [09:28:31]Write i2c OK [09:28:31]MH_I2C_Read... [09:28:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:31]Read from MH i2c: E2 [09:28:31]MH_I2C_Read... [09:28:31]Read from MH i2c: E2 17 00 [09:28:31]MH_I2C_Read... [09:28:31]Read from MH i2c: E2 17 00 17 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FE [09:28:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:28:31]wFMCommunicate OK [09:28:31]requested_item fd.num is exist - process it [09:28:31]SAM_PROTO_GetFieldsCounters [09:28:31]wFMCommunicate request_size=4 [09:28:31]MH_SAM_APDU [09:28:31]CAPDU: 80 13 00 00 [09:28:31]Write to MH i2c: E2 08 00 18 18 80 13 00 00 00 00 00 00 AC [09:28:31]Write i2c OK [09:28:31]MH_I2C_Read... [09:28:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:32]Read from MH i2c: E2 [09:28:32]MH_I2C_Read... [09:28:32]Read from MH i2c: E2 62 00 [09:28:32]MH_I2C_Read... [09:28:32]Read from MH i2c: E2 62 00 18 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 02 86 00 00 0E 04 04 00 44 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 C1 [09:28:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 02 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:28:32]wFMCommunicate OK [09:28:32]SAM_PROTO_GetFieldsCounters done [09:28:32]requested_item shift.num is exist - process it [09:28:32]requested_item shift.opened is exist - process it [09:28:32]req_shift_opened [09:28:32]FM_GetShiftState [09:28:32]SAM_PROTO_GetShiftState [09:28:32]wFMCommunicate request_size=4 [09:28:32]MH_SAM_APDU [09:28:32]CAPDU: 80 13 01 00 [09:28:32]Write to MH i2c: E2 08 00 19 18 80 13 01 00 00 00 00 00 AE [09:28:32]Write i2c OK [09:28:32]MH_I2C_Read... [09:28:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:32]Read from MH i2c: E2 [09:28:32]MH_I2C_Read... [09:28:32]Read from MH i2c: E2 0E 00 [09:28:32]MH_I2C_Read... [09:28:32]Read from MH i2c: E2 0E 00 19 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 84 [09:28:32]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:28:32]wFMCommunicate OK [09:28:32]SAM_PROTO_GetShiftState done [09:28:32]FM_GetShiftState done [09:28:32]req_shift_opened done [09:28:32]requested_item shift.open_date is exist - process it [09:28:32]req_shift_open_date [09:28:32]req_shift_open_date done [09:28:32]produce_requested_data done [09:28:32]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34306,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:28:32]process_action_free print_text [09:28:32]json_value_free [09:28:32]json_value_free done [09:28:32]process_json_proto returns [09:28:32]Send response to host [09:28:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34306,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:28:32]free response buf [09:28:32]execute_script done [09:28:32]execute_script returns [09:28:32]free content buf [09:28:32]Sock 7.Close socket [09:28:32]Sock 7.Thread stoped [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:45]accept exits with 9 [09:28:45]New connection [09:28:45]New thread 3067567460 created [09:28:45]Thread 3067424100 joined [09:28:45]Waiting for new connection... [09:28:45] Sock 9.Parse request [09:28:45]Sock 9.Check first char [09:28:45]Sock 9.First char is OK [09:28:45]request: POST /json_proto HTTP/1.0 [09:28:45]Method: POST [09:28:45]URL: /json_proto [09:28:45]Method is POST - this is cgi request [09:28:45]url: /json_proto [09:28:45]query_string will be loaded in cgi processing [09:28:45]execute_cgi json_proto POST (null) [09:28:45]execute_cgi path=json_proto method=POST [09:28:45]POST find Content-Length [09:28:45]Host: 172.17.38.134:8080 [09:28:45]Content-Length: 677 [09:28:45]Content-Type: application/json [09:28:45] [09:28:45]POST finish read [09:28:45]Found Content-Length = 677 [09:28:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672833", "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.40, "quantity" : 7.540, "sum" : 500.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:45]execute_script... [09:28: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)672833", "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.40, "quantity" : 7.540, "sum" : 500.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:45]POST & json_proto [09:28:45]process_json_proto [09:28:45]json parsed OK: [09:28:45]protocol is kg_v1.0 [09:28:45]action value=close_receipt [09:28:45]process_action close_receipt [09:28:45]cmd_close_receipt [09:28:45]MH_GetDate [09:28:45]Write to MH i2c: F0 00 00 1A 18 21 [09:28:45]Write i2c OK [09:28:45]MH_I2C_Read... [09:28:45]Read from MH i2c: F0 [09:28:45]MH_I2C_Read... [09:28:45]Read from MH i2c: F0 09 00 [09:28:45]MH_I2C_Read... [09:28:45]Read from MH i2c: F0 09 00 1A 18 00 D1 A4 72 66 13 9C 7C 64 06 [09:28:45]GetLastDocTimeStamp 1718788011 [09:28:45]current date 1718789329 [09:28:45]FM_GetShiftState [09:28:45]SAM_PROTO_GetShiftState [09:28:45]wFMCommunicate request_size=4 [09:28:45]MH_SAM_APDU [09:28:45]CAPDU: 80 13 01 00 [09:28:45]Write to MH i2c: E2 08 00 1B 18 80 13 01 00 00 00 00 00 B0 [09:28:45]Write i2c OK [09:28:45]MH_I2C_Read... [09:28:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:45]Read from MH i2c: E2 [09:28:45]MH_I2C_Read... [09:28:45]Read from MH i2c: E2 0E 00 [09:28:45]MH_I2C_Read... [09:28:45]Read from MH i2c: E2 0E 00 1B 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 86 [09:28:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:28:45]wFMCommunicate OK [09:28:45]SAM_PROTO_GetShiftState done [09:28:45]FM_GetShiftState done [09:28:45]opened in 1718756813 [09:28:45]opened+sec_in_day 1718843213 [09:28:45]quantity*price = 50065 [09:28:45]sum+1 = 50067 [09:28:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.66 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.17 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 11 19.06.2024 09:28 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34307 ФПД: 27683469930737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T092849&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34307&fm=27683469930737&tin=02508201610067®Number=0000000000092786&sum=50000 [09:28:46]StoreToDocumentArchive [09:28:46]shift 324 fd 34307 [09:28:46]save to /storage/0324/doc_00034307 [09:28:46]save last doc name /storage/0324/doc_00034307 to /storage/kkm_last_doc_name [09:28:46]save OK [09:28:46]Clear old archive folders... [09:28:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:28:46]tlvbuf is 01933110 [09:28:46]SAM_PROTO_ClearQueue [09:28:46]wFMCommunicate request_size=4 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 09 00 00 [09:28:46]Write to MH i2c: E2 08 00 28 18 80 09 00 00 00 00 00 00 B2 [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 28 18 00 90 00 B4 [09:28:46]RAPDU: 90 00 [09:28:46]wFMCommunicate OK [09:28:46]SAM_PROTO_ClearQueue done [09:28:46]KKMCreateOFDPacket [09:28:46]OFDProtocolAddRootSTLVToBuf [09:28:46]FM_MakeSignedData [09:28:46]FM_MakeSignedData [09:28:46]SAM_PROTO_SignData [09:28:46]wFMCommunicate request_size=4 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 0D 01 02 [09:28:46]Write to MH i2c: E2 08 00 29 18 80 0D 01 02 00 00 00 00 BA [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 29 18 00 90 00 B5 [09:28:46]RAPDU: 90 00 [09:28:46]wFMCommunicate OK [09:28:46]wFMCommunicate request_size=255 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 D1 A4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 03 86 00 00 35 04 06 00 19 [09:28:46]Write to MH i2c: E2 02 01 2A 18 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 D1 A4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 03 86 00 00 35 04 06 00 19 00 00 B6 [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]OFD Sender: No OFD packet to send [09:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 2A 18 00 90 00 B6 [09:28:46]RAPDU: 90 00 [09:28:46]wFMCommunicate OK [09:28:46]wFMCommunicate request_size=10 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 0D 02 02 05 2D 8F 64 30 F1 [09:28:46]Write to MH i2c: E2 0D 00 2B 18 80 0D 02 02 05 00 2D 8F 64 30 F1 00 00 08 [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 03 00 2B 18 00 90 00 B7 [09:28:46]RAPDU: 90 00 [09:28:46]wFMCommunicate OK [09:28:46]wFMCommunicate request_size=4 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 0D 03 02 [09:28:46]Write to MH i2c: E2 08 00 2C 18 80 0D 03 02 00 00 00 00 BF [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 0B 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 0B 00 2C 18 00 2C 0C 3E 2D 0C F5 81 2D 90 00 12 [09:28:46]RAPDU: 2C 0C 3E 2D 0C F5 81 2D 90 00 [09:28:46]wFMCommunicate OK [09:28:46]SAM_PROTO_SignData done [09:28:46]FM_MakeSignedData done [09:28:46]CreateOFDProtocolMessage [09:28:46]wFMCommunicate request_size=4 [09:28:46]MH_SAM_APDU [09:28:46]CAPDU: 80 11 00 00 [09:28:46]Write to MH i2c: E2 08 00 2D 18 80 11 00 00 00 00 00 00 BF [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:46]Read from MH i2c: E2 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 17 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: E2 17 00 2D 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 14 [09:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:28:46]wFMCommunicate OK [09:28:46]CreateOFDProtocolMessage done [09:28:46]OFDSenderStorePacket 34307 [09:28:46]StoreOFDPacket docnum=34307 [09:28:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 4B 17 07 01 D4 17 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 D1 A4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 03 86 00 00 35 04 06 00 19 2D 8F 64 30 F1 2C 0C 3E 2D 0C F5 81 2D [09:28:46]CheckFolder [09:28:46]dirname=/storage/ofd_packets [09:28:46]CheckFolder done [09:28:46]ProducePacketName [09:28:46]name=ofd_packets/00034307 [09:28:46]NVStorageSaveData ofd_packets/00034307 [09:28:46]File name is /storage/ofd_packets/00034307 [09:28:46]Write 301 bytes [09:28:46]NVStorageSaveData done [09:28:46]OFDSenderStorePacket done [09:28:46]KKMCreateOFDPacket done [09:28:46]NVStorageSaveData kkm_last_timestamp [09:28:46]File name is /storage/kkm_last_timestamp [09:28:46]Write 4 bytes [09:28:46]NVStorageSaveData done [09:28:46]ExternCall_PrintAddStr [09:28:46]wPrintStart [09:28:46]Write to MH i2c: 01 00 00 2E 18 46 [09:28:46]Write i2c OK [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: 01 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: 01 07 00 [09:28:46]MH_I2C_Read... [09:28:46]Read from MH i2c: 01 07 00 2E 18 00 00 00 00 00 FF 0F 5B [09:28:46]RasterBufferAndPrint [09:28:46]line Счет N : (1)672833 [09:28:46]line ИНН: 02508201610067 [09:28:46]line Контрольно-Кассовый Чек [09:28:46]line ПРОДАЖА [09:28:46]line ТРК (МРК, ГНК) : 42 [09:28:46]line Товар: 2710124130 [09:28:46]line Аи-92-К-5 [09:28:46]line 7.540 * 66.40 [09:28:46]line = 500.66 [09:28:46]line НДС 12% НСП 1% [09:28:46]line > о реализуемом товаре [09:28:46]line ОКРУГЛЕНИЕ: -0.66 [09:28:46]line ИТОГО: 500.00 [09:28:46]line Внесено: 500.00 [09:28:46]line СДАЧА: 0.00 [09:28:46]line НСП 1% : 4.43 [09:28:46]line НДС 12% : 53.17 [09:28:46]line Наличными: 500.00 [09:28:46]line Безнал.: 0.00 [09:28:46]line Место: АЗС № 120 "Партнер Нефть" [09:28:46]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:28:46]line СНО: Общий режим [09:28:46]line Чек 11 19.06.2024 09:28 [09:28:46]line Смена: 324 ФФД: 1.0 [09:28:46]line ЗНМ: 0300000172 [09:28:46]line РНМ: 0000000000092786 [09:28:46]line Версия ККМ: 001 [09:28:46]line ФМ: 0000000000875095 [09:28:46]line ФД: 34307 [09:28:46]line ФПД: 27683469930737 [09:28:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T092849&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34307&fm=27683469930737&tin=02508201610067®Number=0000000000092786&sum=50000 [09:28:47]OFD Sender: Processing packet 34307 [packets to send 8, broken 7] [09:28:47]ProducePacketName [09:28:47]name=ofd_packets/00034307 [09:28:47]OFD Sender: To server: pG, [09:28:47]CommunicateWithHost lk.salyk.kg:30040 [09:28:47]ConnectInit lk.salyk.kg [09:28:47]written 0, free lines is 4095 [09:28:47]Write to MH i2c: 01 00 00 59 18 71 [09:28:47]Write i2c OK [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: 01 [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: 01 07 00 [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: 01 07 00 59 18 00 00 00 00 00 C6 0C 4A [09:28:47]RasterBufferAndPrint [09:28:47]line [09:28:47]line [09:28:47]line [09:28:47]line [09:28:47]line [09:28:47]written 0, free lines is 3276 [09:28:47]MH_Cut [09:28:47]Write to MH i2c: D1 01 00 60 18 01 4A [09:28:47]Write i2c OK [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: D1 [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: D1 01 00 [09:28:47]MH_I2C_Read... [09:28:47]Read from MH i2c: D1 01 00 60 18 00 49 [09:28:47]Write to MH i2c: 01 00 00 61 18 79 [09:28:47]Write i2c OK [09:28:47]MH_I2C_Read... [09:28:47]Connected sock=10 [09:28:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 4B 17 07 01 D4 17 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 D1 A4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 03 86 00 00 35 04 06 00 19 2D 8F 64 30 F1 2C 0C 3E 2D 0C F5 81 2D [09:28:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B5 D9 47 00 C2 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 03 86 00 00 F4 03 04 00 9F 4B 72 66 B6 04 01 00 00 5C 02 7F 76 5D C4 55 27 [09:28:47]CommunicateWithHost err = 0 [09:28:47]CheckOFDResponse [09:28:47]1017 (14) - 77093643461234 [09:28:47]1041 (16) - 0000000000875095 [09:28:47]1040 (4) - 34307 [09:28:47]1012 (4) - 19.06.2024 03:08 [09:28:47]1206 (1) - 0 [09:28:47]OFD Sender: Remove packet 34307 [09:28:47]ProducePacketName [09:28:47]name=ofd_packets/00034307 [09:28:47]NVStorageDeleteData [09:28:48]*** Cut start [09:28:48]*** Partial cut [09:28:48]*** CUTSNS_PIN = 1 [09:28:48]OFD Sender: No OFD packet to send [09:28:48]*** CUTSNS_PIN = 0 [09:28:48]*** Brake cut motor [09:28:48]Read from MH i2c: 01 [09:28:48]MH_I2C_Read... [09:28:48]*** Stop cut motor [09:28:48]*** Cut end [09:28:48]Read from MH i2c: 01 07 00 [09:28:48]MH_I2C_Read... [09:28:48]Read from MH i2c: 01 07 00 61 18 00 00 00 00 00 FF 0F 8E [09:28:48]process_action close_receipt done [09:28:48]requested_data is exist [09:28:48]produce_requested_data [09:28:48]requested_item fm.sn is exist - process it [09:28:48]wFMCommunicate request_size=4 [09:28:48]MH_SAM_APDU [09:28:48]CAPDU: 80 11 00 00 [09:28:48]Write to MH i2c: E2 08 00 62 18 80 11 00 00 00 00 00 00 F4 [09:28:48]Write i2c OK [09:28:48]MH_I2C_Read... [09:28:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:28:49]Read from MH i2c: E2 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 17 00 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 17 00 62 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 49 [09:28:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:28:49]wFMCommunicate OK [09:28:49]requested_item fd.num is exist - process it [09:28:49]SAM_PROTO_GetFieldsCounters [09:28:49]wFMCommunicate request_size=4 [09:28:49]MH_SAM_APDU [09:28:49]CAPDU: 80 13 00 00 [09:28:49]Write to MH i2c: E2 08 00 63 18 80 13 00 00 00 00 00 00 F7 [09:28:49]Write i2c OK [09:28:49]MH_I2C_Read... [09:28:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:28:49]Read from MH i2c: E2 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 62 00 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 62 00 63 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [09:28:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:28:49]wFMCommunicate OK [09:28:49]SAM_PROTO_GetFieldsCounters done [09:28:49]requested_item shift.num is exist - process it [09:28:49]requested_item shift.opened is exist - process it [09:28:49]req_shift_opened [09:28:49]FM_GetShiftState [09:28:49]SAM_PROTO_GetShiftState [09:28:49]wFMCommunicate request_size=4 [09:28:49]MH_SAM_APDU [09:28:49]CAPDU: 80 13 01 00 [09:28:49]Write to MH i2c: E2 08 00 64 18 80 13 01 00 00 00 00 00 F9 [09:28:49]Write i2c OK [09:28:49]MH_I2C_Read... [09:28:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:49]Read from MH i2c: E2 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 0E 00 [09:28:49]MH_I2C_Read... [09:28:49]Read from MH i2c: E2 0E 00 64 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 CF [09:28:49]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:28:49]wFMCommunicate OK [09:28:49]SAM_PROTO_GetShiftState done [09:28:49]FM_GetShiftState done [09:28:49]req_shift_opened done [09:28:49]requested_item shift.open_date is exist - process it [09:28:49]req_shift_open_date [09:28:49]req_shift_open_date done [09:28:49]produce_requested_data done [09:28:49]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:28:49]process_action_free close_receipt [09:28:49]json_value_free [09:28:49]json_value_free done [09:28:49]process_json_proto returns [09:28:49]Send response to host [09:28:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:28:49]free response buf [09:28:49]execute_script done [09:28:49]execute_script returns [09:28:49]free content buf [09:28:49]Sock 9.Close socket [09:28:49]Sock 9.Thread stoped [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:23]OFD Sender: No OFD packet to send [09:29:28]OFD Sender: No OFD packet to send [09:29:33]OFD Sender: No OFD packet to send [09:29:38]OFD Sender: No OFD packet to send [09:29:43]OFD Sender: No OFD packet to send [09:29:48]OFD Sender: No OFD packet to send [09:29:53]OFD Sender: No OFD packet to send [09:29:58]OFD Sender: No OFD packet to send [09:30:03]OFD Sender: No OFD packet to send [09:30:08]OFD Sender: No OFD packet to send [09:30:13]OFD Sender: No OFD packet to send [09:30:18]OFD Sender: No OFD packet to send [09:30:23]OFD Sender: No OFD packet to send [09:30:28]OFD Sender: No OFD packet to send [09:30:33]OFD Sender: No OFD packet to send [09:30:38]OFD Sender: No OFD packet to send [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:19]accept exits with 7 [09:32:19]New connection [09:32:19]New thread 3067424100 created [09:32:19]Thread 3067567460 joined [09:32:19]Waiting for new connection... [09:32:19] Sock 7.Parse request [09:32:19]Sock 7.Check first char [09:32:19]Sock 7.First char is OK [09:32:19]request: POST /json_proto HTTP/1.0 [09:32:19]Method: POST [09:32:19]URL: /json_proto [09:32:19]Method is POST - this is cgi request [09:32:19]url: /json_proto [09:32:19]query_string will be loaded in cgi processing [09:32:19]execute_cgi json_proto POST (null) [09:32:19]execute_cgi path=json_proto method=POST [09:32:19]POST find Content-Length [09:32:19]Host: 172.17.38.134:8080 [09:32:19]Content-Length: 1206 [09:32:19]Content-Type: application/json [09:32:19] [09:32:19]POST finish read [09:32:19]Found Content-Length = 1206 [09:32:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672834\u000A19.06.2024 09:10\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 42\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 996.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:32:19]execute_script... [09:32:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672834\u000A19.06.2024 09:10\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 42\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.000 x 66.40\u000A\u0418\u0422\u041E\u0413: 996.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:32:19]POST & json_proto [09:32:19]process_json_proto [09:32:19]json parsed OK: [09:32:19]protocol is kg_v1.0 [09:32:19]action value=print_text [09:32:19]process_action print_text [09:32:19]cmd_print_text [09:32:19]ExternCall_PrintAddStr [09:32:19]wPrintStart [09:32:19]Write to MH i2c: 01 00 00 65 18 7D [09:32:19]Write i2c OK [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 07 00 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 07 00 65 18 00 00 00 00 00 FF 0F 92 [09:32:19]RasterBufferAndPrint [09:32:19]line *****ТОВАРНЫЙ ЧЕК***** [09:32:19]line АЗС 120 [09:32:19]line Партнер нефть [09:32:19]line 02508201610067 [09:32:19]line Кассир : Байбугуева Г. [09:32:19]line Счет N : (1)672834 [09:32:19]line 19.06.2024 09:10 [09:32:19]line ПРОДАЖА [09:32:19]line ТРК (МРК, ГНК): 42 [09:32:19]line Вид ГСМ : 2710124130 [09:32:19]line Аи-92-К-5 [09:32:19]line 15.000 x 66.40 [09:32:19]line ИТОГ: 996.00 [09:32:19]line Тип оплаты: Талоны: Топливная Карта [09:32:19]line 00562 [09:32:19]line ______________________ [09:32:19]line (подпись) [09:32:19]written 0, free lines is 4095 [09:32:19]Write to MH i2c: 01 00 00 79 18 91 [09:32:19]Write i2c OK [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 07 00 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: 01 07 00 79 18 00 00 00 00 00 11 0E B7 [09:32:19]RasterBufferAndPrint [09:32:19]line [09:32:19]line [09:32:19]line [09:32:19]line [09:32:19]line [09:32:19]written 0, free lines is 3603 [09:32:19]MH_Cut [09:32:19]Write to MH i2c: D1 01 00 80 18 01 6A [09:32:19]Write i2c OK [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: D1 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: D1 01 00 [09:32:19]MH_I2C_Read... [09:32:19]Read from MH i2c: D1 01 00 80 18 00 69 [09:32:19]Write to MH i2c: 01 00 00 81 18 99 [09:32:19]Write i2c OK [09:32:19]MH_I2C_Read... [09:32:19]*** Cut start [09:32:19]*** Partial cut [09:32:19]*** CUTSNS_PIN = 1 [09:32:20]*** CUTSNS_PIN = 0 [09:32:20]*** Brake cut motor [09:32:20]Read from MH i2c: 01 [09:32:20]MH_I2C_Read... [09:32:20]*** Stop cut motor [09:32:20]*** Cut end [09:32:20]Read from MH i2c: 01 07 00 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: 01 07 00 81 18 00 00 00 00 00 FF 0F AE [09:32:20]process_action print_text done [09:32:20]requested_data is exist [09:32:20]produce_requested_data [09:32:20]requested_item fm.sn is exist - process it [09:32:20]wFMCommunicate request_size=4 [09:32:20]MH_SAM_APDU [09:32:20]CAPDU: 80 11 00 00 [09:32:20]Write to MH i2c: E2 08 00 82 18 80 11 00 00 00 00 00 00 14 [09:32:20]Write i2c OK [09:32:20]MH_I2C_Read... [09:32:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:32:20]Read from MH i2c: E2 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 17 00 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 17 00 82 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 69 [09:32:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:32:20]wFMCommunicate OK [09:32:20]requested_item fd.num is exist - process it [09:32:20]SAM_PROTO_GetFieldsCounters [09:32:20]wFMCommunicate request_size=4 [09:32:20]MH_SAM_APDU [09:32:20]CAPDU: 80 13 00 00 [09:32:20]Write to MH i2c: E2 08 00 83 18 80 13 00 00 00 00 00 00 17 [09:32:20]Write i2c OK [09:32:20]MH_I2C_Read... [09:32:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:32:20]Read from MH i2c: E2 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 62 00 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 62 00 83 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 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 30 [09:32:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:32:20]wFMCommunicate OK [09:32:20]SAM_PROTO_GetFieldsCounters done [09:32:20]requested_item shift.num is exist - process it [09:32:20]requested_item shift.opened is exist - process it [09:32:20]req_shift_opened [09:32:20]FM_GetShiftState [09:32:20]SAM_PROTO_GetShiftState [09:32:20]wFMCommunicate request_size=4 [09:32:20]MH_SAM_APDU [09:32:20]CAPDU: 80 13 01 00 [09:32:20]Write to MH i2c: E2 08 00 84 18 80 13 01 00 00 00 00 00 19 [09:32:20]Write i2c OK [09:32:20]MH_I2C_Read... [09:32:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:32:20]Read from MH i2c: E2 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 0E 00 [09:32:20]MH_I2C_Read... [09:32:20]Read from MH i2c: E2 0E 00 84 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 EF [09:32:20]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:32:20]wFMCommunicate OK [09:32:20]SAM_PROTO_GetShiftState done [09:32:20]FM_GetShiftState done [09:32:20]req_shift_opened done [09:32:20]requested_item shift.open_date is exist - process it [09:32:20]req_shift_open_date [09:32:20]req_shift_open_date done [09:32:20]produce_requested_data done [09:32:20]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:32:20]process_action_free print_text [09:32:20]json_value_free [09:32:20]json_value_free done [09:32:20]process_json_proto returns [09:32:20]Send response to host [09:32:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:32:20]free response buf [09:32:20]execute_script done [09:32:20]execute_script returns [09:32:20]free content buf [09:32:20]Sock 7.Close socket [09:32:20]Sock 7.Thread stoped [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:00]accept exits with 9 [09:35:00]New connection [09:35:00]New thread 3067567460 created [09:35:00]Thread 3067424100 joined [09:35:00]Waiting for new connection... [09:35:00] Sock 9.Parse request [09:35:00]Sock 9.Check first char [09:35:00]Sock 9.First char is OK [09:35:00]request: POST /json_proto HTTP/1.0 [09:35:00]Method: POST [09:35:00]URL: /json_proto [09:35:00]Method is POST - this is cgi request [09:35:00]url: /json_proto [09:35:00]query_string will be loaded in cgi processing [09:35:00]execute_cgi json_proto POST (null) [09:35:00]execute_cgi path=json_proto method=POST [09:35:00]POST find Content-Length [09:35:00]Host: 172.17.38.134:8080 [09:35:00]Content-Length: 1212 [09:35:00]Content-Type: application/json [09:35:00] [09:35:00]POST finish read [09:35:00]Found Content-Length = 1212 [09:35:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672835\u000A19.06.2024 09:13\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 30.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 2187.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:00]execute_script... [09:35:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672835\u000A19.06.2024 09:13\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 30.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 2187.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:00]POST & json_proto [09:35:00]process_json_proto [09:35:00]json parsed OK: [09:35:00]protocol is kg_v1.0 [09:35:00]action value=print_text [09:35:00]process_action print_text [09:35:00]cmd_print_text [09:35:00]ExternCall_PrintAddStr [09:35:00]wPrintStart [09:35:00]Write to MH i2c: 01 00 00 85 18 9D [09:35:00]Write i2c OK [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 07 00 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 07 00 85 18 00 00 00 00 00 FF 0F B2 [09:35:00]RasterBufferAndPrint [09:35:00]line *****ТОВАРНЫЙ ЧЕК***** [09:35:00]line АЗС 120 [09:35:00]line Партнер нефть [09:35:00]line 02508201610067 [09:35:00]line Кассир : Байбугуева Г. [09:35:00]line Счет N : (1)672835 [09:35:00]line 19.06.2024 09:13 [09:35:00]line ПРОДАЖА [09:35:00]line ТРК (МРК, ГНК): 21 [09:35:00]line Вид ГСМ : 2710194210 [09:35:00]line ДТ(л)-К-5 [09:35:00]line 30.000 x 72.90 [09:35:00]line ИТОГ: 2187.00 [09:35:00]line Тип оплаты: Талоны: Топливная Карта [09:35:00]line 00562 [09:35:00]line ______________________ [09:35:00]line (подпись) [09:35:00]written 0, free lines is 4095 [09:35:00]Write to MH i2c: 01 00 00 99 18 B1 [09:35:00]Write i2c OK [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 07 00 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: 01 07 00 99 18 00 00 00 00 00 11 0E D7 [09:35:00]RasterBufferAndPrint [09:35:00]line [09:35:00]line [09:35:00]line [09:35:00]line [09:35:00]line [09:35:00]written 0, free lines is 3603 [09:35:00]MH_Cut [09:35:00]Write to MH i2c: D1 01 00 A0 18 01 8A [09:35:00]Write i2c OK [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: D1 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: D1 01 00 [09:35:00]MH_I2C_Read... [09:35:00]Read from MH i2c: D1 01 00 A0 18 00 89 [09:35:00]Write to MH i2c: 01 00 00 A1 18 B9 [09:35:00]Write i2c OK [09:35:00]MH_I2C_Read... [09:35:01]*** Cut start [09:35:01]*** Partial cut [09:35:01]*** CUTSNS_PIN = 1 [09:35:01]*** CUTSNS_PIN = 0 [09:35:01]*** Brake cut motor [09:35:01]Read from MH i2c: 01 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: 01 07 00 [09:35:01]MH_I2C_Read... [09:35:01]*** Stop cut motor [09:35:01]*** Cut end [09:35:01]Read from MH i2c: 01 07 00 A1 18 00 00 00 00 00 FF 0F CE [09:35:01]process_action print_text done [09:35:01]requested_data is exist [09:35:01]produce_requested_data [09:35:01]requested_item fm.sn is exist - process it [09:35:01]wFMCommunicate request_size=4 [09:35:01]MH_SAM_APDU [09:35:01]CAPDU: 80 11 00 00 [09:35:01]Write to MH i2c: E2 08 00 A2 18 80 11 00 00 00 00 00 00 34 [09:35:01]Write i2c OK [09:35:01]MH_I2C_Read... [09:35:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:35:01]Read from MH i2c: E2 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 17 00 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 17 00 A2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 89 [09:35:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:35:01]wFMCommunicate OK [09:35:01]requested_item fd.num is exist - process it [09:35:01]SAM_PROTO_GetFieldsCounters [09:35:01]wFMCommunicate request_size=4 [09:35:01]MH_SAM_APDU [09:35:01]CAPDU: 80 13 00 00 [09:35:01]Write to MH i2c: E2 08 00 A3 18 80 13 00 00 00 00 00 00 37 [09:35:01]Write i2c OK [09:35:01]MH_I2C_Read... [09:35:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:35:01]Read from MH i2c: E2 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 62 00 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 62 00 A3 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 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 50 [09:35:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:35:01]wFMCommunicate OK [09:35:01]SAM_PROTO_GetFieldsCounters done [09:35:01]requested_item shift.num is exist - process it [09:35:01]requested_item shift.opened is exist - process it [09:35:01]req_shift_opened [09:35:01]FM_GetShiftState [09:35:01]SAM_PROTO_GetShiftState [09:35:01]wFMCommunicate request_size=4 [09:35:01]MH_SAM_APDU [09:35:01]CAPDU: 80 13 01 00 [09:35:01]Write to MH i2c: E2 08 00 A4 18 80 13 01 00 00 00 00 00 39 [09:35:01]Write i2c OK [09:35:01]MH_I2C_Read... [09:35:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:35:01]Read from MH i2c: E2 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 0E 00 [09:35:01]MH_I2C_Read... [09:35:01]Read from MH i2c: E2 0E 00 A4 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 0F [09:35:01]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:35:01]wFMCommunicate OK [09:35:01]SAM_PROTO_GetShiftState done [09:35:01]FM_GetShiftState done [09:35:01]req_shift_opened done [09:35:01]requested_item shift.open_date is exist - process it [09:35:01]req_shift_open_date [09:35:01]req_shift_open_date done [09:35:01]produce_requested_data done [09:35:01]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:35:01]process_action_free print_text [09:35:01]json_value_free [09:35:01]json_value_free done [09:35:01]process_json_proto returns [09:35:01]Send response to host [09:35:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:35:01]free response buf [09:35:01]execute_script done [09:35:01]execute_script returns [09:35:01]free content buf [09:35:01]Sock 9.Close socket [09:35:01]Sock 9.Thread stoped [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]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:26]accept exits with 7 [09:40:26]New connection [09:40:26]New thread 3067424100 created [09:40:26]Thread 3067567460 joined [09:40:26]Waiting for new connection... [09:40:26] Sock 7.Parse request [09:40:26]Sock 7.Check first char [09:40:26]Sock 7.First char is OK [09:40:26]request: POST /json_proto HTTP/1.0 [09:40:26]Method: POST [09:40:26]URL: /json_proto [09:40:26]Method is POST - this is cgi request [09:40:26]url: /json_proto [09:40:26]query_string will be loaded in cgi processing [09:40:26]execute_cgi json_proto POST (null) [09:40:26]execute_cgi path=json_proto method=POST [09:40:26]POST find Content-Length [09:40:26]Host: 172.17.38.134:8080 [09:40:26]Content-Length: 1212 [09:40:26]Content-Type: application/json [09:40:26] [09:40:26]POST finish read [09:40:26]Found Content-Length = 1212 [09:40:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672836\u000A19.06.2024 09:18\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 73.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 5321.70\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:26]execute_script... [09:40:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672836\u000A19.06.2024 09:18\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 73.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 5321.70\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:26]POST & json_proto [09:40:26]process_json_proto [09:40:26]json parsed OK: [09:40:26]protocol is kg_v1.0 [09:40:26]action value=print_text [09:40:26]process_action print_text [09:40:26]cmd_print_text [09:40:26]ExternCall_PrintAddStr [09:40:26]wPrintStart [09:40:26]Write to MH i2c: 01 00 00 A5 18 BD [09:40:26]Write i2c OK [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: 01 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: 01 07 00 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: 01 07 00 A5 18 00 00 00 00 00 FF 0F D2 [09:40:26]RasterBufferAndPrint [09:40:26]line *****ТОВАРНЫЙ ЧЕК***** [09:40:26]line АЗС 120 [09:40:26]line Партнер нефть [09:40:26]line 02508201610067 [09:40:26]line Кассир : Байбугуева Г. [09:40:26]line Счет N : (1)672836 [09:40:26]line 19.06.2024 09:18 [09:40:26]line ПРОДАЖА [09:40:26]line ТРК (МРК, ГНК): 11 [09:40:26]line Вид ГСМ : 2710194210 [09:40:26]line ДТ(л)-К-5 [09:40:26]line 73.000 x 72.90 [09:40:26]line ИТОГ: 5321.70 [09:40:26]line Тип оплаты: Талоны: Топливная Карта [09:40:26]line 00562 [09:40:26]line ______________________ [09:40:26]line (подпись) [09:40:26]written 0, free lines is 4095 [09:40:26]Write to MH i2c: 01 00 00 B9 18 D1 [09:40:26]Write i2c OK [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: 01 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: 01 07 00 [09:40:26]MH_I2C_Read... [09:40:27]Read from MH i2c: 01 07 00 B9 18 00 00 00 00 00 11 0E F7 [09:40:27]RasterBufferAndPrint [09:40:27]line [09:40:27]line [09:40:27]line [09:40:27]line [09:40:27]line [09:40:27]written 0, free lines is 3602 [09:40:27]MH_Cut [09:40:27]Write to MH i2c: D1 01 00 C0 18 01 AA [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: D1 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: D1 01 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: D1 01 00 C0 18 00 A9 [09:40:27]Write to MH i2c: 01 00 00 C1 18 D9 [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** Cut start [09:40:27]*** Partial cut [09:40:27]*** CUTSNS_PIN = 1 [09:40:27]*** CUTSNS_PIN = 0 [09:40:27]*** Brake cut motor [09:40:28]Read from MH i2c: 01 [09:40:28]MH_I2C_Read... [09:40:28]*** Stop cut motor [09:40:28]*** Cut end [09:40:28]Read from MH i2c: 01 07 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 C1 18 00 00 00 00 00 FF 0F EE [09:40:28]process_action print_text done [09:40:28]requested_data is exist [09:40:28]produce_requested_data [09:40:28]requested_item fm.sn is exist - process it [09:40:28]wFMCommunicate request_size=4 [09:40:28]MH_SAM_APDU [09:40:28]CAPDU: 80 11 00 00 [09:40:28]Write to MH i2c: E2 08 00 C2 18 80 11 00 00 00 00 00 00 54 [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:28]Read from MH i2c: E2 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 17 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 17 00 C2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A9 [09:40:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:40:28]wFMCommunicate OK [09:40:28]requested_item fd.num is exist - process it [09:40:28]SAM_PROTO_GetFieldsCounters [09:40:28]wFMCommunicate request_size=4 [09:40:28]MH_SAM_APDU [09:40:28]CAPDU: 80 13 00 00 [09:40:28]Write to MH i2c: E2 08 00 C3 18 80 13 00 00 00 00 00 00 57 [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:28]Read from MH i2c: E2 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 62 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 62 00 C3 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 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 70 [09:40:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:40:28]wFMCommunicate OK [09:40:28]SAM_PROTO_GetFieldsCounters done [09:40:28]requested_item shift.num is exist - process it [09:40:28]requested_item shift.opened is exist - process it [09:40:28]req_shift_opened [09:40:28]FM_GetShiftState [09:40:28]SAM_PROTO_GetShiftState [09:40:28]wFMCommunicate request_size=4 [09:40:28]MH_SAM_APDU [09:40:28]CAPDU: 80 13 01 00 [09:40:28]Write to MH i2c: E2 08 00 C4 18 80 13 01 00 00 00 00 00 59 [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:28]Read from MH i2c: E2 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 0E 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: E2 0E 00 C4 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 2F [09:40:28]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:40:28]wFMCommunicate OK [09:40:28]SAM_PROTO_GetShiftState done [09:40:28]FM_GetShiftState done [09:40:28]req_shift_opened done [09:40:28]requested_item shift.open_date is exist - process it [09:40:28]req_shift_open_date [09:40:28]req_shift_open_date done [09:40:28]produce_requested_data done [09:40:28]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:40:28]process_action_free print_text [09:40:28]json_value_free [09:40:28]json_value_free done [09:40:28]process_json_proto returns [09:40:28]Send response to host [09:40:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:40:28]free response buf [09:40:28]execute_script done [09:40:28]execute_script returns [09:40:28]free content buf [09:40:28]Sock 7.Close socket [09:40:28]Sock 7.Thread stoped [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:34]OFD Sender: No OFD packet to send [09:41:39]OFD Sender: No OFD packet to send [09:41:44]OFD Sender: No OFD packet to send [09:41:49]OFD Sender: No OFD packet to send [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:16]recv_with_timeout no data received [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:57]accept exits with 9 [09:46:57]New connection [09:46:57]New thread 3067567460 created [09:46:57]Thread 3067424100 joined [09:46:57]Waiting for new connection... [09:46:57] Sock 9.Parse request [09:46:57]Sock 9.Check first char [09:46:57]Sock 9.First char is OK [09:46:57]request: POST /json_proto HTTP/1.0 [09:46:57]Method: POST [09:46:57]URL: /json_proto [09:46:57]Method is POST - this is cgi request [09:46:57]url: /json_proto [09:46:57]query_string will be loaded in cgi processing [09:46:57]execute_cgi json_proto POST (null) [09:46:57]execute_cgi path=json_proto method=POST [09:46:57]POST find Content-Length [09:46:57]Host: 172.17.38.134:8080 [09:46:57]Content-Length: 1212 [09:46:57]Content-Type: application/json [09:46:57] [09:46:57]POST finish read [09:46:57]Found Content-Length = 1212 [09:46:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672842\u000A19.06.2024 09:25\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 60.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4374.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:57]execute_script... [09:46:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)672842\u000A19.06.2024 09:25\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 11\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 60.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 4374.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A00562\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:57]POST & json_proto [09:46:57]process_json_proto [09:46:57]json parsed OK: [09:46:57]protocol is kg_v1.0 [09:46:57]action value=print_text [09:46:57]process_action print_text [09:46:57]cmd_print_text [09:46:57]ExternCall_PrintAddStr [09:46:57]wPrintStart [09:46:57]Write to MH i2c: 01 00 00 C5 18 DD [09:46:57]Write i2c OK [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 07 00 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 07 00 C5 18 00 00 00 00 00 FF 0F F2 [09:46:57]RasterBufferAndPrint [09:46:57]line *****ТОВАРНЫЙ ЧЕК***** [09:46:57]line АЗС 120 [09:46:57]line Партнер нефть [09:46:57]line 02508201610067 [09:46:57]line Кассир : Байбугуева Г. [09:46:57]line Счет N : (1)672842 [09:46:57]line 19.06.2024 09:25 [09:46:57]line ПРОДАЖА [09:46:57]line ТРК (МРК, ГНК): 11 [09:46:57]line Вид ГСМ : 2710194210 [09:46:57]line ДТ(л)-К-5 [09:46:57]line 60.000 x 72.90 [09:46:57]line ИТОГ: 4374.00 [09:46:57]line Тип оплаты: Талоны: Топливная Карта [09:46:57]line 00562 [09:46:57]line ______________________ [09:46:57]line (подпись) [09:46:57]written 0, free lines is 4095 [09:46:57]Write to MH i2c: 01 00 00 D9 18 F1 [09:46:57]Write i2c OK [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 07 00 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: 01 07 00 D9 18 00 00 00 00 00 11 0E 17 [09:46:57]RasterBufferAndPrint [09:46:57]line [09:46:57]line [09:46:57]line [09:46:57]line [09:46:57]line [09:46:57]written 0, free lines is 3602 [09:46:57]MH_Cut [09:46:57]Write to MH i2c: D1 01 00 E0 18 01 CA [09:46:57]Write i2c OK [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: D1 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: D1 01 00 [09:46:57]MH_I2C_Read... [09:46:57]Read from MH i2c: D1 01 00 E0 18 00 C9 [09:46:57]Write to MH i2c: 01 00 00 E1 18 F9 [09:46:57]Write i2c OK [09:46:57]MH_I2C_Read... [09:46:58]*** Cut start [09:46:58]*** Partial cut [09:46:58]*** CUTSNS_PIN = 1 [09:46:58]*** CUTSNS_PIN = 0 [09:46:58]*** Brake cut motor [09:46:58]Read from MH i2c: 01 [09:46:58]MH_I2C_Read... [09:46:58]Read from MH i2c: 01 07 00 [09:46:58]MH_I2C_Read... [09:46:58]*** Stop cut motor [09:46:58]*** Cut end [09:46:58]Read from MH i2c: 01 07 00 E1 18 00 00 00 00 00 FF 0F 0E [09:46:58]process_action print_text done [09:46:58]requested_data is exist [09:46:58]produce_requested_data [09:46:58]requested_item fm.sn is exist - process it [09:46:58]wFMCommunicate request_size=4 [09:46:58]MH_SAM_APDU [09:46:58]CAPDU: 80 11 00 00 [09:46:58]Write to MH i2c: E2 08 00 E2 18 80 11 00 00 00 00 00 00 74 [09:46:58]Write i2c OK [09:46:58]MH_I2C_Read... [09:46:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:58]Read from MH i2c: E2 [09:46:58]MH_I2C_Read... [09:46:58]Read from MH i2c: E2 17 00 [09:46:58]MH_I2C_Read... [09:46:58]Read from MH i2c: E2 17 00 E2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C9 [09:46:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:46:58]wFMCommunicate OK [09:46:58]requested_item fd.num is exist - process it [09:46:58]SAM_PROTO_GetFieldsCounters [09:46:58]wFMCommunicate request_size=4 [09:46:58]MH_SAM_APDU [09:46:58]CAPDU: 80 13 00 00 [09:46:58]Write to MH i2c: E2 08 00 E3 18 80 13 00 00 00 00 00 00 77 [09:46:58]Write i2c OK [09:46:58]MH_I2C_Read... [09:46:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:59]Read from MH i2c: E2 [09:46:59]MH_I2C_Read... [09:46:59]Read from MH i2c: E2 62 00 [09:46:59]MH_I2C_Read... [09:46:59]Read from MH i2c: E2 62 00 E3 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 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 90 [09:46:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 03 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:59]wFMCommunicate OK [09:46:59]SAM_PROTO_GetFieldsCounters done [09:46:59]requested_item shift.num is exist - process it [09:46:59]requested_item shift.opened is exist - process it [09:46:59]req_shift_opened [09:46:59]FM_GetShiftState [09:46:59]SAM_PROTO_GetShiftState [09:46:59]wFMCommunicate request_size=4 [09:46:59]MH_SAM_APDU [09:46:59]CAPDU: 80 13 01 00 [09:46:59]Write to MH i2c: E2 08 00 E4 18 80 13 01 00 00 00 00 00 79 [09:46:59]Write i2c OK [09:46:59]MH_I2C_Read... [09:46:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:59]Read from MH i2c: E2 [09:46:59]MH_I2C_Read... [09:46:59]Read from MH i2c: E2 0E 00 [09:46:59]MH_I2C_Read... [09:46:59]Read from MH i2c: E2 0E 00 E4 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 4F [09:46:59]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:46:59]wFMCommunicate OK [09:46:59]SAM_PROTO_GetShiftState done [09:46:59]FM_GetShiftState done [09:46:59]req_shift_opened done [09:46:59]requested_item shift.open_date is exist - process it [09:46:59]req_shift_open_date [09:46:59]req_shift_open_date done [09:46:59]produce_requested_data done [09:46:59]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:46:59]process_action_free print_text [09:46:59]json_value_free [09:46:59]json_value_free done [09:46:59]process_json_proto returns [09:46:59]Send response to host [09:46:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34307,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:46:59]free response buf [09:46:59]execute_script done [09:46:59]execute_script returns [09:46:59]free content buf [09:46:59]Sock 9.Close socket [09:46:59]Sock 9.Thread stoped [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:02]accept exits with 7 [09:54:02]New connection [09:54:02]New thread 3067424100 created [09:54:02]Thread 3067567460 joined [09:54:02]Waiting for new connection... [09:54:02] Sock 7.Parse request [09:54:02]Sock 7.Check first char [09:54:02]Sock 7.First char is OK [09:54:02]request: POST /json_proto HTTP/1.0 [09:54:02]Method: POST [09:54:02]URL: /json_proto [09:54:02]Method is POST - this is cgi request [09:54:02]url: /json_proto [09:54:02]query_string will be loaded in cgi processing [09:54:02]execute_cgi json_proto POST (null) [09:54:02]execute_cgi path=json_proto method=POST [09:54:02]POST find Content-Length [09:54:02]Host: 172.17.38.134:8080 [09:54:02]Content-Length: 637 [09:54:02]Content-Type: application/json [09:54:02] [09:54:02]POST finish read [09:54:02]Found Content-Length = 637 [09:54:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184088", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:54:02]execute_script... [09:54:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184088", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:54:02]POST & json_proto [09:54:02]process_json_proto [09:54:02]json parsed OK: [09:54:02]protocol is kg_v1.0 [09:54:02]action value=close_receipt [09:54:02]process_action close_receipt [09:54:02]cmd_close_receipt [09:54:02]MH_GetDate [09:54:02]Write to MH i2c: F0 00 00 E5 18 EC [09:54:02]Write i2c OK [09:54:02]MH_I2C_Read... [09:54:02]Read from MH i2c: F0 [09:54:02]MH_I2C_Read... [09:54:02]Read from MH i2c: F0 09 00 [09:54:02]MH_I2C_Read... [09:54:02]Read from MH i2c: F0 09 00 E5 18 00 BF AA 72 66 13 9C 7C 64 C5 [09:54:02]GetLastDocTimeStamp 1718789329 [09:54:02]current date 1718790847 [09:54:02]FM_GetShiftState [09:54:02]SAM_PROTO_GetShiftState [09:54:02]wFMCommunicate request_size=4 [09:54:02]MH_SAM_APDU [09:54:02]CAPDU: 80 13 01 00 [09:54:02]Write to MH i2c: E2 08 00 E6 18 80 13 01 00 00 00 00 00 7B [09:54:02]Write i2c OK [09:54:02]MH_I2C_Read... [09:54:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:03]Read from MH i2c: E2 [09:54:03]MH_I2C_Read... [09:54:03]Read from MH i2c: E2 0E 00 [09:54:03]MH_I2C_Read... [09:54:03]Read from MH i2c: E2 0E 00 E6 18 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 51 [09:54:03]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:54:03]wFMCommunicate OK [09:54:03]SAM_PROTO_GetShiftState done [09:54:03]FM_GetShiftState done [09:54:03]opened in 1718756813 [09:54:03]opened+sec_in_day 1718843213 [09:54:03]quantity*price = 8000 [09:54:03]sum+1 = 8001 [09:54:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 12 19.06.2024 09:54 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34308 ФПД: 235908795678084 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T095407&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34308&fm=235908795678084&tin=02508201610067®Number=0000000000092786&sum=8000 0 [09:54:04]StoreToDocumentArchive [09:54:04]shift 324 fd 34308 [09:54:04]save to /storage/0324/doc_00034308 [09:54:04]save last doc name /storage/0324/doc_00034308 to /storage/kkm_last_doc_name [09:54:04]save OK [09:54:04]Clear old archive folders... [09:54:04]ProcessDocumentItem done err = 0, tmpTLVsize=288 [09:54:04]tlvbuf is 01968FE0 [09:54:04]SAM_PROTO_ClearQueue [09:54:04]wFMCommunicate request_size=4 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 09 00 00 [09:54:04]Write to MH i2c: E2 08 00 F3 18 80 09 00 00 00 00 00 00 7D [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 F3 18 00 90 00 7F [09:54:04]RAPDU: 90 00 [09:54:04]wFMCommunicate OK [09:54:04]SAM_PROTO_ClearQueue done [09:54:04]KKMCreateOFDPacket [09:54:04]OFDProtocolAddRootSTLVToBuf [09:54:04]FM_MakeSignedData [09:54:04]FM_MakeSignedData [09:54:04]SAM_PROTO_SignData [09:54:04]wFMCommunicate request_size=4 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 0D 01 02 [09:54:04]Write to MH i2c: E2 08 00 F4 18 80 0D 01 02 00 00 00 00 85 [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 F4 18 00 90 00 80 [09:54:04]RAPDU: 90 00 [09:54:04]wFMCommunicate OK [09:54:04]wFMCommunicate request_size=255 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 BF AA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [09:54:04]Write to MH i2c: E2 02 01 F5 18 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 BF AA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 61 [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 F5 18 00 90 00 81 [09:54:04]RAPDU: 90 00 [09:54:04]wFMCommunicate OK [09:54:04]wFMCommunicate request_size=47 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 0D 02 02 2A 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 04 86 00 00 35 04 06 00 D6 8E CB F7 3D 84 [09:54:04]Write to MH i2c: E2 32 00 F6 18 80 0D 02 02 2A 00 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 04 86 00 00 35 04 06 00 D6 8E CB F7 3D 84 00 00 C2 [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 03 00 F6 18 00 90 00 82 [09:54:04]RAPDU: 90 00 [09:54:04]wFMCommunicate OK [09:54:04]wFMCommunicate request_size=4 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 0D 03 02 [09:54:04]Write to MH i2c: E2 08 00 F7 18 80 0D 03 02 00 00 00 00 8A [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]OFD Sender: No OFD packet to send [09:54:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 0B 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 0B 00 F7 18 00 28 D1 24 1A 04 19 74 C9 90 00 1C [09:54:04]RAPDU: 28 D1 24 1A 04 19 74 C9 90 00 [09:54:04]wFMCommunicate OK [09:54:04]SAM_PROTO_SignData done [09:54:04]FM_MakeSignedData done [09:54:04]CreateOFDProtocolMessage [09:54:04]wFMCommunicate request_size=4 [09:54:04]MH_SAM_APDU [09:54:04]CAPDU: 80 11 00 00 [09:54:04]Write to MH i2c: E2 08 00 F8 18 80 11 00 00 00 00 00 00 8A [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:04]Read from MH i2c: E2 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 17 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: E2 17 00 F8 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DF [09:54:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:54:04]wFMCommunicate OK [09:54:04]CreateOFDProtocolMessage done [09:54:04]OFDSenderStorePacket 34308 [09:54:04]StoreOFDPacket docnum=34308 [09:54:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 34 01 00 00 A3 B6 2C 01 CA 34 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 BF AA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 04 86 00 00 35 04 06 00 D6 8E CB F7 3D 84 28 D1 24 1A 04 19 74 C9 [09:54:04]CheckFolder [09:54:04]dirname=/storage/ofd_packets [09:54:04]CheckFolder done [09:54:04]ProducePacketName [09:54:04]name=ofd_packets/00034308 [09:54:04]NVStorageSaveData ofd_packets/00034308 [09:54:04]File name is /storage/ofd_packets/00034308 [09:54:04]Write 338 bytes [09:54:04]NVStorageSaveData done [09:54:04]OFDSenderStorePacket done [09:54:04]KKMCreateOFDPacket done [09:54:04]NVStorageSaveData kkm_last_timestamp [09:54:04]File name is /storage/kkm_last_timestamp [09:54:04]Write 4 bytes [09:54:04]NVStorageSaveData done [09:54:04]ExternCall_PrintAddStr [09:54:04]wPrintStart [09:54:04]Write to MH i2c: 01 00 00 F9 18 11 [09:54:04]Write i2c OK [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: 01 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: 01 07 00 [09:54:04]MH_I2C_Read... [09:54:04]Read from MH i2c: 01 07 00 F9 18 00 00 00 00 00 FF 0F 26 [09:54:04]RasterBufferAndPrint [09:54:04]line Счет N : (3)184088 [09:54:04]line ИНН: 02508201610067 [09:54:04]line Контрольно-Кассовый Чек [09:54:04]line ПРОДАЖА [09:54:04]line Товар: 3800020453407 [09:54:04]line Nestle KIT-KAT батончик chunky 36x40г [09:54:04]line 1.000 * 80.00 [09:54:04]line = 80.00 [09:54:04]line НДС 12% НСП 1% [09:54:04]line > о реализуемом товаре [09:54:04]line ИТОГО: 80.00 [09:54:04]line НСП 1% : 0.71 [09:54:04]line НДС 12% : 8.50 [09:54:04]line Наличными: 80.00 [09:54:04]line Безнал.: 0.00 [09:54:04]line Место: АЗС № 120 "Партнер Нефть" [09:54:04]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [09:54:04]line СНО: Общий режим [09:54:04]line Чек 12 19.06.2024 09:54 [09:54:04]line Смена: 324 ФФД: 1.0 [09:54:04]line ЗНМ: 0300000172 [09:54:04]line РНМ: 0000000000092786 [09:54:04]line Версия ККМ: 001 [09:54:05]line ФМ: 0000000000875095 [09:54:05]line ФД: 34308 [09:54:05]line ФПД: 235908795678084 [09:54:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T095407&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34308&fm=235908795678084&tin=02508201610067®Number=0000000000092786&sum=8000 [09:54:05]line 0 [09:54:05]OFD Sender: Processing packet 34308 [packets to send 8, broken 7] [09:54:05]ProducePacketName [09:54:05]name=ofd_packets/00034308 [09:54:05]OFD Sender: To server: pG, [09:54:05]CommunicateWithHost lk.salyk.kg:30040 [09:54:05]ConnectInit lk.salyk.kg [09:54:05]written 0, free lines is 4095 [09:54:05]Connected sock=10 [09:54:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 34 01 00 00 A3 B6 2C 01 CA 34 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 BF AA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 04 86 00 00 35 04 06 00 D6 8E CB F7 3D 84 28 D1 24 1A 04 19 74 C9 [09:54:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D6 29 47 00 41 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 04 86 00 00 F4 03 04 00 8C 51 72 66 B6 04 01 00 00 09 EF D8 90 B6 98 3A 9E [09:54:05]CommunicateWithHost err = 0 [09:54:05]CheckOFDResponse [09:54:05]1017 (14) - 77093643461234 [09:54:05]1041 (16) - 0000000000875095 [09:54:05]1040 (4) - 34308 [09:54:05]1012 (4) - 19.06.2024 03:33 [09:54:05]1206 (1) - 0 [09:54:05]OFD Sender: Remove packet 34308 [09:54:05]ProducePacketName [09:54:05]name=ofd_packets/00034308 [09:54:05]NVStorageDeleteData [09:54:05]Write to MH i2c: 01 00 00 22 19 3B [09:54:05]Write i2c OK [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: 01 [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: 01 07 00 [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: 01 07 00 22 19 00 00 00 00 00 E4 0C 32 [09:54:05]RasterBufferAndPrint [09:54:05]line [09:54:05]line [09:54:05]line [09:54:05]line [09:54:05]line [09:54:05]written 0, free lines is 3306 [09:54:05]MH_Cut [09:54:05]Write to MH i2c: D1 01 00 29 19 01 14 [09:54:05]Write i2c OK [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: D1 [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: D1 01 00 [09:54:05]MH_I2C_Read... [09:54:05]Read from MH i2c: D1 01 00 29 19 00 13 [09:54:05]Write to MH i2c: 01 00 00 2A 19 43 [09:54:05]Write i2c OK [09:54:05]MH_I2C_Read... [09:54:05]OFD Sender: No OFD packet to send [09:54:06]*** Cut start [09:54:06]*** Partial cut [09:54:06]*** CUTSNS_PIN = 1 [09:54:06]*** CUTSNS_PIN = 0 [09:54:06]*** Brake cut motor [09:54:06]Read from MH i2c: 01 [09:54:06]MH_I2C_Read... [09:54:06]*** Stop cut motor [09:54:06]*** Cut end [09:54:06]Read from MH i2c: 01 07 00 [09:54:06]MH_I2C_Read... [09:54:06]Read from MH i2c: 01 07 00 2A 19 00 00 00 00 00 FF 0F 58 [09:54:06]process_action close_receipt done [09:54:06]requested_data is exist [09:54:06]produce_requested_data [09:54:06]requested_item fm.sn is exist - process it [09:54:06]wFMCommunicate request_size=4 [09:54:06]MH_SAM_APDU [09:54:06]CAPDU: 80 11 00 00 [09:54:06]Write to MH i2c: E2 08 00 2B 19 80 11 00 00 00 00 00 00 BE [09:54:06]Write i2c OK [09:54:06]MH_I2C_Read... [09:54:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:06]Read from MH i2c: E2 [09:54:06]MH_I2C_Read... [09:54:06]Read from MH i2c: E2 17 00 [09:54:06]MH_I2C_Read... [09:54:06]Read from MH i2c: E2 17 00 2B 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 13 [09:54:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [09:54:06]wFMCommunicate OK [09:54:06]requested_item fd.num is exist - process it [09:54:06]SAM_PROTO_GetFieldsCounters [09:54:06]wFMCommunicate request_size=4 [09:54:06]MH_SAM_APDU [09:54:06]CAPDU: 80 13 00 00 [09:54:06]Write to MH i2c: E2 08 00 2C 19 80 13 00 00 00 00 00 00 C1 [09:54:06]Write i2c OK [09:54:06]MH_I2C_Read... [09:54:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:54:07]Read from MH i2c: E2 [09:54:07]MH_I2C_Read... [09:54:07]Read from MH i2c: E2 62 00 [09:54:07]MH_I2C_Read... [09:54:07]Read from MH i2c: E2 62 00 2C 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 04 86 00 00 0E 04 04 00 44 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 DE [09:54:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 04 86 00 00 0E 04 04 00 44 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:54:07]wFMCommunicate OK [09:54:07]SAM_PROTO_GetFieldsCounters done [09:54:07]requested_item shift.num is exist - process it [09:54:07]requested_item shift.opened is exist - process it [09:54:07]req_shift_opened [09:54:07]FM_GetShiftState [09:54:07]SAM_PROTO_GetShiftState [09:54:07]wFMCommunicate request_size=4 [09:54:07]MH_SAM_APDU [09:54:07]CAPDU: 80 13 01 00 [09:54:07]Write to MH i2c: E2 08 00 2D 19 80 13 01 00 00 00 00 00 C3 [09:54:07]Write i2c OK [09:54:07]MH_I2C_Read... [09:54:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:07]Read from MH i2c: E2 [09:54:07]MH_I2C_Read... [09:54:07]Read from MH i2c: E2 0E 00 [09:54:07]MH_I2C_Read... [09:54:07]Read from MH i2c: E2 0E 00 2D 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 99 [09:54:07]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [09:54:07]wFMCommunicate OK [09:54:07]SAM_PROTO_GetShiftState done [09:54:07]FM_GetShiftState done [09:54:07]req_shift_opened done [09:54:07]requested_item shift.open_date is exist - process it [09:54:07]req_shift_open_date [09:54:07]req_shift_open_date done [09:54:07]produce_requested_data done [09:54:07]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34308,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [09:54:07]process_action_free close_receipt [09:54:07]json_value_free [09:54:07]json_value_free done [09:54:07]process_json_proto returns [09:54:07]Send response to host [09:54:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34308,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [09:54:07]free response buf [09:54:07]execute_script done [09:54:07]execute_script returns [09:54:07]free content buf [09:54:07]Sock 7.Close socket [09:54:07]Sock 7.Thread stoped [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:20]OFD Sender: No OFD packet to send [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56:46]OFD Sender: No OFD packet to send [09:56:51]OFD Sender: No OFD packet to send [09:56:56]OFD Sender: No OFD packet to send [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:26]OFD Sender: No OFD packet to send [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:06]accept exits with 9 [10:00:06]New connection [10:00:06]New thread 3067567460 created [10:00:06]Thread 3067424100 joined [10:00:06]Waiting for new connection... [10:00:06] Sock 9.Parse request [10:00:06]Sock 9.Check first char [10:00:06]Sock 9.First char is OK [10:00:06]request: POST /json_proto HTTP/1.0 [10:00:06]Method: POST [10:00:06]URL: /json_proto [10:00:06]Method is POST - this is cgi request [10:00:06]url: /json_proto [10:00:06]query_string will be loaded in cgi processing [10:00:06]execute_cgi json_proto POST (null) [10:00:06]execute_cgi path=json_proto method=POST [10:00:06]POST find Content-Length [10:00:06]Host: 172.17.38.134:8080 [10:00:06]Content-Length: 677 [10:00:06]Content-Type: application/json [10:00:06] [10:00:06]POST finish read [10:00:06]Found Content-Length = 677 [10:00:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672846", "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.40, "quantity" : 7.540, "sum" : 500.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:00:06]execute_script... [10:00:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672846", "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.40, "quantity" : 7.540, "sum" : 500.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:00:06]POST & json_proto [10:00:06]process_json_proto [10:00:06]json parsed OK: [10:00:06]protocol is kg_v1.0 [10:00:06]action value=close_receipt [10:00:06]process_action close_receipt [10:00:06]cmd_close_receipt [10:00:06]MH_GetDate [10:00:06]Write to MH i2c: F0 00 00 2E 19 36 [10:00:06]Write i2c OK [10:00:06]MH_I2C_Read... [10:00:06]Read from MH i2c: F0 [10:00:06]MH_I2C_Read... [10:00:06]Read from MH i2c: F0 09 00 [10:00:06]MH_I2C_Read... [10:00:06]Read from MH i2c: F0 09 00 2E 19 00 2A AC 72 66 13 9C 7C 64 7C [10:00:06]GetLastDocTimeStamp 1718790847 [10:00:06]current date 1718791210 [10:00:06]FM_GetShiftState [10:00:06]SAM_PROTO_GetShiftState [10:00:06]wFMCommunicate request_size=4 [10:00:06]MH_SAM_APDU [10:00:06]CAPDU: 80 13 01 00 [10:00:06]Write to MH i2c: E2 08 00 2F 19 80 13 01 00 00 00 00 00 C5 [10:00:06]Write i2c OK [10:00:06]MH_I2C_Read... [10:00:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:06]Read from MH i2c: E2 [10:00:06]MH_I2C_Read... [10:00:06]Read from MH i2c: E2 0E 00 [10:00:06]MH_I2C_Read... [10:00:06]Read from MH i2c: E2 0E 00 2F 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 9B [10:00:06]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:00:06]wFMCommunicate OK [10:00:06]SAM_PROTO_GetShiftState done [10:00:06]FM_GetShiftState done [10:00:06]opened in 1718756813 [10:00:06]opened+sec_in_day 1718843213 [10:00:06]quantity*price = 50065 [10:00:06]sum+1 = 50067 [10:00:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.66 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.17 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 13 19.06.2024 10:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34309 ФПД: 21011625561636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T100010&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34309&fm=21011625561636&tin=02508201610067®Number=0000000000092786&sum=50000 [10:00:07]StoreToDocumentArchive [10:00:07]shift 324 fd 34309 [10:00:07]save to /storage/0324/doc_00034309 [10:00:07]save last doc name /storage/0324/doc_00034309 to /storage/kkm_last_doc_name [10:00:07]save OK [10:00:07]Clear old archive folders... [10:00:07]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:00:07]tlvbuf is 0194A960 [10:00:07]SAM_PROTO_ClearQueue [10:00:07]wFMCommunicate request_size=4 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 09 00 00 [10:00:07]Write to MH i2c: E2 08 00 3C 19 80 09 00 00 00 00 00 00 C7 [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 3C 19 00 90 00 C9 [10:00:07]RAPDU: 90 00 [10:00:07]wFMCommunicate OK [10:00:07]SAM_PROTO_ClearQueue done [10:00:07]KKMCreateOFDPacket [10:00:07]OFDProtocolAddRootSTLVToBuf [10:00:07]FM_MakeSignedData [10:00:07]FM_MakeSignedData [10:00:07]SAM_PROTO_SignData [10:00:07]wFMCommunicate request_size=4 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 0D 01 02 [10:00:07]Write to MH i2c: E2 08 00 3D 19 80 0D 01 02 00 00 00 00 CF [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 3D 19 00 90 00 CA [10:00:07]RAPDU: 90 00 [10:00:07]wFMCommunicate OK [10:00:07]wFMCommunicate request_size=255 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 0D 00 00 00 F4 03 04 00 2A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 05 86 00 00 35 04 06 00 13 [10:00:07]Write to MH i2c: E2 02 01 3E 19 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 0D 00 00 00 F4 03 04 00 2A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 05 86 00 00 35 04 06 00 13 00 00 2A [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 3E 19 00 90 00 CB [10:00:07]RAPDU: 90 00 [10:00:07]wFMCommunicate OK [10:00:07]wFMCommunicate request_size=10 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 0D 02 02 05 1C 26 7A 4E 24 [10:00:07]Write to MH i2c: E2 0D 00 3F 19 80 0D 02 02 05 00 1C 26 7A 4E 24 00 00 0A [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 03 00 3F 19 00 90 00 CC [10:00:07]RAPDU: 90 00 [10:00:07]wFMCommunicate OK [10:00:07]wFMCommunicate request_size=4 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 0D 03 02 [10:00:07]Write to MH i2c: E2 08 00 40 19 80 0D 03 02 00 00 00 00 D4 [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 0B 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 0B 00 40 19 00 21 EF 04 7D 89 1A BF 6A 90 00 32 [10:00:07]RAPDU: 21 EF 04 7D 89 1A BF 6A 90 00 [10:00:07]wFMCommunicate OK [10:00:07]SAM_PROTO_SignData done [10:00:07]FM_MakeSignedData done [10:00:07]CreateOFDProtocolMessage [10:00:07]wFMCommunicate request_size=4 [10:00:07]MH_SAM_APDU [10:00:07]CAPDU: 80 11 00 00 [10:00:07]Write to MH i2c: E2 08 00 41 19 80 11 00 00 00 00 00 00 D4 [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:07]Read from MH i2c: E2 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 17 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: E2 17 00 41 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 29 [10:00:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:00:07]wFMCommunicate OK [10:00:07]CreateOFDProtocolMessage done [10:00:07]OFDSenderStorePacket 34309 [10:00:07]StoreOFDPacket docnum=34309 [10:00:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 39 9A 07 01 0C 4F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 0D 00 00 00 F4 03 04 00 2A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 05 86 00 00 35 04 06 00 13 1C 26 7A 4E 24 21 EF 04 7D 89 1A BF 6A [10:00:07]CheckFolder [10:00:07]dirname=/storage/ofd_packets [10:00:07]CheckFolder done [10:00:07]ProducePacketName [10:00:07]name=ofd_packets/00034309 [10:00:07]NVStorageSaveData ofd_packets/00034309 [10:00:07]File name is /storage/ofd_packets/00034309 [10:00:07]Write 301 bytes [10:00:07]NVStorageSaveData done [10:00:07]OFDSenderStorePacket done [10:00:07]KKMCreateOFDPacket done [10:00:07]NVStorageSaveData kkm_last_timestamp [10:00:07]File name is /storage/kkm_last_timestamp [10:00:07]Write 4 bytes [10:00:07]NVStorageSaveData done [10:00:07]OFD Sender: Processing packet 34309 [packets to send 8, broken 7] [10:00:07]ProducePacketName [10:00:07]name=ofd_packets/00034309 [10:00:07]OFD Sender: To server: pG, [10:00:07]CommunicateWithHost lk.salyk.kg:30040 [10:00:07]ConnectInit lk.salyk.kg [10:00:07]ExternCall_PrintAddStr [10:00:07]wPrintStart [10:00:07]Write to MH i2c: 01 00 00 42 19 5B [10:00:07]Write i2c OK [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: 01 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: 01 07 00 [10:00:07]MH_I2C_Read... [10:00:07]Read from MH i2c: 01 07 00 42 19 00 00 00 00 00 FF 0F 70 [10:00:07]RasterBufferAndPrint [10:00:07]line Счет N : (1)672846 [10:00:07]line ИНН: 02508201610067 [10:00:07]line Контрольно-Кассовый Чек [10:00:07]line ПРОДАЖА [10:00:07]line ТРК (МРК, ГНК) : 32 [10:00:07]line Товар: 2710124130 [10:00:07]line Аи-92-К-5 [10:00:07]line 7.540 * 66.40 [10:00:07]line = 500.66 [10:00:07]line НДС 12% НСП 1% [10:00:07]line > о реализуемом товаре [10:00:07]line ОКРУГЛЕНИЕ: -0.66 [10:00:07]line ИТОГО: 500.00 [10:00:07]line Внесено: 500.00 [10:00:07]line СДАЧА: 0.00 [10:00:07]line НСП 1% : 4.43 [10:00:07]line НДС 12% : 53.17 [10:00:07]line Наличными: 500.00 [10:00:07]line Безнал.: 0.00 [10:00:07]line Место: АЗС № 120 "Партнер Нефть" [10:00:07]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:00:07]line СНО: Общий режим [10:00:07]line Чек 13 19.06.2024 10:00 [10:00:07]line Смена: 324 ФФД: 1.0 [10:00:07]line ЗНМ: 0300000172 [10:00:07]line РНМ: 0000000000092786 [10:00:07]line Версия ККМ: 001 [10:00:08]line ФМ: 0000000000875095 [10:00:08]line ФД: 34309 [10:00:08]line ФПД: 21011625561636 [10:00:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T100010&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34309&fm=21011625561636&tin=02508201610067®Number=0000000000092786&sum=50000 [10:00:08]Connected sock=11 [10:00:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 39 9A 07 01 0C 4F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 74 1D 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 92 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 C5 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 0D 00 00 00 F4 03 04 00 2A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 05 86 00 00 35 04 06 00 13 1C 26 7A 4E 24 21 EF 04 7D 89 1A BF 6A [10:00:08]written 0, free lines is 4095 [10:00:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3E 08 47 00 D0 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 05 86 00 00 F4 03 04 00 F8 52 72 66 B6 04 01 00 00 23 1F 7F 56 80 19 9B B6 [10:00:08]CommunicateWithHost err = 0 [10:00:08]CheckOFDResponse [10:00:08]1017 (14) - 77093643461234 [10:00:08]1041 (16) - 0000000000875095 [10:00:08]1040 (4) - 34309 [10:00:08]1012 (4) - 19.06.2024 03:39 [10:00:08]1206 (1) - 0 [10:00:08]OFD Sender: Remove packet 34309 [10:00:08]ProducePacketName [10:00:08]name=ofd_packets/00034309 [10:00:08]NVStorageDeleteData [10:00:08]Write to MH i2c: 01 00 00 6D 19 86 [10:00:08]Write i2c OK [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: 01 [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: 01 07 00 [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: 01 07 00 6D 19 00 00 00 00 00 CD 0C 66 [10:00:08]RasterBufferAndPrint [10:00:08]line [10:00:08]line [10:00:08]line [10:00:08]line [10:00:08]line [10:00:08]written 0, free lines is 3283 [10:00:08]MH_Cut [10:00:08]Write to MH i2c: D1 01 00 74 19 01 5F [10:00:08]Write i2c OK [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: D1 [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: D1 01 00 [10:00:08]MH_I2C_Read... [10:00:08]Read from MH i2c: D1 01 00 74 19 00 5E [10:00:08]Write to MH i2c: 01 00 00 75 19 8E [10:00:08]Write i2c OK [10:00:08]MH_I2C_Read... [10:00:09]OFD Sender: No OFD packet to send [10:00:09]*** Cut start [10:00:09]*** Partial cut [10:00:09]*** CUTSNS_PIN = 1 [10:00:09]*** CUTSNS_PIN = 0 [10:00:09]*** Brake cut motor [10:00:10]Read from MH i2c: 01 [10:00:10]MH_I2C_Read... [10:00:10]*** Stop cut motor [10:00:10]*** Cut end [10:00:10]Read from MH i2c: 01 07 00 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: 01 07 00 75 19 00 00 00 00 00 FF 0F A3 [10:00:10]process_action close_receipt done [10:00:10]requested_data is exist [10:00:10]produce_requested_data [10:00:10]requested_item fm.sn is exist - process it [10:00:10]wFMCommunicate request_size=4 [10:00:10]MH_SAM_APDU [10:00:10]CAPDU: 80 11 00 00 [10:00:10]Write to MH i2c: E2 08 00 76 19 80 11 00 00 00 00 00 00 09 [10:00:10]Write i2c OK [10:00:10]MH_I2C_Read... [10:00:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:10]Read from MH i2c: E2 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 17 00 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 17 00 76 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5E [10:00:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:00:10]wFMCommunicate OK [10:00:10]requested_item fd.num is exist - process it [10:00:10]SAM_PROTO_GetFieldsCounters [10:00:10]wFMCommunicate request_size=4 [10:00:10]MH_SAM_APDU [10:00:10]CAPDU: 80 13 00 00 [10:00:10]Write to MH i2c: E2 08 00 77 19 80 13 00 00 00 00 00 00 0C [10:00:10]Write i2c OK [10:00:10]MH_I2C_Read... [10:00:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:00:10]Read from MH i2c: E2 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 62 00 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 62 00 77 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 05 86 00 00 0E 04 04 00 44 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 2D [10:00:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 05 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:00:10]wFMCommunicate OK [10:00:10]SAM_PROTO_GetFieldsCounters done [10:00:10]requested_item shift.num is exist - process it [10:00:10]requested_item shift.opened is exist - process it [10:00:10]req_shift_opened [10:00:10]FM_GetShiftState [10:00:10]SAM_PROTO_GetShiftState [10:00:10]wFMCommunicate request_size=4 [10:00:10]MH_SAM_APDU [10:00:10]CAPDU: 80 13 01 00 [10:00:10]Write to MH i2c: E2 08 00 78 19 80 13 01 00 00 00 00 00 0E [10:00:10]Write i2c OK [10:00:10]MH_I2C_Read... [10:00:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:10]Read from MH i2c: E2 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 0E 00 [10:00:10]MH_I2C_Read... [10:00:10]Read from MH i2c: E2 0E 00 78 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 E4 [10:00:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:00:10]wFMCommunicate OK [10:00:10]SAM_PROTO_GetShiftState done [10:00:10]FM_GetShiftState done [10:00:10]req_shift_opened done [10:00:10]requested_item shift.open_date is exist - process it [10:00:10]req_shift_open_date [10:00:10]req_shift_open_date done [10:00:10]produce_requested_data done [10:00:10]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34309,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [10:00:10]process_action_free close_receipt [10:00:10]json_value_free [10:00:10]json_value_free done [10:00:10]process_json_proto returns [10:00:10]Send response to host [10:00:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34309,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [10:00:10]free response buf [10:00:10]execute_script done [10:00:10]execute_script returns [10:00:10]free content buf [10:00:10]Sock 9.Close socket [10:00:10]Sock 9.Thread stoped [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:21]accept exits with 7 [10:00:21]New connection [10:00:21]New thread 3067424100 created [10:00:21]Thread 3067567460 joined [10:00:21]Waiting for new connection... [10:00:21] Sock 7.Parse request [10:00:21]Sock 7.Check first char [10:00:21]Sock 7.First char is OK [10:00:21]request: POST /json_proto HTTP/1.0 [10:00:21]Method: POST [10:00:21]URL: /json_proto [10:00:21]Method is POST - this is cgi request [10:00:21]url: /json_proto [10:00:21]query_string will be loaded in cgi processing [10:00:21]execute_cgi json_proto POST (null) [10:00:21]execute_cgi path=json_proto method=POST [10:00:21]POST find Content-Length [10:00:21]Host: 172.17.38.134:8080 [10:00:21]Content-Length: 682 [10:00:21]Content-Type: application/json [10:00:21] [10:00:21]POST finish read [10:00:21]Found Content-Length = 682 [10:00:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672847", "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.40, "quantity" : 22.600, "sum" : 1500.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:00:21]execute_script... [10:00: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)672847", "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.40, "quantity" : 22.600, "sum" : 1500.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:00:21]POST & json_proto [10:00:21]process_json_proto [10:00:21]json parsed OK: [10:00:21]protocol is kg_v1.0 [10:00:21]action value=close_receipt [10:00:21]process_action close_receipt [10:00:21]cmd_close_receipt [10:00:21]MH_GetDate [10:00:21]Write to MH i2c: F0 00 00 79 19 81 [10:00:21]Write i2c OK [10:00:21]MH_I2C_Read... [10:00:21]Read from MH i2c: F0 [10:00:21]MH_I2C_Read... [10:00:21]Read from MH i2c: F0 09 00 [10:00:21]MH_I2C_Read... [10:00:21]Read from MH i2c: F0 09 00 79 19 00 3A AC 72 66 13 9C 7C 64 D7 [10:00:21]GetLastDocTimeStamp 1718791210 [10:00:21]current date 1718791226 [10:00:21]FM_GetShiftState [10:00:21]SAM_PROTO_GetShiftState [10:00:21]wFMCommunicate request_size=4 [10:00:21]MH_SAM_APDU [10:00:21]CAPDU: 80 13 01 00 [10:00:21]Write to MH i2c: E2 08 00 7A 19 80 13 01 00 00 00 00 00 10 [10:00:21]Write i2c OK [10:00:21]MH_I2C_Read... [10:00:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:21]Read from MH i2c: E2 [10:00:21]MH_I2C_Read... [10:00:21]Read from MH i2c: E2 0E 00 [10:00:21]MH_I2C_Read... [10:00:21]Read from MH i2c: E2 0E 00 7A 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 E6 [10:00:21]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:00:21]wFMCommunicate OK [10:00:21]SAM_PROTO_GetShiftState done [10:00:21]FM_GetShiftState done [10:00:21]opened in 1718756813 [10:00:21]opened+sec_in_day 1718843213 [10:00:21]quantity*price = 150064 [10:00:21]sum+1 = 150065 [10:00:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.36 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 14 19.06.2024 10:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34310 ФПД: 232303917572924 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T100026&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34310&fm=232303917572924&tin=02508201610067®Number=0000000000092786&sum=150000 [10:00:22]StoreToDocumentArchive [10:00:22]shift 324 fd 34310 [10:00:22]save to /storage/0324/doc_00034310 [10:00:22]save last doc name /storage/0324/doc_00034310 to /storage/kkm_last_doc_name [10:00:22]save OK [10:00:22]Clear old archive folders... [10:00:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:00:22]tlvbuf is 01928380 [10:00:22]SAM_PROTO_ClearQueue [10:00:22]wFMCommunicate request_size=4 [10:00:22]MH_SAM_APDU [10:00:22]CAPDU: 80 09 00 00 [10:00:22]Write to MH i2c: E2 08 00 87 19 80 09 00 00 00 00 00 00 12 [10:00:22]Write i2c OK [10:00:22]MH_I2C_Read... [10:00:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:00:22]Read from MH i2c: E2 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 87 19 00 90 00 14 [10:00:22]RAPDU: 90 00 [10:00:22]wFMCommunicate OK [10:00:22]SAM_PROTO_ClearQueue done [10:00:22]KKMCreateOFDPacket [10:00:22]OFDProtocolAddRootSTLVToBuf [10:00:22]FM_MakeSignedData [10:00:22]FM_MakeSignedData [10:00:22]SAM_PROTO_SignData [10:00:22]wFMCommunicate request_size=4 [10:00:22]MH_SAM_APDU [10:00:22]CAPDU: 80 0D 01 02 [10:00:22]Write to MH i2c: E2 08 00 88 19 80 0D 01 02 00 00 00 00 1A [10:00:22]Write i2c OK [10:00:22]MH_I2C_Read... [10:00:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:00:22]Read from MH i2c: E2 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 88 19 00 90 00 15 [10:00:22]RAPDU: 90 00 [10:00:22]wFMCommunicate OK [10:00:22]wFMCommunicate request_size=255 [10:00:22]MH_SAM_APDU [10:00: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 48 58 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 30 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 40 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 3A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 06 86 00 00 35 04 06 00 D3 [10:00:22]Write to MH i2c: E2 02 01 89 19 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 58 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 30 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 40 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 3A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 06 86 00 00 35 04 06 00 D3 00 00 EB [10:00:22]Write i2c OK [10:00:22]MH_I2C_Read... [10:00:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:22]Read from MH i2c: E2 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 89 19 00 90 00 16 [10:00:22]RAPDU: 90 00 [10:00:22]wFMCommunicate OK [10:00:22]wFMCommunicate request_size=10 [10:00:22]MH_SAM_APDU [10:00:22]CAPDU: 80 0D 02 02 05 47 78 7C A3 3C [10:00:22]Write to MH i2c: E2 0D 00 8A 19 80 0D 02 02 05 00 47 78 7C A3 3C 00 00 41 [10:00:22]Write i2c OK [10:00:22]MH_I2C_Read... [10:00:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:00:22]Read from MH i2c: E2 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 [10:00:22]MH_I2C_Read... [10:00:22]Read from MH i2c: E2 03 00 8A 19 00 90 00 17 [10:00:22]RAPDU: 90 00 [10:00:22]wFMCommunicate OK [10:00:22]wFMCommunicate request_size=4 [10:00:22]MH_SAM_APDU [10:00:22]CAPDU: 80 0D 03 02 [10:00:22]Write to MH i2c: E2 08 00 8B 19 80 0D 03 02 00 00 00 00 1F [10:00:22]Write i2c OK [10:00:22]MH_I2C_Read... [10:00:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:00:23]Read from MH i2c: E2 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: E2 0B 00 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: E2 0B 00 8B 19 00 A7 0F EF F1 65 CB 23 20 90 00 29 [10:00:23]RAPDU: A7 0F EF F1 65 CB 23 20 90 00 [10:00:23]wFMCommunicate OK [10:00:23]SAM_PROTO_SignData done [10:00:23]FM_MakeSignedData done [10:00:23]CreateOFDProtocolMessage [10:00:23]wFMCommunicate request_size=4 [10:00:23]MH_SAM_APDU [10:00:23]CAPDU: 80 11 00 00 [10:00:23]Write to MH i2c: E2 08 00 8C 19 80 11 00 00 00 00 00 00 1F [10:00:23]Write i2c OK [10:00:23]MH_I2C_Read... [10:00:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:23]Read from MH i2c: E2 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: E2 17 00 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: E2 17 00 8C 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 74 [10:00:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:00:23]wFMCommunicate OK [10:00:23]CreateOFDProtocolMessage done [10:00:23]OFDSenderStorePacket 34310 [10:00:23]StoreOFDPacket docnum=34310 [10:00:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 5B 4A 07 01 88 09 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 58 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 30 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 40 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 3A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 06 86 00 00 35 04 06 00 D3 47 78 7C A3 3C A7 0F EF F1 65 CB 23 20 [10:00:23]CheckFolder [10:00:23]dirname=/storage/ofd_packets [10:00:23]CheckFolder done [10:00:23]ProducePacketName [10:00:23]name=ofd_packets/00034310 [10:00:23]NVStorageSaveData ofd_packets/00034310 [10:00:23]File name is /storage/ofd_packets/00034310 [10:00:23]Write 301 bytes [10:00:23]NVStorageSaveData done [10:00:23]OFDSenderStorePacket done [10:00:23]KKMCreateOFDPacket done [10:00:23]NVStorageSaveData kkm_last_timestamp [10:00:23]File name is /storage/kkm_last_timestamp [10:00:23]Write 4 bytes [10:00:23]NVStorageSaveData done [10:00:23]ExternCall_PrintAddStr [10:00:23]wPrintStart [10:00:23]Write to MH i2c: 01 00 00 8D 19 A6 [10:00:23]Write i2c OK [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 07 00 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 07 00 8D 19 00 00 00 00 00 FF 0F BB [10:00:23]RasterBufferAndPrint [10:00:23]line Счет N : (1)672847 [10:00:23]line ИНН: 02508201610067 [10:00:23]line Контрольно-Кассовый Чек [10:00:23]line ПРОДАЖА [10:00:23]line ТРК (МРК, ГНК) : 42 [10:00:23]line Товар: 2710124130 [10:00:23]line Аи-92-К-5 [10:00:23]line 22.600 * 66.40 [10:00:23]line = 1500.64 [10:00:23]line НДС 12% НСП 1% [10:00:23]line > о реализуемом товаре [10:00:23]line ОКРУГЛЕНИЕ: -0.64 [10:00:23]line ИТОГО: 1500.00 [10:00:23]line Внесено: 1500.00 [10:00:23]line СДАЧА: 0.00 [10:00:23]line НСП 1% : 13.28 [10:00:23]line НДС 12% : 159.36 [10:00:23]line Наличными: 1500.00 [10:00:23]line Безнал.: 0.00 [10:00:23]line Место: АЗС № 120 "Партнер Нефть" [10:00:23]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:00:23]line СНО: Общий режим [10:00:23]line Чек 14 19.06.2024 10:00 [10:00:23]line Смена: 324 ФФД: 1.0 [10:00:23]line ЗНМ: 0300000172 [10:00:23]line РНМ: 0000000000092786 [10:00:23]line Версия ККМ: 001 [10:00:23]line ФМ: 0000000000875095 [10:00:23]line ФД: 34310 [10:00:23]line ФПД: 232303917572924 [10:00:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T100026&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34310&fm=232303917572924&tin=02508201610067®Number=0000000000092786&sum=150000 [10:00:23]OFD Sender: Processing packet 34310 [packets to send 8, broken 7] [10:00:23]ProducePacketName [10:00:23]name=ofd_packets/00034310 [10:00:23]OFD Sender: To server: pG, [10:00:23]CommunicateWithHost lk.salyk.kg:30040 [10:00:23]ConnectInit lk.salyk.kg [10:00:23]written 0, free lines is 4095 [10:00:23]Connected sock=10 [10:00:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 5B 4A 07 01 88 09 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 58 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 30 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 40 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 3A AC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 06 86 00 00 35 04 06 00 D3 47 78 7C A3 3C A7 0F EF F1 65 CB 23 20 [10:00:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 DB 39 47 00 F2 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 06 86 00 00 F4 03 04 00 07 53 72 66 B6 04 01 00 00 5C 56 49 02 50 6B 9B E4 [10:00:23]CommunicateWithHost err = 0 [10:00:23]CheckOFDResponse [10:00:23]1017 (14) - 77093643461234 [10:00:23]1041 (16) - 0000000000875095 [10:00:23]1040 (4) - 34310 [10:00:23]1012 (4) - 19.06.2024 03:39 [10:00:23]1206 (1) - 0 [10:00:23]OFD Sender: Remove packet 34310 [10:00:23]ProducePacketName [10:00:23]name=ofd_packets/00034310 [10:00:23]NVStorageDeleteData [10:00:23]Write to MH i2c: 01 00 00 B8 19 D1 [10:00:23]Write i2c OK [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 07 00 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: 01 07 00 B8 19 00 00 00 00 00 E1 0C C5 [10:00:23]RasterBufferAndPrint [10:00:23]line [10:00:23]line [10:00:23]line [10:00:23]line [10:00:23]line [10:00:23]written 0, free lines is 3306 [10:00:23]MH_Cut [10:00:23]Write to MH i2c: D1 01 00 BF 19 01 AA [10:00:23]Write i2c OK [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: D1 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: D1 01 00 [10:00:23]MH_I2C_Read... [10:00:23]Read from MH i2c: D1 01 00 BF 19 00 A9 [10:00:23]Write to MH i2c: 01 00 00 C0 19 D9 [10:00:23]Write i2c OK [10:00:23]MH_I2C_Read... [10:00:24]OFD Sender: No OFD packet to send [10:00:24]*** Cut start [10:00:24]*** Partial cut [10:00:24]*** CUTSNS_PIN = 1 [10:00:24]*** CUTSNS_PIN = 0 [10:00:24]*** Brake cut motor [10:00:25]Read from MH i2c: 01 [10:00:25]MH_I2C_Read... [10:00:25]*** Stop cut motor [10:00:25]*** Cut end [10:00:25]Read from MH i2c: 01 07 00 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: 01 07 00 C0 19 00 00 00 00 00 FF 0F EE [10:00:25]process_action close_receipt done [10:00:25]requested_data is exist [10:00:25]produce_requested_data [10:00:25]requested_item fm.sn is exist - process it [10:00:25]wFMCommunicate request_size=4 [10:00:25]MH_SAM_APDU [10:00:25]CAPDU: 80 11 00 00 [10:00:25]Write to MH i2c: E2 08 00 C1 19 80 11 00 00 00 00 00 00 54 [10:00:25]Write i2c OK [10:00:25]MH_I2C_Read... [10:00:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:00:25]Read from MH i2c: E2 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 17 00 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 17 00 C1 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A9 [10:00:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:00:25]wFMCommunicate OK [10:00:25]requested_item fd.num is exist - process it [10:00:25]SAM_PROTO_GetFieldsCounters [10:00:25]wFMCommunicate request_size=4 [10:00:25]MH_SAM_APDU [10:00:25]CAPDU: 80 13 00 00 [10:00:25]Write to MH i2c: E2 08 00 C2 19 80 13 00 00 00 00 00 00 57 [10:00:25]Write i2c OK [10:00:25]MH_I2C_Read... [10:00:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:00:25]Read from MH i2c: E2 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 62 00 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 62 00 C2 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 06 86 00 00 0E 04 04 00 44 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 7C [10:00:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 06 86 00 00 0E 04 04 00 44 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 [10:00:25]wFMCommunicate OK [10:00:25]SAM_PROTO_GetFieldsCounters done [10:00:25]requested_item shift.num is exist - process it [10:00:25]requested_item shift.opened is exist - process it [10:00:25]req_shift_opened [10:00:25]FM_GetShiftState [10:00:25]SAM_PROTO_GetShiftState [10:00:25]wFMCommunicate request_size=4 [10:00:25]MH_SAM_APDU [10:00:25]CAPDU: 80 13 01 00 [10:00:25]Write to MH i2c: E2 08 00 C3 19 80 13 01 00 00 00 00 00 59 [10:00:25]Write i2c OK [10:00:25]MH_I2C_Read... [10:00:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:25]Read from MH i2c: E2 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 0E 00 [10:00:25]MH_I2C_Read... [10:00:25]Read from MH i2c: E2 0E 00 C3 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 2F [10:00:25]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:00:25]wFMCommunicate OK [10:00:25]SAM_PROTO_GetShiftState done [10:00:25]FM_GetShiftState done [10:00:25]req_shift_opened done [10:00:25]requested_item shift.open_date is exist - process it [10:00:25]req_shift_open_date [10:00:25]req_shift_open_date done [10:00:25]produce_requested_data done [10:00:25]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34310,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [10:00:25]process_action_free close_receipt [10:00:25]json_value_free [10:00:25]json_value_free done [10:00:25]process_json_proto returns [10:00:25]Send response to host [10:00:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34310,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [10:00:25]free response buf [10:00:25]execute_script done [10:00:25]execute_script returns [10:00:25]free content buf [10:00:25]Sock 7.Close socket [10:00:25]Sock 7.Thread stoped [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]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:08]accept exits with 9 [10:23:08]New connection [10:23:08]New thread 3067567460 created [10:23:08]Thread 3067424100 joined [10:23:08]Waiting for new connection... [10:23:08] Sock 9.Parse request [10:23:08]Sock 9.Check first char [10:23:08]Sock 9.First char is OK [10:23:08]request: POST /json_proto HTTP/1.0 [10:23:08]Method: POST [10:23:08]URL: /json_proto [10:23:08]Method is POST - this is cgi request [10:23:08]url: /json_proto [10:23:08]query_string will be loaded in cgi processing [10:23:08]execute_cgi json_proto POST (null) [10:23:08]execute_cgi path=json_proto method=POST [10:23:08]POST find Content-Length [10:23:08]Host: 172.17.38.134:8080 [10:23:08]Content-Length: 1217 [10:23:08]Content-Type: application/json [10:23:08] [10:23:08]POST finish read [10:23:08]Found Content-Length = 1217 [10:23:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184089", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:23:08]execute_script... [10:23:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184089", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 425.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:23:08]POST & json_proto [10:23:08]process_json_proto [10:23:08]json parsed OK: [10:23:08]protocol is kg_v1.0 [10:23:08]action value=close_receipt [10:23:08]process_action close_receipt [10:23:08]cmd_close_receipt [10:23:08]MH_GetDate [10:23:08]Write to MH i2c: F0 00 00 C4 19 CC [10:23:08]Write i2c OK [10:23:08]MH_I2C_Read... [10:23:08]Read from MH i2c: F0 [10:23:08]MH_I2C_Read... [10:23:08]Read from MH i2c: F0 09 00 [10:23:08]MH_I2C_Read... [10:23:08]Read from MH i2c: F0 09 00 C4 19 00 91 B1 72 66 13 9C 7C 64 7E [10:23:08]GetLastDocTimeStamp 1718791226 [10:23:08]current date 1718792593 [10:23:08]FM_GetShiftState [10:23:08]SAM_PROTO_GetShiftState [10:23:08]wFMCommunicate request_size=4 [10:23:08]MH_SAM_APDU [10:23:08]CAPDU: 80 13 01 00 [10:23:08]Write to MH i2c: E2 08 00 C5 19 80 13 01 00 00 00 00 00 5B [10:23:08]Write i2c OK [10:23:08]MH_I2C_Read... [10:23:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:08]Read from MH i2c: E2 [10:23:08]MH_I2C_Read... [10:23:08]Read from MH i2c: E2 0E 00 [10:23:08]MH_I2C_Read... [10:23:08]Read from MH i2c: E2 0E 00 C5 19 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 31 [10:23:08]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:23:08]wFMCommunicate OK [10:23:08]SAM_PROTO_GetShiftState done [10:23:08]FM_GetShiftState done [10:23:08]opened in 1718756813 [10:23:08]opened+sec_in_day 1718843213 [10:23:08]quantity*price = 23000 [10:23:08]sum+1 = 23001 [10:23:08]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160051 Вода Ыссык Ата 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607035653582 Вафли Голландские вар.сгущ 290 1.000 * 145.00 = 145.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 425.00 НСП 1% : 3.75 НДС 12% : 45.13 Наличными: 425.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 15 19.06.2024 10:23 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34311 ФПД: 134285641942594 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T102313&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34311&fm=134285641942594&tin=02508201610067®Number=0000000000092786&sum=42500 0 [10:23:09]StoreToDocumentArchive [10:23:09]shift 324 fd 34311 [10:23:09]save to /storage/0324/doc_00034311 [10:23:09]save last doc name /storage/0324/doc_00034311 to /storage/kkm_last_doc_name [10:23:09]save OK [10:23:09]Clear old archive folders... [10:23:09]ProcessDocumentItem done err = 0, tmpTLVsize=507 [10:23:09]tlvbuf is 018F9150 [10:23:09]SAM_PROTO_ClearQueue [10:23:09]wFMCommunicate request_size=4 [10:23:09]MH_SAM_APDU [10:23:09]CAPDU: 80 09 00 00 [10:23:09]Write to MH i2c: E2 08 00 D2 19 80 09 00 00 00 00 00 00 5D [10:23:09]Write i2c OK [10:23:09]MH_I2C_Read... [10:23:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:23:09]Read from MH i2c: E2 [10:23:09]MH_I2C_Read... [10:23:09]Read from MH i2c: E2 03 00 [10:23:09]MH_I2C_Read... [10:23:09]Read from MH i2c: E2 03 00 D2 19 00 90 00 5F [10:23:09]RAPDU: 90 00 [10:23:09]wFMCommunicate OK [10:23:09]SAM_PROTO_ClearQueue done [10:23:09]KKMCreateOFDPacket [10:23:09]OFDProtocolAddRootSTLVToBuf [10:23:09]FM_MakeSignedData [10:23:09]FM_MakeSignedData [10:23:09]SAM_PROTO_SignData [10:23:09]wFMCommunicate request_size=4 [10:23:09]MH_SAM_APDU [10:23:09]CAPDU: 80 0D 01 02 [10:23:09]Write to MH i2c: E2 08 00 D3 19 80 0D 01 02 00 00 00 00 65 [10:23:09]Write i2c OK [10:23:09]MH_I2C_Read... [10:23:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:23:09]Read from MH i2c: E2 [10:23:09]MH_I2C_Read... [10:23:09]Read from MH i2c: E2 03 00 [10:23:09]MH_I2C_Read... [10:23:09]Read from MH i2c: E2 03 00 D3 19 00 90 00 60 [10:23:09]RAPDU: 90 00 [10:23:09]wFMCommunicate OK [10:23:09]wFMCommunicate request_size=255 [10:23:09]MH_SAM_APDU [10:23:09]CAPDU: 80 0D 02 02 FA 03 00 FB 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 [10:23:09]Write to MH i2c: E2 02 01 D4 19 80 0D 02 02 FA 00 03 00 FB 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 00 00 C1 [10:23:09]Write i2c OK [10:23:09]MH_I2C_Read... [10:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:10]Read from MH i2c: E2 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 D4 19 00 90 00 61 [10:23:10]RAPDU: 90 00 [10:23:10]wFMCommunicate OK [10:23:10]wFMCommunicate request_size=255 [10:23:10]MH_SAM_APDU [10:23:10]CAPDU: 80 0D 02 02 FA D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 91 B1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 07 86 00 [10:23:10]Write to MH i2c: E2 02 01 D5 19 80 0D 02 02 FA 00 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 91 B1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 07 86 00 00 00 8C [10:23:10]Write i2c OK [10:23:10]MH_I2C_Read... [10:23:10]OFD Sender: No OFD packet to send [10:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:10]Read from MH i2c: E2 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 D5 19 00 90 00 62 [10:23:10]RAPDU: 90 00 [10:23:10]wFMCommunicate OK [10:23:10]wFMCommunicate request_size=16 [10:23:10]MH_SAM_APDU [10:23:10]CAPDU: 80 0D 02 02 0B 00 35 04 06 00 7A 21 CF FC 86 42 [10:23:10]Write to MH i2c: E2 13 00 D6 19 80 0D 02 02 0B 00 00 35 04 06 00 7A 21 CF FC 86 42 00 00 EC [10:23:10]Write i2c OK [10:23:10]MH_I2C_Read... [10:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:10]Read from MH i2c: E2 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 03 00 D6 19 00 90 00 63 [10:23:10]RAPDU: 90 00 [10:23:10]wFMCommunicate OK [10:23:10]wFMCommunicate request_size=4 [10:23:10]MH_SAM_APDU [10:23:10]CAPDU: 80 0D 03 02 [10:23:10]Write to MH i2c: E2 08 00 D7 19 80 0D 03 02 00 00 00 00 6B [10:23:10]Write i2c OK [10:23:10]MH_I2C_Read... [10:23:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:23:10]Read from MH i2c: E2 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 0B 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 0B 00 D7 19 00 7E D6 BC FA 74 76 7B 50 90 00 2B [10:23:10]RAPDU: 7E D6 BC FA 74 76 7B 50 90 00 [10:23:10]wFMCommunicate OK [10:23:10]SAM_PROTO_SignData done [10:23:10]FM_MakeSignedData done [10:23:10]CreateOFDProtocolMessage [10:23:10]wFMCommunicate request_size=4 [10:23:10]MH_SAM_APDU [10:23:10]CAPDU: 80 11 00 00 [10:23:10]Write to MH i2c: E2 08 00 D8 19 80 11 00 00 00 00 00 00 6B [10:23:10]Write i2c OK [10:23:10]MH_I2C_Read... [10:23:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:10]Read from MH i2c: E2 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 17 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: E2 17 00 D8 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C0 [10:23:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:23:10]wFMCommunicate OK [10:23:10]CreateOFDProtocolMessage done [10:23:10]OFDSenderStorePacket 34311 [10:23:10]StoreOFDPacket docnum=34311 [10:23:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 02 00 00 D0 E3 07 02 43 05 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 91 B1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 07 86 00 00 35 04 06 00 7A 21 CF FC 86 42 7E D6 BC FA 74 76 7B 50 [10:23:10]CheckFolder [10:23:10]dirname=/storage/ofd_packets [10:23:10]CheckFolder done [10:23:10]ProducePacketName [10:23:10]name=ofd_packets/00034311 [10:23:10]NVStorageSaveData ofd_packets/00034311 [10:23:10]File name is /storage/ofd_packets/00034311 [10:23:10]Write 557 bytes [10:23:10]NVStorageSaveData done [10:23:10]OFDSenderStorePacket done [10:23:10]KKMCreateOFDPacket done [10:23:10]NVStorageSaveData kkm_last_timestamp [10:23:10]File name is /storage/kkm_last_timestamp [10:23:10]Write 4 bytes [10:23:10]NVStorageSaveData done [10:23:10]ExternCall_PrintAddStr [10:23:10]wPrintStart [10:23:10]Write to MH i2c: 01 00 00 D9 19 F2 [10:23:10]Write i2c OK [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: 01 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: 01 07 00 [10:23:10]MH_I2C_Read... [10:23:10]Read from MH i2c: 01 07 00 D9 19 00 00 00 00 00 FF 0F 07 [10:23:10]RasterBufferAndPrint [10:23:10]line Счет N : (3)184089 [10:23:10]line ИНН: 02508201610067 [10:23:10]line Контрольно-Кассовый Чек [10:23:10]line ПРОДАЖА [10:23:10]line Товар: 2000036210013 [10:23:10]line Кофе Капучино (GABB TRADE) [10:23:10]line 2.000 * 115.00 [10:23:10]line = 230.00 [10:23:10]line НДС 12% НСП 1% [10:23:10]line > о реализуемом товаре [10:23:10]line Товар: 4700000160051 [10:23:10]line Вода Ыссык Ата 1л [10:23:10]line 1.000 * 50.00 [10:23:10]line = 50.00 [10:23:10]line НДС 12% НСП 1% [10:23:10]line > о реализуемом товаре [10:23:10]line Товар: 4607035653582 [10:23:10]line Вафли Голландские вар.сгущ 290 [10:23:10]line 1.000 * 145.00 [10:23:10]line = 145.00 [10:23:10]line НДС 12% НСП 1% [10:23:10]line > о реализуемом товаре [10:23:10]line ИТОГО: 425.00 [10:23:10]line НСП 1% : 3.75 [10:23:10]line НДС 12% : 45.13 [10:23:10]line Наличными: 425.00 [10:23:10]line Безнал.: 0.00 [10:23:10]line Место: АЗС № 120 "Партнер Нефть" [10:23:10]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:23:10]line СНО: Общий режим [10:23:10]line Чек 15 19.06.2024 10:23 [10:23:10]line Смена: 324 ФФД: 1.0 [10:23:10]line ЗНМ: 0300000172 [10:23:10]line РНМ: 0000000000092786 [10:23:10]line Версия ККМ: 001 [10:23:10]line ФМ: 0000000000875095 [10:23:10]line ФД: 34311 [10:23:10]line ФПД: 134285641942594 [10:23:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T102313&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34311&fm=134285641942594&tin=02508201610067®Number=0000000000092786&sum=42500 [10:23:11]OFD Sender: Processing packet 34311 [packets to send 8, broken 7] [10:23:11]ProducePacketName [10:23:11]name=ofd_packets/00034311 [10:23:11]OFD Sender: To server: pG, [10:23:11]CommunicateWithHost lk.salyk.kg:30040 [10:23:11]ConnectInit lk.salyk.kg [10:23:11]line 0 [10:23:11]written 0, free lines is 4095 [10:23:11]Connected sock=10 [10:23:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 02 00 00 D0 E3 07 02 43 05 5A 03 01 00 03 00 FB 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 A6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 11 00 00 00 00 07 04 06 00 04 A6 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 91 B1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 07 86 00 00 35 04 06 00 7A 21 CF FC 86 42 7E D6 BC FA 74 76 7B 50 [10:23:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 C4 25 47 00 6A 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 07 86 00 00 F4 03 04 00 5E 58 72 66 B6 04 01 00 00 F0 3F C7 7A E2 0B B9 A5 [10:23:11]CommunicateWithHost err = 0 [10:23:11]CheckOFDResponse [10:23:11]1017 (14) - 77093643461234 [10:23:11]1041 (16) - 0000000000875095 [10:23:11]1040 (4) - 34311 [10:23:11]1012 (4) - 19.06.2024 04:02 [10:23:11]1206 (1) - 0 [10:23:11]OFD Sender: Remove packet 34311 [10:23:11]ProducePacketName [10:23:11]name=ofd_packets/00034311 [10:23:11]NVStorageDeleteData [10:23:11]Write to MH i2c: 01 00 00 0E 1A 28 [10:23:11]Write i2c OK [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: 01 [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: 01 07 00 [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: 01 07 00 0E 1A 00 00 00 00 00 26 0C 61 [10:23:11]RasterBufferAndPrint [10:23:11]line [10:23:11]line [10:23:11]line [10:23:11]line [10:23:11]line [10:23:11]written 0, free lines is 3115 [10:23:11]MH_Cut [10:23:11]Write to MH i2c: D1 01 00 15 1A 01 01 [10:23:11]Write i2c OK [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: D1 [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: D1 01 00 [10:23:11]MH_I2C_Read... [10:23:11]Read from MH i2c: D1 01 00 15 1A 00 00 [10:23:11]Write to MH i2c: 01 00 00 16 1A 30 [10:23:11]Write i2c OK [10:23:11]MH_I2C_Read... [10:23:11]OFD Sender: No OFD packet to send [10:23:12]*** Cut start [10:23:12]*** Partial cut [10:23:12]*** CUTSNS_PIN = 1 [10:23:12]*** CUTSNS_PIN = 0 [10:23:12]*** Brake cut motor [10:23:13]Read from MH i2c: 01 [10:23:13]MH_I2C_Read... [10:23:13]*** Stop cut motor [10:23:13]*** Cut end [10:23:13]Read from MH i2c: 01 07 00 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: 01 07 00 16 1A 00 00 00 00 00 FF 0F 45 [10:23:13]process_action close_receipt done [10:23:13]requested_data is exist [10:23:13]produce_requested_data [10:23:13]requested_item fm.sn is exist - process it [10:23:13]wFMCommunicate request_size=4 [10:23:13]MH_SAM_APDU [10:23:13]CAPDU: 80 11 00 00 [10:23:13]Write to MH i2c: E2 08 00 17 1A 80 11 00 00 00 00 00 00 AB [10:23:13]Write i2c OK [10:23:13]MH_I2C_Read... [10:23:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:13]Read from MH i2c: E2 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 17 00 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 17 00 17 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 00 [10:23:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:23:13]wFMCommunicate OK [10:23:13]requested_item fd.num is exist - process it [10:23:13]SAM_PROTO_GetFieldsCounters [10:23:13]wFMCommunicate request_size=4 [10:23:13]MH_SAM_APDU [10:23:13]CAPDU: 80 13 00 00 [10:23:13]Write to MH i2c: E2 08 00 18 1A 80 13 00 00 00 00 00 00 AE [10:23:13]Write i2c OK [10:23:13]MH_I2C_Read... [10:23:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:23:13]Read from MH i2c: E2 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 62 00 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 62 00 18 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 07 86 00 00 0E 04 04 00 44 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 D7 [10:23:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 07 86 00 00 0E 04 04 00 44 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 [10:23:13]wFMCommunicate OK [10:23:13]SAM_PROTO_GetFieldsCounters done [10:23:13]requested_item shift.num is exist - process it [10:23:13]requested_item shift.opened is exist - process it [10:23:13]req_shift_opened [10:23:13]FM_GetShiftState [10:23:13]SAM_PROTO_GetShiftState [10:23:13]wFMCommunicate request_size=4 [10:23:13]MH_SAM_APDU [10:23:13]CAPDU: 80 13 01 00 [10:23:13]Write to MH i2c: E2 08 00 19 1A 80 13 01 00 00 00 00 00 B0 [10:23:13]Write i2c OK [10:23:13]MH_I2C_Read... [10:23:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:13]Read from MH i2c: E2 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 0E 00 [10:23:13]MH_I2C_Read... [10:23:13]Read from MH i2c: E2 0E 00 19 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 86 [10:23:13]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:23:13]wFMCommunicate OK [10:23:13]SAM_PROTO_GetShiftState done [10:23:13]FM_GetShiftState done [10:23:13]req_shift_opened done [10:23:13]requested_item shift.open_date is exist - process it [10:23:13]req_shift_open_date [10:23:13]req_shift_open_date done [10:23:13]produce_requested_data done [10:23:13]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34311,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [10:23:13]process_action_free close_receipt [10:23:13]json_value_free [10:23:13]json_value_free done [10:23:13]process_json_proto returns [10:23:13]Send response to host [10:23:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34311,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [10:23:13]free response buf [10:23:13]execute_script done [10:23:13]execute_script returns [10:23:13]free content buf [10:23:13]Sock 9.Close socket [10:23:13]Sock 9.Thread stoped [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24: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:57]OFD Sender: No OFD packet to send [10:34:02]OFD Sender: No OFD packet to send [10:34:07]OFD Sender: No OFD packet to send [10:34:12]OFD Sender: No OFD packet to send [10:34:17]OFD Sender: No OFD packet to send [10:34:22]OFD Sender: No OFD packet to send [10:34:27]OFD Sender: No OFD packet to send [10:34:32]OFD Sender: No OFD packet to send [10:34:37]OFD Sender: No OFD packet to send [10:34:42]OFD Sender: No OFD packet to send [10:34:47]OFD Sender: No OFD packet to send [10:34:52]OFD Sender: No OFD packet to send [10:34:57]OFD Sender: No OFD packet to send [10:35:02]OFD Sender: No OFD packet to send [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]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:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:32]OFD Sender: No OFD packet to send [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]accept exits with 7 [10:39:52]New connection [10:39:52]New thread 3067424100 created [10:39:52]Thread 3067567460 joined [10:39:52]Waiting for new connection... [10:39:52] Sock 7.Parse request [10:39:52]Sock 7.Check first char [10:39:52]Sock 7.First char is OK [10:39:52]request: POST /json_proto HTTP/1.0 [10:39:52]Method: POST [10:39:52]URL: /json_proto [10:39:52]Method is POST - this is cgi request [10:39:52]url: /json_proto [10:39:52]query_string will be loaded in cgi processing [10:39:52]execute_cgi json_proto POST (null) [10:39:52]execute_cgi path=json_proto method=POST [10:39:52]POST find Content-Length [10:39:52]Host: 172.17.38.134:8080 [10:39:52]Content-Length: 626 [10:39:52]Content-Type: application/json [10:39:52] [10:39:52]POST finish read [10:39:52]Found Content-Length = 626 [10:39:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184090", "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 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:52]execute_script... [10:39: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)184090", "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 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:39:52]POST & json_proto [10:39:52]process_json_proto [10:39:52]json parsed OK: [10:39:52]protocol is kg_v1.0 [10:39:52]action value=close_receipt [10:39:52]process_action close_receipt [10:39:52]cmd_close_receipt [10:39:52]MH_GetDate [10:39:52]Write to MH i2c: F0 00 00 1A 1A 23 [10:39:52]Write i2c OK [10:39:52]MH_I2C_Read... [10:39:52]Read from MH i2c: F0 [10:39:52]MH_I2C_Read... [10:39:52]Read from MH i2c: F0 09 00 [10:39:52]MH_I2C_Read... [10:39:52]Read from MH i2c: F0 09 00 1A 1A 00 7C B5 72 66 13 9C 7C 64 C4 [10:39:52]GetLastDocTimeStamp 1718792593 [10:39:52]current date 1718793596 [10:39:52]FM_GetShiftState [10:39:52]SAM_PROTO_GetShiftState [10:39:52]wFMCommunicate request_size=4 [10:39:52]MH_SAM_APDU [10:39:52]CAPDU: 80 13 01 00 [10:39:52]Write to MH i2c: E2 08 00 1B 1A 80 13 01 00 00 00 00 00 B2 [10:39:52]Write i2c OK [10:39:52]MH_I2C_Read... [10:39:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:52]Read from MH i2c: E2 [10:39:52]MH_I2C_Read... [10:39:52]Read from MH i2c: E2 0E 00 [10:39:52]MH_I2C_Read... [10:39:52]Read from MH i2c: E2 0E 00 1B 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 88 [10:39:52]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:39:52]wFMCommunicate OK [10:39:52]SAM_PROTO_GetShiftState done [10:39:52]FM_GetShiftState done [10:39:52]opened in 1718756813 [10:39:52]opened+sec_in_day 1718843213 [10:39:52]quantity*price = 23000 [10:39:52]sum+1 = 23001 [10:39:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 16 19.06.2024 10:39 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34312 ФПД: 239475785232751 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T103956&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34312&fm=239475785232751&tin=02508201610067®Number=0000000000092786&sum=23000 0 [10:39:53]StoreToDocumentArchive [10:39:53]shift 324 fd 34312 [10:39:53]save to /storage/0324/doc_00034312 [10:39:53]save last doc name /storage/0324/doc_00034312 to /storage/kkm_last_doc_name [10:39:53]save OK [10:39:53]Clear old archive folders... [10:39:53]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:39:53]tlvbuf is 019059D0 [10:39:53]SAM_PROTO_ClearQueue [10:39:53]wFMCommunicate request_size=4 [10:39:53]MH_SAM_APDU [10:39:53]CAPDU: 80 09 00 00 [10:39:53]Write to MH i2c: E2 08 00 28 1A 80 09 00 00 00 00 00 00 B4 [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 28 1A 00 90 00 B6 [10:39:53]RAPDU: 90 00 [10:39:53]wFMCommunicate OK [10:39:53]SAM_PROTO_ClearQueue done [10:39:53]KKMCreateOFDPacket [10:39:53]OFDProtocolAddRootSTLVToBuf [10:39:53]FM_MakeSignedData [10:39:53]FM_MakeSignedData [10:39:53]SAM_PROTO_SignData [10:39:53]wFMCommunicate request_size=4 [10:39:53]MH_SAM_APDU [10:39:53]CAPDU: 80 0D 01 02 [10:39:53]Write to MH i2c: E2 08 00 29 1A 80 0D 01 02 00 00 00 00 BC [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 29 1A 00 90 00 B7 [10:39:53]RAPDU: 90 00 [10:39:53]wFMCommunicate OK [10:39:53]wFMCommunicate request_size=255 [10:39:53]MH_SAM_APDU [10:39:53]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 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 7C B5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 [10:39:53]Write to MH i2c: E2 02 01 2A 1A 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 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 7C B5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 00 00 23 [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 2A 1A 00 90 00 B8 [10:39:53]RAPDU: 90 00 [10:39:53]wFMCommunicate OK [10:39:53]wFMCommunicate request_size=33 [10:39:53]MH_SAM_APDU [10:39:53]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 30 39 35 10 04 04 00 08 86 00 00 35 04 06 00 D9 CD 4D 1C 71 6F [10:39:53]Write to MH i2c: E2 24 00 2B 1A 80 0D 02 02 1C 00 30 30 30 30 38 37 35 30 39 35 10 04 04 00 08 86 00 00 35 04 06 00 D9 CD 4D 1C 71 6F 00 00 CD [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 03 00 2B 1A 00 90 00 B9 [10:39:53]RAPDU: 90 00 [10:39:53]wFMCommunicate OK [10:39:53]wFMCommunicate request_size=4 [10:39:53]MH_SAM_APDU [10:39:53]CAPDU: 80 0D 03 02 [10:39:53]Write to MH i2c: E2 08 00 2C 1A 80 0D 03 02 00 00 00 00 C1 [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 0B 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 0B 00 2C 1A 00 D3 2D 49 74 C0 D8 FF 4B 90 00 61 [10:39:53]RAPDU: D3 2D 49 74 C0 D8 FF 4B 90 00 [10:39:53]wFMCommunicate OK [10:39:53]SAM_PROTO_SignData done [10:39:53]FM_MakeSignedData done [10:39:53]CreateOFDProtocolMessage [10:39:53]wFMCommunicate request_size=4 [10:39:53]MH_SAM_APDU [10:39:53]CAPDU: 80 11 00 00 [10:39:53]Write to MH i2c: E2 08 00 2D 1A 80 11 00 00 00 00 00 00 C1 [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:53]Read from MH i2c: E2 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 17 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: E2 17 00 2D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 16 [10:39:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:53]wFMCommunicate OK [10:39:53]CreateOFDProtocolMessage done [10:39:53]OFDSenderStorePacket 34312 [10:39:53]StoreOFDPacket docnum=34312 [10:39:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 28 98 1E 01 12 F0 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 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 7C B5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 08 86 00 00 35 04 06 00 D9 CD 4D 1C 71 6F D3 2D 49 74 C0 D8 FF 4B [10:39:53]CheckFolder [10:39:53]dirname=/storage/ofd_packets [10:39:53]CheckFolder done [10:39:53]ProducePacketName [10:39:53]name=ofd_packets/00034312 [10:39:53]NVStorageSaveData ofd_packets/00034312 [10:39:53]File name is /storage/ofd_packets/00034312 [10:39:53]Write 324 bytes [10:39:53]NVStorageSaveData done [10:39:53]OFDSenderStorePacket done [10:39:53]KKMCreateOFDPacket done [10:39:53]NVStorageSaveData kkm_last_timestamp [10:39:53]File name is /storage/kkm_last_timestamp [10:39:53]Write 4 bytes [10:39:53]NVStorageSaveData done [10:39:53]ExternCall_PrintAddStr [10:39:53]wPrintStart [10:39:53]Write to MH i2c: 01 00 00 2E 1A 48 [10:39:53]Write i2c OK [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: 01 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: 01 07 00 [10:39:53]MH_I2C_Read... [10:39:53]Read from MH i2c: 01 07 00 2E 1A 00 00 00 00 00 FF 0F 5D [10:39:53]RasterBufferAndPrint [10:39:53]line Счет N : (3)184090 [10:39:53]line ИНН: 02508201610067 [10:39:53]line Контрольно-Кассовый Чек [10:39:53]line ПРОДАЖА [10:39:53]line Товар: 2000036240010 [10:39:53]line Кофе Латте (GABB TRADE) [10:39:53]line 2.000 * 115.00 [10:39:53]line = 230.00 [10:39:53]line НДС 12% НСП 1% [10:39:53]line > о реализуемом товаре [10:39:53]line ИТОГО: 230.00 [10:39:53]line НСП 1% : 2.03 [10:39:53]line НДС 12% : 24.42 [10:39:53]line Наличными: 230.00 [10:39:53]line Безнал.: 0.00 [10:39:53]line Место: АЗС № 120 "Партнер Нефть" [10:39:53]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [10:39:53]line СНО: Общий режим [10:39:53]line Чек 16 19.06.2024 10:39 [10:39:53]line Смена: 324 ФФД: 1.0 [10:39:53]line ЗНМ: 0300000172 [10:39:53]line РНМ: 0000000000092786 [10:39:53]line Версия ККМ: 001 [10:39:53]line ФМ: 0000000000875095 [10:39:53]line ФД: 34312 [10:39:53]line ФПД: 239475785232751 [10:39:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T103956&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34312&fm=239475785232751&tin=02508201610067®Number=0000000000092786&sum=23000 [10:39:54]line 0 [10:39:54]OFD Sender: Processing packet 34312 [packets to send 8, broken 7] [10:39:54]ProducePacketName [10:39:54]name=ofd_packets/00034312 [10:39:54]OFD Sender: To server: pG, [10:39:54]CommunicateWithHost lk.salyk.kg:30040 [10:39:54]ConnectInit lk.salyk.kg [10:39:54]written 0, free lines is 4095 [10:39:54]Connected sock=10 [10:39:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 28 98 1E 01 12 F0 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 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 7C B5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 08 86 00 00 35 04 06 00 D9 CD 4D 1C 71 6F D3 2D 49 74 C0 D8 FF 4B [10:39:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 04 94 47 00 6B 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 08 86 00 00 F4 03 04 00 4A 5C 72 66 B6 04 01 00 00 B4 33 86 06 17 4F 97 3E [10:39:54]CommunicateWithHost err = 0 [10:39:54]CheckOFDResponse [10:39:54]1017 (14) - 77093643461234 [10:39:54]1041 (16) - 0000000000875095 [10:39:54]1040 (4) - 34312 [10:39:54]1012 (4) - 19.06.2024 04:19 [10:39:54]1206 (1) - 0 [10:39:54]OFD Sender: Remove packet 34312 [10:39:54]ProducePacketName [10:39:54]name=ofd_packets/00034312 [10:39:54]NVStorageDeleteData [10:39:54]Write to MH i2c: 01 00 00 56 1A 70 [10:39:54]Write i2c OK [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: 01 [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: 01 07 00 [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: 01 07 00 56 1A 00 00 00 00 00 0C 0D 90 [10:39:54]RasterBufferAndPrint [10:39:54]line [10:39:54]line [10:39:54]line [10:39:54]line [10:39:54]line [10:39:54]written 0, free lines is 3347 [10:39:54]MH_Cut [10:39:54]Write to MH i2c: D1 01 00 5D 1A 01 49 [10:39:54]Write i2c OK [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: D1 [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: D1 01 00 [10:39:54]MH_I2C_Read... [10:39:54]Read from MH i2c: D1 01 00 5D 1A 00 48 [10:39:54]Write to MH i2c: 01 00 00 5E 1A 78 [10:39:54]Write i2c OK [10:39:54]MH_I2C_Read... [10:39:55]OFD Sender: No OFD packet to send [10:39:55]*** Cut start [10:39:55]*** Partial cut [10:39:55]*** CUTSNS_PIN = 1 [10:39:55]*** CUTSNS_PIN = 0 [10:39:55]*** Brake cut motor [10:39:55]Read from MH i2c: 01 [10:39:55]MH_I2C_Read... [10:39:55]*** Stop cut motor [10:39:55]*** Cut end [10:39:55]Read from MH i2c: 01 07 00 [10:39:55]MH_I2C_Read... [10:39:55]Read from MH i2c: 01 07 00 5E 1A 00 00 00 00 00 FF 0F 8D [10:39:55]process_action close_receipt done [10:39:55]requested_data is exist [10:39:55]produce_requested_data [10:39:55]requested_item fm.sn is exist - process it [10:39:55]wFMCommunicate request_size=4 [10:39:55]MH_SAM_APDU [10:39:55]CAPDU: 80 11 00 00 [10:39:55]Write to MH i2c: E2 08 00 5F 1A 80 11 00 00 00 00 00 00 F3 [10:39:55]Write i2c OK [10:39:55]MH_I2C_Read... [10:39:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:39:55]Read from MH i2c: E2 [10:39:55]MH_I2C_Read... [10:39:55]Read from MH i2c: E2 17 00 [10:39:55]MH_I2C_Read... [10:39:55]Read from MH i2c: E2 17 00 5F 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 48 [10:39:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [10:39:55]wFMCommunicate OK [10:39:55]requested_item fd.num is exist - process it [10:39:55]SAM_PROTO_GetFieldsCounters [10:39:55]wFMCommunicate request_size=4 [10:39:55]MH_SAM_APDU [10:39:55]CAPDU: 80 13 00 00 [10:39:55]Write to MH i2c: E2 08 00 60 1A 80 13 00 00 00 00 00 00 F6 [10:39:55]Write i2c OK [10:39:55]MH_I2C_Read... [10:39:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:39:56]Read from MH i2c: E2 [10:39:56]MH_I2C_Read... [10:39:56]Read from MH i2c: E2 62 00 [10:39:56]MH_I2C_Read... [10:39:56]Read from MH i2c: E2 62 00 60 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 08 86 00 00 0E 04 04 00 44 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 23 [10:39:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 08 86 00 00 0E 04 04 00 44 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 [10:39:56]wFMCommunicate OK [10:39:56]SAM_PROTO_GetFieldsCounters done [10:39:56]requested_item shift.num is exist - process it [10:39:56]requested_item shift.opened is exist - process it [10:39:56]req_shift_opened [10:39:56]FM_GetShiftState [10:39:56]SAM_PROTO_GetShiftState [10:39:56]wFMCommunicate request_size=4 [10:39:56]MH_SAM_APDU [10:39:56]CAPDU: 80 13 01 00 [10:39:56]Write to MH i2c: E2 08 00 61 1A 80 13 01 00 00 00 00 00 F8 [10:39:56]Write i2c OK [10:39:56]MH_I2C_Read... [10:39:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:39:56]Read from MH i2c: E2 [10:39:56]MH_I2C_Read... [10:39:56]Read from MH i2c: E2 0E 00 [10:39:56]MH_I2C_Read... [10:39:56]Read from MH i2c: E2 0E 00 61 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 CE [10:39:56]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [10:39:56]wFMCommunicate OK [10:39:56]SAM_PROTO_GetShiftState done [10:39:56]FM_GetShiftState done [10:39:56]req_shift_opened done [10:39:56]requested_item shift.open_date is exist - process it [10:39:56]req_shift_open_date [10:39:56]req_shift_open_date done [10:39:56]produce_requested_data done [10:39:56]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34312,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [10:39:56]process_action_free close_receipt [10:39:56]json_value_free [10:39:56]json_value_free done [10:39:56]process_json_proto returns [10:39:56]Send response to host [10:39:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34312,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [10:39:56]free response buf [10:39:56]execute_script done [10:39:56]execute_script returns [10:39:56]free content buf [10:39:56]Sock 7.Close socket [10:39:56]Sock 7.Thread stoped [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:30]OFD Sender: No OFD packet to send [10:53:35]OFD Sender: No OFD packet to send [10:53:40]OFD Sender: No OFD packet to send [10:53:45]OFD Sender: No OFD packet to send [10:53:50]OFD Sender: No OFD packet to send [10:53:55]OFD Sender: No OFD packet to send [10:54:00]OFD Sender: No OFD packet to send [10:54:05]OFD Sender: No OFD packet to send [10:54:10]OFD Sender: No OFD packet to send [10:54:15]OFD Sender: No OFD packet to send [10:54:20]OFD Sender: No OFD packet to send [10:54:25]OFD Sender: No OFD packet to send [10:54:30]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:50]OFD Sender: No OFD packet to send [10:56:55]OFD Sender: No OFD packet to send [10:57:00]OFD Sender: No OFD packet to send [10:57:05]OFD Sender: No OFD packet to send [10:57:10]OFD Sender: No OFD packet to send [10:57:15]OFD Sender: No OFD packet to send [10:57:20]OFD Sender: No OFD packet to send [10:57:25]OFD Sender: No OFD packet to send [10:57:30]OFD Sender: No OFD packet to send [10:57:35]OFD Sender: No OFD packet to send [10:57:40]OFD Sender: No OFD packet to send [10:57:45]OFD Sender: No OFD packet to send [10:57:50]OFD Sender: No OFD packet to send [10:57:55]OFD Sender: No OFD packet to send [10:58:00]OFD Sender: No OFD packet to send [10:58:05]OFD Sender: No OFD packet to send [10:58:10]OFD Sender: No OFD packet to send [10:58:15]OFD Sender: No OFD packet to send [10:58:20]OFD Sender: No OFD packet to send [10:58:25]OFD Sender: No OFD packet to send [10:58:30]OFD Sender: No OFD packet to send [10:58:35]OFD Sender: No OFD packet to send [10:58:40]OFD Sender: No OFD packet to send [10:58:45]OFD Sender: No OFD packet to send [10:58:50]OFD Sender: No OFD packet to send [10:58:55]OFD Sender: No OFD packet to send [10:59:00]OFD Sender: No OFD packet to send [10:59:05]OFD Sender: No OFD packet to send [10:59:10]OFD Sender: No OFD packet to send [10:59:15]OFD Sender: No OFD packet to send [10:59:20]OFD Sender: No OFD packet to send [10:59:25]OFD Sender: No OFD packet to send [10:59:30]OFD Sender: No OFD packet to send [10:59:35]OFD Sender: No OFD packet to send [10:59:40]OFD Sender: No OFD packet to send [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]accept exits with 9 [11:05:51]New connection [11:05:51]New thread 3067567460 created [11:05:51]Thread 3067424100 joined [11:05:51]Waiting for new connection... [11:05:51] Sock 9.Parse request [11:05:51]Sock 9.Check first char [11:05:51]Sock 9.First char is OK [11:05:51]request: POST /json_proto HTTP/1.0 [11:05:51]Method: POST [11:05:51]URL: /json_proto [11:05:51]Method is POST - this is cgi request [11:05:51]url: /json_proto [11:05:51]query_string will be loaded in cgi processing [11:05:51]execute_cgi json_proto POST (null) [11:05:51]execute_cgi path=json_proto method=POST [11:05:51]POST find Content-Length [11:05:51]Host: 172.17.38.134:8080 [11:05:51]Content-Length: 899 [11:05:51]Content-Type: application/json [11:05:51] [11:05:51]POST finish read [11:05:51]Found Content-Length = 899 [11:05:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184091", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:51]execute_script... [11:05: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)184091", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:51]POST & json_proto [11:05:51]process_json_proto [11:05:51]json parsed OK: [11:05:51]protocol is kg_v1.0 [11:05:51]action value=close_receipt [11:05:51]process_action close_receipt [11:05:51]cmd_close_receipt [11:05:51]MH_GetDate [11:05:51]Write to MH i2c: F0 00 00 62 1A 6B [11:05:51]Write i2c OK [11:05:51]MH_I2C_Read... [11:05:51]Read from MH i2c: F0 [11:05:51]MH_I2C_Read... [11:05:51]Read from MH i2c: F0 09 00 [11:05:51]MH_I2C_Read... [11:05:51]Read from MH i2c: F0 09 00 62 1A 00 94 BB 72 66 13 9C 7C 64 2A [11:05:51]GetLastDocTimeStamp 1718793596 [11:05:51]current date 1718795156 [11:05:51]FM_GetShiftState [11:05:51]SAM_PROTO_GetShiftState [11:05:51]wFMCommunicate request_size=4 [11:05:51]MH_SAM_APDU [11:05:51]CAPDU: 80 13 01 00 [11:05:51]Write to MH i2c: E2 08 00 63 1A 80 13 01 00 00 00 00 00 FA [11:05:51]Write i2c OK [11:05:51]MH_I2C_Read... [11:05:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:51]Read from MH i2c: E2 [11:05:51]MH_I2C_Read... [11:05:51]Read from MH i2c: E2 0E 00 [11:05:51]MH_I2C_Read... [11:05:51]Read from MH i2c: E2 0E 00 63 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D0 [11:05:51]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:05:51]wFMCommunicate OK [11:05:51]SAM_PROTO_GetShiftState done [11:05:51]FM_GetShiftState done [11:05:51]opened in 1718756813 [11:05:51]opened+sec_in_day 1718843213 [11:05:51]quantity*price = 5000 [11:05:51]sum+1 = 5001 [11:05:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 17 19.06.2024 11:05 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34313 ФПД: 6868437515 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T110556&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34313&fm=6868437515&tin=02508201610067®Number=0000000000092786&sum=10000 0 [11:05:52]StoreToDocumentArchive [11:05:52]shift 324 fd 34313 [11:05:52]save to /storage/0324/doc_00034313 [11:05:52]save last doc name /storage/0324/doc_00034313 to /storage/kkm_last_doc_name [11:05:52]save OK [11:05:52]Clear old archive folders... [11:05:52]ProcessDocumentItem done err = 0, tmpTLVsize=377 [11:05:52]tlvbuf is 01958F50 [11:05:52]SAM_PROTO_ClearQueue [11:05:52]wFMCommunicate request_size=4 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 09 00 00 [11:05:52]Write to MH i2c: E2 08 00 70 1A 80 09 00 00 00 00 00 00 FC [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 70 1A 00 90 00 FE [11:05:52]RAPDU: 90 00 [11:05:52]wFMCommunicate OK [11:05:52]SAM_PROTO_ClearQueue done [11:05:52]KKMCreateOFDPacket [11:05:52]OFDProtocolAddRootSTLVToBuf [11:05:52]FM_MakeSignedData [11:05:52]FM_MakeSignedData [11:05:52]SAM_PROTO_SignData [11:05:52]wFMCommunicate request_size=4 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 0D 01 02 [11:05:52]Write to MH i2c: E2 08 00 71 1A 80 0D 01 02 00 00 00 00 04 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 71 1A 00 90 00 FF [11:05:52]RAPDU: 90 00 [11:05:52]wFMCommunicate OK [11:05:52]wFMCommunicate request_size=255 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 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 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 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE [11:05:52]Write to MH i2c: E2 02 01 72 1A 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 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 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 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 00 00 87 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 72 1A 00 90 00 00 [11:05:52]RAPDU: 90 00 [11:05:52]wFMCommunicate OK [11:05:52]wFMCommunicate request_size=136 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 BB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 09 86 00 00 35 04 06 00 00 01 99 64 0A 0B [11:05:52]Write to MH i2c: E2 8B 00 73 1A 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 BB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 09 86 00 00 35 04 06 00 00 01 99 64 0A 0B 00 00 D5 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 03 00 73 1A 00 90 00 01 [11:05:52]RAPDU: 90 00 [11:05:52]wFMCommunicate OK [11:05:52]wFMCommunicate request_size=4 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 0D 03 02 [11:05:52]Write to MH i2c: E2 08 00 74 1A 80 0D 03 02 00 00 00 00 09 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 0B 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 0B 00 74 1A 00 05 E8 00 00 09 C9 7B 2C 90 00 70 [11:05:52]RAPDU: 05 E8 00 00 09 C9 7B 2C 90 00 [11:05:52]wFMCommunicate OK [11:05:52]SAM_PROTO_SignData done [11:05:52]FM_MakeSignedData done [11:05:52]CreateOFDProtocolMessage [11:05:52]wFMCommunicate request_size=4 [11:05:52]MH_SAM_APDU [11:05:52]CAPDU: 80 11 00 00 [11:05:52]Write to MH i2c: E2 08 00 75 1A 80 11 00 00 00 00 00 00 09 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:52]Read from MH i2c: E2 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 17 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: E2 17 00 75 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5E [11:05:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:05:52]wFMCommunicate OK [11:05:52]CreateOFDProtocolMessage done [11:05:52]OFDSenderStorePacket 34313 [11:05:52]StoreOFDPacket docnum=34313 [11:05:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 8D 01 00 00 39 6A 85 01 40 35 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 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 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 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 BB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 09 86 00 00 35 04 06 00 00 01 99 64 0A 0B 05 E8 00 00 09 C9 7B 2C [11:05:52]CheckFolder [11:05:52]dirname=/storage/ofd_packets [11:05:52]CheckFolder done [11:05:52]ProducePacketName [11:05:52]name=ofd_packets/00034313 [11:05:52]NVStorageSaveData ofd_packets/00034313 [11:05:52]File name is /storage/ofd_packets/00034313 [11:05:52]Write 427 bytes [11:05:52]NVStorageSaveData done [11:05:52]OFDSenderStorePacket done [11:05:52]KKMCreateOFDPacket done [11:05:52]NVStorageSaveData kkm_last_timestamp [11:05:52]File name is /storage/kkm_last_timestamp [11:05:52]Write 4 bytes [11:05:52]NVStorageSaveData done [11:05:52]ExternCall_PrintAddStr [11:05:52]wPrintStart [11:05:52]Write to MH i2c: 01 00 00 76 1A 90 [11:05:52]Write i2c OK [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: 01 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: 01 07 00 [11:05:52]MH_I2C_Read... [11:05:52]Read from MH i2c: 01 07 00 76 1A 00 00 00 00 00 FF 0F A5 [11:05:52]RasterBufferAndPrint [11:05:52]line Счет N : (3)184091 [11:05:52]line ИНН: 02508201610067 [11:05:53]line Контрольно-Кассовый Чек [11:05:53]line ПРОДАЖА [11:05:53]line Товар: 4700000160051 [11:05:53]line Вода Ыссык Ата 1л [11:05:53]line 1.000 * 50.00 [11:05:53]line = 50.00 [11:05:53]line НДС 12% НСП 1% [11:05:53]line > о реализуемом товаре [11:05:53]line Товар: 5449000005489 [11:05:53]line Вода Бонаква 1л б/г [11:05:53]line 1.000 * 50.00 [11:05:53]line = 50.00 [11:05:53]line НДС 12% НСП 1% [11:05:53]line > о реализуемом товаре [11:05:53]line ИТОГО: 100.00 [11:05:53]line НСП 1% : 0.88 [11:05:53]line НДС 12% : 10.62 [11:05:53]line Наличными: 100.00 [11:05:53]line Безнал.: 0.00 [11:05:53]line Место: АЗС № 120 "Партнер Нефть" [11:05:53]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:05:53]line СНО: Общий режим [11:05:53]line Чек 17 19.06.2024 11:05 [11:05:53]line Смена: 324 ФФД: 1.0 [11:05:53]line ЗНМ: 0300000172 [11:05:53]line РНМ: 0000000000092786 [11:05:53]line Версия ККМ: 001 [11:05:53]line ФМ: 0000000000875095 [11:05:53]line ФД: 34313 [11:05:53]line ФПД: 6868437515 [11:05:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T110556&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34313&fm=6868437515&tin=02508201610067®Number=0000000000092786&sum=10000 [11:05:53]OFD Sender: Processing packet 34313 [packets to send 8, broken 7] [11:05:53]ProducePacketName [11:05:53]name=ofd_packets/00034313 [11:05:53]OFD Sender: To server: pG, [11:05:53]CommunicateWithHost lk.salyk.kg:30040 [11:05:53]ConnectInit lk.salyk.kg [11:05:53]line 0 [11:05:53]written 0, free lines is 4095 [11:05:53]Connected sock=11 [11:05:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 8D 01 00 00 39 6A 85 01 40 35 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 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 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 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 94 BB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 09 86 00 00 35 04 06 00 00 01 99 64 0A 0B 05 E8 00 00 09 C9 7B 2C [11:05:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 29 DC 47 00 F4 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 38 37 35 30 39 35 10 04 04 00 09 86 00 00 F4 03 04 00 61 62 72 66 B6 04 01 00 00 B2 54 20 8E 8A 1B 8C 3E [11:05:53]CommunicateWithHost err = 0 [11:05:53]CheckOFDResponse [11:05:53]1017 (14) - 77093643461234 [11:05:53]1041 (16) - 0000000000875095 [11:05:53]1040 (4) - 34313 [11:05:53]1012 (4) - 19.06.2024 04:45 [11:05:53]1206 (1) - 0 [11:05:53]OFD Sender: Remove packet 34313 [11:05:53]ProducePacketName [11:05:53]name=ofd_packets/00034313 [11:05:53]NVStorageDeleteData [11:05:53]Write to MH i2c: 01 00 00 A4 1A BE [11:05:53]Write i2c OK [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: 01 [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: 01 07 00 [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: 01 07 00 A4 1A 00 00 00 00 00 A8 0C 79 [11:05:53]RasterBufferAndPrint [11:05:53]line [11:05:53]line [11:05:53]line [11:05:53]line [11:05:53]line [11:05:53]written 0, free lines is 3245 [11:05:53]MH_Cut [11:05:53]Write to MH i2c: D1 01 00 AB 1A 01 97 [11:05:53]Write i2c OK [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: D1 [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: D1 01 00 [11:05:53]MH_I2C_Read... [11:05:53]Read from MH i2c: D1 01 00 AB 1A 00 96 [11:05:53]Write to MH i2c: 01 00 00 AC 1A C6 [11:05:53]Write i2c OK [11:05:53]MH_I2C_Read... [11:05:54]OFD Sender: No OFD packet to send [11:05:54]*** Cut start [11:05:54]*** Partial cut [11:05:54]*** CUTSNS_PIN = 1 [11:05:54]*** CUTSNS_PIN = 0 [11:05:54]*** Brake cut motor [11:05:55]Read from MH i2c: 01 [11:05:55]MH_I2C_Read... [11:05:55]*** Stop cut motor [11:05:55]*** Cut end [11:05:55]Read from MH i2c: 01 07 00 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: 01 07 00 AC 1A 00 00 00 00 00 FF 0F DB [11:05:55]process_action close_receipt done [11:05:55]requested_data is exist [11:05:55]produce_requested_data [11:05:55]requested_item fm.sn is exist - process it [11:05:55]wFMCommunicate request_size=4 [11:05:55]MH_SAM_APDU [11:05:55]CAPDU: 80 11 00 00 [11:05:55]Write to MH i2c: E2 08 00 AD 1A 80 11 00 00 00 00 00 00 41 [11:05:55]Write i2c OK [11:05:55]MH_I2C_Read... [11:05:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:55]Read from MH i2c: E2 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 17 00 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 17 00 AD 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 96 [11:05:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:05:55]wFMCommunicate OK [11:05:55]requested_item fd.num is exist - process it [11:05:55]SAM_PROTO_GetFieldsCounters [11:05:55]wFMCommunicate request_size=4 [11:05:55]MH_SAM_APDU [11:05:55]CAPDU: 80 13 00 00 [11:05:55]Write to MH i2c: E2 08 00 AE 1A 80 13 00 00 00 00 00 00 44 [11:05:55]Write i2c OK [11:05:55]MH_I2C_Read... [11:05:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:55]Read from MH i2c: E2 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 62 00 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 62 00 AE 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 09 86 00 00 0E 04 04 00 44 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 75 [11:05:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 09 86 00 00 0E 04 04 00 44 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 [11:05:55]wFMCommunicate OK [11:05:55]SAM_PROTO_GetFieldsCounters done [11:05:55]requested_item shift.num is exist - process it [11:05:55]requested_item shift.opened is exist - process it [11:05:55]req_shift_opened [11:05:55]FM_GetShiftState [11:05:55]SAM_PROTO_GetShiftState [11:05:55]wFMCommunicate request_size=4 [11:05:55]MH_SAM_APDU [11:05:55]CAPDU: 80 13 01 00 [11:05:55]Write to MH i2c: E2 08 00 AF 1A 80 13 01 00 00 00 00 00 46 [11:05:55]Write i2c OK [11:05:55]MH_I2C_Read... [11:05:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:55]Read from MH i2c: E2 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 0E 00 [11:05:55]MH_I2C_Read... [11:05:55]Read from MH i2c: E2 0E 00 AF 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1C [11:05:55]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:05:55]wFMCommunicate OK [11:05:55]SAM_PROTO_GetShiftState done [11:05:55]FM_GetShiftState done [11:05:55]req_shift_opened done [11:05:55]requested_item shift.open_date is exist - process it [11:05:55]req_shift_open_date [11:05:55]req_shift_open_date done [11:05:55]produce_requested_data done [11:05:55]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34313,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:05:55]process_action_free close_receipt [11:05:55]json_value_free [11:05:55]json_value_free done [11:05:55]process_json_proto returns [11:05:55]Send response to host [11:05:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34313,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:05:55]free response buf [11:05:55]execute_script done [11:05:55]execute_script returns [11:05:55]free content buf [11:05:55]Sock 9.Close socket [11:05:55]Sock 9.Thread stoped [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: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:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:05]accept exits with 7 [11:13:05]New connection [11:13:05]New thread 3067424100 created [11:13:05]Thread 3067567460 joined [11:13:05]Waiting for new connection... [11:13:05] Sock 7.Parse request [11:13:05]Sock 7.Check first char [11:13:05]Sock 7.First char is OK [11:13:05]request: POST /json_proto HTTP/1.0 [11:13:05]Method: POST [11:13:05]URL: /json_proto [11:13:05]Method is POST - this is cgi request [11:13:05]url: /json_proto [11:13:05]query_string will be loaded in cgi processing [11:13:05]execute_cgi json_proto POST (null) [11:13:05]execute_cgi path=json_proto method=POST [11:13:05]POST find Content-Length [11:13:05]Host: 172.17.38.134:8080 [11:13:05]Content-Length: 1431 [11:13:05]Content-Type: application/json [11:13:05] [11:13:05]POST finish read [11:13:05]Found Content-Length = 1431 [11:13:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 34304, "base_FM": "0000000000875095", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184085", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "34304" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:05]execute_script... [11:13:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 34304, "base_FM": "0000000000875095", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184085", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "34304" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:05]POST & json_proto [11:13:05]process_json_proto [11:13:05]json parsed OK: [11:13:05]protocol is kg_v1.0 [11:13:05]action value=close_receipt [11:13:05]process_action close_receipt [11:13:05]cmd_close_receipt [11:13:05]MH_GetDate [11:13:05]Write to MH i2c: F0 00 00 B0 1A B9 [11:13:05]Write i2c OK [11:13:05]MH_I2C_Read... [11:13:05]Read from MH i2c: F0 [11:13:05]MH_I2C_Read... [11:13:05]Read from MH i2c: F0 09 00 [11:13:05]MH_I2C_Read... [11:13:05]Read from MH i2c: F0 09 00 B0 1A 00 46 BD 72 66 13 9C 7C 64 2C [11:13:05]GetLastDocTimeStamp 1718795156 [11:13:05]current date 1718795590 [11:13:05]FM_GetShiftState [11:13:05]SAM_PROTO_GetShiftState [11:13:05]wFMCommunicate request_size=4 [11:13:05]MH_SAM_APDU [11:13:05]CAPDU: 80 13 01 00 [11:13:05]Write to MH i2c: E2 08 00 B1 1A 80 13 01 00 00 00 00 00 48 [11:13:05]Write i2c OK [11:13:05]MH_I2C_Read... [11:13:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:05]Read from MH i2c: E2 [11:13:05]MH_I2C_Read... [11:13:05]Read from MH i2c: E2 0E 00 [11:13:05]MH_I2C_Read... [11:13:05]Read from MH i2c: E2 0E 00 B1 1A 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1E [11:13:05]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:13:05]wFMCommunicate OK [11:13:05]SAM_PROTO_GetShiftState done [11:13:05]FM_GetShiftState done [11:13:05]opened in 1718756813 [11:13:05]opened+sec_in_day 1718843213 [11:13:05]quantity*price = 11500 [11:13:05]sum+1 = 11501 [11:13:05]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600452021101 Горький шоколад OZera Bitter 90г 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004862 Печ.сах.FORSITE Сэнд.шок-ор.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 343.00 НСП 1% : 3.03 НДС 12% : 36.43 Наличными: 0.00 Безнал.: 343.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 18 19.06.2024 11:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФД осн.: 34304 ФМ осн.: 0000000000875095 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34314 ФПД: 270322678923684 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T111310&type=2&operation_type=1&fn_number=0000000000875095&fd_number=34314&fm=270322678923684&tin=02508201610067®Number=0000000000092786&sum=34300 34304 [11:13:06]StoreToDocumentArchive [11:13:06]shift 324 fd 34314 [11:13:06]save to /storage/0324/doc_00034314 [11:13:06]save last doc name /storage/0324/doc_00034314 to /storage/kkm_last_doc_name [11:13:06]save OK [11:13:06]Clear old archive folders... [11:13:06]ProcessDocumentItem done err = 0, tmpTLVsize=540 [11:13:06]tlvbuf is 018F8BA0 [11:13:06]SAM_PROTO_ClearQueue [11:13:06]wFMCommunicate request_size=4 [11:13:06]MH_SAM_APDU [11:13:06]CAPDU: 80 09 00 00 [11:13:06]Write to MH i2c: E2 08 00 C0 1A 80 09 00 00 00 00 00 00 4C [11:13:06]Write i2c OK [11:13:06]MH_I2C_Read... [11:13:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:06]Read from MH i2c: E2 [11:13:06]MH_I2C_Read... [11:13:06]Read from MH i2c: E2 03 00 [11:13:06]MH_I2C_Read... [11:13:06]Read from MH i2c: E2 03 00 C0 1A 00 90 00 4E [11:13:06]RAPDU: 90 00 [11:13:06]wFMCommunicate OK [11:13:06]SAM_PROTO_ClearQueue done [11:13:06]KKMCreateOFDPacket [11:13:06]OFDProtocolAddRootSTLVToBuf [11:13:06]FM_MakeSignedData [11:13:06]FM_MakeSignedData [11:13:06]SAM_PROTO_SignData [11:13:06]wFMCommunicate request_size=4 [11:13:06]MH_SAM_APDU [11:13:06]CAPDU: 80 0D 01 02 [11:13:06]Write to MH i2c: E2 08 00 C1 1A 80 0D 01 02 00 00 00 00 54 [11:13:06]Write i2c OK [11:13:06]MH_I2C_Read... [11:13:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:06]Read from MH i2c: E2 [11:13:06]MH_I2C_Read... [11:13:06]Read from MH i2c: E2 03 00 [11:13:06]MH_I2C_Read... [11:13:06]Read from MH i2c: E2 03 00 C1 1A 00 90 00 4F [11:13:06]RAPDU: 90 00 [11:13:06]wFMCommunicate OK [11:13:06]wFMCommunicate request_size=255 [11:13:06]MH_SAM_APDU [11:13:06]CAPDU: 80 0D 02 02 FA 03 00 1C 02 1E 04 01 00 02 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 [11:13:07]Write to MH i2c: E2 02 01 C2 1A 80 0D 02 02 FA 00 03 00 1C 02 1E 04 01 00 02 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 00 00 44 [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 C2 1A 00 90 00 50 [11:13:07]RAPDU: 90 00 [11:13:07]wFMCommunicate OK [11:13:07]wFMCommunicate request_size=255 [11:13:07]MH_SAM_APDU [11:13:07]CAPDU: 80 0D 02 02 FA 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 46 BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 27 04 04 00 00 86 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 [11:13:07]Write to MH i2c: E2 02 01 C3 1A 80 0D 02 02 FA 00 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 46 BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 27 04 04 00 00 86 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 1B [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 C3 1A 00 90 00 51 [11:13:07]RAPDU: 90 00 [11:13:07]wFMCommunicate OK [11:13:07]wFMCommunicate request_size=49 [11:13:07]MH_SAM_APDU [11:13:07]CAPDU: 80 0D 02 02 2C 38 37 35 30 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0A 86 00 00 35 04 06 00 F5 DB 67 40 81 A4 [11:13:07]Write to MH i2c: E2 34 00 C4 1A 80 0D 02 02 2C 00 38 37 35 30 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0A 86 00 00 35 04 06 00 F5 DB 67 40 81 A4 00 00 BC [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 03 00 C4 1A 00 90 00 52 [11:13:07]RAPDU: 90 00 [11:13:07]wFMCommunicate OK [11:13:07]wFMCommunicate request_size=4 [11:13:07]MH_SAM_APDU [11:13:07]CAPDU: 80 0D 03 02 [11:13:07]Write to MH i2c: E2 08 00 C5 1A 80 0D 03 02 00 00 00 00 5A [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 0B 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 0B 00 C5 1A 00 B4 5A 2A 45 20 86 EE 06 90 00 72 [11:13:07]RAPDU: B4 5A 2A 45 20 86 EE 06 90 00 [11:13:07]wFMCommunicate OK [11:13:07]SAM_PROTO_SignData done [11:13:07]FM_MakeSignedData done [11:13:07]CreateOFDProtocolMessage [11:13:07]wFMCommunicate request_size=4 [11:13:07]MH_SAM_APDU [11:13:07]CAPDU: 80 11 00 00 [11:13:07]Write to MH i2c: E2 08 00 C6 1A 80 11 00 00 00 00 00 00 5A [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:07]Read from MH i2c: E2 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 17 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: E2 17 00 C6 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 AF [11:13:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:13:07]wFMCommunicate OK [11:13:07]CreateOFDProtocolMessage done [11:13:07]OFDSenderStorePacket 34314 [11:13:07]StoreOFDPacket docnum=34314 [11:13:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 02 00 00 AE D3 28 02 5A 51 5A 03 01 00 03 00 1C 02 1E 04 01 00 02 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 46 BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 27 04 04 00 00 86 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0A 86 00 00 35 04 06 00 F5 DB 67 40 81 A4 B4 5A 2A 45 20 86 EE 06 [11:13:07]CheckFolder [11:13:07]dirname=/storage/ofd_packets [11:13:07]CheckFolder done [11:13:07]ProducePacketName [11:13:07]name=ofd_packets/00034314 [11:13:07]NVStorageSaveData ofd_packets/00034314 [11:13:07]File name is /storage/ofd_packets/00034314 [11:13:07]Write 590 bytes [11:13:07]NVStorageSaveData done [11:13:07]OFDSenderStorePacket done [11:13:07]KKMCreateOFDPacket done [11:13:07]NVStorageSaveData kkm_last_timestamp [11:13:07]File name is /storage/kkm_last_timestamp [11:13:07]Write 4 bytes [11:13:07]NVStorageSaveData done [11:13:07]ExternCall_PrintAddStr [11:13:07]wPrintStart [11:13:07]Write to MH i2c: 01 00 00 C7 1A E1 [11:13:07]Write i2c OK [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: 01 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: 01 07 00 [11:13:07]MH_I2C_Read... [11:13:07]Read from MH i2c: 01 07 00 C7 1A 00 00 00 00 00 FF 0F F6 [11:13:07]RasterBufferAndPrint [11:13:07]line Счет N : (3)184085 [11:13:07]line ИНН: 02508201610067 [11:13:07]line Контрольно-Кассовый Чек [11:13:07]line ВОЗВРАТ ПРОДАЖИ [11:13:07]line Товар: 2000036240010 [11:13:07]line Кофе Латте (GABB TRADE) [11:13:07]line 1.000 * 115.00 [11:13:07]line = 115.00 [11:13:07]line НДС 12% НСП 1% [11:13:07]line > о реализуемом товаре [11:13:07]line Товар: 4600452021101 [11:13:07]line Горький шоколад OZera Bitter 90г [11:13:07]line 1.000 * 135.00 [11:13:07]line = 135.00 [11:13:07]line НДС 12% НСП 1% [11:13:07]line > о реализуемом товаре [11:13:07]line Товар: 4603290004862 [11:13:07]line Печ.сах.FORSITE Сэнд.шок-ор.вк [11:13:07]line 1.000 * 93.00 [11:13:07]line = 93.00 [11:13:07]line НДС 12% НСП 1% [11:13:07]line > о реализуемом товаре [11:13:07]line ИТОГО: 343.00 [11:13:07]line НСП 1% : 3.03 [11:13:07]line НДС 12% : 36.43 [11:13:07]line Наличными: 0.00 [11:13:07]line Безнал.: 343.00 [11:13:07]line Место: АЗС № 120 "Партнер Нефть" [11:13:07]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:13:07]line СНО: Общий режим [11:13:07]line Чек 18 19.06.2024 11:13 [11:13:07]line Смена: 324 ФФД: 1.0 [11:13:07]line ЗНМ: 0300000172 [11:13:07]line РНМ: 0000000000092786 [11:13:07]line Версия ККМ: 001 [11:13:07]line ФД осн.: 34304 [11:13:07]line ФМ осн.: 0000000000875095 [11:13:07]line Платежная система: Бакай Банк [11:13:07]line ФМ: 0000000000875095 [11:13:07]line ФД: 34314 [11:13:07]line ФПД: 270322678923684 [11:13:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T111310&type=2&operation_type=1&fn_number=0000000000875095&fd_number=34314&fm=270322678923684&tin=02508201610067®Number=0000000000092786&sum=34300 [11:13:08]line 34304 [11:13:08]OFD Sender: Processing packet 34314 [packets to send 8, broken 7] [11:13:08]ProducePacketName [11:13:08]name=ofd_packets/00034314 [11:13:08]OFD Sender: To server: pG, [11:13:08]CommunicateWithHost lk.salyk.kg:30040 [11:13:08]ConnectInit lk.salyk.kg [11:13:08]written 0, free lines is 4095 [11:13:08]Connected sock=10 [11:13:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 02 00 00 AE D3 28 02 5A 51 5A 03 01 00 03 00 1C 02 1E 04 01 00 02 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 46 BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 27 04 04 00 00 86 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0A 86 00 00 35 04 06 00 F5 DB 67 40 81 A4 B4 5A 2A 45 20 86 EE 06 [11:13:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 2B CA 47 00 DC 68 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0A 86 00 00 F4 03 04 00 14 64 72 66 B6 04 01 00 00 44 43 08 7F E5 1A D4 BA [11:13:08]CommunicateWithHost err = 0 [11:13:08]CheckOFDResponse [11:13:08]1017 (14) - 77093643461234 [11:13:08]1041 (16) - 0000000000875095 [11:13:08]1040 (4) - 34314 [11:13:08]1012 (4) - 19.06.2024 04:52 [11:13:08]1206 (1) - 0 [11:13:08]OFD Sender: Remove packet 34314 [11:13:08]ProducePacketName [11:13:08]name=ofd_packets/00034314 [11:13:08]NVStorageDeleteData [11:13:08]Write to MH i2c: 01 00 00 01 1B 1C [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: 01 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: 01 07 00 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: 01 07 00 01 1B 00 00 00 00 00 CB 0B F9 [11:13:08]RasterBufferAndPrint [11:13:08]line [11:13:08]line [11:13:08]line [11:13:08]line [11:13:08]line [11:13:08]written 0, free lines is 3028 [11:13:08]MH_Cut [11:13:08]Write to MH i2c: D1 01 00 08 1B 01 F5 [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: D1 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: D1 01 00 [11:13:08]MH_I2C_Read... [11:13:08]Read from MH i2c: D1 01 00 08 1B 00 F4 [11:13:08]Write to MH i2c: 01 00 00 09 1B 24 [11:13:08]Write i2c OK [11:13:08]MH_I2C_Read... [11:13:09]OFD Sender: No OFD packet to send [11:13:09]*** Cut start [11:13:09]*** Partial cut [11:13:09]*** CUTSNS_PIN = 1 [11:13:09]*** CUTSNS_PIN = 0 [11:13:10]*** Brake cut motor [11:13:10]Read from MH i2c: 01 [11:13:10]MH_I2C_Read... [11:13:10]*** Stop cut motor [11:13:10]*** Cut end [11:13:10]Read from MH i2c: 01 07 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: 01 07 00 09 1B 00 00 00 00 00 FF 0F 39 [11:13:10]process_action close_receipt done [11:13:10]requested_data is exist [11:13:10]produce_requested_data [11:13:10]requested_item fm.sn is exist - process it [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 11 00 00 [11:13:10]Write to MH i2c: E2 08 00 0A 1B 80 11 00 00 00 00 00 00 9F [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 17 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 17 00 0A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F4 [11:13:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:13:10]wFMCommunicate OK [11:13:10]requested_item fd.num is exist - process it [11:13:10]SAM_PROTO_GetFieldsCounters [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 13 00 00 [11:13:10]Write to MH i2c: E2 08 00 0B 1B 80 13 00 00 00 00 00 00 A2 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 62 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 62 00 0B 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0A 86 00 00 0E 04 04 00 44 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 D7 [11:13:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0A 86 00 00 0E 04 04 00 44 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 [11:13:10]wFMCommunicate OK [11:13:10]SAM_PROTO_GetFieldsCounters done [11:13:10]requested_item shift.num is exist - process it [11:13:10]requested_item shift.opened is exist - process it [11:13:10]req_shift_opened [11:13:10]FM_GetShiftState [11:13:10]SAM_PROTO_GetShiftState [11:13:10]wFMCommunicate request_size=4 [11:13:10]MH_SAM_APDU [11:13:10]CAPDU: 80 13 01 00 [11:13:10]Write to MH i2c: E2 08 00 0C 1B 80 13 01 00 00 00 00 00 A4 [11:13:10]Write i2c OK [11:13:10]MH_I2C_Read... [11:13:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:10]Read from MH i2c: E2 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 0E 00 [11:13:10]MH_I2C_Read... [11:13:10]Read from MH i2c: E2 0E 00 0C 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 7A [11:13:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:13:10]wFMCommunicate OK [11:13:10]SAM_PROTO_GetShiftState done [11:13:10]FM_GetShiftState done [11:13:10]req_shift_opened done [11:13:10]requested_item shift.open_date is exist - process it [11:13:10]req_shift_open_date [11:13:10]req_shift_open_date done [11:13:10]produce_requested_data done [11:13:10]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34314,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:13:10]process_action_free close_receipt [11:13:10]json_value_free [11:13:10]json_value_free done [11:13:10]process_json_proto returns [11:13:10]Send response to host [11:13:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34314,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:13:10]free response buf [11:13:10]execute_script done [11:13:10]execute_script returns [11:13:10]free content buf [11:13:10]Sock 7.Close socket [11:13:10]Sock 7.Thread stoped [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:16]accept exits with 9 [11:14:16]New connection [11:14:16]New thread 3067567460 created [11:14:16]Thread 3067424100 joined [11:14:16]Waiting for new connection... [11:14:16] Sock 9.Parse request [11:14:16]Sock 9.Check first char [11:14:16]Sock 9.First char is OK [11:14:16]request: POST /json_proto HTTP/1.0 [11:14:16]Method: POST [11:14:16]URL: /json_proto [11:14:16]Method is POST - this is cgi request [11:14:16]url: /json_proto [11:14:16]query_string will be loaded in cgi processing [11:14:16]execute_cgi json_proto POST (null) [11:14:16]execute_cgi path=json_proto method=POST [11:14:16]POST find Content-Length [11:14:16]Host: 172.17.38.134:8080 [11:14:16]Content-Length: 1661 [11:14:16]Content-Type: application/json [11:14:16] [11:14:16]POST finish read [11:14:16]Found Content-Length = 1661 [11:14:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184092", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329016705", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u0433\u043E\u0440\u044C\u043A\u0438\u0439 OZera Dark 90\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:16]execute_script... [11:14:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184092", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329016705", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u0433\u043E\u0440\u044C\u043A\u0438\u0439 OZera Dark 90\u0433", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 343.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:14:16]POST & json_proto [11:14:16]process_json_proto [11:14:16]json parsed OK: [11:14:16]protocol is kg_v1.0 [11:14:16]action value=close_receipt [11:14:16]process_action close_receipt [11:14:16]cmd_close_receipt [11:14:16]MH_GetDate [11:14:16]Write to MH i2c: F0 00 00 0D 1B 17 [11:14:16]Write i2c OK [11:14:16]MH_I2C_Read... [11:14:16]Read from MH i2c: F0 [11:14:16]MH_I2C_Read... [11:14:16]Read from MH i2c: F0 09 00 [11:14:16]MH_I2C_Read... [11:14:16]Read from MH i2c: F0 09 00 0D 1B 00 8D BD 72 66 13 9C 7C 64 D1 [11:14:16]GetLastDocTimeStamp 1718795590 [11:14:16]current date 1718795661 [11:14:16]FM_GetShiftState [11:14:16]SAM_PROTO_GetShiftState [11:14:16]wFMCommunicate request_size=4 [11:14:16]MH_SAM_APDU [11:14:16]CAPDU: 80 13 01 00 [11:14:16]Write to MH i2c: E2 08 00 0E 1B 80 13 01 00 00 00 00 00 A6 [11:14:16]Write i2c OK [11:14:16]MH_I2C_Read... [11:14:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:16]Read from MH i2c: E2 [11:14:16]MH_I2C_Read... [11:14:16]Read from MH i2c: E2 0E 00 [11:14:16]MH_I2C_Read... [11:14:16]Read from MH i2c: E2 0E 00 0E 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 7C [11:14:16]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:14:16]wFMCommunicate OK [11:14:16]SAM_PROTO_GetShiftState done [11:14:16]FM_GetShiftState done [11:14:16]opened in 1718756813 [11:14:16]opened+sec_in_day 1718843213 [11:14:16]quantity*price = 11500 [11:14:16]sum+1 = 11501 [11:14:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4690329016705 Шоколад горький OZera Dark 90г 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004862 Печ.сах.FORSITE Сэнд.шок-ор.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 5.000 * 7.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 343.00 НСП 1% : 3.03 НДС 12% : 36.43 Наличными: 0.00 Безнал.: 343.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 19 19.06.2024 11:14 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34315 ФПД: 99889388389912 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T111421&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34315&fm=99889388389912&tin=02508201610067®Number=0000000000092786&sum=34300 0 [11:14:18]StoreToDocumentArchive [11:14:18]shift 324 fd 34315 [11:14:18]save to /storage/0324/doc_00034315 [11:14:18]save last doc name /storage/0324/doc_00034315 to /storage/kkm_last_doc_name [11:14:18]save OK [11:14:18]Clear old archive folders... [11:14:18]ProcessDocumentItem done err = 0, tmpTLVsize=627 [11:14:18]tlvbuf is 01958D60 [11:14:18]SAM_PROTO_ClearQueue [11:14:18]wFMCommunicate request_size=4 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 09 00 00 [11:14:18]Write to MH i2c: E2 08 00 1B 1B 80 09 00 00 00 00 00 00 A8 [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 1B 1B 00 90 00 AA [11:14:18]RAPDU: 90 00 [11:14:18]wFMCommunicate OK [11:14:18]SAM_PROTO_ClearQueue done [11:14:18]KKMCreateOFDPacket [11:14:18]OFDProtocolAddRootSTLVToBuf [11:14:18]FM_MakeSignedData [11:14:18]FM_MakeSignedData [11:14:18]SAM_PROTO_SignData [11:14:18]wFMCommunicate request_size=4 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 0D 01 02 [11:14:18]Write to MH i2c: E2 08 00 1C 1B 80 0D 01 02 00 00 00 00 B0 [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 1C 1B 00 90 00 AB [11:14:18]RAPDU: 90 00 [11:14:18]wFMCommunicate OK [11:14:18]wFMCommunicate request_size=255 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 0D 02 02 FA 03 00 73 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 71 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 36 37 30 35 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 4F 5A 65 72 61 20 44 61 72 6B 20 39 30 D0 B3 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 [11:14:18]Write to MH i2c: E2 02 01 1D 1B 80 0D 02 02 FA 00 03 00 73 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 71 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 36 37 30 35 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 4F 5A 65 72 61 20 44 61 72 6B 20 39 30 D0 B3 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 00 00 5F [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 1D 1B 00 90 00 AC [11:14:18]RAPDU: 90 00 [11:14:18]wFMCommunicate OK [11:14:18]wFMCommunicate request_size=255 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 0D 02 02 FA 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE [11:14:18]Write to MH i2c: E2 02 01 1E 1B 80 0D 02 02 FA 00 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 00 00 67 [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 1E 1B 00 90 00 AD [11:14:18]RAPDU: 90 00 [11:14:18]wFMCommunicate OK [11:14:18]wFMCommunicate request_size=136 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 8D BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0B 86 00 00 35 04 06 00 5A D9 4F 83 06 18 [11:14:18]Write to MH i2c: E2 8B 00 1F 1B 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 8D BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0B 86 00 00 35 04 06 00 5A D9 4F 83 06 18 00 00 FA [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 03 00 1F 1B 00 90 00 AE [11:14:18]RAPDU: 90 00 [11:14:18]wFMCommunicate OK [11:14:18]wFMCommunicate request_size=4 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 0D 03 02 [11:14:18]Write to MH i2c: E2 08 00 20 1B 80 0D 03 02 00 00 00 00 B6 [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:14:18]Read from MH i2c: E2 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 0B 00 [11:14:18]MH_I2C_Read... [11:14:18]Read from MH i2c: E2 0B 00 20 1B 00 57 24 B9 8E 06 F8 5C A8 90 00 7B [11:14:18]RAPDU: 57 24 B9 8E 06 F8 5C A8 90 00 [11:14:18]wFMCommunicate OK [11:14:18]SAM_PROTO_SignData done [11:14:18]FM_MakeSignedData done [11:14:18]CreateOFDProtocolMessage [11:14:18]wFMCommunicate request_size=4 [11:14:18]MH_SAM_APDU [11:14:18]CAPDU: 80 11 00 00 [11:14:18]Write to MH i2c: E2 08 00 21 1B 80 11 00 00 00 00 00 00 B6 [11:14:18]Write i2c OK [11:14:18]MH_I2C_Read... [11:14:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:19]Read from MH i2c: E2 [11:14:19]MH_I2C_Read... [11:14:19]Read from MH i2c: E2 17 00 [11:14:19]MH_I2C_Read... [11:14:19]Read from MH i2c: E2 17 00 21 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 0B [11:14:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:14:19]wFMCommunicate OK [11:14:19]CreateOFDProtocolMessage done [11:14:19]OFDSenderStorePacket 34315 [11:14:19]StoreOFDPacket docnum=34315 [11:14:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 87 02 00 00 E8 24 7F 02 F3 78 5A 03 01 00 03 00 73 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 71 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 36 37 30 35 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 4F 5A 65 72 61 20 44 61 72 6B 20 39 30 D0 B3 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 8D BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0B 86 00 00 35 04 06 00 5A D9 4F 83 06 18 57 24 B9 8E 06 F8 5C A8 [11:14:19]CheckFolder [11:14:19]dirname=/storage/ofd_packets [11:14:19]CheckFolder done [11:14:19]ProducePacketName [11:14:19]name=ofd_packets/00034315 [11:14:19]NVStorageSaveData ofd_packets/00034315 [11:14:19]File name is /storage/ofd_packets/00034315 [11:14:19]Write 677 bytes [11:14:19]NVStorageSaveData done [11:14:19]OFDSenderStorePacket done [11:14:19]KKMCreateOFDPacket done [11:14:19]NVStorageSaveData kkm_last_timestamp [11:14:19]File name is /storage/kkm_last_timestamp [11:14:19]Write 4 bytes [11:14:19]NVStorageSaveData done [11:14:19]ExternCall_PrintAddStr [11:14:19]wPrintStart [11:14:19]Write to MH i2c: 01 00 00 22 1B 3D [11:14:19]Write i2c OK [11:14:19]MH_I2C_Read... [11:14:19]Read from MH i2c: 01 [11:14:19]MH_I2C_Read... [11:14:19]Read from MH i2c: 01 07 00 [11:14:19]MH_I2C_Read... [11:14:19]Read from MH i2c: 01 07 00 22 1B 00 00 00 00 00 FF 0F 52 [11:14:19]RasterBufferAndPrint [11:14:19]line Счет N : (3)184092 [11:14:19]line ИНН: 02508201610067 [11:14:19]line Контрольно-Кассовый Чек [11:14:19]line ПРОДАЖА [11:14:19]line Товар: 2000036240010 [11:14:19]line Кофе Латте (GABB TRADE) [11:14:19]line 1.000 * 115.00 [11:14:19]line = 115.00 [11:14:19]line НДС 12% НСП 1% [11:14:19]line > о реализуемом товаре [11:14:19]line Товар: 4690329016705 [11:14:19]line Шоколад горький OZera Dark 90г [11:14:19]line 1.000 * 100.00 [11:14:19]line = 100.00 [11:14:19]line НДС 12% НСП 1% [11:14:19]line > о реализуемом товаре [11:14:19]line Товар: 4603290004862 [11:14:19]line Печ.сах.FORSITE Сэнд.шок-ор.вк [11:14:19]line 1.000 * 93.00 [11:14:19]line = 93.00 [11:14:19]line НДС 12% НСП 1% [11:14:19]line > о реализуемом товаре [11:14:19]line Товар: 2000053020015 [11:14:19]line Бумажные стаканы 250мл 1шт [11:14:19]line 5.000 * 7.00 [11:14:19]line = 35.00 [11:14:19]line НДС 12% НСП 1% [11:14:19]line > о реализуемом товаре [11:14:19]line ИТОГО: 343.00 [11:14:19]line НСП 1% : 3.03 [11:14:19]line НДС 12% : 36.43 [11:14:19]line Наличными: 0.00 [11:14:19]line Безнал.: 343.00 [11:14:19]line Место: АЗС № 120 "Партнер Нефть" [11:14:19]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:14:19]line СНО: Общий режим [11:14:19]line Чек 19 19.06.2024 11:14 [11:14:19]line Смена: 324 ФФД: 1.0 [11:14:19]line ЗНМ: 0300000172 [11:14:19]line РНМ: 0000000000092786 [11:14:19]line Версия ККМ: 001 [11:14:19]line Платежная система: Бакай Банк [11:14:19]line ФМ: 0000000000875095 [11:14:19]line ФД: 34315 [11:14:19]line ФПД: 99889388389912 [11:14:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T111421&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34315&fm=99889388389912&tin=02508201610067®Number=0000000000092786&sum=34300 [11:14:19]line 0 [11:14:19]OFD Sender: Processing packet 34315 [packets to send 8, broken 7] [11:14:19]ProducePacketName [11:14:19]name=ofd_packets/00034315 [11:14:19]OFD Sender: To server: pG, [11:14:19]CommunicateWithHost lk.salyk.kg:30040 [11:14:19]ConnectInit lk.salyk.kg [11:14:19]written 0, free lines is 4095 [11:14:19]Connected sock=10 [11:14:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 87 02 00 00 E8 24 7F 02 F3 78 5A 03 01 00 03 00 73 02 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 71 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 36 37 30 35 06 04 2D 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 B3 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 4F 5A 65 72 61 20 44 61 72 6B 20 39 30 D0 B3 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 FC 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 85 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 8D BD 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0B 86 00 00 35 04 06 00 5A D9 4F 83 06 18 57 24 B9 8E 06 F8 5C A8 [11:14:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D1 72 47 00 1B 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0B 86 00 00 F4 03 04 00 5B 64 72 66 B6 04 01 00 00 A5 7A 2F 04 BC 91 C6 9C [11:14:19]CommunicateWithHost err = 0 [11:14:19]CheckOFDResponse [11:14:19]1017 (14) - 77093643461234 [11:14:19]1041 (16) - 0000000000875095 [11:14:19]1040 (4) - 34315 [11:14:19]1012 (4) - 19.06.2024 04:53 [11:14:19]1206 (1) - 0 [11:14:19]OFD Sender: Remove packet 34315 [11:14:19]ProducePacketName [11:14:19]name=ofd_packets/00034315 [11:14:19]NVStorageDeleteData [11:14:20]Write to MH i2c: 01 00 00 61 1B 7C [11:14:20]Write i2c OK [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: 01 [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: 01 07 00 [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: 01 07 00 61 1B 00 00 00 00 00 87 0B 15 [11:14:20]RasterBufferAndPrint [11:14:20]line [11:14:20]line [11:14:20]line [11:14:20]line [11:14:20]line [11:14:20]written 0, free lines is 2961 [11:14:20]MH_Cut [11:14:20]Write to MH i2c: D1 01 00 68 1B 01 55 [11:14:20]Write i2c OK [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: D1 [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: D1 01 00 [11:14:20]MH_I2C_Read... [11:14:20]Read from MH i2c: D1 01 00 68 1B 00 54 [11:14:20]Write to MH i2c: 01 00 00 69 1B 84 [11:14:20]Write i2c OK [11:14:20]MH_I2C_Read... [11:14:20]OFD Sender: No OFD packet to send [11:14:21]*** Cut start [11:14:21]*** Partial cut [11:14:21]*** CUTSNS_PIN = 1 [11:14:21]*** CUTSNS_PIN = 0 [11:14:21]*** Brake cut motor [11:14:21]Read from MH i2c: 01 [11:14:21]MH_I2C_Read... [11:14:21]*** Stop cut motor [11:14:21]*** Cut end [11:14:21]Read from MH i2c: 01 07 00 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: 01 07 00 69 1B 00 00 00 00 00 FF 0F 99 [11:14:21]process_action close_receipt done [11:14:21]requested_data is exist [11:14:21]produce_requested_data [11:14:21]requested_item fm.sn is exist - process it [11:14:21]wFMCommunicate request_size=4 [11:14:21]MH_SAM_APDU [11:14:21]CAPDU: 80 11 00 00 [11:14:21]Write to MH i2c: E2 08 00 6A 1B 80 11 00 00 00 00 00 00 FF [11:14:21]Write i2c OK [11:14:21]MH_I2C_Read... [11:14:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:14:21]Read from MH i2c: E2 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 17 00 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 17 00 6A 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 54 [11:14:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:14:21]wFMCommunicate OK [11:14:21]requested_item fd.num is exist - process it [11:14:21]SAM_PROTO_GetFieldsCounters [11:14:21]wFMCommunicate request_size=4 [11:14:21]MH_SAM_APDU [11:14:21]CAPDU: 80 13 00 00 [11:14:21]Write to MH i2c: E2 08 00 6B 1B 80 13 00 00 00 00 00 00 02 [11:14:21]Write i2c OK [11:14:21]MH_I2C_Read... [11:14:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:14:21]Read from MH i2c: E2 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 62 00 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 62 00 6B 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0B 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 3B [11:14:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0B 86 00 00 0E 04 04 00 44 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 [11:14:21]wFMCommunicate OK [11:14:21]SAM_PROTO_GetFieldsCounters done [11:14:21]requested_item shift.num is exist - process it [11:14:21]requested_item shift.opened is exist - process it [11:14:21]req_shift_opened [11:14:21]FM_GetShiftState [11:14:21]SAM_PROTO_GetShiftState [11:14:21]wFMCommunicate request_size=4 [11:14:21]MH_SAM_APDU [11:14:21]CAPDU: 80 13 01 00 [11:14:21]Write to MH i2c: E2 08 00 6C 1B 80 13 01 00 00 00 00 00 04 [11:14:21]Write i2c OK [11:14:21]MH_I2C_Read... [11:14:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:14:21]Read from MH i2c: E2 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 0E 00 [11:14:21]MH_I2C_Read... [11:14:21]Read from MH i2c: E2 0E 00 6C 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DA [11:14:21]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:14:21]wFMCommunicate OK [11:14:21]SAM_PROTO_GetShiftState done [11:14:21]FM_GetShiftState done [11:14:21]req_shift_opened done [11:14:21]requested_item shift.open_date is exist - process it [11:14:21]req_shift_open_date [11:14:21]req_shift_open_date done [11:14:21]produce_requested_data done [11:14:21]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34315,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:14:21]process_action_free close_receipt [11:14:21]json_value_free [11:14:21]json_value_free done [11:14:21]process_json_proto returns [11:14:21]Send response to host [11:14:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34315,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:14:21]free response buf [11:14:21]execute_script done [11:14:21]execute_script returns [11:14:21]free content buf [11:14:21]Sock 9.Close socket [11:14:21]Sock 9.Thread stoped [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:29]accept exits with 7 [11:35:29]New connection [11:35:29]New thread 3067424100 created [11:35:29]Thread 3067567460 joined [11:35:29]Waiting for new connection... [11:35:29] Sock 7.Parse request [11:35:29]Sock 7.Check first char [11:35:29]Sock 7.First char is OK [11:35:29]request: POST /json_proto HTTP/1.0 [11:35:29]Method: POST [11:35:29]URL: /json_proto [11:35:29]Method is POST - this is cgi request [11:35:29]url: /json_proto [11:35:29]query_string will be loaded in cgi processing [11:35:29]execute_cgi json_proto POST (null) [11:35:29]execute_cgi path=json_proto method=POST [11:35:29]POST find Content-Length [11:35:29]Host: 172.17.38.134:8080 [11:35:29]Content-Length: 709 [11:35:29]Content-Type: application/json [11:35:29] [11:35:29]POST finish read [11:35:29]Found Content-Length = 709 [11:35:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184093", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 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" ] } } [11:35:29]execute_script... [11:35: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)184093", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 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" ] } } [11:35:29]POST & json_proto [11:35:29]process_json_proto [11:35:29]json parsed OK: [11:35:29]protocol is kg_v1.0 [11:35:29]action value=close_receipt [11:35:29]process_action close_receipt [11:35:29]cmd_close_receipt [11:35:29]MH_GetDate [11:35:29]Write to MH i2c: F0 00 00 6D 1B 77 [11:35:29]Write i2c OK [11:35:29]MH_I2C_Read... [11:35:29]Read from MH i2c: F0 [11:35:29]MH_I2C_Read... [11:35:29]Read from MH i2c: F0 09 00 [11:35:29]MH_I2C_Read... [11:35:29]Read from MH i2c: F0 09 00 6D 1B 00 86 C2 72 66 13 9C 7C 64 2F [11:35:29]GetLastDocTimeStamp 1718795661 [11:35:29]current date 1718796934 [11:35:29]FM_GetShiftState [11:35:29]SAM_PROTO_GetShiftState [11:35:29]wFMCommunicate request_size=4 [11:35:29]MH_SAM_APDU [11:35:29]CAPDU: 80 13 01 00 [11:35:29]Write to MH i2c: E2 08 00 6E 1B 80 13 01 00 00 00 00 00 06 [11:35:29]Write i2c OK [11:35:29]MH_I2C_Read... [11:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:29]Read from MH i2c: E2 [11:35:29]MH_I2C_Read... [11:35:29]Read from MH i2c: E2 0E 00 [11:35:29]MH_I2C_Read... [11:35:29]Read from MH i2c: E2 0E 00 6E 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DC [11:35:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:35:29]wFMCommunicate OK [11:35:29]SAM_PROTO_GetShiftState done [11:35:29]FM_GetShiftState done [11:35:29]opened in 1718756813 [11:35:29]opened+sec_in_day 1718843213 [11:35:29]quantity*price = 9500 [11:35:29]sum+1 = 9501 [11:35:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 20 19.06.2024 11:35 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34316 ФПД: 257519883309823 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T113534&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34316&fm=257519883309823&tin=02508201610067®Number=0000000000092786&sum=9500 0 [11:35:31]StoreToDocumentArchive [11:35:31]shift 324 fd 34316 [11:35:31]save to /storage/0324/doc_00034316 [11:35:31]save last doc name /storage/0324/doc_00034316 to /storage/kkm_last_doc_name [11:35:31]save OK [11:35:31]Clear old archive folders... [11:35:31]ProcessDocumentItem done err = 0, tmpTLVsize=304 [11:35:31]tlvbuf is 0194ACD0 [11:35:31]SAM_PROTO_ClearQueue [11:35:31]wFMCommunicate request_size=4 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 09 00 00 [11:35:31]Write to MH i2c: E2 08 00 7B 1B 80 09 00 00 00 00 00 00 08 [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 7B 1B 00 90 00 0A [11:35:31]RAPDU: 90 00 [11:35:31]wFMCommunicate OK [11:35:31]SAM_PROTO_ClearQueue done [11:35:31]KKMCreateOFDPacket [11:35:31]OFDProtocolAddRootSTLVToBuf [11:35:31]FM_MakeSignedData [11:35:31]FM_MakeSignedData [11:35:31]SAM_PROTO_SignData [11:35:31]wFMCommunicate request_size=4 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 0D 01 02 [11:35:31]Write to MH i2c: E2 08 00 7C 1B 80 0D 01 02 00 00 00 00 10 [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 7C 1B 00 90 00 0B [11:35:31]RAPDU: 90 00 [11:35:31]wFMCommunicate OK [11:35:31]wFMCommunicate request_size=255 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 14 00 00 00 F4 03 04 00 86 C2 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 [11:35:31]Write to MH i2c: E2 02 01 7D 1B 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 14 00 00 00 F4 03 04 00 86 C2 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 00 00 CF [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]OFD Sender: No OFD packet to send [11:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 7D 1B 00 90 00 0C [11:35:31]RAPDU: 90 00 [11:35:31]wFMCommunicate OK [11:35:31]wFMCommunicate request_size=63 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0C 86 00 00 35 04 06 00 EA 36 85 2A D2 FF [11:35:31]Write to MH i2c: E2 42 00 7E 1B 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0C 86 00 00 35 04 06 00 EA 36 85 2A D2 FF 00 00 98 [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 03 00 7E 1B 00 90 00 0D [11:35:31]RAPDU: 90 00 [11:35:31]wFMCommunicate OK [11:35:31]wFMCommunicate request_size=4 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 0D 03 02 [11:35:31]Write to MH i2c: E2 08 00 7F 1B 80 0D 03 02 00 00 00 00 15 [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 0B 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 0B 00 7F 1B 00 9C 1C 2F 8B D3 EC B6 47 90 00 44 [11:35:31]RAPDU: 9C 1C 2F 8B D3 EC B6 47 90 00 [11:35:31]wFMCommunicate OK [11:35:31]SAM_PROTO_SignData done [11:35:31]FM_MakeSignedData done [11:35:31]CreateOFDProtocolMessage [11:35:31]wFMCommunicate request_size=4 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 11 00 00 [11:35:31]Write to MH i2c: E2 08 00 80 1B 80 11 00 00 00 00 00 00 15 [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 17 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 17 00 80 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6A [11:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:35:31]wFMCommunicate OK [11:35:31]CreateOFDProtocolMessage done [11:35:31]OFDSenderStorePacket 34316 [11:35:31]StoreOFDPacket docnum=34316 [11:35:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 44 01 00 00 ED E2 3C 01 19 53 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 14 00 00 00 F4 03 04 00 86 C2 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0C 86 00 00 35 04 06 00 EA 36 85 2A D2 FF 9C 1C 2F 8B D3 EC B6 47 [11:35:31]CheckFolder [11:35:31]dirname=/storage/ofd_packets [11:35:31]CheckFolder done [11:35:31]ProducePacketName [11:35:31]name=ofd_packets/00034316 [11:35:31]NVStorageSaveData ofd_packets/00034316 [11:35:31]File name is /storage/ofd_packets/00034316 [11:35:31]Write 354 bytes [11:35:31]NVStorageSaveData done [11:35:31]OFDSenderStorePacket done [11:35:31]KKMCreateOFDPacket done [11:35:31]NVStorageSaveData kkm_last_timestamp [11:35:31]File name is /storage/kkm_last_timestamp [11:35:31]Write 4 bytes [11:35:31]NVStorageSaveData done [11:35:31]ExternCall_PrintAddStr [11:35:31]wPrintStart [11:35:31]Write to MH i2c: 01 00 00 81 1B 9C [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: 01 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: 01 07 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: 01 07 00 81 1B 00 00 00 00 00 FF 0F B1 [11:35:31]RasterBufferAndPrint [11:35:31]line Счет N : (3)184093 [11:35:31]line ИНН: 02508201610067 [11:35:31]line Контрольно-Кассовый Чек [11:35:31]line ПРОДАЖА [11:35:31]line Товар: 4700000480302 [11:35:31]line Напиток энерг Nitro манго-клуб 0.45 ж/б [11:35:31]line 1.000 * 95.00 [11:35:31]line = 95.00 [11:35:31]line НДС 12% НСП 1% [11:35:31]line > о реализуемом товаре [11:35:31]line ИТОГО: 95.00 [11:35:31]line НСП 1% : 0.84 [11:35:31]line НДС 12% : 10.09 [11:35:31]line Наличными: 95.00 [11:35:31]line Безнал.: 0.00 [11:35:31]line Место: АЗС № 120 "Партнер Нефть" [11:35:31]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:35:31]line СНО: Общий режим [11:35:31]line Чек 20 19.06.2024 11:35 [11:35:31]line Смена: 324 ФФД: 1.0 [11:35:31]line ЗНМ: 0300000172 [11:35:31]line РНМ: 0000000000092786 [11:35:31]line Версия ККМ: 001 [11:35:31]line ФМ: 0000000000875095 [11:35:31]line ФД: 34316 [11:35:31]line ФПД: 257519883309823 [11:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T113534&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34316&fm=257519883309823&tin=02508201610067®Number=0000000000092786&sum=9500 [11:35:31]line 0 [11:35:31]OFD Sender: Processing packet 34316 [packets to send 8, broken 7] [11:35:31]ProducePacketName [11:35:31]name=ofd_packets/00034316 [11:35:31]OFD Sender: To server: pG, [11:35:31]CommunicateWithHost lk.salyk.kg:30040 [11:35:31]ConnectInit lk.salyk.kg [11:35:31]written 0, free lines is 4095 [11:35:32]Connected sock=10 [11:35:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 44 01 00 00 ED E2 3C 01 19 53 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 14 00 00 00 F4 03 04 00 86 C2 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0C 86 00 00 35 04 06 00 EA 36 85 2A D2 FF 9C 1C 2F 8B D3 EC B6 47 [11:35:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 63 C9 47 00 01 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 38 37 35 30 39 35 10 04 04 00 0C 86 00 00 F4 03 04 00 53 69 72 66 B6 04 01 00 00 2D 15 A9 BB A0 16 77 2E [11:35:32]CommunicateWithHost err = 0 [11:35:32]CheckOFDResponse [11:35:32]1017 (14) - 77093643461234 [11:35:32]1041 (16) - 0000000000875095 [11:35:32]1040 (4) - 34316 [11:35:32]1012 (4) - 19.06.2024 05:14 [11:35:32]1206 (1) - 0 [11:35:32]OFD Sender: Remove packet 34316 [11:35:32]ProducePacketName [11:35:32]name=ofd_packets/00034316 [11:35:32]NVStorageDeleteData [11:35:32]Write to MH i2c: 01 00 00 AA 1B C5 [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 07 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 07 00 AA 1B 00 00 00 00 00 DA 0C B2 [11:35:32]RasterBufferAndPrint [11:35:32]line [11:35:32]line [11:35:32]line [11:35:32]line [11:35:32]line [11:35:32]written 0, free lines is 3299 [11:35:32]MH_Cut [11:35:32]Write to MH i2c: D1 01 00 B1 1B 01 9E [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: D1 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: D1 01 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: D1 01 00 B1 1B 00 9D [11:35:32]Write to MH i2c: 01 00 00 B2 1B CD [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]OFD Sender: No OFD packet to send [11:35:33]*** Cut start [11:35:33]*** Partial cut [11:35:33]*** CUTSNS_PIN = 1 [11:35:33]*** CUTSNS_PIN = 0 [11:35:33]*** Brake cut motor [11:35:33]Read from MH i2c: 01 [11:35:33]MH_I2C_Read... [11:35:33]*** Stop cut motor [11:35:33]*** Cut end [11:35:33]Read from MH i2c: 01 07 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: 01 07 00 B2 1B 00 00 00 00 00 FF 0F E2 [11:35:33]process_action close_receipt done [11:35:33]requested_data is exist [11:35:33]produce_requested_data [11:35:33]requested_item fm.sn is exist - process it [11:35:33]wFMCommunicate request_size=4 [11:35:33]MH_SAM_APDU [11:35:33]CAPDU: 80 11 00 00 [11:35:33]Write to MH i2c: E2 08 00 B3 1B 80 11 00 00 00 00 00 00 48 [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:33]Read from MH i2c: E2 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 17 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 17 00 B3 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9D [11:35:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:35:33]wFMCommunicate OK [11:35:33]requested_item fd.num is exist - process it [11:35:33]SAM_PROTO_GetFieldsCounters [11:35:33]wFMCommunicate request_size=4 [11:35:33]MH_SAM_APDU [11:35:33]CAPDU: 80 13 00 00 [11:35:33]Write to MH i2c: E2 08 00 B4 1B 80 13 00 00 00 00 00 00 4B [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:35:33]Read from MH i2c: E2 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 62 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 62 00 B4 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0C 86 00 00 0E 04 04 00 44 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 88 [11:35:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0C 86 00 00 0E 04 04 00 44 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 [11:35:33]wFMCommunicate OK [11:35:33]SAM_PROTO_GetFieldsCounters done [11:35:33]requested_item shift.num is exist - process it [11:35:33]requested_item shift.opened is exist - process it [11:35:33]req_shift_opened [11:35:33]FM_GetShiftState [11:35:33]SAM_PROTO_GetShiftState [11:35:33]wFMCommunicate request_size=4 [11:35:33]MH_SAM_APDU [11:35:33]CAPDU: 80 13 01 00 [11:35:33]Write to MH i2c: E2 08 00 B5 1B 80 13 01 00 00 00 00 00 4D [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:33]Read from MH i2c: E2 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 0E 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: E2 0E 00 B5 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 23 [11:35:33]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:35:33]wFMCommunicate OK [11:35:33]SAM_PROTO_GetShiftState done [11:35:33]FM_GetShiftState done [11:35:33]req_shift_opened done [11:35:33]requested_item shift.open_date is exist - process it [11:35:33]req_shift_open_date [11:35:33]req_shift_open_date done [11:35:33]produce_requested_data done [11:35:33]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34316,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:35:33]process_action_free close_receipt [11:35:33]json_value_free [11:35:33]json_value_free done [11:35:33]process_json_proto returns [11:35:33]Send response to host [11:35:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34316,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:35:33]free response buf [11:35:33]execute_script done [11:35:33]execute_script returns [11:35:33]free content buf [11:35:33]Sock 7.Close socket [11:35:33]Sock 7.Thread stoped [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:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]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:52]accept exits with 9 [11:43:52]New connection [11:43:52]New thread 3067567460 created [11:43:52]Thread 3067424100 joined [11:43:52]Waiting for new connection... [11:43:52] Sock 9.Parse request [11:43:52]Sock 9.Check first char [11:43:52]Sock 9.First char is OK [11:43:52]request: POST /json_proto HTTP/1.0 [11:43:52]Method: POST [11:43:52]URL: /json_proto [11:43:52]Method is POST - this is cgi request [11:43:52]url: /json_proto [11:43:52]query_string will be loaded in cgi processing [11:43:52]execute_cgi json_proto POST (null) [11:43:52]execute_cgi path=json_proto method=POST [11:43:52]POST find Content-Length [11:43:52]Host: 172.17.38.134:8080 [11:43:52]Content-Length: 3146 [11:43:52]Content-Type: application/json [11:43:52] [11:43:52]POST finish read [11:43:52]Found Content-Length = 3146 [11:43:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184094", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215622016", "name": "\u0412\u043E\u0434\u043A\u0430 \u043E\u0441\u043E\u0431\u0430\u044F MOROSHA FOREST SOUL OF KYRG", "price" : 720.00, "quantity" : 1.000, "sum" : 720.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077630439", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 2 CRACK \u0441 \u0448\u043E\u043A \u043D\u0430\u0447 235\u0433\u0440", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1813.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:52]execute_script... [11:43:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184094", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215622016", "name": "\u0412\u043E\u0434\u043A\u0430 \u043E\u0441\u043E\u0431\u0430\u044F MOROSHA FOREST SOUL OF KYRG", "price" : 720.00, "quantity" : 1.000, "sum" : 720.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077630439", "name": "\u041A\u0440\u0435\u043A\u0435\u0440 2 CRACK \u0441 \u0448\u043E\u043A \u043D\u0430\u0447 235\u0433\u0440", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004862", "name": "\u041F\u0435\u0447.\u0441\u0430\u0445.FORSITE \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u043E\u0440.\u0432\u043A", "price" : 93.00, "quantity" : 1.000, "sum" : 93.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1813.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:43:53]POST & json_proto [11:43:53]process_json_proto [11:43:53]json parsed OK: [11:43:53]protocol is kg_v1.0 [11:43:53]action value=close_receipt [11:43:53]process_action close_receipt [11:43:53]cmd_close_receipt [11:43:53]MH_GetDate [11:43:53]Write to MH i2c: F0 00 00 B6 1B C0 [11:43:53]Write i2c OK [11:43:53]MH_I2C_Read... [11:43:53]Read from MH i2c: F0 [11:43:53]MH_I2C_Read... [11:43:53]Read from MH i2c: F0 09 00 [11:43:53]MH_I2C_Read... [11:43:53]Read from MH i2c: F0 09 00 B6 1B 00 7E C4 72 66 13 9C 7C 64 72 [11:43:53]GetLastDocTimeStamp 1718796934 [11:43:53]current date 1718797438 [11:43:53]FM_GetShiftState [11:43:53]SAM_PROTO_GetShiftState [11:43:53]wFMCommunicate request_size=4 [11:43:53]MH_SAM_APDU [11:43:53]CAPDU: 80 13 01 00 [11:43:53]Write to MH i2c: E2 08 00 B7 1B 80 13 01 00 00 00 00 00 4F [11:43:53]Write i2c OK [11:43:53]MH_I2C_Read... [11:43:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:53]Read from MH i2c: E2 [11:43:53]MH_I2C_Read... [11:43:53]Read from MH i2c: E2 0E 00 [11:43:53]MH_I2C_Read... [11:43:53]Read from MH i2c: E2 0E 00 B7 1B 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 25 [11:43:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:43:53]wFMCommunicate OK [11:43:53]SAM_PROTO_GetShiftState done [11:43:53]FM_GetShiftState done [11:43:53]opened in 1718756813 [11:43:53]opened+sec_in_day 1718843213 [11:43:53]quantity*price = 12000 [11:43:53]sum+1 = 12001 [11:43:53]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870215622016 Водка особая MOROSHA FOREST SOUL OF KYRG 1.000 * 720.00 = 720.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 2.000 * 25.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 2.000 * 95.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010018 Чай хол Let`s Go! зел лим ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4823077630439 Крекер 2 CRACK с шок нач 235гр 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607035653513 Вафли Голландские карамел 290 1.000 * 137.00 = 137.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004862 Печ.сах.FORSITE Сэнд.шок-ор.вк 1.000 * 93.00 = 93.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1813.00 НСП 1% : 16.03 НДС 12% : 192.54 Наличными: 1813.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 21 19.06.2024 11:43 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34317 ФПД: 96370668243756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114358&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34317&fm=96370668243756&tin=02508201610067®Number=0000000000092786&sum=181300 0 [11:43:54]StoreToDocumentArchive [11:43:54]shift 324 fd 34317 [11:43:54]save to /storage/0324/doc_00034317 [11:43:54]save last doc name /storage/0324/doc_00034317 to /storage/kkm_last_doc_name [11:43:54]save OK [11:43:54]Clear old archive folders... [11:43:54]ProcessDocumentItem done err = 0, tmpTLVsize=1315 [11:43:54]tlvbuf is 018E6980 [11:43:54]SAM_PROTO_ClearQueue [11:43:54]wFMCommunicate request_size=4 [11:43:54]MH_SAM_APDU [11:43:54]CAPDU: 80 09 00 00 [11:43:54]Write to MH i2c: E2 08 00 C4 1B 80 09 00 00 00 00 00 00 51 [11:43:54]Write i2c OK [11:43:54]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 C4 1B 00 90 00 53 [11:43:55]RAPDU: 90 00 [11:43:55]wFMCommunicate OK [11:43:55]SAM_PROTO_ClearQueue done [11:43:55]KKMCreateOFDPacket [11:43:55]OFDProtocolAddRootSTLVToBuf [11:43:55]FM_MakeSignedData [11:43:55]FM_MakeSignedData [11:43:55]SAM_PROTO_SignData [11:43:55]wFMCommunicate request_size=4 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 0D 01 02 [11:43:55]Write to MH i2c: E2 08 00 C5 1B 80 0D 01 02 00 00 00 00 59 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 C5 1B 00 90 00 54 [11:43:55]RAPDU: 90 00 [11:43:55]wFMCommunicate OK [11:43:55]wFMCommunicate request_size=255 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 0D 02 02 FA 03 00 23 05 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 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 31 2C 35 D0 BB 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 77 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 32 30 31 36 06 04 33 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BE D1 81 D0 BE D0 B1 D0 B0 D1 8F 20 4D 4F 52 4F 53 48 41 20 46 4F 52 45 53 54 20 53 4F 55 4C 20 4F 46 20 4B 59 52 47 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 19 01 00 00 00 13 04 06 00 40 19 01 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 [11:43:55]Write to MH i2c: E2 02 01 C6 1B 80 0D 02 02 FA 00 03 00 23 05 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 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 31 2C 35 D0 BB 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 77 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 32 30 31 36 06 04 33 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BE D1 81 D0 BE D0 B1 D0 B0 D1 8F 20 4D 4F 52 4F 53 48 41 20 46 4F 52 45 53 54 20 53 4F 55 4C 20 4F 46 20 4B 59 52 47 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 19 01 00 00 00 13 04 06 00 40 19 01 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 00 00 80 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 C6 1B 00 90 00 55 [11:43:55]RAPDU: 90 00 [11:43:55]wFMCommunicate OK [11:43:55]wFMCommunicate request_size=255 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 0D 02 02 FA 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F [11:43:55]Write to MH i2c: E2 02 01 C7 1B 80 0D 02 02 FA 00 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 00 00 F9 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 C7 1B 00 90 00 56 [11:43:55]RAPDU: 90 00 [11:43:55]wFMCommunicate OK [11:43:55]wFMCommunicate request_size=255 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 0D 02 02 FA 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 [11:43:55]Write to MH i2c: E2 02 01 C8 1B 80 0D 02 02 FA 00 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 00 E8 [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:55]Read from MH i2c: E2 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 [11:43:55]MH_I2C_Read... [11:43:55]Read from MH i2c: E2 03 00 C8 1B 00 90 00 57 [11:43:55]RAPDU: 90 00 [11:43:55]wFMCommunicate OK [11:43:55]wFMCommunicate request_size=255 [11:43:55]MH_SAM_APDU [11:43:55]CAPDU: 80 0D 02 02 FA 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 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 [11:43:55]Write to MH i2c: E2 02 01 C9 1B 80 0D 02 02 FA 00 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 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 00 00 5A [11:43:55]Write i2c OK [11:43:55]MH_I2C_Read... [11:43:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:56]Read from MH i2c: E2 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 C9 1B 00 90 00 58 [11:43:56]RAPDU: 90 00 [11:43:56]wFMCommunicate OK [11:43:56]wFMCommunicate request_size=255 [11:43:56]MH_SAM_APDU [11:43:56]CAPDU: 80 0D 02 02 FA 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 C4 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 4B 00 00 00 00 07 04 06 00 34 C4 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7E C4 72 66 0E 04 [11:43:56]Write to MH i2c: E2 02 01 CA 1B 80 0D 02 02 FA 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 C4 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 4B 00 00 00 00 07 04 06 00 34 C4 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7E C4 72 66 0E 04 00 00 43 [11:43:56]Write i2c OK [11:43:56]MH_I2C_Read... [11:43:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:56]Read from MH i2c: E2 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 CA 1B 00 90 00 59 [11:43:56]RAPDU: 90 00 [11:43:56]wFMCommunicate OK [11:43:56]wFMCommunicate request_size=74 [11:43:56]MH_SAM_APDU [11:43:56]CAPDU: 80 0D 02 02 45 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0D 86 00 00 35 04 06 00 57 A6 0B 72 8B 2C [11:43:56]Write to MH i2c: E2 4D 00 CB 1B 80 0D 02 02 45 00 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0D 86 00 00 35 04 06 00 57 A6 0B 72 8B 2C 00 00 95 [11:43:56]Write i2c OK [11:43:56]MH_I2C_Read... [11:43:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:56]Read from MH i2c: E2 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 03 00 CB 1B 00 90 00 5A [11:43:56]RAPDU: 90 00 [11:43:56]wFMCommunicate OK [11:43:56]wFMCommunicate request_size=4 [11:43:56]MH_SAM_APDU [11:43:56]CAPDU: 80 0D 03 02 [11:43:56]Write to MH i2c: E2 08 00 CC 1B 80 0D 03 02 00 00 00 00 62 [11:43:56]Write i2c OK [11:43:56]MH_I2C_Read... [11:43:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:56]Read from MH i2c: E2 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 0B 00 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 0B 00 CC 1B 00 AC 5C FE 2F B3 ED E6 4B 90 00 69 [11:43:56]RAPDU: AC 5C FE 2F B3 ED E6 4B 90 00 [11:43:56]wFMCommunicate OK [11:43:56]SAM_PROTO_SignData done [11:43:56]FM_MakeSignedData done [11:43:56]CreateOFDProtocolMessage [11:43:56]wFMCommunicate request_size=4 [11:43:56]MH_SAM_APDU [11:43:56]CAPDU: 80 11 00 00 [11:43:56]Write to MH i2c: E2 08 00 CD 1B 80 11 00 00 00 00 00 00 62 [11:43:56]Write i2c OK [11:43:56]MH_I2C_Read... [11:43:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:56]Read from MH i2c: E2 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 17 00 [11:43:56]MH_I2C_Read... [11:43:56]Read from MH i2c: E2 17 00 CD 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B7 [11:43:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:43:56]wFMCommunicate OK [11:43:56]CreateOFDProtocolMessage done [11:43:56]OFDSenderStorePacket 34317 [11:43:56]StoreOFDPacket docnum=34317 [11:43:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 37 05 00 00 B4 24 2F 05 C4 9B 5A 03 01 00 03 00 23 05 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 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 31 2C 35 D0 BB 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 77 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 32 30 31 36 06 04 33 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BE D1 81 D0 BE D0 B1 D0 B0 D1 8F 20 4D 4F 52 4F 53 48 41 20 46 4F 52 45 53 54 20 53 4F 55 4C 20 4F 46 20 4B 59 52 47 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 19 01 00 00 00 13 04 06 00 40 19 01 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 C4 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 4B 00 00 00 00 07 04 06 00 34 C4 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7E C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0D 86 00 00 35 04 06 00 57 A6 0B 72 8B 2C AC 5C FE 2F B3 ED E6 4B [11:43:57]CheckFolder [11:43:57]dirname=/storage/ofd_packets [11:43:57]CheckFolder done [11:43:57]ProducePacketName [11:43:57]name=ofd_packets/00034317 [11:43:57]NVStorageSaveData ofd_packets/00034317 [11:43:57]File name is /storage/ofd_packets/00034317 [11:43:57]Write 1365 bytes [11:43:57]NVStorageSaveData done [11:43:57]OFDSenderStorePacket done [11:43:57]KKMCreateOFDPacket done [11:43:57]NVStorageSaveData kkm_last_timestamp [11:43:57]File name is /storage/kkm_last_timestamp [11:43:57]Write 4 bytes [11:43:57]NVStorageSaveData done [11:43:57]ExternCall_PrintAddStr [11:43:57]wPrintStart [11:43:57]Write to MH i2c: 01 00 00 CE 1B E9 [11:43:57]Write i2c OK [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: 01 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: 01 07 00 [11:43:57]MH_I2C_Read... [11:43:57]Read from MH i2c: 01 07 00 CE 1B 00 00 00 00 00 FF 0F FE [11:43:57]RasterBufferAndPrint [11:43:57]line Счет N : (3)184094 [11:43:57]line ИНН: 02508201610067 [11:43:57]line Контрольно-Кассовый Чек [11:43:57]line ПРОДАЖА [11:43:57]line Товар: 4700000160204 [11:43:57]line Вода Легенда 1,5л [11:43:57]line 2.000 * 60.00 [11:43:57]line = 120.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 4870215622016 [11:43:57]line Водка особая MOROSHA FOREST SOUL OF KYRG [11:43:57]line 1.000 * 720.00 [11:43:57]line = 720.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 48743570 [11:43:57]line Сигареты Winston XStyle Blue [11:43:57]line 1.000 * 140.00 [11:43:57]line = 140.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 5449000006271 [11:43:57]line Напиток Фанта 1л [11:43:57]line 1.000 * 113.00 [11:43:57]line = 113.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 2000027340020 [11:43:57]line Пакет бумажный витая ручка [11:43:57]line 2.000 * 25.00 [11:43:57]line = 50.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 2000036190018 [11:43:57]line Кофе Американо XL(GABB TRADE) [11:43:57]line 2.000 * 95.00 [11:43:57]line = 190.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 4700003010018 [11:43:57]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [11:43:57]line 1.000 * 50.00 [11:43:57]line = 50.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 4823077630439 [11:43:57]line Крекер 2 CRACK с шок нач 235гр [11:43:57]line 1.000 * 200.00 [11:43:57]line = 200.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 4607035653513 [11:43:57]line Вафли Голландские карамел 290 [11:43:57]line 1.000 * 137.00 [11:43:57]line = 137.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line Товар: 4603290004862 [11:43:57]line Печ.сах.FORSITE Сэнд.шок-ор.вк [11:43:57]line 1.000 * 93.00 [11:43:57]line = 93.00 [11:43:57]line НДС 12% НСП 1% [11:43:57]line > о реализуемом товаре [11:43:57]line ИТОГО: 1813.00 [11:43:57]line НСП 1% : 16.03 [11:43:57]line НДС 12% : 192.54 [11:43:57]line Наличными: 1813.00 [11:43:57]line Безнал.: 0.00 [11:43:57]line Место: АЗС № 120 "Партнер Нефть" [11:43:57]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:43:57]line СНО: Общий режим [11:43:57]line Чек 21 19.06.2024 11:43 [11:43:57]line Смена: 324 ФФД: 1.0 [11:43:57]line ЗНМ: 0300000172 [11:43:57]line РНМ: 0000000000092786 [11:43:57]line Версия ККМ: 001 [11:43:57]line ФМ: 0000000000875095 [11:43:57]line ФД: 34317 [11:43:57]line ФПД: 96370668243756 [11:43:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114358&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34317&fm=96370668243756&tin=02508201610067®Number=0000000000092786&sum=181300 [11:43:57]line 0 [11:43:57]written 0, free lines is 4095 [11:43:57]OFD Sender: Processing packet 34317 [packets to send 8, broken 7] [11:43:57]ProducePacketName [11:43:57]name=ofd_packets/00034317 [11:43:57]OFD Sender: To server: pG, [11:43:57]CommunicateWithHost lk.salyk.kg:30040 [11:43:57]ConnectInit lk.salyk.kg [11:43:57]Connected sock=10 [11:43:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 37 05 00 00 B4 24 2F 05 C4 9B 5A 03 01 00 03 00 23 05 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 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 31 2C 35 D0 BB 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 77 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 32 30 31 36 06 04 33 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BE D1 81 D0 BE D0 B1 D0 B0 D1 8F 20 4D 4F 52 4F 53 48 41 20 46 4F 52 45 53 54 20 53 4F 55 4C 20 4F 46 20 4B 59 52 47 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 19 01 00 00 00 13 04 06 00 40 19 01 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 B0 36 00 00 00 00 13 04 06 00 B0 36 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 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 71 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 30 34 33 39 06 04 2D 00 D0 9A D1 80 D0 B5 D0 BA D0 B5 D1 80 20 32 20 43 52 41 43 4B 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 20 32 33 35 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 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 73 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 36 32 06 04 2F 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B0 D1 85 2E 46 4F 52 53 49 54 45 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D0 BE D1 80 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 24 00 00 00 00 13 04 06 00 54 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 C4 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 4B 00 00 00 00 07 04 06 00 34 C4 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 7E C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0D 86 00 00 35 04 06 00 57 A6 0B 72 8B 2C AC 5C FE 2F B3 ED E6 4B [11:43:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 73 3D 47 00 46 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0D 86 00 00 F4 03 04 00 4D 6B 72 66 B6 04 01 00 00 51 8C 16 68 39 7E D7 F2 [11:43:57]CommunicateWithHost err = 0 [11:43:57]CheckOFDResponse [11:43:57]1017 (14) - 77093643461234 [11:43:57]1041 (16) - 0000000000875095 [11:43:57]1040 (4) - 34317 [11:43:57]1012 (4) - 19.06.2024 05:23 [11:43:57]1206 (1) - 0 [11:43:57]OFD Sender: Remove packet 34317 [11:43:57]ProducePacketName [11:43:57]name=ofd_packets/00034317 [11:43:57]NVStorageDeleteData [11:43:58]Write to MH i2c: 01 00 00 32 1C 4E [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 07 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: 01 07 00 32 1C 00 00 00 00 00 91 09 EF [11:43:58]RasterBufferAndPrint [11:43:58]line [11:43:58]line [11:43:58]line [11:43:58]line [11:43:58]line [11:43:58]written 0, free lines is 2465 [11:43:58]MH_Cut [11:43:58]Write to MH i2c: D1 01 00 39 1C 01 27 [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: D1 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: D1 01 00 [11:43:58]MH_I2C_Read... [11:43:58]Read from MH i2c: D1 01 00 39 1C 00 26 [11:43:58]Write to MH i2c: 01 00 00 3A 1C 56 [11:43:58]Write i2c OK [11:43:58]MH_I2C_Read... [11:43:58]OFD Sender: No OFD packet to send [11:43:59]*** Cut start [11:43:59]*** Partial cut [11:43:59]*** CUTSNS_PIN = 1 [11:43:59]*** CUTSNS_PIN = 0 [11:43:59]*** Brake cut motor [11:44:00]Read from MH i2c: 01 [11:44:00]MH_I2C_Read... [11:44:00]*** Stop cut motor [11:44:00]*** Cut end [11:44:00]Read from MH i2c: 01 07 00 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: 01 07 00 3A 1C 00 00 00 00 00 FF 0F 6B [11:44:00]process_action close_receipt done [11:44:00]requested_data is exist [11:44:00]produce_requested_data [11:44:00]requested_item fm.sn is exist - process it [11:44:00]wFMCommunicate request_size=4 [11:44:00]MH_SAM_APDU [11:44:00]CAPDU: 80 11 00 00 [11:44:00]Write to MH i2c: E2 08 00 3B 1C 80 11 00 00 00 00 00 00 D1 [11:44:00]Write i2c OK [11:44:00]MH_I2C_Read... [11:44:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:00]Read from MH i2c: E2 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 17 00 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 17 00 3B 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 26 [11:44:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:44:00]wFMCommunicate OK [11:44:00]requested_item fd.num is exist - process it [11:44:00]SAM_PROTO_GetFieldsCounters [11:44:00]wFMCommunicate request_size=4 [11:44:00]MH_SAM_APDU [11:44:00]CAPDU: 80 13 00 00 [11:44:00]Write to MH i2c: E2 08 00 3C 1C 80 13 00 00 00 00 00 00 D4 [11:44:00]Write i2c OK [11:44:00]MH_I2C_Read... [11:44:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:44:00]Read from MH i2c: E2 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 62 00 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 62 00 3C 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0D 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 15 [11:44:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0D 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:44:00]wFMCommunicate OK [11:44:00]SAM_PROTO_GetFieldsCounters done [11:44:00]requested_item shift.num is exist - process it [11:44:00]requested_item shift.opened is exist - process it [11:44:00]req_shift_opened [11:44:00]FM_GetShiftState [11:44:00]SAM_PROTO_GetShiftState [11:44:00]wFMCommunicate request_size=4 [11:44:00]MH_SAM_APDU [11:44:00]CAPDU: 80 13 01 00 [11:44:00]Write to MH i2c: E2 08 00 3D 1C 80 13 01 00 00 00 00 00 D6 [11:44:00]Write i2c OK [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 [11:44:00]MH_I2C_Read... [11:44:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:00]Read from MH i2c: E2 0E 00 [11:44:00]MH_I2C_Read... [11:44:00]Read from MH i2c: E2 0E 00 3D 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AC [11:44:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:44:00]wFMCommunicate OK [11:44:00]SAM_PROTO_GetShiftState done [11:44:00]FM_GetShiftState done [11:44:00]req_shift_opened done [11:44:00]requested_item shift.open_date is exist - process it [11:44:00]req_shift_open_date [11:44:00]req_shift_open_date done [11:44:00]produce_requested_data done [11:44:00]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34317,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:44:00]process_action_free close_receipt [11:44:00]json_value_free [11:44:00]json_value_free done [11:44:00]process_json_proto returns [11:44:00]Send response to host [11:44:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34317,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:44:00]free response buf [11:44:00]execute_script done [11:44:00]execute_script returns [11:44:00]free content buf [11:44:00]Sock 9.Close socket [11:44:00]Sock 9.Thread stoped [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:15]accept exits with 7 [11:44:15]New connection [11:44:15]New thread 3067424100 created [11:44:15]Thread 3067567460 joined [11:44:15]Waiting for new connection... [11:44:15] Sock 7.Parse request [11:44:15]Sock 7.Check first char [11:44:15]Sock 7.First char is OK [11:44:15]request: POST /json_proto HTTP/1.0 [11:44:15]Method: POST [11:44:15]URL: /json_proto [11:44:15]Method is POST - this is cgi request [11:44:15]url: /json_proto [11:44:15]query_string will be loaded in cgi processing [11:44:15]execute_cgi json_proto POST (null) [11:44:15]execute_cgi path=json_proto method=POST [11:44:15]POST find Content-Length [11:44:15]Host: 172.17.38.134:8080 [11:44:15]Content-Length: 660 [11:44:15]Content-Type: application/json [11:44:15] [11:44:15]POST finish read [11:44:15]Found Content-Length = 660 [11:44:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184095", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:15]execute_script... [11:44: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 : (3)184095", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:44:15]POST & json_proto [11:44:15]process_json_proto [11:44:15]json parsed OK: [11:44:15]protocol is kg_v1.0 [11:44:15]action value=close_receipt [11:44:15]process_action close_receipt [11:44:15]cmd_close_receipt [11:44:15]MH_GetDate [11:44:15]Write to MH i2c: F0 00 00 3E 1C 49 [11:44:15]Write i2c OK [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: F0 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: F0 09 00 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: F0 09 00 3E 1C 00 94 C4 72 66 13 9C 7C 64 11 [11:44:15]GetLastDocTimeStamp 1718797438 [11:44:15]current date 1718797460 [11:44:15]FM_GetShiftState [11:44:15]SAM_PROTO_GetShiftState [11:44:15]wFMCommunicate request_size=4 [11:44:15]MH_SAM_APDU [11:44:15]CAPDU: 80 13 01 00 [11:44:15]Write to MH i2c: E2 08 00 3F 1C 80 13 01 00 00 00 00 00 D8 [11:44:15]Write i2c OK [11:44:15]MH_I2C_Read... [11:44:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:15]Read from MH i2c: E2 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: E2 0E 00 [11:44:15]MH_I2C_Read... [11:44:15]Read from MH i2c: E2 0E 00 3F 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AE [11:44:15]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:44:15]wFMCommunicate OK [11:44:15]SAM_PROTO_GetShiftState done [11:44:15]FM_GetShiftState done [11:44:15]opened in 1718756813 [11:44:15]opened+sec_in_day 1718843213 [11:44:15]quantity*price = 15500 [11:44:15]sum+1 = 15501 [11:44:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 22 19.06.2024 11:44 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34318 ФПД: 21152258512363 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114421&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34318&fm=21152258512363&tin=02508201610067®Number=0000000000092786&sum=15500 0 [11:44:16]StoreToDocumentArchive [11:44:16]shift 324 fd 34318 [11:44:16]save to /storage/0324/doc_00034318 [11:44:16]save last doc name /storage/0324/doc_00034318 to /storage/kkm_last_doc_name [11:44:16]save OK [11:44:16]Clear old archive folders... [11:44:16]ProcessDocumentItem done err = 0, tmpTLVsize=280 [11:44:16]tlvbuf is 018E62A0 [11:44:16]SAM_PROTO_ClearQueue [11:44:16]wFMCommunicate request_size=4 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 09 00 00 [11:44:16]Write to MH i2c: E2 08 00 4C 1C 80 09 00 00 00 00 00 00 DA [11:44:16]Write i2c OK [11:44:16]MH_I2C_Read... [11:44:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:44:16]Read from MH i2c: E2 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 03 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 03 00 4C 1C 00 90 00 DC [11:44:16]RAPDU: 90 00 [11:44:16]wFMCommunicate OK [11:44:16]SAM_PROTO_ClearQueue done [11:44:16]KKMCreateOFDPacket [11:44:16]OFDProtocolAddRootSTLVToBuf [11:44:16]FM_MakeSignedData [11:44:16]FM_MakeSignedData [11:44:16]SAM_PROTO_SignData [11:44:16]wFMCommunicate request_size=4 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 0D 01 02 [11:44:16]Write to MH i2c: E2 08 00 4D 1C 80 0D 01 02 00 00 00 00 E2 [11:44:16]Write i2c OK [11:44:16]MH_I2C_Read... [11:44:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:44:16]Read from MH i2c: E2 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 03 00 [11:44:16]MH_I2C_Read... [11:44:16]Read from MH i2c: E2 03 00 4D 1C 00 90 00 DD [11:44:16]RAPDU: 90 00 [11:44:16]wFMCommunicate OK [11:44:16]wFMCommunicate request_size=255 [11:44:16]MH_SAM_APDU [11:44:16]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 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 16 00 00 00 F4 03 04 00 95 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 [11:44:16]Write to MH i2c: E2 02 01 4E 1C 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 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 16 00 00 00 F4 03 04 00 95 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 00 00 8E [11:44:17]Write i2c OK [11:44:17]MH_I2C_Read... [11:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:17]Read from MH i2c: E2 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 03 00 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 03 00 4E 1C 00 90 00 DE [11:44:17]RAPDU: 90 00 [11:44:17]wFMCommunicate OK [11:44:17]wFMCommunicate request_size=39 [11:44:17]MH_SAM_APDU [11:44:17]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0E 86 00 00 35 04 06 00 13 3C E4 DA D5 EB [11:44:17]Write to MH i2c: E2 2A 00 4F 1C 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0E 86 00 00 35 04 06 00 13 3C E4 DA D5 EB 00 00 03 [11:44:17]Write i2c OK [11:44:17]MH_I2C_Read... [11:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:44:17]Read from MH i2c: E2 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 03 00 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 03 00 4F 1C 00 90 00 DF [11:44:17]RAPDU: 90 00 [11:44:17]wFMCommunicate OK [11:44:17]wFMCommunicate request_size=4 [11:44:17]MH_SAM_APDU [11:44:17]CAPDU: 80 0D 03 02 [11:44:17]Write to MH i2c: E2 08 00 50 1C 80 0D 03 02 00 00 00 00 E7 [11:44:17]Write i2c OK [11:44:17]MH_I2C_Read... [11:44:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:44:17]Read from MH i2c: E2 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 0B 00 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 0B 00 50 1C 00 71 17 F5 37 E9 56 92 72 90 00 DF [11:44:17]RAPDU: 71 17 F5 37 E9 56 92 72 90 00 [11:44:17]wFMCommunicate OK [11:44:17]SAM_PROTO_SignData done [11:44:17]FM_MakeSignedData done [11:44:17]CreateOFDProtocolMessage [11:44:17]wFMCommunicate request_size=4 [11:44:17]MH_SAM_APDU [11:44:17]CAPDU: 80 11 00 00 [11:44:17]Write to MH i2c: E2 08 00 51 1C 80 11 00 00 00 00 00 00 E7 [11:44:17]Write i2c OK [11:44:17]MH_I2C_Read... [11:44:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:17]Read from MH i2c: E2 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 17 00 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: E2 17 00 51 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3C [11:44:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:44:17]wFMCommunicate OK [11:44:17]CreateOFDProtocolMessage done [11:44:17]OFDSenderStorePacket 34318 [11:44:17]StoreOFDPacket docnum=34318 [11:44:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 FE 44 24 01 F6 CB 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 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 16 00 00 00 F4 03 04 00 95 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0E 86 00 00 35 04 06 00 13 3C E4 DA D5 EB 71 17 F5 37 E9 56 92 72 [11:44:17]CheckFolder [11:44:17]dirname=/storage/ofd_packets [11:44:17]CheckFolder done [11:44:17]ProducePacketName [11:44:17]name=ofd_packets/00034318 [11:44:17]NVStorageSaveData ofd_packets/00034318 [11:44:17]File name is /storage/ofd_packets/00034318 [11:44:17]Write 330 bytes [11:44:17]NVStorageSaveData done [11:44:17]OFDSenderStorePacket done [11:44:17]KKMCreateOFDPacket done [11:44:17]NVStorageSaveData kkm_last_timestamp [11:44:17]File name is /storage/kkm_last_timestamp [11:44:17]Write 4 bytes [11:44:17]NVStorageSaveData done [11:44:17]ExternCall_PrintAddStr [11:44:17]wPrintStart [11:44:17]Write to MH i2c: 01 00 00 52 1C 6E [11:44:17]Write i2c OK [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: 01 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: 01 07 00 [11:44:17]MH_I2C_Read... [11:44:17]Read from MH i2c: 01 07 00 52 1C 00 00 00 00 00 FF 0F 83 [11:44:17]RasterBufferAndPrint [11:44:17]line Счет N : (3)184095 [11:44:17]line ИНН: 02508201610067 [11:44:17]line Контрольно-Кассовый Чек [11:44:17]line ПРОДАЖА [11:44:17]line Товар: 5449000000439 [11:44:17]line Напиток Кока-Кола 1,5л [11:44:17]line 1.000 * 155.00 [11:44:17]line = 155.00 [11:44:17]line НДС 12% НСП 1% [11:44:17]line > о реализуемом товаре [11:44:17]line ИТОГО: 155.00 [11:44:17]line НСП 1% : 1.37 [11:44:17]line НДС 12% : 16.46 [11:44:17]line Наличными: 155.00 [11:44:17]line Безнал.: 0.00 [11:44:17]line Место: АЗС № 120 "Партнер Нефть" [11:44:17]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:44:17]line СНО: Общий режим [11:44:17]line Чек 22 19.06.2024 11:44 [11:44:17]line Смена: 324 ФФД: 1.0 [11:44:17]line ЗНМ: 0300000172 [11:44:17]line РНМ: 0000000000092786 [11:44:17]line Версия ККМ: 001 [11:44:17]line ФМ: 0000000000875095 [11:44:17]line ФД: 34318 [11:44:17]line ФПД: 21152258512363 [11:44:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114421&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34318&fm=21152258512363&tin=02508201610067®Number=0000000000092786&sum=15500 [11:44:17]line 0 [11:44:17]written 0, free lines is 4095 [11:44:17]OFD Sender: Processing packet 34318 [packets to send 8, broken 7] [11:44:17]ProducePacketName [11:44:17]name=ofd_packets/00034318 [11:44:17]OFD Sender: To server: pG, [11:44:17]CommunicateWithHost lk.salyk.kg:30040 [11:44:17]ConnectInit lk.salyk.kg [11:44:17]Connected sock=10 [11:44:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 FE 44 24 01 F6 CB 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 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 16 00 00 00 F4 03 04 00 95 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0E 86 00 00 35 04 06 00 13 3C E4 DA D5 EB 71 17 F5 37 E9 56 92 72 [11:44:18]Write to MH i2c: 01 00 00 7A 1C 96 [11:44:18]Write i2c OK [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: 01 [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: 01 07 00 [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: 01 07 00 7A 1C 00 00 00 00 00 0F 0D B9 [11:44:18]RasterBufferAndPrint [11:44:18]line [11:44:18]line [11:44:18]line [11:44:18]line [11:44:18]line [11:44:18]written 0, free lines is 3357 [11:44:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 79 97 47 00 27 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 38 37 35 30 39 35 10 04 04 00 0E 86 00 00 F4 03 04 00 61 6B 72 66 B6 04 01 00 00 C6 20 45 D5 E7 61 E1 5E [11:44:18]CommunicateWithHost err = 0 [11:44:18]CheckOFDResponse [11:44:18]1017 (14) - 77093643461234 [11:44:18]1041 (16) - 0000000000875095 [11:44:18]1040 (4) - 34318 [11:44:18]1012 (4) - 19.06.2024 05:23 [11:44:18]1206 (1) - 0 [11:44:18]OFD Sender: Remove packet 34318 [11:44:18]ProducePacketName [11:44:18]name=ofd_packets/00034318 [11:44:18]NVStorageDeleteData [11:44:18]MH_Cut [11:44:18]Write to MH i2c: D1 01 00 81 1C 01 6F [11:44:18]Write i2c OK [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: D1 [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: D1 01 00 [11:44:18]MH_I2C_Read... [11:44:18]Read from MH i2c: D1 01 00 81 1C 00 6E [11:44:18]Write to MH i2c: 01 00 00 82 1C 9E [11:44:18]Write i2c OK [11:44:18]MH_I2C_Read... [11:44:18]OFD Sender: No OFD packet to send [11:44:18]*** Cut start [11:44:18]*** Partial cut [11:44:18]*** CUTSNS_PIN = 1 [11:44:18]*** CUTSNS_PIN = 0 [11:44:19]*** Brake cut motor [11:44:19]Read from MH i2c: 01 [11:44:19]MH_I2C_Read... [11:44:19]*** Stop cut motor [11:44:19]*** Cut end [11:44:19]Read from MH i2c: 01 07 00 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: 01 07 00 82 1C 00 00 00 00 00 FF 0F B3 [11:44:19]process_action close_receipt done [11:44:19]requested_data is exist [11:44:19]produce_requested_data [11:44:19]requested_item fm.sn is exist - process it [11:44:19]wFMCommunicate request_size=4 [11:44:19]MH_SAM_APDU [11:44:19]CAPDU: 80 11 00 00 [11:44:19]Write to MH i2c: E2 08 00 83 1C 80 11 00 00 00 00 00 00 19 [11:44:19]Write i2c OK [11:44:19]MH_I2C_Read... [11:44:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:44:19]Read from MH i2c: E2 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 17 00 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 17 00 83 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6E [11:44:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:44:19]wFMCommunicate OK [11:44:19]requested_item fd.num is exist - process it [11:44:19]SAM_PROTO_GetFieldsCounters [11:44:19]wFMCommunicate request_size=4 [11:44:19]MH_SAM_APDU [11:44:19]CAPDU: 80 13 00 00 [11:44:19]Write to MH i2c: E2 08 00 84 1C 80 13 00 00 00 00 00 00 1C [11:44:19]Write i2c OK [11:44:19]MH_I2C_Read... [11:44:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:44:19]Read from MH i2c: E2 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 62 00 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 62 00 84 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0E 86 00 00 0E 04 04 00 44 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 61 [11:44:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0E 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:44:19]wFMCommunicate OK [11:44:19]SAM_PROTO_GetFieldsCounters done [11:44:19]requested_item shift.num is exist - process it [11:44:19]requested_item shift.opened is exist - process it [11:44:19]req_shift_opened [11:44:19]FM_GetShiftState [11:44:19]SAM_PROTO_GetShiftState [11:44:19]wFMCommunicate request_size=4 [11:44:19]MH_SAM_APDU [11:44:19]CAPDU: 80 13 01 00 [11:44:19]Write to MH i2c: E2 08 00 85 1C 80 13 01 00 00 00 00 00 1E [11:44:19]Write i2c OK [11:44:19]MH_I2C_Read... [11:44:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:44:19]Read from MH i2c: E2 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 0E 00 [11:44:19]MH_I2C_Read... [11:44:19]Read from MH i2c: E2 0E 00 85 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F4 [11:44:19]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:44:19]wFMCommunicate OK [11:44:19]SAM_PROTO_GetShiftState done [11:44:19]FM_GetShiftState done [11:44:19]req_shift_opened done [11:44:19]requested_item shift.open_date is exist - process it [11:44:19]req_shift_open_date [11:44:19]req_shift_open_date done [11:44:19]produce_requested_data done [11:44:19]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34318,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:44:19]process_action_free close_receipt [11:44:19]json_value_free [11:44:19]json_value_free done [11:44:19]process_json_proto returns [11:44:19]Send response to host [11:44:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34318,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:44:19]free response buf [11:44:19]execute_script done [11:44:19]execute_script returns [11:44:19]free content buf [11:44:19]Sock 7.Close socket [11:44:19]Sock 7.Thread stoped [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:31]accept exits with 9 [11:45:31]New connection [11:45:31]New thread 3067567460 created [11:45:31]Thread 3067424100 joined [11:45:31]Waiting for new connection... [11:45:31] Sock 9.Parse request [11:45:31]Sock 9.Check first char [11:45:31]Sock 9.First char is OK [11:45:31]request: POST /json_proto HTTP/1.0 [11:45:31]Method: POST [11:45:31]URL: /json_proto [11:45:31]Method is POST - this is cgi request [11:45:31]url: /json_proto [11:45:31]query_string will be loaded in cgi processing [11:45:31]execute_cgi json_proto POST (null) [11:45:31]execute_cgi path=json_proto method=POST [11:45:31]POST find Content-Length [11:45:31]Host: 172.17.38.134:8080 [11:45:31]Content-Length: 696 [11:45:31]Content-Type: application/json [11:45:31] [11:45:31]POST finish read [11:45:31]Found Content-Length = 696 [11:45:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184096", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:31]execute_script... [11:45: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)184096", "tax_sys" : 0, "items" : [ { "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 113.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:31]POST & json_proto [11:45:31]process_json_proto [11:45:31]json parsed OK: [11:45:31]protocol is kg_v1.0 [11:45:31]action value=close_receipt [11:45:31]process_action close_receipt [11:45:31]cmd_close_receipt [11:45:31]MH_GetDate [11:45:31]Write to MH i2c: F0 00 00 86 1C 91 [11:45:31]Write i2c OK [11:45:31]MH_I2C_Read... [11:45:31]Read from MH i2c: F0 [11:45:31]MH_I2C_Read... [11:45:31]Read from MH i2c: F0 09 00 [11:45:31]MH_I2C_Read... [11:45:31]Read from MH i2c: F0 09 00 86 1C 00 E0 C4 72 66 13 9C 7C 64 A5 [11:45:31]GetLastDocTimeStamp 1718797461 [11:45:31]current date 1718797536 [11:45:31]FM_GetShiftState [11:45:31]SAM_PROTO_GetShiftState [11:45:31]wFMCommunicate request_size=4 [11:45:31]MH_SAM_APDU [11:45:31]CAPDU: 80 13 01 00 [11:45:31]Write to MH i2c: E2 08 00 87 1C 80 13 01 00 00 00 00 00 20 [11:45:31]Write i2c OK [11:45:31]MH_I2C_Read... [11:45:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:31]Read from MH i2c: E2 [11:45:31]MH_I2C_Read... [11:45:31]Read from MH i2c: E2 0E 00 [11:45:31]MH_I2C_Read... [11:45:31]Read from MH i2c: E2 0E 00 87 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F6 [11:45:31]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:45:31]wFMCommunicate OK [11:45:31]SAM_PROTO_GetShiftState done [11:45:31]FM_GetShiftState done [11:45:31]opened in 1718756813 [11:45:31]opened+sec_in_day 1718843213 [11:45:31]quantity*price = 11300 [11:45:31]sum+1 = 11301 [11:45:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 113.00 НСП 1% : 1.00 НДС 12% : 12.00 Наличными: 113.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 23 19.06.2024 11:45 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34319 ФПД: 267736766479151 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114537&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34319&fm=267736766479151&tin=02508201610067®Number=0000000000092786&sum=11300 0 [11:45:33]StoreToDocumentArchive [11:45:33]shift 324 fd 34319 [11:45:33]save to /storage/0324/doc_00034319 [11:45:33]save last doc name /storage/0324/doc_00034319 to /storage/kkm_last_doc_name [11:45:33]save OK [11:45:33]Clear old archive folders... [11:45:33]ProcessDocumentItem done err = 0, tmpTLVsize=296 [11:45:33]tlvbuf is 01933B30 [11:45:33]SAM_PROTO_ClearQueue [11:45:33]wFMCommunicate request_size=4 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 09 00 00 [11:45:33]Write to MH i2c: E2 08 00 94 1C 80 09 00 00 00 00 00 00 22 [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 94 1C 00 90 00 24 [11:45:33]RAPDU: 90 00 [11:45:33]wFMCommunicate OK [11:45:33]SAM_PROTO_ClearQueue done [11:45:33]KKMCreateOFDPacket [11:45:33]OFDProtocolAddRootSTLVToBuf [11:45:33]FM_MakeSignedData [11:45:33]FM_MakeSignedData [11:45:33]SAM_PROTO_SignData [11:45:33]wFMCommunicate request_size=4 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 0D 01 02 [11:45:33]Write to MH i2c: E2 08 00 95 1C 80 0D 01 02 00 00 00 00 2A [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 95 1C 00 90 00 25 [11:45:33]RAPDU: 90 00 [11:45:33]wFMCommunicate OK [11:45:33]wFMCommunicate request_size=255 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 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 17 00 00 00 F4 03 04 00 E1 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [11:45:33]Write to MH i2c: E2 02 01 96 1C 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 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 17 00 00 00 F4 03 04 00 E1 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 5C [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 96 1C 00 90 00 26 [11:45:33]RAPDU: 90 00 [11:45:33]wFMCommunicate OK [11:45:33]wFMCommunicate request_size=55 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0F 86 00 00 35 04 06 00 F3 81 52 DB FB 2F [11:45:33]Write to MH i2c: E2 3A 00 97 1C 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0F 86 00 00 35 04 06 00 F3 81 52 DB FB 2F 00 00 EF [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 03 00 97 1C 00 90 00 27 [11:45:33]RAPDU: 90 00 [11:45:33]wFMCommunicate OK [11:45:33]wFMCommunicate request_size=4 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 0D 03 02 [11:45:33]Write to MH i2c: E2 08 00 98 1C 80 0D 03 02 00 00 00 00 2F [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 0B 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 0B 00 98 1C 00 67 14 7A 29 2E 37 33 27 90 00 0D [11:45:33]RAPDU: 67 14 7A 29 2E 37 33 27 90 00 [11:45:33]wFMCommunicate OK [11:45:33]SAM_PROTO_SignData done [11:45:33]FM_MakeSignedData done [11:45:33]CreateOFDProtocolMessage [11:45:33]wFMCommunicate request_size=4 [11:45:33]MH_SAM_APDU [11:45:33]CAPDU: 80 11 00 00 [11:45:33]Write to MH i2c: E2 08 00 99 1C 80 11 00 00 00 00 00 00 2F [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:33]Read from MH i2c: E2 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 17 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: E2 17 00 99 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 84 [11:45:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:45:33]wFMCommunicate OK [11:45:33]CreateOFDProtocolMessage done [11:45:33]OFDSenderStorePacket 34319 [11:45:33]StoreOFDPacket docnum=34319 [11:45:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3C 01 00 00 DF 6D 34 01 54 17 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 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 17 00 00 00 F4 03 04 00 E1 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0F 86 00 00 35 04 06 00 F3 81 52 DB FB 2F 67 14 7A 29 2E 37 33 27 [11:45:33]CheckFolder [11:45:33]dirname=/storage/ofd_packets [11:45:33]CheckFolder done [11:45:33]ProducePacketName [11:45:33]name=ofd_packets/00034319 [11:45:33]NVStorageSaveData ofd_packets/00034319 [11:45:33]File name is /storage/ofd_packets/00034319 [11:45:33]Write 346 bytes [11:45:33]NVStorageSaveData done [11:45:33]OFDSenderStorePacket done [11:45:33]KKMCreateOFDPacket done [11:45:33]NVStorageSaveData kkm_last_timestamp [11:45:33]File name is /storage/kkm_last_timestamp [11:45:33]Write 4 bytes [11:45:33]NVStorageSaveData done [11:45:33]ExternCall_PrintAddStr [11:45:33]wPrintStart [11:45:33]Write to MH i2c: 01 00 00 9A 1C B6 [11:45:33]Write i2c OK [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: 01 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: 01 07 00 [11:45:33]MH_I2C_Read... [11:45:33]Read from MH i2c: 01 07 00 9A 1C 00 00 00 00 00 FF 0F CB [11:45:33]RasterBufferAndPrint [11:45:33]line Счет N : (3)184096 [11:45:33]line ИНН: 02508201610067 [11:45:33]line Контрольно-Кассовый Чек [11:45:33]line ПРОДАЖА [11:45:33]line Товар: 4870202521261 [11:45:33]line Напиток MAXI чай 1,2 лесные ягоды [11:45:33]line 1.000 * 113.00 [11:45:33]line = 113.00 [11:45:33]line НДС 12% НСП 1% [11:45:33]line > о реализуемом товаре [11:45:33]line ИТОГО: 113.00 [11:45:33]line НСП 1% : 1.00 [11:45:33]line НДС 12% : 12.00 [11:45:33]line Наличными: 113.00 [11:45:33]line Безнал.: 0.00 [11:45:33]line Место: АЗС № 120 "Партнер Нефть" [11:45:33]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:45:33]line СНО: Общий режим [11:45:33]line Чек 23 19.06.2024 11:45 [11:45:33]line Смена: 324 ФФД: 1.0 [11:45:33]line ЗНМ: 0300000172 [11:45:33]line РНМ: 0000000000092786 [11:45:33]line Версия ККМ: 001 [11:45:33]line ФМ: 0000000000875095 [11:45:33]line ФД: 34319 [11:45:33]line ФПД: 267736766479151 [11:45:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114537&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34319&fm=267736766479151&tin=02508201610067®Number=0000000000092786&sum=11300 [11:45:33]line 0 [11:45:33]OFD Sender: Processing packet 34319 [packets to send 8, broken 7] [11:45:33]ProducePacketName [11:45:33]name=ofd_packets/00034319 [11:45:33]OFD Sender: To server: pG, [11:45:33]CommunicateWithHost lk.salyk.kg:30040 [11:45:33]ConnectInit lk.salyk.kg [11:45:33]written 0, free lines is 4095 [11:45:34]Connected sock=10 [11:45:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3C 01 00 00 DF 6D 34 01 54 17 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 04 00 00 00 00 07 04 06 00 24 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 17 00 00 00 F4 03 04 00 E1 C4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0F 86 00 00 35 04 06 00 F3 81 52 DB FB 2F 67 14 7A 29 2E 37 33 27 [11:45:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 BD 65 47 00 8B 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 0F 86 00 00 F4 03 04 00 AE 6B 72 66 B6 04 01 00 00 E4 92 FB 2C 90 85 F5 9A [11:45:34]CommunicateWithHost err = 0 [11:45:34]CheckOFDResponse [11:45:34]1017 (14) - 77093643461234 [11:45:34]1041 (16) - 0000000000875095 [11:45:34]1040 (4) - 34319 [11:45:34]1012 (4) - 19.06.2024 05:25 [11:45:34]1206 (1) - 0 [11:45:34]OFD Sender: Remove packet 34319 [11:45:34]ProducePacketName [11:45:34]name=ofd_packets/00034319 [11:45:34]NVStorageDeleteData [11:45:34]Write to MH i2c: 01 00 00 C3 1C DF [11:45:34]Write i2c OK [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: 01 [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: 01 07 00 [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: 01 07 00 C3 1C 00 00 00 00 00 F8 0C EA [11:45:34]RasterBufferAndPrint [11:45:34]line [11:45:34]line [11:45:34]line [11:45:34]line [11:45:34]line [11:45:34]written 0, free lines is 3326 [11:45:34]MH_Cut [11:45:34]Write to MH i2c: D1 01 00 CA 1C 01 B8 [11:45:34]Write i2c OK [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: D1 [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: D1 01 00 [11:45:34]MH_I2C_Read... [11:45:34]Read from MH i2c: D1 01 00 CA 1C 00 B7 [11:45:34]Write to MH i2c: 01 00 00 CB 1C E7 [11:45:34]Write i2c OK [11:45:34]MH_I2C_Read... [11:45:34]OFD Sender: No OFD packet to send [11:45:35]*** Cut start [11:45:35]*** Partial cut [11:45:35]*** CUTSNS_PIN = 1 [11:45:35]*** CUTSNS_PIN = 0 [11:45:35]*** Brake cut motor [11:45:35]Read from MH i2c: 01 [11:45:35]MH_I2C_Read... [11:45:35]*** Stop cut motor [11:45:35]*** Cut end [11:45:35]Read from MH i2c: 01 07 00 [11:45:35]MH_I2C_Read... [11:45:35]Read from MH i2c: 01 07 00 CB 1C 00 00 00 00 00 FF 0F FC [11:45:35]process_action close_receipt done [11:45:35]requested_data is exist [11:45:35]produce_requested_data [11:45:35]requested_item fm.sn is exist - process it [11:45:35]wFMCommunicate request_size=4 [11:45:35]MH_SAM_APDU [11:45:35]CAPDU: 80 11 00 00 [11:45:35]Write to MH i2c: E2 08 00 CC 1C 80 11 00 00 00 00 00 00 62 [11:45:35]Write i2c OK [11:45:35]MH_I2C_Read... [11:45:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:35]Read from MH i2c: E2 [11:45:35]MH_I2C_Read... [11:45:35]Read from MH i2c: E2 17 00 [11:45:35]MH_I2C_Read... [11:45:35]Read from MH i2c: E2 17 00 CC 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B7 [11:45:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:45:35]wFMCommunicate OK [11:45:35]requested_item fd.num is exist - process it [11:45:35]SAM_PROTO_GetFieldsCounters [11:45:35]wFMCommunicate request_size=4 [11:45:35]MH_SAM_APDU [11:45:35]CAPDU: 80 13 00 00 [11:45:35]Write to MH i2c: E2 08 00 CD 1C 80 13 00 00 00 00 00 00 65 [11:45:35]Write i2c OK [11:45:35]MH_I2C_Read... [11:45:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:45:35]Read from MH i2c: E2 [11:45:35]MH_I2C_Read... [11:45:35]Read from MH i2c: E2 62 00 [11:45:35]MH_I2C_Read... [11:45:35]Read from MH i2c: E2 62 00 CD 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0F 86 00 00 0E 04 04 00 44 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 AE [11:45:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 0F 86 00 00 0E 04 04 00 44 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 [11:45:35]wFMCommunicate OK [11:45:35]SAM_PROTO_GetFieldsCounters done [11:45:35]requested_item shift.num is exist - process it [11:45:35]requested_item shift.opened is exist - process it [11:45:35]req_shift_opened [11:45:35]FM_GetShiftState [11:45:35]SAM_PROTO_GetShiftState [11:45:35]wFMCommunicate request_size=4 [11:45:35]MH_SAM_APDU [11:45:35]CAPDU: 80 13 01 00 [11:45:35]Write to MH i2c: E2 08 00 CE 1C 80 13 01 00 00 00 00 00 67 [11:45:35]Write i2c OK [11:45:35]MH_I2C_Read... [11:45:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:36]Read from MH i2c: E2 [11:45:36]MH_I2C_Read... [11:45:36]Read from MH i2c: E2 0E 00 [11:45:36]MH_I2C_Read... [11:45:36]Read from MH i2c: E2 0E 00 CE 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3D [11:45:36]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:45:36]wFMCommunicate OK [11:45:36]SAM_PROTO_GetShiftState done [11:45:36]FM_GetShiftState done [11:45:36]req_shift_opened done [11:45:36]requested_item shift.open_date is exist - process it [11:45:36]req_shift_open_date [11:45:36]req_shift_open_date done [11:45:36]produce_requested_data done [11:45:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34319,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:45:36]process_action_free close_receipt [11:45:36]json_value_free [11:45:36]json_value_free done [11:45:36]process_json_proto returns [11:45:36]Send response to host [11:45:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34319,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:45:36]free response buf [11:45:36]execute_script done [11:45:36]execute_script returns [11:45:36]free content buf [11:45:36]Sock 9.Close socket [11:45:36]Sock 9.Thread stoped [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:22]accept exits with 7 [11:49:22]New connection [11:49:22]New thread 3067424100 created [11:49:22]Thread 3067567460 joined [11:49:22]Waiting for new connection... [11:49:22] Sock 7.Parse request [11:49:22]Sock 7.Check first char [11:49:22]Sock 7.First char is OK [11:49:22]request: POST /json_proto HTTP/1.0 [11:49:22]Method: POST [11:49:22]URL: /json_proto [11:49:22]Method is POST - this is cgi request [11:49:22]url: /json_proto [11:49:22]query_string will be loaded in cgi processing [11:49:22]execute_cgi json_proto POST (null) [11:49:22]execute_cgi path=json_proto method=POST [11:49:22]POST find Content-Length [11:49:22]Host: 172.17.38.134:8080 [11:49:22]Content-Length: 1102 [11:49:22]Content-Type: application/json [11:49:22] [11:49:22]POST finish read [11:49:22]Found Content-Length = 1102 [11:49:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184097", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:22]execute_script... [11:49: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)184097", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 2.000, "sum" : 190.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:22]POST & json_proto [11:49:22]process_json_proto [11:49:22]json parsed OK: [11:49:22]protocol is kg_v1.0 [11:49:22]action value=close_receipt [11:49:22]process_action close_receipt [11:49:22]cmd_close_receipt [11:49:22]MH_GetDate [11:49:22]Write to MH i2c: F0 00 00 CF 1C DA [11:49:22]Write i2c OK [11:49:22]MH_I2C_Read... [11:49:22]Read from MH i2c: F0 [11:49:22]MH_I2C_Read... [11:49:22]Read from MH i2c: F0 09 00 [11:49:22]MH_I2C_Read... [11:49:22]Read from MH i2c: F0 09 00 CF 1C 00 C7 C5 72 66 13 9C 7C 64 D6 [11:49:22]GetLastDocTimeStamp 1718797537 [11:49:22]current date 1718797767 [11:49:22]FM_GetShiftState [11:49:22]SAM_PROTO_GetShiftState [11:49:22]wFMCommunicate request_size=4 [11:49:22]MH_SAM_APDU [11:49:22]CAPDU: 80 13 01 00 [11:49:22]Write to MH i2c: E2 08 00 D0 1C 80 13 01 00 00 00 00 00 69 [11:49:22]Write i2c OK [11:49:22]MH_I2C_Read... [11:49:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:22]Read from MH i2c: E2 [11:49:22]MH_I2C_Read... [11:49:22]Read from MH i2c: E2 0E 00 [11:49:22]MH_I2C_Read... [11:49:22]Read from MH i2c: E2 0E 00 D0 1C 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3F [11:49:22]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:49:22]wFMCommunicate OK [11:49:22]SAM_PROTO_GetShiftState done [11:49:22]FM_GetShiftState done [11:49:22]opened in 1718756813 [11:49:22]opened+sec_in_day 1718843213 [11:49:22]quantity*price = 11000 [11:49:22]sum+1 = 11001 [11:49:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480302 Напиток энерг Nitro манго-клуб 0.45 ж/б 2.000 * 95.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 300.00 НСП 1% : 2.65 НДС 12% : 31.86 Наличными: 0.00 Безнал.: 300.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 24 19.06.2024 11:49 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34320 ФПД: 177406413073371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114927&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34320&fm=177406413073371&tin=02508201610067®Number=0000000000092786&sum=30000 0 [11:49:23]StoreToDocumentArchive [11:49:23]shift 324 fd 34320 [11:49:23]save to /storage/0324/doc_00034320 [11:49:23]save last doc name /storage/0324/doc_00034320 to /storage/kkm_last_doc_name [11:49:23]save OK [11:49:23]Clear old archive folders... [11:49:23]ProcessDocumentItem done err = 0, tmpTLVsize=400 [11:49:23]tlvbuf is 01905CF0 [11:49:23]SAM_PROTO_ClearQueue [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 09 00 00 [11:49:23]Write to MH i2c: E2 08 00 DD 1C 80 09 00 00 00 00 00 00 6B [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 DD 1C 00 90 00 6D [11:49:23]RAPDU: 90 00 [11:49:23]wFMCommunicate OK [11:49:23]SAM_PROTO_ClearQueue done [11:49:23]KKMCreateOFDPacket [11:49:23]OFDProtocolAddRootSTLVToBuf [11:49:23]FM_MakeSignedData [11:49:23]FM_MakeSignedData [11:49:23]SAM_PROTO_SignData [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 0D 01 02 [11:49:23]Write to MH i2c: E2 08 00 DE 1C 80 0D 01 02 00 00 00 00 73 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 DE 1C 00 90 00 6E [11:49:23]RAPDU: 90 00 [11:49:23]wFMCommunicate OK [11:49:23]wFMCommunicate request_size=255 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 0D 02 02 FA 03 00 90 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 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 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 FC 03 06 00 30 75 00 00 00 00 EB [11:49:23]Write to MH i2c: E2 02 01 DF 1C 80 0D 02 02 FA 00 03 00 90 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 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 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 FC 03 06 00 30 75 00 00 00 00 EB 00 00 37 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 DF 1C 00 90 00 6F [11:49:23]RAPDU: 90 00 [11:49:23]wFMCommunicate OK [11:49:23]wFMCommunicate request_size=159 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 0D 02 02 9A 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 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C7 C5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 10 86 00 00 35 04 06 00 A1 59 A6 3B 6B DB [11:49:23]Write to MH i2c: E2 A2 00 E0 1C 80 0D 02 02 9A 00 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 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C7 C5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 10 86 00 00 35 04 06 00 A1 59 A6 3B 6B DB 00 00 AA [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 03 00 E0 1C 00 90 00 70 [11:49:23]RAPDU: 90 00 [11:49:23]wFMCommunicate OK [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 0D 03 02 [11:49:23]Write to MH i2c: E2 08 00 E1 1C 80 0D 03 02 00 00 00 00 78 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 0B 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 0B 00 E1 1C 00 3B 63 3D 88 15 26 85 F6 90 00 92 [11:49:23]RAPDU: 3B 63 3D 88 15 26 85 F6 90 00 [11:49:23]wFMCommunicate OK [11:49:23]SAM_PROTO_SignData done [11:49:23]FM_MakeSignedData done [11:49:23]CreateOFDProtocolMessage [11:49:23]wFMCommunicate request_size=4 [11:49:23]MH_SAM_APDU [11:49:23]CAPDU: 80 11 00 00 [11:49:23]Write to MH i2c: E2 08 00 E2 1C 80 11 00 00 00 00 00 00 78 [11:49:23]Write i2c OK [11:49:23]MH_I2C_Read... [11:49:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:23]Read from MH i2c: E2 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 17 00 [11:49:23]MH_I2C_Read... [11:49:23]Read from MH i2c: E2 17 00 E2 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CD [11:49:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:49:23]wFMCommunicate OK [11:49:23]CreateOFDProtocolMessage done [11:49:23]OFDSenderStorePacket 34320 [11:49:23]StoreOFDPacket docnum=34320 [11:49:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A4 01 00 00 E4 E9 9C 01 F2 14 5A 03 01 00 03 00 90 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 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 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 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 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C7 C5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 10 86 00 00 35 04 06 00 A1 59 A6 3B 6B DB 3B 63 3D 88 15 26 85 F6 [11:49:23]CheckFolder [11:49:23]dirname=/storage/ofd_packets [11:49:23]CheckFolder done [11:49:23]ProducePacketName [11:49:23]name=ofd_packets/00034320 [11:49:23]NVStorageSaveData ofd_packets/00034320 [11:49:24]File name is /storage/ofd_packets/00034320 [11:49:24]Write 450 bytes [11:49:24]NVStorageSaveData done [11:49:24]OFDSenderStorePacket done [11:49:24]KKMCreateOFDPacket done [11:49:24]NVStorageSaveData kkm_last_timestamp [11:49:24]File name is /storage/kkm_last_timestamp [11:49:24]Write 4 bytes [11:49:24]NVStorageSaveData done [11:49:24]ExternCall_PrintAddStr [11:49:24]wPrintStart [11:49:24]Write to MH i2c: 01 00 00 E3 1C FF [11:49:24]Write i2c OK [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 07 00 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 07 00 E3 1C 00 00 00 00 00 FF 0F 14 [11:49:24]RasterBufferAndPrint [11:49:24]line Счет N : (3)184097 [11:49:24]line ИНН: 02508201610067 [11:49:24]line Контрольно-Кассовый Чек [11:49:24]line ПРОДАЖА [11:49:24]line Товар: 4870001570071 [11:49:24]line Напиток Pepsi 1л [11:49:24]line 1.000 * 110.00 [11:49:24]line = 110.00 [11:49:24]line НДС 12% НСП 1% [11:49:24]line > о реализуемом товаре [11:49:24]line Товар: 4700000480302 [11:49:24]line Напиток энерг Nitro манго-клуб 0.45 ж/б [11:49:24]line 2.000 * 95.00 [11:49:24]line = 190.00 [11:49:24]line НДС 12% НСП 1% [11:49:24]line > о реализуемом товаре [11:49:24]line ИТОГО: 300.00 [11:49:24]line НСП 1% : 2.65 [11:49:24]line НДС 12% : 31.86 [11:49:24]line Наличными: 0.00 [11:49:24]line Безнал.: 300.00 [11:49:24]line Место: АЗС № 120 "Партнер Нефть" [11:49:24]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:49:24]line СНО: Общий режим [11:49:24]line Чек 24 19.06.2024 11:49 [11:49:24]line Смена: 324 ФФД: 1.0 [11:49:24]line ЗНМ: 0300000172 [11:49:24]line РНМ: 0000000000092786 [11:49:24]line Версия ККМ: 001 [11:49:24]line Платежная система: O! деньги [11:49:24]line ФМ: 0000000000875095 [11:49:24]line ФД: 34320 [11:49:24]line ФПД: 177406413073371 [11:49:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T114927&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34320&fm=177406413073371&tin=02508201610067®Number=0000000000092786&sum=30000 [11:49:24]line 0 [11:49:24]written 0, free lines is 4095 [11:49:24]OFD Sender: Processing packet 34320 [packets to send 8, broken 7] [11:49:24]ProducePacketName [11:49:24]name=ofd_packets/00034320 [11:49:24]OFD Sender: To server: pG, [11:49:24]CommunicateWithHost lk.salyk.kg:30040 [11:49:24]ConnectInit lk.salyk.kg [11:49:24]Connected sock=10 [11:49:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A4 01 00 00 E4 E9 9C 01 F2 14 5A 03 01 00 03 00 90 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 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 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 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 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C7 C5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 10 86 00 00 35 04 06 00 A1 59 A6 3B 6B DB 3B 63 3D 88 15 26 85 F6 [11:49:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 FD AE 47 00 AC 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 10 86 00 00 F4 03 04 00 94 6C 72 66 B6 04 01 00 00 BC 0B E7 14 E7 47 08 BA [11:49:24]CommunicateWithHost err = 0 [11:49:24]CheckOFDResponse [11:49:24]1017 (14) - 77093643461234 [11:49:24]1041 (16) - 0000000000875095 [11:49:24]1040 (4) - 34320 [11:49:24]1012 (4) - 19.06.2024 05:28 [11:49:24]1206 (1) - 0 [11:49:24]OFD Sender: Remove packet 34320 [11:49:24]ProducePacketName [11:49:24]name=ofd_packets/00034320 [11:49:24]NVStorageDeleteData [11:49:24]Write to MH i2c: 01 00 00 14 1D 31 [11:49:24]Write i2c OK [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 07 00 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: 01 07 00 14 1D 00 00 00 00 00 77 0C BB [11:49:24]RasterBufferAndPrint [11:49:24]line [11:49:24]line [11:49:24]line [11:49:24]line [11:49:24]line [11:49:24]written 0, free lines is 3198 [11:49:24]MH_Cut [11:49:24]Write to MH i2c: D1 01 00 1B 1D 01 0A [11:49:24]Write i2c OK [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: D1 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: D1 01 00 [11:49:24]MH_I2C_Read... [11:49:24]Read from MH i2c: D1 01 00 1B 1D 00 09 [11:49:24]Write to MH i2c: 01 00 00 1C 1D 39 [11:49:24]Write i2c OK [11:49:24]MH_I2C_Read... [11:49:25]OFD Sender: No OFD packet to send [11:49:25]*** Cut start [11:49:25]*** Partial cut [11:49:25]*** CUTSNS_PIN = 1 [11:49:25]*** CUTSNS_PIN = 0 [11:49:25]*** Brake cut motor [11:49:26]Read from MH i2c: 01 [11:49:26]MH_I2C_Read... [11:49:26]*** Stop cut motor [11:49:26]*** Cut end [11:49:26]Read from MH i2c: 01 07 00 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: 01 07 00 1C 1D 00 00 00 00 00 FF 0F 4E [11:49:26]process_action close_receipt done [11:49:26]requested_data is exist [11:49:26]produce_requested_data [11:49:26]requested_item fm.sn is exist - process it [11:49:26]wFMCommunicate request_size=4 [11:49:26]MH_SAM_APDU [11:49:26]CAPDU: 80 11 00 00 [11:49:26]Write to MH i2c: E2 08 00 1D 1D 80 11 00 00 00 00 00 00 B4 [11:49:26]Write i2c OK [11:49:26]MH_I2C_Read... [11:49:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:26]Read from MH i2c: E2 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 17 00 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 17 00 1D 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 09 [11:49:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:49:26]wFMCommunicate OK [11:49:26]requested_item fd.num is exist - process it [11:49:26]SAM_PROTO_GetFieldsCounters [11:49:26]wFMCommunicate request_size=4 [11:49:26]MH_SAM_APDU [11:49:26]CAPDU: 80 13 00 00 [11:49:26]Write to MH i2c: E2 08 00 1E 1D 80 13 00 00 00 00 00 00 B7 [11:49:26]Write i2c OK [11:49:26]MH_I2C_Read... [11:49:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:26]Read from MH i2c: E2 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 62 00 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 62 00 1E 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 10 86 00 00 0E 04 04 00 44 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 04 [11:49:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 10 86 00 00 0E 04 04 00 44 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 [11:49:26]wFMCommunicate OK [11:49:26]SAM_PROTO_GetFieldsCounters done [11:49:26]requested_item shift.num is exist - process it [11:49:26]requested_item shift.opened is exist - process it [11:49:26]req_shift_opened [11:49:26]FM_GetShiftState [11:49:26]SAM_PROTO_GetShiftState [11:49:26]wFMCommunicate request_size=4 [11:49:26]MH_SAM_APDU [11:49:26]CAPDU: 80 13 01 00 [11:49:26]Write to MH i2c: E2 08 00 1F 1D 80 13 01 00 00 00 00 00 B9 [11:49:26]Write i2c OK [11:49:26]MH_I2C_Read... [11:49:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:26]Read from MH i2c: E2 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 0E 00 [11:49:26]MH_I2C_Read... [11:49:26]Read from MH i2c: E2 0E 00 1F 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 8F [11:49:26]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:49:26]wFMCommunicate OK [11:49:26]SAM_PROTO_GetShiftState done [11:49:26]FM_GetShiftState done [11:49:26]req_shift_opened done [11:49:26]requested_item shift.open_date is exist - process it [11:49:26]req_shift_open_date [11:49:26]req_shift_open_date done [11:49:26]produce_requested_data done [11:49:26]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34320,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:49:26]process_action_free close_receipt [11:49:26]json_value_free [11:49:26]json_value_free done [11:49:26]process_json_proto returns [11:49:26]Send response to host [11:49:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34320,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:49:26]free response buf [11:49:26]execute_script done [11:49:26]execute_script returns [11:49:26]free content buf [11:49:26]Sock 7.Close socket [11:49:26]Sock 7.Thread stoped [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:10]accept exits with 9 [11:51:10]New connection [11:51:10]New thread 3067567460 created [11:51:10]Thread 3067424100 joined [11:51:10]Waiting for new connection... [11:51:10] Sock 9.Parse request [11:51:10]Sock 9.Check first char [11:51:10]Sock 9.First char is OK [11:51:10]request: POST /json_proto HTTP/1.0 [11:51:10]Method: POST [11:51:10]URL: /json_proto [11:51:10]Method is POST - this is cgi request [11:51:10]url: /json_proto [11:51:10]query_string will be loaded in cgi processing [11:51:10]execute_cgi json_proto POST (null) [11:51:10]execute_cgi path=json_proto method=POST [11:51:10]POST find Content-Length [11:51:10]Host: 172.17.38.134:8080 [11:51:10]Content-Length: 677 [11:51:10]Content-Type: application/json [11:51:10] [11:51:10]POST finish read [11:51:10]Found Content-Length = 677 [11:51:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672893", "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" : 73.90, "quantity" : 6.770, "sum" : 500.30, "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:51:10]execute_script... [11:51:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672893", "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" : 73.90, "quantity" : 6.770, "sum" : 500.30, "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:51:10]POST & json_proto [11:51:10]process_json_proto [11:51:10]json parsed OK: [11:51:10]protocol is kg_v1.0 [11:51:10]action value=close_receipt [11:51:10]process_action close_receipt [11:51:10]cmd_close_receipt [11:51:10]MH_GetDate [11:51:10]Write to MH i2c: F0 00 00 20 1D 2C [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: F0 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: F0 09 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: F0 09 00 20 1D 00 33 C6 72 66 13 9C 7C 64 95 [11:51:10]GetLastDocTimeStamp 1718797767 [11:51:10]current date 1718797875 [11:51:10]FM_GetShiftState [11:51:10]SAM_PROTO_GetShiftState [11:51:10]wFMCommunicate request_size=4 [11:51:10]MH_SAM_APDU [11:51:10]CAPDU: 80 13 01 00 [11:51:10]Write to MH i2c: E2 08 00 21 1D 80 13 01 00 00 00 00 00 BB [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:10]Read from MH i2c: E2 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 0E 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 0E 00 21 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 91 [11:51:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:51:10]wFMCommunicate OK [11:51:10]SAM_PROTO_GetShiftState done [11:51:10]FM_GetShiftState done [11:51:10]opened in 1718756813 [11:51:10]opened+sec_in_day 1718843213 [11:51:10]quantity*price = 50030 [11:51:10]sum+1 = 50031 [11:51:10]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.30 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.13 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 25 19.06.2024 11:51 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34321 ФПД: 169711784325667 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T115115&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34321&fm=169711784325667&tin=02508201610067®Number=0000000000092786&sum=50000 [11:51:11]StoreToDocumentArchive [11:51:11]shift 324 fd 34321 [11:51:11]save to /storage/0324/doc_00034321 [11:51:11]save last doc name /storage/0324/doc_00034321 to /storage/kkm_last_doc_name [11:51:11]save OK [11:51:11]Clear old archive folders... [11:51:11]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:51:11]tlvbuf is B6F3EDE0 [11:51:11]SAM_PROTO_ClearQueue [11:51:11]wFMCommunicate request_size=4 [11:51:11]MH_SAM_APDU [11:51:11]CAPDU: 80 09 00 00 [11:51:11]Write to MH i2c: E2 08 00 2E 1D 80 09 00 00 00 00 00 00 BD [11:51:11]Write i2c OK [11:51:11]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 2E 1D 00 90 00 BF [11:51:12]RAPDU: 90 00 [11:51:12]wFMCommunicate OK [11:51:12]SAM_PROTO_ClearQueue done [11:51:12]KKMCreateOFDPacket [11:51:12]OFDProtocolAddRootSTLVToBuf [11:51:12]FM_MakeSignedData [11:51:12]FM_MakeSignedData [11:51:12]SAM_PROTO_SignData [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 0D 01 02 [11:51:12]Write to MH i2c: E2 08 00 2F 1D 80 0D 01 02 00 00 00 00 C5 [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 2F 1D 00 90 00 C0 [11:51:12]RAPDU: 90 00 [11:51:12]wFMCommunicate OK [11:51:12]wFMCommunicate request_size=255 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 72 1A 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6E C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 33 C6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 86 00 00 35 04 06 00 9A [11:51:12]Write to MH i2c: E2 02 01 30 1D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 72 1A 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6E C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 33 C6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 86 00 00 35 04 06 00 9A 00 00 AA [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 30 1D 00 90 00 C1 [11:51:12]RAPDU: 90 00 [11:51:12]wFMCommunicate OK [11:51:12]wFMCommunicate request_size=10 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 0D 02 02 05 5A 1A 9E 72 23 [11:51:12]Write to MH i2c: E2 0D 00 31 1D 80 0D 02 02 05 00 5A 1A 9E 72 23 00 00 79 [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 03 00 31 1D 00 90 00 C2 [11:51:12]RAPDU: 90 00 [11:51:12]wFMCommunicate OK [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 0D 03 02 [11:51:12]Write to MH i2c: E2 08 00 32 1D 80 0D 03 02 00 00 00 00 CA [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 0B 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 0B 00 32 1D 00 A8 77 B4 C9 56 8C 35 5E 90 00 DC [11:51:12]RAPDU: A8 77 B4 C9 56 8C 35 5E 90 00 [11:51:12]wFMCommunicate OK [11:51:12]SAM_PROTO_SignData done [11:51:12]FM_MakeSignedData done [11:51:12]CreateOFDProtocolMessage [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 11 00 00 [11:51:12]Write to MH i2c: E2 08 00 33 1D 80 11 00 00 00 00 00 00 CA [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 17 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 17 00 33 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1F [11:51:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:51:12]wFMCommunicate OK [11:51:12]CreateOFDProtocolMessage done [11:51:12]OFDSenderStorePacket 34321 [11:51:12]StoreOFDPacket docnum=34321 [11:51:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 30 E8 07 01 F9 D0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 72 1A 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6E C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 33 C6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 86 00 00 35 04 06 00 9A 5A 1A 9E 72 23 A8 77 B4 C9 56 8C 35 5E [11:51:12]CheckFolder [11:51:12]dirname=/storage/ofd_packets [11:51:12]CheckFolder done [11:51:12]ProducePacketName [11:51:12]name=ofd_packets/00034321 [11:51:12]NVStorageSaveData ofd_packets/00034321 [11:51:12]File name is /storage/ofd_packets/00034321 [11:51:12]Write 301 bytes [11:51:12]NVStorageSaveData done [11:51:12]OFDSenderStorePacket done [11:51:12]KKMCreateOFDPacket done [11:51:12]NVStorageSaveData kkm_last_timestamp [11:51:12]File name is /storage/kkm_last_timestamp [11:51:12]Write 4 bytes [11:51:12]NVStorageSaveData done [11:51:12]ExternCall_PrintAddStr [11:51:12]wPrintStart [11:51:12]Write to MH i2c: 01 00 00 34 1D 51 [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: 01 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: 01 07 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: 01 07 00 34 1D 00 00 00 00 00 FF 0F 66 [11:51:12]RasterBufferAndPrint [11:51:12]line Счет N : (1)672893 [11:51:12]line ИНН: 02508201610067 [11:51:12]line Контрольно-Кассовый Чек [11:51:12]line ПРОДАЖА [11:51:12]line ТРК (МРК, ГНК) : 31 [11:51:12]line Товар: 2710124500 [11:51:12]line Аи-95-К-5 [11:51:12]line 6.770 * 73.90 [11:51:12]line = 500.30 [11:51:12]line НДС 12% НСП 1% [11:51:12]line > о реализуемом товаре [11:51:12]line ОКРУГЛЕНИЕ: -0.30 [11:51:12]line ИТОГО: 500.00 [11:51:12]line Внесено: 500.00 [11:51:12]line СДАЧА: 0.00 [11:51:12]line НСП 1% : 4.43 [11:51:12]line НДС 12% : 53.13 [11:51:12]line Наличными: 500.00 [11:51:12]line Безнал.: 0.00 [11:51:12]line Место: АЗС № 120 "Партнер Нефть" [11:51:12]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [11:51:12]line СНО: Общий режим [11:51:12]line Чек 25 19.06.2024 11:51 [11:51:12]line Смена: 324 ФФД: 1.0 [11:51:12]line ЗНМ: 0300000172 [11:51:12]line РНМ: 0000000000092786 [11:51:12]line Версия ККМ: 001 [11:51:12]line ФМ: 0000000000875095 [11:51:12]line ФД: 34321 [11:51:12]line ФПД: 169711784325667 [11:51:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T115115&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34321&fm=169711784325667&tin=02508201610067®Number=0000000000092786&sum=50000 [11:51:12]OFD Sender: Processing packet 34321 [packets to send 8, broken 7] [11:51:12]ProducePacketName [11:51:12]name=ofd_packets/00034321 [11:51:12]OFD Sender: To server: pG, [11:51:12]CommunicateWithHost lk.salyk.kg:30040 [11:51:12]ConnectInit lk.salyk.kg [11:51:12]written 0, free lines is 4095 [11:51:12]Connected sock=10 [11:51:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 30 E8 07 01 F9 D0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 72 1A 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 6E C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 33 C6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 86 00 00 35 04 06 00 9A 5A 1A 9E 72 23 A8 77 B4 C9 56 8C 35 5E [11:51:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 9D CB 47 00 D5 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 11 86 00 00 F4 03 04 00 00 6D 72 66 B6 04 01 00 00 13 67 A3 7D 63 F1 62 63 [11:51:13]CommunicateWithHost err = 0 [11:51:13]CheckOFDResponse [11:51:13]1017 (14) - 77093643461234 [11:51:13]1041 (16) - 0000000000875095 [11:51:13]1040 (4) - 34321 [11:51:13]1012 (4) - 19.06.2024 05:30 [11:51:13]1206 (1) - 0 [11:51:13]OFD Sender: Remove packet 34321 [11:51:13]ProducePacketName [11:51:13]name=ofd_packets/00034321 [11:51:13]NVStorageDeleteData [11:51:13]Write to MH i2c: 01 00 00 5F 1D 7C [11:51:13]Write i2c OK [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: 01 [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: 01 07 00 [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: 01 07 00 5F 1D 00 00 00 00 00 E4 0C 73 [11:51:13]RasterBufferAndPrint [11:51:13]line [11:51:13]line [11:51:13]line [11:51:13]line [11:51:13]line [11:51:13]written 0, free lines is 3306 [11:51:13]MH_Cut [11:51:13]Write to MH i2c: D1 01 00 66 1D 01 55 [11:51:13]Write i2c OK [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: D1 [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: D1 01 00 [11:51:13]MH_I2C_Read... [11:51:13]Read from MH i2c: D1 01 00 66 1D 00 54 [11:51:13]Write to MH i2c: 01 00 00 67 1D 84 [11:51:13]Write i2c OK [11:51:13]MH_I2C_Read... [11:51:13]OFD Sender: No OFD packet to send [11:51:14]*** Cut start [11:51:14]*** Partial cut [11:51:14]*** CUTSNS_PIN = 1 [11:51:14]*** CUTSNS_PIN = 0 [11:51:14]*** Brake cut motor [11:51:14]Read from MH i2c: 01 [11:51:14]MH_I2C_Read... [11:51:14]*** Stop cut motor [11:51:14]*** Cut end [11:51:14]Read from MH i2c: 01 07 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: 01 07 00 67 1D 00 00 00 00 00 FF 0F 99 [11:51:14]process_action close_receipt done [11:51:14]requested_data is exist [11:51:14]produce_requested_data [11:51:14]requested_item fm.sn is exist - process it [11:51:14]wFMCommunicate request_size=4 [11:51:14]MH_SAM_APDU [11:51:14]CAPDU: 80 11 00 00 [11:51:14]Write to MH i2c: E2 08 00 68 1D 80 11 00 00 00 00 00 00 FF [11:51:14]Write i2c OK [11:51:14]MH_I2C_Read... [11:51:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:14]Read from MH i2c: E2 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 17 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 17 00 68 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 54 [11:51:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [11:51:14]wFMCommunicate OK [11:51:14]requested_item fd.num is exist - process it [11:51:14]SAM_PROTO_GetFieldsCounters [11:51:14]wFMCommunicate request_size=4 [11:51:14]MH_SAM_APDU [11:51:14]CAPDU: 80 13 00 00 [11:51:14]Write to MH i2c: E2 08 00 69 1D 80 13 00 00 00 00 00 00 02 [11:51:14]Write i2c OK [11:51:14]MH_I2C_Read... [11:51:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:14]Read from MH i2c: E2 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 62 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 62 00 69 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 11 86 00 00 0E 04 04 00 44 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 53 [11:51:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 11 86 00 00 0E 04 04 00 44 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 [11:51:14]wFMCommunicate OK [11:51:14]SAM_PROTO_GetFieldsCounters done [11:51:14]requested_item shift.num is exist - process it [11:51:14]requested_item shift.opened is exist - process it [11:51:14]req_shift_opened [11:51:14]FM_GetShiftState [11:51:14]SAM_PROTO_GetShiftState [11:51:14]wFMCommunicate request_size=4 [11:51:14]MH_SAM_APDU [11:51:14]CAPDU: 80 13 01 00 [11:51:14]Write to MH i2c: E2 08 00 6A 1D 80 13 01 00 00 00 00 00 04 [11:51:14]Write i2c OK [11:51:14]MH_I2C_Read... [11:51:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:14]Read from MH i2c: E2 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 0E 00 [11:51:14]MH_I2C_Read... [11:51:14]Read from MH i2c: E2 0E 00 6A 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DA [11:51:14]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [11:51:14]wFMCommunicate OK [11:51:14]SAM_PROTO_GetShiftState done [11:51:14]FM_GetShiftState done [11:51:14]req_shift_opened done [11:51:14]requested_item shift.open_date is exist - process it [11:51:14]req_shift_open_date [11:51:14]req_shift_open_date done [11:51:14]produce_requested_data done [11:51:14]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34321,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [11:51:14]process_action_free close_receipt [11:51:14]json_value_free [11:51:14]json_value_free done [11:51:14]process_json_proto returns [11:51:14]Send response to host [11:51:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34321,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [11:51:14]free response buf [11:51:14]execute_script done [11:51:14]execute_script returns [11:51:14]free content buf [11:51:14]Sock 9.Close socket [11:51:14]Sock 9.Thread stoped [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:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]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: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]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:45]accept exits with 7 [12:09:45]New connection [12:09:45]New thread 3067424100 created [12:09:45]Thread 3067567460 joined [12:09:45]Waiting for new connection... [12:09:45] Sock 7.Parse request [12:09:45]Sock 7.Check first char [12:09:45]Sock 7.First char is OK [12:09:45]request: POST /json_proto HTTP/1.0 [12:09:45]Method: POST [12:09:45]URL: /json_proto [12:09:45]Method is POST - this is cgi request [12:09:45]url: /json_proto [12:09:45]query_string will be loaded in cgi processing [12:09:45]execute_cgi json_proto POST (null) [12:09:45]execute_cgi path=json_proto method=POST [12:09:45]POST find Content-Length [12:09:45]Host: 172.17.38.134:8080 [12:09:45]Content-Length: 585 [12:09:45]Content-Type: application/json [12:09:45] [12:09:45]POST finish read [12:09:45]Found Content-Length = 585 [12:09:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184098", "tax_sys" : 0, "items" : [ { "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" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:45]execute_script... [12: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)184098", "tax_sys" : 0, "items" : [ { "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" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:09:45]POST & json_proto [12:09:45]process_json_proto [12:09:45]json parsed OK: [12:09:45]protocol is kg_v1.0 [12:09:45]action value=close_receipt [12:09:45]process_action close_receipt [12:09:45]cmd_close_receipt [12:09:45]MH_GetDate [12:09:45]Write to MH i2c: F0 00 00 6B 1D 77 [12:09:45]Write i2c OK [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: F0 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: F0 09 00 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: F0 09 00 6B 1D 00 8E CA 72 66 13 9C 7C 64 3F [12:09:45]GetLastDocTimeStamp 1718797875 [12:09:45]current date 1718798990 [12:09:45]FM_GetShiftState [12:09:45]SAM_PROTO_GetShiftState [12:09:45]wFMCommunicate request_size=4 [12:09:45]MH_SAM_APDU [12:09:45]CAPDU: 80 13 01 00 [12:09:45]Write to MH i2c: E2 08 00 6C 1D 80 13 01 00 00 00 00 00 06 [12:09:45]Write i2c OK [12:09:45]MH_I2C_Read... [12:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:45]Read from MH i2c: E2 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 0E 00 [12:09:45]MH_I2C_Read... [12:09:45]Read from MH i2c: E2 0E 00 6C 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DC [12:09:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:09:45]wFMCommunicate OK [12:09:45]SAM_PROTO_GetShiftState done [12:09:45]FM_GetShiftState done [12:09:45]opened in 1718756813 [12:09:45]opened+sec_in_day 1718843213 [12:09:45]quantity*price = 4500 [12:09:45]sum+1 = 4501 [12:09:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 26 19.06.2024 12:09 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34322 ФПД: 78317503738462 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T120951&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34322&fm=78317503738462&tin=02508201610067®Number=0000000000092786&sum=4500 0 [12:09:46]StoreToDocumentArchive [12:09:46]shift 324 fd 34322 [12:09:46]save to /storage/0324/doc_00034322 [12:09:46]save last doc name /storage/0324/doc_00034322 to /storage/kkm_last_doc_name [12:09:46]save OK [12:09:46]Clear old archive folders... [12:09:46]ProcessDocumentItem done err = 0, tmpTLVsize=260 [12:09:46]tlvbuf is 01928F60 [12:09:46]SAM_PROTO_ClearQueue [12:09:46]wFMCommunicate request_size=4 [12:09:46]MH_SAM_APDU [12:09:46]CAPDU: 80 09 00 00 [12:09:46]Write to MH i2c: E2 08 00 79 1D 80 09 00 00 00 00 00 00 08 [12:09:46]Write i2c OK [12:09:46]MH_I2C_Read... [12:09:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:46]Read from MH i2c: E2 [12:09:46]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 79 1D 00 90 00 0A [12:09:47]RAPDU: 90 00 [12:09:47]wFMCommunicate OK [12:09:47]SAM_PROTO_ClearQueue done [12:09:47]KKMCreateOFDPacket [12:09:47]OFDProtocolAddRootSTLVToBuf [12:09:47]FM_MakeSignedData [12:09:47]FM_MakeSignedData [12:09:47]SAM_PROTO_SignData [12:09:47]wFMCommunicate request_size=4 [12:09:47]MH_SAM_APDU [12:09:47]CAPDU: 80 0D 01 02 [12:09:47]Write to MH i2c: E2 08 00 7A 1D 80 0D 01 02 00 00 00 00 10 [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:47]Read from MH i2c: E2 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 7A 1D 00 90 00 0B [12:09:47]RAPDU: 90 00 [12:09:47]wFMCommunicate OK [12:09:47]wFMCommunicate request_size=255 [12:09:47]MH_SAM_APDU [12:09:47]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 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 8F CA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 [12:09:47]Write to MH i2c: E2 02 01 7B 1D 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 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 8F CA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 00 00 B5 [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:47]Read from MH i2c: E2 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 7B 1D 00 90 00 0C [12:09:47]RAPDU: 90 00 [12:09:47]wFMCommunicate OK [12:09:47]wFMCommunicate request_size=19 [12:09:47]MH_SAM_APDU [12:09:47]CAPDU: 80 0D 02 02 0E 12 86 00 00 35 04 06 00 47 3A B6 FD 72 5E [12:09:47]Write to MH i2c: E2 16 00 7C 1D 80 0D 02 02 0E 00 12 86 00 00 35 04 06 00 47 3A B6 FD 72 5E 00 00 0A [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:47]Read from MH i2c: E2 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 03 00 7C 1D 00 90 00 0D [12:09:47]RAPDU: 90 00 [12:09:47]wFMCommunicate OK [12:09:47]wFMCommunicate request_size=4 [12:09:47]MH_SAM_APDU [12:09:47]CAPDU: 80 0D 03 02 [12:09:47]Write to MH i2c: E2 08 00 7D 1D 80 0D 03 02 00 00 00 00 15 [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:47]Read from MH i2c: E2 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 0B 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 0B 00 7D 1D 00 D5 11 AB 53 74 E4 BC BC 90 00 CA [12:09:47]RAPDU: D5 11 AB 53 74 E4 BC BC 90 00 [12:09:47]wFMCommunicate OK [12:09:47]SAM_PROTO_SignData done [12:09:47]FM_MakeSignedData done [12:09:47]CreateOFDProtocolMessage [12:09:47]wFMCommunicate request_size=4 [12:09:47]MH_SAM_APDU [12:09:47]CAPDU: 80 11 00 00 [12:09:47]Write to MH i2c: E2 08 00 7E 1D 80 11 00 00 00 00 00 00 15 [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:47]Read from MH i2c: E2 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 17 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: E2 17 00 7E 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6A [12:09:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:09:47]wFMCommunicate OK [12:09:47]CreateOFDProtocolMessage done [12:09:47]OFDSenderStorePacket 34322 [12:09:47]StoreOFDPacket docnum=34322 [12:09:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 18 01 00 00 34 F1 10 01 82 9F 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 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 8F CA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 86 00 00 35 04 06 00 47 3A B6 FD 72 5E D5 11 AB 53 74 E4 BC BC [12:09:47]CheckFolder [12:09:47]dirname=/storage/ofd_packets [12:09:47]CheckFolder done [12:09:47]ProducePacketName [12:09:47]name=ofd_packets/00034322 [12:09:47]NVStorageSaveData ofd_packets/00034322 [12:09:47]File name is /storage/ofd_packets/00034322 [12:09:47]Write 310 bytes [12:09:47]NVStorageSaveData done [12:09:47]OFDSenderStorePacket done [12:09:47]KKMCreateOFDPacket done [12:09:47]NVStorageSaveData kkm_last_timestamp [12:09:47]File name is /storage/kkm_last_timestamp [12:09:47]Write 4 bytes [12:09:47]NVStorageSaveData done [12:09:47]ExternCall_PrintAddStr [12:09:47]wPrintStart [12:09:47]Write to MH i2c: 01 00 00 7F 1D 9C [12:09:47]Write i2c OK [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: 01 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: 01 07 00 [12:09:47]MH_I2C_Read... [12:09:47]Read from MH i2c: 01 07 00 7F 1D 00 00 00 00 00 FF 0F B1 [12:09:47]RasterBufferAndPrint [12:09:47]line Счет N : (3)184098 [12:09:47]line ИНН: 02508201610067 [12:09:47]line Контрольно-Кассовый Чек [12:09:47]line ПРОДАЖА [12:09:47]line Товар: 50173808 [12:09:47]line Жев Orbit Sweet Mint [12:09:47]line 1.000 * 45.00 [12:09:47]line = 45.00 [12:09:47]line НДС 12% НСП 1% [12:09:47]line > о реализуемом товаре [12:09:47]line ИТОГО: 45.00 [12:09:47]line НСП 1% : 0.40 [12:09:47]line НДС 12% : 4.78 [12:09:47]line Наличными: 45.00 [12:09:47]line Безнал.: 0.00 [12:09:47]line Место: АЗС № 120 "Партнер Нефть" [12:09:47]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:09:47]line СНО: Общий режим [12:09:47]line Чек 26 19.06.2024 12:09 [12:09:47]line Смена: 324 ФФД: 1.0 [12:09:47]line ЗНМ: 0300000172 [12:09:47]line РНМ: 0000000000092786 [12:09:47]line Версия ККМ: 001 [12:09:47]line ФМ: 0000000000875095 [12:09:47]line ФД: 34322 [12:09:47]line ФПД: 78317503738462 [12:09:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T120951&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34322&fm=78317503738462&tin=02508201610067®Number=0000000000092786&sum=4500 [12:09:47]line 0 [12:09:47]OFD Sender: Processing packet 34322 [packets to send 8, broken 7] [12:09:47]ProducePacketName [12:09:47]name=ofd_packets/00034322 [12:09:47]OFD Sender: To server: pG, [12:09:47]CommunicateWithHost lk.salyk.kg:30040 [12:09:47]ConnectInit lk.salyk.kg [12:09:47]written 0, free lines is 4095 [12:09:47]Connected sock=10 [12:09:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 18 01 00 00 34 F1 10 01 82 9F 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 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 8F CA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 86 00 00 35 04 06 00 47 3A B6 FD 72 5E D5 11 AB 53 74 E4 BC BC [12:09:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 C9 1D 47 00 A0 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 12 86 00 00 F4 03 04 00 5B 71 72 66 B6 04 01 00 00 8C 40 9C 8B 3C B6 A0 63 [12:09:48]CommunicateWithHost err = 0 [12:09:48]CheckOFDResponse [12:09:48]1017 (14) - 77093643461234 [12:09:48]1041 (16) - 0000000000875095 [12:09:48]1040 (4) - 34322 [12:09:48]1012 (4) - 19.06.2024 05:49 [12:09:48]1206 (1) - 0 [12:09:48]OFD Sender: Remove packet 34322 [12:09:48]ProducePacketName [12:09:48]name=ofd_packets/00034322 [12:09:48]NVStorageDeleteData [12:09:48]Write to MH i2c: 01 00 00 A7 1D C4 [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: 01 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: 01 07 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: 01 07 00 A7 1D 00 00 00 00 00 03 0D DB [12:09:48]RasterBufferAndPrint [12:09:48]line [12:09:48]line [12:09:48]line [12:09:48]line [12:09:48]line [12:09:48]written 0, free lines is 3337 [12:09:48]MH_Cut [12:09:48]Write to MH i2c: D1 01 00 AE 1D 01 9D [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: D1 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: D1 01 00 [12:09:48]MH_I2C_Read... [12:09:48]Read from MH i2c: D1 01 00 AE 1D 00 9C [12:09:48]Write to MH i2c: 01 00 00 AF 1D CC [12:09:48]Write i2c OK [12:09:48]MH_I2C_Read... [12:09:48]OFD Sender: No OFD packet to send [12:09:48]*** Cut start [12:09:48]*** Partial cut [12:09:48]*** CUTSNS_PIN = 1 [12:09:49]*** CUTSNS_PIN = 0 [12:09:49]*** Brake cut motor [12:09:49]Read from MH i2c: 01 [12:09:49]MH_I2C_Read... [12:09:49]*** Stop cut motor [12:09:49]*** Cut end [12:09:49]Read from MH i2c: 01 07 00 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: 01 07 00 AF 1D 00 00 00 00 00 FF 0F E1 [12:09:49]process_action close_receipt done [12:09:49]requested_data is exist [12:09:49]produce_requested_data [12:09:49]requested_item fm.sn is exist - process it [12:09:49]wFMCommunicate request_size=4 [12:09:49]MH_SAM_APDU [12:09:49]CAPDU: 80 11 00 00 [12:09:49]Write to MH i2c: E2 08 00 B0 1D 80 11 00 00 00 00 00 00 47 [12:09:49]Write i2c OK [12:09:49]MH_I2C_Read... [12:09:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:49]Read from MH i2c: E2 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 17 00 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 17 00 B0 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9C [12:09:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:09:49]wFMCommunicate OK [12:09:49]requested_item fd.num is exist - process it [12:09:49]SAM_PROTO_GetFieldsCounters [12:09:49]wFMCommunicate request_size=4 [12:09:49]MH_SAM_APDU [12:09:49]CAPDU: 80 13 00 00 [12:09:49]Write to MH i2c: E2 08 00 B1 1D 80 13 00 00 00 00 00 00 4A [12:09:49]Write i2c OK [12:09:49]MH_I2C_Read... [12:09:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:49]Read from MH i2c: E2 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 62 00 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 62 00 B1 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 12 86 00 00 0E 04 04 00 44 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 9F [12:09:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 12 86 00 00 0E 04 04 00 44 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 [12:09:49]wFMCommunicate OK [12:09:49]SAM_PROTO_GetFieldsCounters done [12:09:49]requested_item shift.num is exist - process it [12:09:49]requested_item shift.opened is exist - process it [12:09:49]req_shift_opened [12:09:49]FM_GetShiftState [12:09:49]SAM_PROTO_GetShiftState [12:09:49]wFMCommunicate request_size=4 [12:09:49]MH_SAM_APDU [12:09:49]CAPDU: 80 13 01 00 [12:09:49]Write to MH i2c: E2 08 00 B2 1D 80 13 01 00 00 00 00 00 4C [12:09:49]Write i2c OK [12:09:49]MH_I2C_Read... [12:09:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:49]Read from MH i2c: E2 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 0E 00 [12:09:49]MH_I2C_Read... [12:09:49]Read from MH i2c: E2 0E 00 B2 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 22 [12:09:49]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:09:49]wFMCommunicate OK [12:09:49]SAM_PROTO_GetShiftState done [12:09:49]FM_GetShiftState done [12:09:49]req_shift_opened done [12:09:49]requested_item shift.open_date is exist - process it [12:09:49]req_shift_open_date [12:09:49]req_shift_open_date done [12:09:49]produce_requested_data done [12:09:49]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34322,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [12:09:49]process_action_free close_receipt [12:09:49]json_value_free [12:09:49]json_value_free done [12:09:49]process_json_proto returns [12:09:49]Send response to host [12:09:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34322,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [12:09:49]free response buf [12:09:49]execute_script done [12:09:49]execute_script returns [12:09:49]free content buf [12:09:49]Sock 7.Close socket [12:09:49]Sock 7.Thread stoped [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:52]accept exits with 9 [12:12:52]New connection [12:12:52]New thread 3067567460 created [12:12:52]Thread 3067424100 joined [12:12:52]Waiting for new connection... [12:12:52] Sock 9.Parse request [12:12:52]Sock 9.Check first char [12:12:52]Sock 9.First char is OK [12:12:52]request: POST /json_proto HTTP/1.0 [12:12:52]Method: POST [12:12:52]URL: /json_proto [12:12:52]Method is POST - this is cgi request [12:12:52]url: /json_proto [12:12:52]query_string will be loaded in cgi processing [12:12:52]execute_cgi json_proto POST (null) [12:12:52]execute_cgi path=json_proto method=POST [12:12:52]POST find Content-Length [12:12:52]Host: 172.17.38.134:8080 [12:12:52]Content-Length: 1240 [12:12:52]Content-Type: application/json [12:12:52] [12:12:52]POST finish read [12:12:52]Found Content-Length = 1240 [12:12:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184099", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "7622210515056", "name": "\u043B\u0435\u0434\u0435\u043D Halls \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 261.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:52]execute_script... [12:12: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)184099", "tax_sys" : 0, "items" : [ { "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "7622210515056", "name": "\u043B\u0435\u0434\u0435\u043D Halls \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 53.00, "quantity" : 1.000, "sum" : 53.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 261.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:12:52]POST & json_proto [12:12:52]process_json_proto [12:12:52]json parsed OK: [12:12:52]protocol is kg_v1.0 [12:12:52]action value=close_receipt [12:12:52]process_action close_receipt [12:12:52]cmd_close_receipt [12:12:52]MH_GetDate [12:12:52]Write to MH i2c: F0 00 00 B3 1D BF [12:12:52]Write i2c OK [12:12:52]MH_I2C_Read... [12:12:52]Read from MH i2c: F0 [12:12:52]MH_I2C_Read... [12:12:52]Read from MH i2c: F0 09 00 [12:12:52]MH_I2C_Read... [12:12:52]Read from MH i2c: F0 09 00 B3 1D 00 49 CB 72 66 13 9C 7C 64 43 [12:12:52]GetLastDocTimeStamp 1718798991 [12:12:52]current date 1718799177 [12:12:52]FM_GetShiftState [12:12:52]SAM_PROTO_GetShiftState [12:12:52]wFMCommunicate request_size=4 [12:12:52]MH_SAM_APDU [12:12:52]CAPDU: 80 13 01 00 [12:12:52]Write to MH i2c: E2 08 00 B4 1D 80 13 01 00 00 00 00 00 4E [12:12:52]Write i2c OK [12:12:52]MH_I2C_Read... [12:12:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:52]Read from MH i2c: E2 [12:12:52]MH_I2C_Read... [12:12:52]Read from MH i2c: E2 0E 00 [12:12:52]MH_I2C_Read... [12:12:52]Read from MH i2c: E2 0E 00 B4 1D 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 24 [12:12:52]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:12:52]wFMCommunicate OK [12:12:52]SAM_PROTO_GetShiftState done [12:12:52]FM_GetShiftState done [12:12:52]opened in 1718756813 [12:12:52]opened+sec_in_day 1718843213 [12:12:52]quantity*price = 7000 [12:12:52]sum+1 = 7001 [12:12:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 138.00 = 138.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 7622210515056 леден Halls лесные ягоды 1.000 * 53.00 = 53.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 261.00 НСП 1% : 2.31 НДС 12% : 27.71 Наличными: 261.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 27 19.06.2024 12:12 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34323 ФПД: 88404396946765 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T121257&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34323&fm=88404396946765&tin=02508201610067®Number=0000000000092786&sum=26100 0 [12:12:53]StoreToDocumentArchive [12:12:53]shift 324 fd 34323 [12:12:53]save to /storage/0324/doc_00034323 [12:12:53]save last doc name /storage/0324/doc_00034323 to /storage/kkm_last_doc_name [12:12:53]save OK [12:12:53]Clear old archive folders... [12:12:53]ProcessDocumentItem done err = 0, tmpTLVsize=524 [12:12:53]tlvbuf is 019AEA10 [12:12:53]SAM_PROTO_ClearQueue [12:12:53]wFMCommunicate request_size=4 [12:12:53]MH_SAM_APDU [12:12:53]CAPDU: 80 09 00 00 [12:12:53]Write to MH i2c: E2 08 00 C1 1D 80 09 00 00 00 00 00 00 50 [12:12:53]Write i2c OK [12:12:53]MH_I2C_Read... [12:12:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:12:53]Read from MH i2c: E2 [12:12:53]MH_I2C_Read... [12:12:53]Read from MH i2c: E2 03 00 [12:12:53]MH_I2C_Read... [12:12:53]Read from MH i2c: E2 03 00 C1 1D 00 90 00 52 [12:12:53]RAPDU: 90 00 [12:12:53]wFMCommunicate OK [12:12:53]SAM_PROTO_ClearQueue done [12:12:53]KKMCreateOFDPacket [12:12:53]OFDProtocolAddRootSTLVToBuf [12:12:53]FM_MakeSignedData [12:12:53]FM_MakeSignedData [12:12:53]SAM_PROTO_SignData [12:12:53]wFMCommunicate request_size=4 [12:12:53]MH_SAM_APDU [12:12:53]CAPDU: 80 0D 01 02 [12:12:53]Write to MH i2c: E2 08 00 C2 1D 80 0D 01 02 00 00 00 00 58 [12:12:53]Write i2c OK [12:12:53]MH_I2C_Read... [12:12:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:12:53]Read from MH i2c: E2 [12:12:53]MH_I2C_Read... [12:12:53]Read from MH i2c: E2 03 00 [12:12:53]MH_I2C_Read... [12:12:53]Read from MH i2c: E2 03 00 C2 1D 00 90 00 53 [12:12:53]RAPDU: 90 00 [12:12:53]wFMCommunicate OK [12:12:53]wFMCommunicate request_size=255 [12:12:53]MH_SAM_APDU [12:12:53]CAPDU: 80 0D 02 02 FA 03 00 0C 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [12:12:53]Write to MH i2c: E2 02 01 C3 1D 80 0D 02 02 FA 00 03 00 0C 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 44 [12:12:53]Write i2c OK [12:12:53]MH_I2C_Read... [12:12:53]OFD Sender: No OFD packet to send [12:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:54]Read from MH i2c: E2 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 C3 1D 00 90 00 54 [12:12:54]RAPDU: 90 00 [12:12:54]wFMCommunicate OK [12:12:54]wFMCommunicate request_size=255 [12:12:54]MH_SAM_APDU [12:12:54]CAPDU: 80 0D 02 02 FA 01 23 04 6C 00 8A 04 0D 00 37 36 32 32 32 31 30 35 31 35 30 35 36 06 04 28 00 D0 BB D0 B5 D0 B4 D0 B5 D0 BD 20 48 61 6C 6C 73 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 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 1B 00 00 00 F4 03 04 00 49 CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 [12:12:54]Write to MH i2c: E2 02 01 C4 1D 80 0D 02 02 FA 00 01 23 04 6C 00 8A 04 0D 00 37 36 32 32 32 31 30 35 31 35 30 35 36 06 04 28 00 D0 BB D0 B5 D0 B4 D0 B5 D0 BD 20 48 61 6C 6C 73 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 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 1B 00 00 00 F4 03 04 00 49 CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 00 00 B4 [12:12:54]Write i2c OK [12:12:54]MH_I2C_Read... [12:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:54]Read from MH i2c: E2 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 C4 1D 00 90 00 55 [12:12:54]RAPDU: 90 00 [12:12:54]wFMCommunicate OK [12:12:54]wFMCommunicate request_size=33 [12:12:54]MH_SAM_APDU [12:12:54]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 86 00 00 35 04 06 00 50 67 40 AD 35 4D [12:12:54]Write to MH i2c: E2 24 00 C5 1D 80 0D 02 02 1C 00 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 86 00 00 35 04 06 00 50 67 40 AD 35 4D 00 00 AC [12:12:54]Write i2c OK [12:12:54]MH_I2C_Read... [12:12:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:54]Read from MH i2c: E2 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 03 00 C5 1D 00 90 00 56 [12:12:54]RAPDU: 90 00 [12:12:54]wFMCommunicate OK [12:12:54]wFMCommunicate request_size=4 [12:12:54]MH_SAM_APDU [12:12:54]CAPDU: 80 0D 03 02 [12:12:54]Write to MH i2c: E2 08 00 C6 1D 80 0D 03 02 00 00 00 00 5E [12:12:54]Write i2c OK [12:12:54]MH_I2C_Read... [12:12:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:12:54]Read from MH i2c: E2 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 0B 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 0B 00 C6 1D 00 61 E4 17 DD 75 81 D0 B8 90 00 16 [12:12:54]RAPDU: 61 E4 17 DD 75 81 D0 B8 90 00 [12:12:54]wFMCommunicate OK [12:12:54]SAM_PROTO_SignData done [12:12:54]FM_MakeSignedData done [12:12:54]CreateOFDProtocolMessage [12:12:54]wFMCommunicate request_size=4 [12:12:54]MH_SAM_APDU [12:12:54]CAPDU: 80 11 00 00 [12:12:54]Write to MH i2c: E2 08 00 C7 1D 80 11 00 00 00 00 00 00 5E [12:12:54]Write i2c OK [12:12:54]MH_I2C_Read... [12:12:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:54]Read from MH i2c: E2 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 17 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: E2 17 00 C7 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B3 [12:12:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:12:54]wFMCommunicate OK [12:12:54]CreateOFDProtocolMessage done [12:12:54]OFDSenderStorePacket 34323 [12:12:54]StoreOFDPacket docnum=34323 [12:12:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 20 02 00 00 71 61 18 02 8F 64 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 37 36 32 32 32 31 30 35 31 35 30 35 36 06 04 28 00 D0 BB D0 B5 D0 B4 D0 B5 D0 BD 20 48 61 6C 6C 73 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 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 1B 00 00 00 F4 03 04 00 49 CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 86 00 00 35 04 06 00 50 67 40 AD 35 4D 61 E4 17 DD 75 81 D0 B8 [12:12:54]CheckFolder [12:12:54]dirname=/storage/ofd_packets [12:12:54]CheckFolder done [12:12:54]ProducePacketName [12:12:54]name=ofd_packets/00034323 [12:12:54]NVStorageSaveData ofd_packets/00034323 [12:12:54]File name is /storage/ofd_packets/00034323 [12:12:54]Write 574 bytes [12:12:54]NVStorageSaveData done [12:12:54]OFDSenderStorePacket done [12:12:54]KKMCreateOFDPacket done [12:12:54]NVStorageSaveData kkm_last_timestamp [12:12:54]File name is /storage/kkm_last_timestamp [12:12:54]Write 4 bytes [12:12:54]NVStorageSaveData done [12:12:54]ExternCall_PrintAddStr [12:12:54]wPrintStart [12:12:54]Write to MH i2c: 01 00 00 C8 1D E5 [12:12:54]Write i2c OK [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: 01 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: 01 07 00 [12:12:54]MH_I2C_Read... [12:12:54]Read from MH i2c: 01 07 00 C8 1D 00 00 00 00 00 FF 0F FA [12:12:54]RasterBufferAndPrint [12:12:54]line Счет N : (3)184099 [12:12:54]line ИНН: 02508201610067 [12:12:54]line Контрольно-Кассовый Чек [12:12:54]line ПРОДАЖА [12:12:54]line Товар: 4870202521179 [12:12:54]line Чай холодный MAXI черный персик ПЭТ 0,45 [12:12:54]line 1.000 * 70.00 [12:12:54]line = 70.00 [12:12:54]line НДС 12% НСП 1% [12:12:54]line > о реализуемом товаре [12:12:54]line Товар: 4640030091645 [12:12:54]line Сигареты ESSE Exchange M [12:12:54]line 1.000 * 138.00 [12:12:54]line = 138.00 [12:12:54]line НДС 12% НСП 1% [12:12:54]line > о реализуемом товаре [12:12:54]line Товар: 7622210515056 [12:12:54]line леден Halls лесные ягоды [12:12:54]line 1.000 * 53.00 [12:12:54]line = 53.00 [12:12:54]line НДС 12% НСП 1% [12:12:54]line > о реализуемом товаре [12:12:54]line ИТОГО: 261.00 [12:12:54]line НСП 1% : 2.31 [12:12:54]line НДС 12% : 27.71 [12:12:54]line Наличными: 261.00 [12:12:54]line Безнал.: 0.00 [12:12:54]line Место: АЗС № 120 "Партнер Нефть" [12:12:54]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:12:54]line СНО: Общий режим [12:12:54]line Чек 27 19.06.2024 12:12 [12:12:54]line Смена: 324 ФФД: 1.0 [12:12:54]line ЗНМ: 0300000172 [12:12:54]line РНМ: 0000000000092786 [12:12:54]line Версия ККМ: 001 [12:12:54]line ФМ: 0000000000875095 [12:12:54]line ФД: 34323 [12:12:54]line ФПД: 88404396946765 [12:12:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T121257&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34323&fm=88404396946765&tin=02508201610067®Number=0000000000092786&sum=26100 [12:12:54]OFD Sender: Processing packet 34323 [packets to send 8, broken 7] [12:12:54]ProducePacketName [12:12:54]name=ofd_packets/00034323 [12:12:54]OFD Sender: To server: pG, [12:12:54]CommunicateWithHost lk.salyk.kg:30040 [12:12:54]ConnectInit lk.salyk.kg [12:12:54]Connected sock=10 [12:12:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 20 02 00 00 71 61 18 02 8F 64 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 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 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 37 36 32 32 32 31 30 35 31 35 30 35 36 06 04 28 00 D0 BB D0 B5 D0 B4 D0 B5 D0 BD 20 48 61 6C 6C 73 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 14 00 00 00 00 13 04 06 00 B4 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 F4 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 1B 00 00 00 F4 03 04 00 49 CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 86 00 00 35 04 06 00 50 67 40 AD 35 4D 61 E4 17 DD 75 81 D0 B8 [12:12:55]line 0 [12:12:55]written 0, free lines is 4095 [12:12:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 0E 6D 47 00 0C 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 13 86 00 00 F4 03 04 00 16 72 72 66 B6 04 01 00 00 05 1C 3F 50 89 17 58 F0 [12:12:55]CommunicateWithHost err = 0 [12:12:55]CheckOFDResponse [12:12:55]1017 (14) - 77093643461234 [12:12:55]1041 (16) - 0000000000875095 [12:12:55]1040 (4) - 34323 [12:12:55]1012 (4) - 19.06.2024 05:52 [12:12:55]1206 (1) - 0 [12:12:55]OFD Sender: Remove packet 34323 [12:12:55]ProducePacketName [12:12:55]name=ofd_packets/00034323 [12:12:55]NVStorageDeleteData [12:12:55]Write to MH i2c: 01 00 00 FD 1D 1A [12:12:55]Write i2c OK [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: 01 [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: 01 07 00 [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: 01 07 00 FD 1D 00 00 00 00 00 29 0C 56 [12:12:55]RasterBufferAndPrint [12:12:55]line [12:12:55]line [12:12:55]line [12:12:55]line [12:12:55]line [12:12:55]written 0, free lines is 3119 [12:12:55]MH_Cut [12:12:55]Write to MH i2c: D1 01 00 04 1E 01 F4 [12:12:55]Write i2c OK [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: D1 [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: D1 01 00 [12:12:55]MH_I2C_Read... [12:12:55]Read from MH i2c: D1 01 00 04 1E 00 F3 [12:12:55]Write to MH i2c: 01 00 00 05 1E 23 [12:12:55]Write i2c OK [12:12:55]MH_I2C_Read... [12:12:55]OFD Sender: No OFD packet to send [12:12:56]*** Cut start [12:12:56]*** Partial cut [12:12:56]*** CUTSNS_PIN = 1 [12:12:56]*** CUTSNS_PIN = 0 [12:12:56]*** Brake cut motor [12:12:57]Read from MH i2c: 01 [12:12:57]MH_I2C_Read... [12:12:57]*** Stop cut motor [12:12:57]*** Cut end [12:12:57]Read from MH i2c: 01 07 00 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: 01 07 00 05 1E 00 00 00 00 00 FF 0F 38 [12:12:57]process_action close_receipt done [12:12:57]requested_data is exist [12:12:57]produce_requested_data [12:12:57]requested_item fm.sn is exist - process it [12:12:57]wFMCommunicate request_size=4 [12:12:57]MH_SAM_APDU [12:12:57]CAPDU: 80 11 00 00 [12:12:57]Write to MH i2c: E2 08 00 06 1E 80 11 00 00 00 00 00 00 9E [12:12:57]Write i2c OK [12:12:57]MH_I2C_Read... [12:12:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:57]Read from MH i2c: E2 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 17 00 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 17 00 06 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F3 [12:12:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:12:57]wFMCommunicate OK [12:12:57]requested_item fd.num is exist - process it [12:12:57]SAM_PROTO_GetFieldsCounters [12:12:57]wFMCommunicate request_size=4 [12:12:57]MH_SAM_APDU [12:12:57]CAPDU: 80 13 00 00 [12:12:57]Write to MH i2c: E2 08 00 07 1E 80 13 00 00 00 00 00 00 A1 [12:12:57]Write i2c OK [12:12:57]MH_I2C_Read... [12:12:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:57]Read from MH i2c: E2 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 62 00 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 62 00 07 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 13 86 00 00 0E 04 04 00 44 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 FA [12:12:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 13 86 00 00 0E 04 04 00 44 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 [12:12:57]wFMCommunicate OK [12:12:57]SAM_PROTO_GetFieldsCounters done [12:12:57]requested_item shift.num is exist - process it [12:12:57]requested_item shift.opened is exist - process it [12:12:57]req_shift_opened [12:12:57]FM_GetShiftState [12:12:57]SAM_PROTO_GetShiftState [12:12:57]wFMCommunicate request_size=4 [12:12:57]MH_SAM_APDU [12:12:57]CAPDU: 80 13 01 00 [12:12:57]Write to MH i2c: E2 08 00 08 1E 80 13 01 00 00 00 00 00 A3 [12:12:57]Write i2c OK [12:12:57]MH_I2C_Read... [12:12:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:57]Read from MH i2c: E2 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 0E 00 [12:12:57]MH_I2C_Read... [12:12:57]Read from MH i2c: E2 0E 00 08 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 79 [12:12:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:12:57]wFMCommunicate OK [12:12:57]SAM_PROTO_GetShiftState done [12:12:57]FM_GetShiftState done [12:12:57]req_shift_opened done [12:12:57]requested_item shift.open_date is exist - process it [12:12:57]req_shift_open_date [12:12:57]req_shift_open_date done [12:12:57]produce_requested_data done [12:12:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34323,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [12:12:57]process_action_free close_receipt [12:12:57]json_value_free [12:12:57]json_value_free done [12:12:57]process_json_proto returns [12:12:57]Send response to host [12:12:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34323,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [12:12:57]free response buf [12:12:57]execute_script done [12:12:57]execute_script returns [12:12:57]free content buf [12:12:57]Sock 9.Close socket [12:12:57]Sock 9.Thread stoped [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]accept exits with 7 [12:13:45]New connection [12:13:45]New thread 3067424100 created [12:13:45]Thread 3067567460 joined [12:13:45]Waiting for new connection... [12:13:45] Sock 7.Parse request [12:13:45]Sock 7.Check first char [12:13:45]Sock 7.First char is OK [12:13:45]request: POST /json_proto HTTP/1.0 [12:13:45]Method: POST [12:13:45]URL: /json_proto [12:13:45]Method is POST - this is cgi request [12:13:45]url: /json_proto [12:13:45]query_string will be loaded in cgi processing [12:13:45]execute_cgi json_proto POST (null) [12:13:45]execute_cgi path=json_proto method=POST [12:13:45]POST find Content-Length [12:13:45]Host: 172.17.38.134:8080 [12:13:45]Content-Length: 687 [12:13:45]Content-Type: application/json [12:13:45] [12:13:45]POST finish read [12:13:45]Found Content-Length = 687 [12:13:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672910", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 27.440, "sum" : 2000.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:45]execute_script... [12:13: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)672910", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 27.440, "sum" : 2000.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:45]POST & json_proto [12:13:45]process_json_proto [12:13:45]json parsed OK: [12:13:45]protocol is kg_v1.0 [12:13:45]action value=close_receipt [12:13:45]process_action close_receipt [12:13:45]cmd_close_receipt [12:13:45]MH_GetDate [12:13:45]Write to MH i2c: F0 00 00 09 1E 16 [12:13:45]Write i2c OK [12:13:45]MH_I2C_Read... [12:13:45]Read from MH i2c: F0 [12:13:45]MH_I2C_Read... [12:13:45]Read from MH i2c: F0 09 00 [12:13:45]MH_I2C_Read... [12:13:45]Read from MH i2c: F0 09 00 09 1E 00 7E CB 72 66 13 9C 7C 64 CF [12:13:45]GetLastDocTimeStamp 1718799177 [12:13:45]current date 1718799230 [12:13:45]FM_GetShiftState [12:13:45]SAM_PROTO_GetShiftState [12:13:45]wFMCommunicate request_size=4 [12:13:45]MH_SAM_APDU [12:13:45]CAPDU: 80 13 01 00 [12:13:45]Write to MH i2c: E2 08 00 0A 1E 80 13 01 00 00 00 00 00 A5 [12:13:45]Write i2c OK [12:13:45]MH_I2C_Read... [12:13:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:45]Read from MH i2c: E2 [12:13:45]MH_I2C_Read... [12:13:45]Read from MH i2c: E2 0E 00 [12:13:45]MH_I2C_Read... [12:13:45]Read from MH i2c: E2 0E 00 0A 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 7B [12:13:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:13:45]wFMCommunicate OK [12:13:45]SAM_PROTO_GetShiftState done [12:13:45]FM_GetShiftState done [12:13:45]opened in 1718756813 [12:13:45]opened+sec_in_day 1718843213 [12:13:45]quantity*price = 200037 [12:13:45]sum+1 = 200039 [12:13:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 28 19.06.2024 12:13 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34324 ФПД: 28398056324958 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T121350&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34324&fm=28398056324958&tin=02508201610067®Number=0000000000092786&sum=200000 [12:13:46]StoreToDocumentArchive [12:13:46]shift 324 fd 34324 [12:13:46]save to /storage/0324/doc_00034324 [12:13:46]save last doc name /storage/0324/doc_00034324 to /storage/kkm_last_doc_name [12:13:46]save OK [12:13:46]Clear old archive folders... [12:13:46]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:13:46]tlvbuf is B6F3EE40 [12:13:46]SAM_PROTO_ClearQueue [12:13:46]wFMCommunicate request_size=4 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 09 00 00 [12:13:46]Write to MH i2c: E2 08 00 17 1E 80 09 00 00 00 00 00 00 A7 [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 17 1E 00 90 00 A9 [12:13:46]RAPDU: 90 00 [12:13:46]wFMCommunicate OK [12:13:46]SAM_PROTO_ClearQueue done [12:13:46]KKMCreateOFDPacket [12:13:46]OFDProtocolAddRootSTLVToBuf [12:13:46]FM_MakeSignedData [12:13:46]FM_MakeSignedData [12:13:46]SAM_PROTO_SignData [12:13:46]wFMCommunicate request_size=4 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 0D 01 02 [12:13:46]Write to MH i2c: E2 08 00 18 1E 80 0D 01 02 00 00 00 00 AF [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 18 1E 00 90 00 AA [12:13:46]RAPDU: 90 00 [12:13:46]wFMCommunicate OK [12:13:46]wFMCommunicate request_size=255 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 30 6B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 66 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 7E CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 86 00 00 35 04 06 00 [12:13:46]Write to MH i2c: E2 02 01 19 1E 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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 30 6B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 66 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 7E CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 86 00 00 35 04 06 00 00 00 9D [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 19 1E 00 90 00 AB [12:13:46]RAPDU: 90 00 [12:13:46]wFMCommunicate OK [12:13:46]wFMCommunicate request_size=11 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 0D 02 02 06 19 D3 F0 0F 3F 5E [12:13:46]Write to MH i2c: E2 0E 00 1A 1E 80 0D 02 02 06 00 19 D3 F0 0F 3F 5E 00 00 46 [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 03 00 1A 1E 00 90 00 AC [12:13:46]RAPDU: 90 00 [12:13:46]wFMCommunicate OK [12:13:46]wFMCommunicate request_size=4 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 0D 03 02 [12:13:46]Write to MH i2c: E2 08 00 1B 1E 80 0D 03 02 00 00 00 00 B4 [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 0B 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 0B 00 1B 1E 00 76 B3 F5 DD 41 A6 0A BF 90 00 60 [12:13:46]RAPDU: 76 B3 F5 DD 41 A6 0A BF 90 00 [12:13:46]wFMCommunicate OK [12:13:46]SAM_PROTO_SignData done [12:13:46]FM_MakeSignedData done [12:13:46]CreateOFDProtocolMessage [12:13:46]wFMCommunicate request_size=4 [12:13:46]MH_SAM_APDU [12:13:46]CAPDU: 80 11 00 00 [12:13:46]Write to MH i2c: E2 08 00 1C 1E 80 11 00 00 00 00 00 00 B4 [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:46]Read from MH i2c: E2 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 17 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: E2 17 00 1C 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 09 [12:13:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:13:46]wFMCommunicate OK [12:13:46]CreateOFDProtocolMessage done [12:13:46]OFDSenderStorePacket 34324 [12:13:46]StoreOFDPacket docnum=34324 [12:13:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 3C A7 08 01 02 78 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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 30 6B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 66 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 7E CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 86 00 00 35 04 06 00 19 D3 F0 0F 3F 5E 76 B3 F5 DD 41 A6 0A BF [12:13:46]CheckFolder [12:13:46]dirname=/storage/ofd_packets [12:13:46]CheckFolder done [12:13:46]ProducePacketName [12:13:46]name=ofd_packets/00034324 [12:13:46]NVStorageSaveData ofd_packets/00034324 [12:13:46]File name is /storage/ofd_packets/00034324 [12:13:46]Write 302 bytes [12:13:46]NVStorageSaveData done [12:13:46]OFDSenderStorePacket done [12:13:46]KKMCreateOFDPacket done [12:13:46]NVStorageSaveData kkm_last_timestamp [12:13:46]File name is /storage/kkm_last_timestamp [12:13:46]Write 4 bytes [12:13:46]NVStorageSaveData done [12:13:46]ExternCall_PrintAddStr [12:13:46]wPrintStart [12:13:46]Write to MH i2c: 01 00 00 1D 1E 3B [12:13:46]Write i2c OK [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: 01 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: 01 07 00 [12:13:46]MH_I2C_Read... [12:13:46]Read from MH i2c: 01 07 00 1D 1E 00 00 00 00 00 FF 0F 50 [12:13:46]RasterBufferAndPrint [12:13:46]line Счет N : (1)672910 [12:13:46]line ИНН: 02508201610067 [12:13:46]line Контрольно-Кассовый Чек [12:13:46]line ПРОДАЖА [12:13:46]line ТРК (МРК, ГНК) : 21 [12:13:46]line Товар: 2710194210 [12:13:46]line ДТ(л)-К-5 [12:13:46]line 27.440 * 72.90 [12:13:46]line = 2000.38 [12:13:46]line НДС 12% НСП 1% [12:13:46]line > о реализуемом товаре [12:13:46]line ОКРУГЛЕНИЕ: -0.38 [12:13:46]line ИТОГО: 2000.00 [12:13:46]line Внесено: 2000.00 [12:13:46]line СДАЧА: 0.00 [12:13:46]line НСП 1% : 17.70 [12:13:46]line НДС 12% : 212.43 [12:13:46]line Наличными: 2000.00 [12:13:46]line Безнал.: 0.00 [12:13:46]line Место: АЗС № 120 "Партнер Нефть" [12:13:46]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:13:46]line СНО: Общий режим [12:13:46]line Чек 28 19.06.2024 12:13 [12:13:46]line Смена: 324 ФФД: 1.0 [12:13:46]line ЗНМ: 0300000172 [12:13:46]line РНМ: 0000000000092786 [12:13:46]line Версия ККМ: 001 [12:13:46]line ФМ: 0000000000875095 [12:13:46]line ФД: 34324 [12:13:46]line ФПД: 28398056324958 [12:13:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T121350&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34324&fm=28398056324958&tin=02508201610067®Number=0000000000092786&sum=200000 [12:13:47]OFD Sender: Processing packet 34324 [packets to send 8, broken 7] [12:13:47]ProducePacketName [12:13:47]name=ofd_packets/00034324 [12:13:47]OFD Sender: To server: pG, [12:13:47]CommunicateWithHost lk.salyk.kg:30040 [12:13:47]ConnectInit lk.salyk.kg [12:13:47]written 0, free lines is 4095 [12:13:47]Connected sock=10 [12:13:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 3C A7 08 01 02 78 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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 30 6B 00 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 66 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 7E CB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 86 00 00 35 04 06 00 19 D3 F0 0F 3F 5E 76 B3 F5 DD 41 A6 0A BF [12:13:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F5 D4 47 00 D8 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 14 86 00 00 F4 03 04 00 4B 72 72 66 B6 04 01 00 00 13 A3 70 F6 03 EC 7E D4 [12:13:47]CommunicateWithHost err = 0 [12:13:47]CheckOFDResponse [12:13:47]1017 (14) - 77093643461234 [12:13:47]1041 (16) - 0000000000875095 [12:13:47]1040 (4) - 34324 [12:13:47]1012 (4) - 19.06.2024 05:53 [12:13:47]1206 (1) - 0 [12:13:47]OFD Sender: Remove packet 34324 [12:13:47]ProducePacketName [12:13:47]name=ofd_packets/00034324 [12:13:47]NVStorageDeleteData [12:13:47]Write to MH i2c: 01 00 00 48 1E 66 [12:13:47]Write i2c OK [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: 01 [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: 01 07 00 [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: 01 07 00 48 1E 00 00 00 00 00 EA 0C 63 [12:13:47]RasterBufferAndPrint [12:13:47]line [12:13:47]line [12:13:47]line [12:13:47]line [12:13:47]line [12:13:47]written 0, free lines is 3313 [12:13:47]MH_Cut [12:13:47]Write to MH i2c: D1 01 00 4F 1E 01 3F [12:13:47]Write i2c OK [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: D1 [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: D1 01 00 [12:13:47]MH_I2C_Read... [12:13:47]Read from MH i2c: D1 01 00 4F 1E 00 3E [12:13:47]Write to MH i2c: 01 00 00 50 1E 6E [12:13:47]Write i2c OK [12:13:47]MH_I2C_Read... [12:13:48]OFD Sender: No OFD packet to send [12:13:48]*** Cut start [12:13:48]*** Partial cut [12:13:48]*** CUTSNS_PIN = 1 [12:13:48]*** CUTSNS_PIN = 0 [12:13:48]*** Brake cut motor [12:13:49]Read from MH i2c: 01 [12:13:49]MH_I2C_Read... [12:13:49]*** Stop cut motor [12:13:49]*** Cut end [12:13:49]Read from MH i2c: 01 07 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: 01 07 00 50 1E 00 00 00 00 00 FF 0F 83 [12:13:49]process_action close_receipt done [12:13:49]requested_data is exist [12:13:49]produce_requested_data [12:13:49]requested_item fm.sn is exist - process it [12:13:49]wFMCommunicate request_size=4 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 11 00 00 [12:13:49]Write to MH i2c: E2 08 00 51 1E 80 11 00 00 00 00 00 00 E9 [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:49]Read from MH i2c: E2 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 17 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 17 00 51 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3E [12:13:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:13:49]wFMCommunicate OK [12:13:49]requested_item fd.num is exist - process it [12:13:49]SAM_PROTO_GetFieldsCounters [12:13:49]wFMCommunicate request_size=4 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 13 00 00 [12:13:49]Write to MH i2c: E2 08 00 52 1E 80 13 00 00 00 00 00 00 EC [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:13:49]Read from MH i2c: E2 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 62 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 62 00 52 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 14 86 00 00 0E 04 04 00 44 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 49 [12:13:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 14 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:13:49]wFMCommunicate OK [12:13:49]SAM_PROTO_GetFieldsCounters done [12:13:49]requested_item shift.num is exist - process it [12:13:49]requested_item shift.opened is exist - process it [12:13:49]req_shift_opened [12:13:49]FM_GetShiftState [12:13:49]SAM_PROTO_GetShiftState [12:13:49]wFMCommunicate request_size=4 [12:13:49]MH_SAM_APDU [12:13:49]CAPDU: 80 13 01 00 [12:13:49]Write to MH i2c: E2 08 00 53 1E 80 13 01 00 00 00 00 00 EE [12:13:49]Write i2c OK [12:13:49]MH_I2C_Read... [12:13:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:49]Read from MH i2c: E2 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 0E 00 [12:13:49]MH_I2C_Read... [12:13:49]Read from MH i2c: E2 0E 00 53 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 C4 [12:13:49]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:13:49]wFMCommunicate OK [12:13:49]SAM_PROTO_GetShiftState done [12:13:49]FM_GetShiftState done [12:13:49]req_shift_opened done [12:13:49]requested_item shift.open_date is exist - process it [12:13:49]req_shift_open_date [12:13:49]req_shift_open_date done [12:13:49]produce_requested_data done [12:13:49]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34324,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [12:13:49]process_action_free close_receipt [12:13:49]json_value_free [12:13:49]json_value_free done [12:13:49]process_json_proto returns [12:13:49]Send response to host [12:13:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34324,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [12:13:49]free response buf [12:13:49]execute_script done [12:13:49]execute_script returns [12:13:49]free content buf [12:13:49]Sock 7.Close socket [12:13:49]Sock 7.Thread stoped [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]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:55]accept exits with 9 [12:26:55]New connection [12:26:55]New thread 3067567460 created [12:26:55]Thread 3067424100 joined [12:26:55]Waiting for new connection... [12:26:55] Sock 9.Parse request [12:26:55]Sock 9.Check first char [12:26:55]Sock 9.First char is OK [12:26:55]request: POST /json_proto HTTP/1.0 [12:26:55]Method: POST [12:26:55]URL: /json_proto [12:26:55]Method is POST - this is cgi request [12:26:55]url: /json_proto [12:26:55]query_string will be loaded in cgi processing [12:26:55]execute_cgi json_proto POST (null) [12:26:55]execute_cgi path=json_proto method=POST [12:26:55]POST find Content-Length [12:26:55]Host: 172.17.38.134:8080 [12:26:55]Content-Length: 626 [12:26:55]Content-Type: application/json [12:26:55] [12:26:55]POST finish read [12:26:55]Found Content-Length = 626 [12:26:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184102", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:55]execute_script... [12:26: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)184102", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:26:55]POST & json_proto [12:26:55]process_json_proto [12:26:55]json parsed OK: [12:26:55]protocol is kg_v1.0 [12:26:55]action value=close_receipt [12:26:55]process_action close_receipt [12:26:55]cmd_close_receipt [12:26:55]MH_GetDate [12:26:55]Write to MH i2c: F0 00 00 54 1E 61 [12:26:55]Write i2c OK [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 09 00 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: F0 09 00 54 1E 00 94 CE 72 66 13 9C 7C 64 33 [12:26:55]GetLastDocTimeStamp 1718799230 [12:26:55]current date 1718800020 [12:26:55]FM_GetShiftState [12:26:55]SAM_PROTO_GetShiftState [12:26:55]wFMCommunicate request_size=4 [12:26:55]MH_SAM_APDU [12:26:55]CAPDU: 80 13 01 00 [12:26:55]Write to MH i2c: E2 08 00 55 1E 80 13 01 00 00 00 00 00 F0 [12:26:55]Write i2c OK [12:26:55]MH_I2C_Read... [12:26:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:55]Read from MH i2c: E2 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: E2 0E 00 [12:26:55]MH_I2C_Read... [12:26:55]Read from MH i2c: E2 0E 00 55 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 C6 [12:26:55]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:26:55]wFMCommunicate OK [12:26:55]SAM_PROTO_GetShiftState done [12:26:55]FM_GetShiftState done [12:26:55]opened in 1718756813 [12:26:55]opened+sec_in_day 1718843213 [12:26:55]quantity*price = 13500 [12:26:55]sum+1 = 13501 [12:26:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 29 19.06.2024 12:27 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34325 ФПД: 151606876845127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T122700&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34325&fm=151606876845127&tin=02508201610067®Number=0000000000092786&sum=13500 0 [12:26:56]StoreToDocumentArchive [12:26:56]shift 324 fd 34325 [12:26:56]save to /storage/0324/doc_00034325 [12:26:56]save last doc name /storage/0324/doc_00034325 to /storage/kkm_last_doc_name [12:26:56]save OK [12:26:56]Clear old archive folders... [12:26:56]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:26:56]tlvbuf is B6F57A00 [12:26:56]SAM_PROTO_ClearQueue [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 09 00 00 [12:26:56]Write to MH i2c: E2 08 00 62 1E 80 09 00 00 00 00 00 00 F2 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 62 1E 00 90 00 F4 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]SAM_PROTO_ClearQueue done [12:26:56]KKMCreateOFDPacket [12:26:56]OFDProtocolAddRootSTLVToBuf [12:26:56]FM_MakeSignedData [12:26:56]FM_MakeSignedData [12:26:56]SAM_PROTO_SignData [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 01 02 [12:26:56]Write to MH i2c: E2 08 00 63 1E 80 0D 01 02 00 00 00 00 FA [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 63 1E 00 90 00 F5 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=255 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 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 94 CE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 [12:26:56]Write to MH i2c: E2 02 01 64 1E 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 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 94 CE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 00 00 67 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 64 1E 00 90 00 F6 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=37 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 86 00 00 35 04 06 00 89 E2 BA 0A 34 47 [12:26:56]Write to MH i2c: E2 28 00 65 1E 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 86 00 00 35 04 06 00 89 E2 BA 0A 34 47 00 00 9B [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 03 00 65 1E 00 90 00 F7 [12:26:56]RAPDU: 90 00 [12:26:56]wFMCommunicate OK [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 0D 03 02 [12:26:56]Write to MH i2c: E2 08 00 66 1E 80 0D 03 02 00 00 00 00 FF [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 0B 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 0B 00 66 1E 00 24 EC 5A A7 4B 39 9F 90 90 00 C4 [12:26:56]RAPDU: 24 EC 5A A7 4B 39 9F 90 90 00 [12:26:56]wFMCommunicate OK [12:26:56]SAM_PROTO_SignData done [12:26:56]FM_MakeSignedData done [12:26:56]CreateOFDProtocolMessage [12:26:56]wFMCommunicate request_size=4 [12:26:56]MH_SAM_APDU [12:26:56]CAPDU: 80 11 00 00 [12:26:56]Write to MH i2c: E2 08 00 67 1E 80 11 00 00 00 00 00 00 FF [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:56]Read from MH i2c: E2 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 17 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: E2 17 00 67 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 54 [12:26:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:26:56]wFMCommunicate OK [12:26:56]CreateOFDProtocolMessage done [12:26:56]OFDSenderStorePacket 34325 [12:26:56]StoreOFDPacket docnum=34325 [12:26:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2A 01 00 00 94 FF 22 01 D8 E2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 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 94 CE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 86 00 00 35 04 06 00 89 E2 BA 0A 34 47 24 EC 5A A7 4B 39 9F 90 [12:26:56]CheckFolder [12:26:56]dirname=/storage/ofd_packets [12:26:56]CheckFolder done [12:26:56]ProducePacketName [12:26:56]name=ofd_packets/00034325 [12:26:56]NVStorageSaveData ofd_packets/00034325 [12:26:56]File name is /storage/ofd_packets/00034325 [12:26:56]Write 328 bytes [12:26:56]NVStorageSaveData done [12:26:56]OFDSenderStorePacket done [12:26:56]KKMCreateOFDPacket done [12:26:56]NVStorageSaveData kkm_last_timestamp [12:26:56]File name is /storage/kkm_last_timestamp [12:26:56]Write 4 bytes [12:26:56]NVStorageSaveData done [12:26:56]ExternCall_PrintAddStr [12:26:56]wPrintStart [12:26:56]Write to MH i2c: 01 00 00 68 1E 86 [12:26:56]Write i2c OK [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 07 00 [12:26:56]MH_I2C_Read... [12:26:56]Read from MH i2c: 01 07 00 68 1E 00 00 00 00 00 FF 0F 9B [12:26:56]RasterBufferAndPrint [12:26:56]line Счет N : (3)184102 [12:26:56]line ИНН: 02508201610067 [12:26:56]line Контрольно-Кассовый Чек [12:26:56]line ПРОДАЖА [12:26:56]line Товар: 48741224 [12:26:56]line Сигареты Winston Super Slims Blue [12:26:56]line 1.000 * 135.00 [12:26:56]line = 135.00 [12:26:56]line НДС 12% НСП 1% [12:26:56]line > о реализуемом товаре [12:26:56]line ИТОГО: 135.00 [12:26:56]line НСП 1% : 1.19 [12:26:56]line НДС 12% : 14.34 [12:26:56]line Наличными: 135.00 [12:26:56]line Безнал.: 0.00 [12:26:56]line Место: АЗС № 120 "Партнер Нефть" [12:26:56]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:26:56]line СНО: Общий режим [12:26:56]line Чек 29 19.06.2024 12:27 [12:26:56]line Смена: 324 ФФД: 1.0 [12:26:56]line ЗНМ: 0300000172 [12:26:56]line РНМ: 0000000000092786 [12:26:56]line Версия ККМ: 001 [12:26:56]line ФМ: 0000000000875095 [12:26:56]line ФД: 34325 [12:26:56]line ФПД: 151606876845127 [12:26:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T122700&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34325&fm=151606876845127&tin=02508201610067®Number=0000000000092786&sum=13500 [12:26:57]line 0 [12:26:57]OFD Sender: Processing packet 34325 [packets to send 8, broken 7] [12:26:57]ProducePacketName [12:26:57]name=ofd_packets/00034325 [12:26:57]OFD Sender: To server: pG, [12:26:57]CommunicateWithHost lk.salyk.kg:30040 [12:26:57]ConnectInit lk.salyk.kg [12:26:57]written 0, free lines is 4095 [12:26:57]Connected sock=10 [12:26:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2A 01 00 00 94 FF 22 01 D8 E2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 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 94 CE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 86 00 00 35 04 06 00 89 E2 BA 0A 34 47 24 EC 5A A7 4B 39 9F 90 [12:26:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 6A 18 47 00 98 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 15 86 00 00 F4 03 04 00 61 75 72 66 B6 04 01 00 00 81 6D 9E 9C 33 9B 75 2A [12:26:57]CommunicateWithHost err = 0 [12:26:57]CheckOFDResponse [12:26:57]1017 (14) - 77093643461234 [12:26:57]1041 (16) - 0000000000875095 [12:26:57]1040 (4) - 34325 [12:26:57]1012 (4) - 19.06.2024 06:06 [12:26:57]1206 (1) - 0 [12:26:57]OFD Sender: Remove packet 34325 [12:26:57]ProducePacketName [12:26:57]name=ofd_packets/00034325 [12:26:57]NVStorageDeleteData [12:26:57]Write to MH i2c: 01 00 00 91 1E AF [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 07 00 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: 01 07 00 91 1E 00 00 00 00 00 E4 0C A6 [12:26:57]RasterBufferAndPrint [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]line [12:26:57]written 0, free lines is 3306 [12:26:57]MH_Cut [12:26:57]Write to MH i2c: D1 01 00 98 1E 01 88 [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 01 00 [12:26:57]MH_I2C_Read... [12:26:57]Read from MH i2c: D1 01 00 98 1E 00 87 [12:26:57]Write to MH i2c: 01 00 00 99 1E B7 [12:26:57]Write i2c OK [12:26:57]MH_I2C_Read... [12:26:58]OFD Sender: No OFD packet to send [12:26:58]*** Cut start [12:26:58]*** Partial cut [12:26:58]*** CUTSNS_PIN = 1 [12:26:58]*** CUTSNS_PIN = 0 [12:26:58]*** Brake cut motor [12:26:58]Read from MH i2c: 01 [12:26:58]MH_I2C_Read... [12:26:58]*** Stop cut motor [12:26:58]*** Cut end [12:26:58]Read from MH i2c: 01 07 00 [12:26:58]MH_I2C_Read... [12:26:58]Read from MH i2c: 01 07 00 99 1E 00 00 00 00 00 FF 0F CC [12:26:58]process_action close_receipt done [12:26:58]requested_data is exist [12:26:58]produce_requested_data [12:26:58]requested_item fm.sn is exist - process it [12:26:58]wFMCommunicate request_size=4 [12:26:58]MH_SAM_APDU [12:26:58]CAPDU: 80 11 00 00 [12:26:58]Write to MH i2c: E2 08 00 9A 1E 80 11 00 00 00 00 00 00 32 [12:26:58]Write i2c OK [12:26:58]MH_I2C_Read... [12:26:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 17 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 17 00 9A 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 87 [12:26:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:26:59]wFMCommunicate OK [12:26:59]requested_item fd.num is exist - process it [12:26:59]SAM_PROTO_GetFieldsCounters [12:26:59]wFMCommunicate request_size=4 [12:26:59]MH_SAM_APDU [12:26:59]CAPDU: 80 13 00 00 [12:26:59]Write to MH i2c: E2 08 00 9B 1E 80 13 00 00 00 00 00 00 35 [12:26:59]Write i2c OK [12:26:59]MH_I2C_Read... [12:26:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 62 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 62 00 9B 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 15 86 00 00 0E 04 04 00 44 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 96 [12:26:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 15 86 00 00 0E 04 04 00 44 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 [12:26:59]wFMCommunicate OK [12:26:59]SAM_PROTO_GetFieldsCounters done [12:26:59]requested_item shift.num is exist - process it [12:26:59]requested_item shift.opened is exist - process it [12:26:59]req_shift_opened [12:26:59]FM_GetShiftState [12:26:59]SAM_PROTO_GetShiftState [12:26:59]wFMCommunicate request_size=4 [12:26:59]MH_SAM_APDU [12:26:59]CAPDU: 80 13 01 00 [12:26:59]Write to MH i2c: E2 08 00 9C 1E 80 13 01 00 00 00 00 00 37 [12:26:59]Write i2c OK [12:26:59]MH_I2C_Read... [12:26:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:26:59]Read from MH i2c: E2 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 0E 00 [12:26:59]MH_I2C_Read... [12:26:59]Read from MH i2c: E2 0E 00 9C 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 0D [12:26:59]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:26:59]wFMCommunicate OK [12:26:59]SAM_PROTO_GetShiftState done [12:26:59]FM_GetShiftState done [12:26:59]req_shift_opened done [12:26:59]requested_item shift.open_date is exist - process it [12:26:59]req_shift_open_date [12:26:59]req_shift_open_date done [12:26:59]produce_requested_data done [12:26:59]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34325,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [12:26:59]process_action_free close_receipt [12:26:59]json_value_free [12:26:59]json_value_free done [12:26:59]process_json_proto returns [12:26:59]Send response to host [12:26:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34325,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [12:26:59]free response buf [12:26:59]execute_script done [12:26:59]execute_script returns [12:26:59]free content buf [12:26:59]Sock 9.Close socket [12:26:59]Sock 9.Thread stoped [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:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:34]accept exits with 7 [12:40:34]New connection [12:40:34]New thread 3067424100 created [12:40:34]Thread 3067567460 joined [12:40:34]Waiting for new connection... [12:40:34] Sock 7.Parse request [12:40:34]Sock 7.Check first char [12:40:34]Sock 7.First char is OK [12:40:34]request: POST /json_proto HTTP/1.0 [12:40:34]Method: POST [12:40:34]URL: /json_proto [12:40:34]Method is POST - this is cgi request [12:40:34]url: /json_proto [12:40:34]query_string will be loaded in cgi processing [12:40:34]execute_cgi json_proto POST (null) [12:40:34]execute_cgi path=json_proto method=POST [12:40:34]POST find Content-Length [12:40:34]Host: 172.17.38.134:8080 [12:40:34]Content-Length: 650 [12:40:34]Content-Type: application/json [12:40:34] [12:40:34]POST finish read [12:40:34]Found Content-Length = 650 [12:40:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184103", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\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" ] } } [12:40:34]execute_script... [12:40: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)184103", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\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" ] } } [12:40:34]POST & json_proto [12:40:34]process_json_proto [12:40:34]json parsed OK: [12:40:34]protocol is kg_v1.0 [12:40:34]action value=close_receipt [12:40:34]process_action close_receipt [12:40:34]cmd_close_receipt [12:40:34]MH_GetDate [12:40:34]Write to MH i2c: F0 00 00 9D 1E AA [12:40:34]Write i2c OK [12:40:34]MH_I2C_Read... [12:40:34]Read from MH i2c: F0 [12:40:34]MH_I2C_Read... [12:40:34]Read from MH i2c: F0 09 00 [12:40:34]MH_I2C_Read... [12:40:34]Read from MH i2c: F0 09 00 9D 1E 00 C7 D1 72 66 13 9C 7C 64 B2 [12:40:34]GetLastDocTimeStamp 1718800020 [12:40:34]current date 1718800839 [12:40:34]FM_GetShiftState [12:40:34]SAM_PROTO_GetShiftState [12:40:34]wFMCommunicate request_size=4 [12:40:34]MH_SAM_APDU [12:40:34]CAPDU: 80 13 01 00 [12:40:34]Write to MH i2c: E2 08 00 9E 1E 80 13 01 00 00 00 00 00 39 [12:40:34]Write i2c OK [12:40:34]MH_I2C_Read... [12:40:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:34]Read from MH i2c: E2 [12:40:34]MH_I2C_Read... [12:40:34]Read from MH i2c: E2 0E 00 [12:40:34]MH_I2C_Read... [12:40:34]Read from MH i2c: E2 0E 00 9E 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 0F [12:40:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:40:34]wFMCommunicate OK [12:40:34]SAM_PROTO_GetShiftState done [12:40:34]FM_GetShiftState done [12:40:34]opened in 1718756813 [12:40:34]opened+sec_in_day 1718843213 [12:40:34]quantity*price = 7500 [12:40:34]sum+1 = 7501 [12:40:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 30 19.06.2024 12:40 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34326 ФПД: 87372902890445 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T124040&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34326&fm=87372902890445&tin=02508201610067®Number=0000000000092786&sum=7500 0 [12:40:35]StoreToDocumentArchive [12:40:35]shift 324 fd 34326 [12:40:35]save to /storage/0324/doc_00034326 [12:40:35]save last doc name /storage/0324/doc_00034326 to /storage/kkm_last_doc_name [12:40:35]save OK [12:40:35]Clear old archive folders... [12:40:35]ProcessDocumentItem done err = 0, tmpTLVsize=285 [12:40:35]tlvbuf is B6F57570 [12:40:35]SAM_PROTO_ClearQueue [12:40:35]wFMCommunicate request_size=4 [12:40:35]MH_SAM_APDU [12:40:35]CAPDU: 80 09 00 00 [12:40:35]Write to MH i2c: E2 08 00 AB 1E 80 09 00 00 00 00 00 00 3B [12:40:35]Write i2c OK [12:40:35]MH_I2C_Read... [12:40:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:40:35]Read from MH i2c: E2 [12:40:35]MH_I2C_Read... [12:40:35]Read from MH i2c: E2 03 00 [12:40:35]MH_I2C_Read... [12:40:35]Read from MH i2c: E2 03 00 AB 1E 00 90 00 3D [12:40:35]RAPDU: 90 00 [12:40:35]wFMCommunicate OK [12:40:35]SAM_PROTO_ClearQueue done [12:40:35]KKMCreateOFDPacket [12:40:35]OFDProtocolAddRootSTLVToBuf [12:40:35]FM_MakeSignedData [12:40:35]FM_MakeSignedData [12:40:35]SAM_PROTO_SignData [12:40:35]wFMCommunicate request_size=4 [12:40:35]MH_SAM_APDU [12:40:35]CAPDU: 80 0D 01 02 [12:40:35]Write to MH i2c: E2 08 00 AC 1E 80 0D 01 02 00 00 00 00 43 [12:40:35]Write i2c OK [12:40:35]MH_I2C_Read... [12:40:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:40:35]Read from MH i2c: E2 [12:40:35]MH_I2C_Read... [12:40:35]Read from MH i2c: E2 03 00 [12:40:35]MH_I2C_Read... [12:40:35]Read from MH i2c: E2 03 00 AC 1E 00 90 00 3E [12:40:35]RAPDU: 90 00 [12:40:35]wFMCommunicate OK [12:40:35]wFMCommunicate request_size=255 [12:40:35]MH_SAM_APDU [12:40:35]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 1E 00 00 00 F4 03 04 00 C8 D1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 [12:40:35]Write to MH i2c: E2 02 01 AD 1E 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 1E 00 00 00 F4 03 04 00 C8 D1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 00 00 22 [12:40:35]Write i2c OK [12:40:35]MH_I2C_Read... [12:40:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:36]Read from MH i2c: E2 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 03 00 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 03 00 AD 1E 00 90 00 3F [12:40:36]RAPDU: 90 00 [12:40:36]wFMCommunicate OK [12:40:36]wFMCommunicate request_size=44 [12:40:36]MH_SAM_APDU [12:40:36]CAPDU: 80 0D 02 02 27 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 86 00 00 35 04 06 00 4F 77 16 D6 FB CD [12:40:36]Write to MH i2c: E2 2F 00 AE 1E 80 0D 02 02 27 00 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 86 00 00 35 04 06 00 4F 77 16 D6 FB CD 00 00 7E [12:40:36]Write i2c OK [12:40:36]MH_I2C_Read... [12:40:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:36]Read from MH i2c: E2 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 03 00 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 03 00 AE 1E 00 90 00 40 [12:40:36]RAPDU: 90 00 [12:40:36]wFMCommunicate OK [12:40:36]wFMCommunicate request_size=4 [12:40:36]MH_SAM_APDU [12:40:36]CAPDU: 80 0D 03 02 [12:40:36]Write to MH i2c: E2 08 00 AF 1E 80 0D 03 02 00 00 00 00 48 [12:40:36]Write i2c OK [12:40:36]MH_I2C_Read... [12:40:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:40:36]Read from MH i2c: E2 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 0B 00 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 0B 00 AF 1E 00 96 14 9D 22 90 CF A0 F8 90 00 A9 [12:40:36]RAPDU: 96 14 9D 22 90 CF A0 F8 90 00 [12:40:36]wFMCommunicate OK [12:40:36]SAM_PROTO_SignData done [12:40:36]FM_MakeSignedData done [12:40:36]CreateOFDProtocolMessage [12:40:36]wFMCommunicate request_size=4 [12:40:36]MH_SAM_APDU [12:40:36]CAPDU: 80 11 00 00 [12:40:36]Write to MH i2c: E2 08 00 B0 1E 80 11 00 00 00 00 00 00 48 [12:40:36]Write i2c OK [12:40:36]MH_I2C_Read... [12:40:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:36]Read from MH i2c: E2 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 17 00 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: E2 17 00 B0 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9D [12:40:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:40:36]wFMCommunicate OK [12:40:36]CreateOFDProtocolMessage done [12:40:36]OFDSenderStorePacket 34326 [12:40:36]StoreOFDPacket docnum=34326 [12:40:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 31 01 00 00 40 35 29 01 2D 54 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 1E 00 00 00 F4 03 04 00 C8 D1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 86 00 00 35 04 06 00 4F 77 16 D6 FB CD 96 14 9D 22 90 CF A0 F8 [12:40:36]CheckFolder [12:40:36]dirname=/storage/ofd_packets [12:40:36]CheckFolder done [12:40:36]ProducePacketName [12:40:36]name=ofd_packets/00034326 [12:40:36]NVStorageSaveData ofd_packets/00034326 [12:40:36]File name is /storage/ofd_packets/00034326 [12:40:36]Write 335 bytes [12:40:36]NVStorageSaveData done [12:40:36]OFDSenderStorePacket done [12:40:36]KKMCreateOFDPacket done [12:40:36]NVStorageSaveData kkm_last_timestamp [12:40:36]File name is /storage/kkm_last_timestamp [12:40:36]Write 4 bytes [12:40:36]NVStorageSaveData done [12:40:36]ExternCall_PrintAddStr [12:40:36]wPrintStart [12:40:36]Write to MH i2c: 01 00 00 B1 1E CF [12:40:36]Write i2c OK [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: 01 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: 01 07 00 [12:40:36]MH_I2C_Read... [12:40:36]Read from MH i2c: 01 07 00 B1 1E 00 00 00 00 00 FF 0F E4 [12:40:36]RasterBufferAndPrint [12:40:36]line Счет N : (3)184103 [12:40:36]line ИНН: 02508201610067 [12:40:36]line Контрольно-Кассовый Чек [12:40:36]line ПРОДАЖА [12:40:36]line Товар: 4870112002775 [12:40:36]line Шок батончик ALBENI BITES 80гр [12:40:36]line 1.000 * 75.00 [12:40:36]line = 75.00 [12:40:36]line НДС 12% НСП 1% [12:40:36]line > о реализуемом товаре [12:40:36]line ИТОГО: 75.00 [12:40:36]line НСП 1% : 0.66 [12:40:36]line НДС 12% : 7.96 [12:40:36]line Наличными: 75.00 [12:40:36]line Безнал.: 0.00 [12:40:36]line Место: АЗС № 120 "Партнер Нефть" [12:40:36]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [12:40:36]line СНО: Общий режим [12:40:36]line Чек 30 19.06.2024 12:40 [12:40:36]line Смена: 324 ФФД: 1.0 [12:40:36]line ЗНМ: 0300000172 [12:40:36]line РНМ: 0000000000092786 [12:40:36]line Версия ККМ: 001 [12:40:36]line ФМ: 0000000000875095 [12:40:36]line ФД: 34326 [12:40:36]line ФПД: 87372902890445 [12:40:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T124040&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34326&fm=87372902890445&tin=02508201610067®Number=0000000000092786&sum=7500 [12:40:36]line 0 [12:40:36]OFD Sender: Processing packet 34326 [packets to send 8, broken 7] [12:40:36]ProducePacketName [12:40:36]name=ofd_packets/00034326 [12:40:36]OFD Sender: To server: pG, [12:40:36]CommunicateWithHost lk.salyk.kg:30040 [12:40:36]ConnectInit lk.salyk.kg [12:40:36]written 0, free lines is 4095 [12:40:36]Connected sock=11 [12:40:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 31 01 00 00 40 35 29 01 2D 54 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 42 49 54 45 53 20 38 30 D0 B3 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 1E 00 00 00 F4 03 04 00 C8 D1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 86 00 00 35 04 06 00 4F 77 16 D6 FB CD 96 14 9D 22 90 CF A0 F8 [12:40:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 6A 78 47 00 25 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 16 86 00 00 F4 03 04 00 94 78 72 66 B6 04 01 00 00 CC B7 D7 7C F7 A9 DA 41 [12:40:37]CommunicateWithHost err = 0 [12:40:37]CheckOFDResponse [12:40:37]1017 (14) - 77093643461234 [12:40:37]1041 (16) - 0000000000875095 [12:40:37]1040 (4) - 34326 [12:40:37]1012 (4) - 19.06.2024 06:20 [12:40:37]1206 (1) - 0 [12:40:37]OFD Sender: Remove packet 34326 [12:40:37]ProducePacketName [12:40:37]name=ofd_packets/00034326 [12:40:37]NVStorageDeleteData [12:40:37]Write to MH i2c: 01 00 00 DA 1E F8 [12:40:37]Write i2c OK [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: 01 [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: 01 07 00 [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: 01 07 00 DA 1E 00 00 00 00 00 E2 0C ED [12:40:37]RasterBufferAndPrint [12:40:37]line [12:40:37]line [12:40:37]line [12:40:37]line [12:40:37]line [12:40:37]written 0, free lines is 3304 [12:40:37]MH_Cut [12:40:37]Write to MH i2c: D1 01 00 E1 1E 01 D1 [12:40:37]Write i2c OK [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: D1 [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: D1 01 00 [12:40:37]MH_I2C_Read... [12:40:37]Read from MH i2c: D1 01 00 E1 1E 00 D0 [12:40:37]Write to MH i2c: 01 00 00 E2 1E 00 [12:40:37]Write i2c OK [12:40:37]MH_I2C_Read... [12:40:37]OFD Sender: No OFD packet to send [12:40:37]*** Cut start [12:40:37]*** Partial cut [12:40:37]*** CUTSNS_PIN = 1 [12:40:37]*** CUTSNS_PIN = 0 [12:40:38]*** Brake cut motor [12:40:38]Read from MH i2c: 01 [12:40:38]MH_I2C_Read... [12:40:38]*** Stop cut motor [12:40:38]*** Cut end [12:40:38]Read from MH i2c: 01 07 00 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: 01 07 00 E2 1E 00 00 00 00 00 FF 0F 15 [12:40:38]process_action close_receipt done [12:40:38]requested_data is exist [12:40:38]produce_requested_data [12:40:38]requested_item fm.sn is exist - process it [12:40:38]wFMCommunicate request_size=4 [12:40:38]MH_SAM_APDU [12:40:38]CAPDU: 80 11 00 00 [12:40:38]Write to MH i2c: E2 08 00 E3 1E 80 11 00 00 00 00 00 00 7B [12:40:38]Write i2c OK [12:40:38]MH_I2C_Read... [12:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:38]Read from MH i2c: E2 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 17 00 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 17 00 E3 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D0 [12:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [12:40:38]wFMCommunicate OK [12:40:38]requested_item fd.num is exist - process it [12:40:38]SAM_PROTO_GetFieldsCounters [12:40:38]wFMCommunicate request_size=4 [12:40:38]MH_SAM_APDU [12:40:38]CAPDU: 80 13 00 00 [12:40:38]Write to MH i2c: E2 08 00 E4 1E 80 13 00 00 00 00 00 00 7E [12:40:38]Write i2c OK [12:40:38]MH_I2C_Read... [12:40:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:40:38]Read from MH i2c: E2 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 62 00 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 62 00 E4 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 E3 [12:40:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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:40:38]wFMCommunicate OK [12:40:38]SAM_PROTO_GetFieldsCounters done [12:40:38]requested_item shift.num is exist - process it [12:40:38]requested_item shift.opened is exist - process it [12:40:38]req_shift_opened [12:40:38]FM_GetShiftState [12:40:38]SAM_PROTO_GetShiftState [12:40:38]wFMCommunicate request_size=4 [12:40:38]MH_SAM_APDU [12:40:38]CAPDU: 80 13 01 00 [12:40:38]Write to MH i2c: E2 08 00 E5 1E 80 13 01 00 00 00 00 00 80 [12:40:38]Write i2c OK [12:40:38]MH_I2C_Read... [12:40:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:38]Read from MH i2c: E2 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 0E 00 [12:40:38]MH_I2C_Read... [12:40:38]Read from MH i2c: E2 0E 00 E5 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 56 [12:40:38]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [12:40:38]wFMCommunicate OK [12:40:38]SAM_PROTO_GetShiftState done [12:40:38]FM_GetShiftState done [12:40:38]req_shift_opened done [12:40:38]requested_item shift.open_date is exist - process it [12:40:38]req_shift_open_date [12:40:38]req_shift_open_date done [12:40:38]produce_requested_data done [12:40:38]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [12:40:38]process_action_free close_receipt [12:40:38]json_value_free [12:40:38]json_value_free done [12:40:38]process_json_proto returns [12:40:38]Send response to host [12:40:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [12:40:38]free response buf [12:40:38]execute_script done [12:40:38]execute_script returns [12:40:38]free content buf [12:40:38]Sock 7.Close socket [12:40:38]Sock 7.Thread stoped [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:46]accept exits with 9 [13:03:46]New connection [13:03:46]New thread 3067567460 created [13:03:46]Thread 3067424100 joined [13:03:46]Waiting for new connection... [13:03:46] Sock 9.Parse request [13:03:46]Sock 9.Check first char [13:03:46]Sock 9.First char is OK [13:03:46]request: POST /json_proto HTTP/1.0 [13:03:46]Method: POST [13:03:46]URL: /json_proto [13:03:46]Method is POST - this is cgi request [13:03:46]url: /json_proto [13:03:46]query_string will be loaded in cgi processing [13:03:46]execute_cgi json_proto POST (null) [13:03:46]execute_cgi path=json_proto method=POST [13:03:46]POST find Content-Length [13:03:46]Host: 172.17.38.134:8080 [13:03:46]Content-Length: 215 [13:03:46]Content-Type: application/json [13:03:46] [13:03:46]POST finish read [13:03:46]Found Content-Length = 215 [13:03: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" ] } } [13:03:46]execute_script... [13:03: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" ] } } [13:03:46]POST & json_proto [13:03:46]process_json_proto [13:03:46]json parsed OK: [13:03:46]protocol is kg_v1.0 [13:03:46]action value=get_value [13:03:46]process_action get_value [13:03:46]cmd_get_value [13:03:46]process_action get_value done [13:03:46]requested_data is exist [13:03:46]produce_requested_data [13:03:46]requested_item kkm.sn is exist - process it [13:03:46]requested_item kkm.ver is exist - process it [13:03:46]requested_item fm.sn is exist - process it [13:03:46]wFMCommunicate request_size=4 [13:03:46]MH_SAM_APDU [13:03:46]CAPDU: 80 11 00 00 [13:03:46]Write to MH i2c: E2 08 00 E6 1E 80 11 00 00 00 00 00 00 7E [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:46]Read from MH i2c: E2 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 17 00 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 17 00 E6 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D3 [13:03:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:03:46]wFMCommunicate OK [13:03:46]requested_item fd.num is exist - process it [13:03:46]SAM_PROTO_GetFieldsCounters [13:03:46]wFMCommunicate request_size=4 [13:03:46]MH_SAM_APDU [13:03:46]CAPDU: 80 13 00 00 [13:03:46]Write to MH i2c: E2 08 00 E7 1E 80 13 00 00 00 00 00 00 81 [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:46]Read from MH i2c: E2 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 62 00 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 62 00 E7 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 E6 [13:03:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 [13:03:46]wFMCommunicate OK [13:03:46]SAM_PROTO_GetFieldsCounters done [13:03:46]requested_item shift.num is exist - process it [13:03:46]requested_item shift.opened is exist - process it [13:03:46]req_shift_opened [13:03:46]FM_GetShiftState [13:03:46]SAM_PROTO_GetShiftState [13:03:46]wFMCommunicate request_size=4 [13:03:46]MH_SAM_APDU [13:03:46]CAPDU: 80 13 01 00 [13:03:46]Write to MH i2c: E2 08 00 E8 1E 80 13 01 00 00 00 00 00 83 [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:46]Read from MH i2c: E2 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 0E 00 [13:03:46]MH_I2C_Read... [13:03:46]Read from MH i2c: E2 0E 00 E8 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 59 [13:03:46]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:03:46]wFMCommunicate OK [13:03:46]SAM_PROTO_GetShiftState done [13:03:46]FM_GetShiftState done [13:03:46]req_shift_opened done [13:03:46]requested_item shift.open_date is exist - process it [13:03:46]req_shift_open_date [13:03:46]req_shift_open_date done [13:03:46]produce_requested_data done [13:03:46]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [13:03:46]process_action_free get_value [13:03:46]json_value_free [13:03:46]json_value_free done [13:03:46]process_json_proto returns [13:03:46]Send response to host [13:03:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [13:03:46]free response buf [13:03:46]execute_script done [13:03:46]execute_script returns [13:03:46]free content buf [13:03:46]Sock 9.Close socket [13:03:46]Sock 9.Thread stoped [13:03:46]accept exits with 7 [13:03:46]New connection [13:03:46]New thread 3067424100 created [13:03:46]Thread 3067567460 joined [13:03:46]Waiting for new connection... [13:03:46] Sock 7.Parse request [13:03:46]Sock 7.Check first char [13:03:46]Sock 7.First char is OK [13:03:46]request: POST /json_proto HTTP/1.0 [13:03:46]Method: POST [13:03:46]URL: /json_proto [13:03:46]Method is POST - this is cgi request [13:03:46]url: /json_proto [13:03:46]query_string will be loaded in cgi processing [13:03:46]execute_cgi json_proto POST (null) [13:03:46]execute_cgi path=json_proto method=POST [13:03:46]POST find Content-Length [13:03:46]Host: 172.17.38.134:8080 [13:03:46]Content-Length: 331 [13:03:46]Content-Type: application/json [13:03:46] [13:03:46]POST finish read [13:03:46]Found Content-Length = 331 [13:03: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" ] } } [13:03:46]execute_script... [13:03: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" ] } } [13:03:46]POST & json_proto [13:03:46]process_json_proto [13:03:46]json parsed OK: [13:03:46]protocol is kg_v1.0 [13:03:46]action value=get_value [13:03:46]process_action get_value [13:03:46]cmd_get_value [13:03:46]process_action get_value done [13:03:46]requested_data is exist [13:03:46]produce_requested_data [13:03:46]requested_item fm.sale.total is exist - process it [13:03:46]SAM_PROTO_GetFMData [13:03:46]wFMCommunicate request_size=4 [13:03:46]MH_SAM_APDU [13:03:46]CAPDU: 80 13 03 00 [13:03:46]Write to MH i2c: E2 08 00 E9 1E 80 13 03 00 00 00 00 00 86 [13:03:46]Write i2c OK [13:03:46]MH_I2C_Read... [13:03:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:03:47]Read from MH i2c: E2 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 E9 1E 00 C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 52 [13:03:47]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [13:03:47]wFMCommunicate OK [13:03:47]wFMCommunicate request_size=4 [13:03:47]MH_SAM_APDU [13:03:47]CAPDU: 80 17 00 00 [13:03:47]Write to MH i2c: E2 08 00 EA 1E 80 17 00 00 00 00 00 00 88 [13:03:47]Write i2c OK [13:03:47]MH_I2C_Read... [13:03:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:47]Read from MH i2c: E2 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 EA 1E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3D [13:03:47]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:03:47]wFMCommunicate OK [13:03:47]wFMCommunicate request_size=4 [13:03:47]MH_SAM_APDU [13:03:47]CAPDU: 80 17 00 00 [13:03:47]Write to MH i2c: E2 08 00 EB 1E 80 17 00 00 00 00 00 00 89 [13:03:47]Write i2c OK [13:03:47]MH_I2C_Read... [13:03:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:47]Read from MH i2c: E2 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 [13:03:47]MH_I2C_Read... [13:03:47]Read from MH i2c: E2 FD 00 EB 1E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [13:03: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 [13:03:47]wFMCommunicate OK [13:03:47]wFMCommunicate request_size=4 [13:03:47]MH_SAM_APDU [13:03:47]CAPDU: 80 17 00 00 [13:03:47]Write to MH i2c: E2 08 00 EC 1E 80 17 00 00 00 00 00 00 8A [13:03:47]Write i2c OK [13:03:47]MH_I2C_Read... [13:03:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 FD 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 FD 00 EC 1E 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 02 [13:03: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 [13:03:48]wFMCommunicate OK [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 17 00 00 [13:03:48]Write to MH i2c: E2 08 00 ED 1E 80 17 00 00 00 00 00 00 8B [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 E1 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 E1 00 ED 1E 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 79 [13:03: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 [13:03:48]wFMCommunicate OK [13:03:48]SAM_PROTO_GetFMData done [13:03:48]requested_item fm.sale_refund.total is exist - process it [13:03:48]requested_item fm.buy.total is exist - process it [13:03:48]requested_item shift.sale.total is exist - process it [13:03:48]SAM_PROTO_GetShiftData [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 13 02 00 [13:03:48]Write to MH i2c: E2 08 00 EE 1E 80 13 02 00 00 00 00 00 8A [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:48]OFD Sender: No OFD packet to send [13:03:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:03:48]Read from MH i2c: E2 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 FD 00 [13:03:48]MH_I2C_Read... [13:03:48]Read from MH i2c: E2 FD 00 EE 1E 00 B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 02 [13:03:48]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:03:48]wFMCommunicate OK [13:03:48]wFMCommunicate request_size=4 [13:03:48]MH_SAM_APDU [13:03:48]CAPDU: 80 17 00 00 [13:03:48]Write to MH i2c: E2 08 00 EF 1E 80 17 00 00 00 00 00 00 8D [13:03:48]Write i2c OK [13:03:48]MH_I2C_Read... [13:03:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:49]Read from MH i2c: E2 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 EF 1E 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 D1 [13:03:49]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [13:03:49]wFMCommunicate OK [13:03:49]wFMCommunicate request_size=4 [13:03:49]MH_SAM_APDU [13:03:49]CAPDU: 80 17 00 00 [13:03:49]Write to MH i2c: E2 08 00 F0 1E 80 17 00 00 00 00 00 00 8E [13:03:49]Write i2c OK [13:03:49]MH_I2C_Read... [13:03:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:49]Read from MH i2c: E2 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 F0 1E 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [13:03:49]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:03:49]wFMCommunicate OK [13:03:49]wFMCommunicate request_size=4 [13:03:49]MH_SAM_APDU [13:03:49]CAPDU: 80 17 00 00 [13:03:49]Write to MH i2c: E2 08 00 F1 1E 80 17 00 00 00 00 00 00 8F [13:03:49]Write i2c OK [13:03:49]MH_I2C_Read... [13:03:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:49]Read from MH i2c: E2 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 FD 00 F1 1E 00 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 90 00 FE [13:03:49]RAPDU: 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 90 00 [13:03:49]wFMCommunicate OK [13:03:49]wFMCommunicate request_size=4 [13:03:49]MH_SAM_APDU [13:03:49]CAPDU: 80 17 00 00 [13:03:49]Write to MH i2c: E2 08 00 F2 1E 80 17 00 00 00 00 00 00 90 [13:03:49]Write i2c OK [13:03:49]MH_I2C_Read... [13:03:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:03:49]Read from MH i2c: E2 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 D3 00 [13:03:49]MH_I2C_Read... [13:03:49]Read from MH i2c: E2 D3 00 F2 1E 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7D [13:03:49]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:49]wFMCommunicate OK [13:03:49]SAM_PROTO_GetShiftData done [13:03:49]requested_item shift.sale.total_cash is exist - process it [13:03:49]requested_item shift.sale_refund.total is exist - process it [13:03:49]requested_item shift.sale_refund.total_cash is exist - process it [13:03:49]requested_item shift.buy.total is exist - process it [13:03:49]requested_item shift.buy.total_cash is exist - process it [13:03:49]produce_requested_data done [13:03:49]produce_requested_data return {"fm.sale.total":13455864.28,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":11380.00,"shift.sale.total_cash":10243.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [13:03:49]process_action_free get_value [13:03:49]json_value_free [13:03:49]json_value_free done [13:03:49]process_json_proto returns [13:03:49]Send response to host [13:03:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13455864.28,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":11380.00,"shift.sale.total_cash":10243.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [13:03:49]free response buf [13:03:49]execute_script done [13:03:49]execute_script returns [13:03:49]free content buf [13:03:49]Sock 7.Close socket [13:03:49]Sock 7.Thread stoped [13:03:50]accept exits with 9 [13:03:50]New connection [13:03:50]New thread 3067567460 created [13:03:50]Thread 3067424100 joined [13:03:50]Waiting for new connection... [13:03:50] Sock 9.Parse request [13:03:50]Sock 9.Check first char [13:03:50]Sock 9.First char is OK [13:03:50]request: POST /json_proto HTTP/1.0 [13:03:50]Method: POST [13:03:50]URL: /json_proto [13:03:50]Method is POST - this is cgi request [13:03:50]url: /json_proto [13:03:50]query_string will be loaded in cgi processing [13:03:50]execute_cgi json_proto POST (null) [13:03:50]execute_cgi path=json_proto method=POST [13:03:50]POST find Content-Length [13:03:50]Host: 172.17.38.134:8080 [13:03:50]Content-Length: 331 [13:03:50]Content-Type: application/json [13:03:50] [13:03:50]POST finish read [13:03:50]Found Content-Length = 331 [13:03:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:03:50]execute_script... [13:03:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:03:50]POST & json_proto [13:03:50]process_json_proto [13:03:50]json parsed OK: [13:03:50]protocol is kg_v1.0 [13:03:50]action value=get_value [13:03:50]process_action get_value [13:03:50]cmd_get_value [13:03:50]process_action get_value done [13:03:50]requested_data is exist [13:03:50]produce_requested_data [13:03:50]requested_item fm.sale.total is exist - process it [13:03:50]SAM_PROTO_GetFMData [13:03:50]wFMCommunicate request_size=4 [13:03:50]MH_SAM_APDU [13:03:50]CAPDU: 80 13 03 00 [13:03:50]Write to MH i2c: E2 08 00 F3 1E 80 13 03 00 00 00 00 00 90 [13:03:50]Write i2c OK [13:03:50]MH_I2C_Read... [13:03:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:03:50]Read from MH i2c: E2 [13:03:50]MH_I2C_Read... [13:03:50]Read from MH i2c: E2 FD 00 [13:03:50]MH_I2C_Read... [13:03:50]Read from MH i2c: E2 FD 00 F3 1E 00 C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 5C [13:03:50]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [13:03:50]wFMCommunicate OK [13:03:50]wFMCommunicate request_size=4 [13:03:50]MH_SAM_APDU [13:03:50]CAPDU: 80 17 00 00 [13:03:50]Write to MH i2c: E2 08 00 F4 1E 80 17 00 00 00 00 00 00 92 [13:03:50]Write i2c OK [13:03:50]MH_I2C_Read... [13:03:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:50]Read from MH i2c: E2 [13:03:50]MH_I2C_Read... [13:03:50]Read from MH i2c: E2 FD 00 [13:03:50]MH_I2C_Read... [13:03:50]Read from MH i2c: E2 FD 00 F4 1E 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 47 [13:03:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:03:50]wFMCommunicate OK [13:03:50]wFMCommunicate request_size=4 [13:03:50]MH_SAM_APDU [13:03:50]CAPDU: 80 17 00 00 [13:03:50]Write to MH i2c: E2 08 00 F5 1E 80 17 00 00 00 00 00 00 93 [13:03:50]Write i2c OK [13:03:50]MH_I2C_Read... [13:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:51]Read from MH i2c: E2 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 FD 00 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 FD 00 F5 1E 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A8 [13:03:51]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [13:03:51]wFMCommunicate OK [13:03:51]wFMCommunicate request_size=4 [13:03:51]MH_SAM_APDU [13:03:51]CAPDU: 80 17 00 00 [13:03:51]Write to MH i2c: E2 08 00 F6 1E 80 17 00 00 00 00 00 00 94 [13:03:51]Write i2c OK [13:03:51]MH_I2C_Read... [13:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:51]Read from MH i2c: E2 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 FD 00 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 FD 00 F6 1E 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 0C [13:03:51]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:03:51]wFMCommunicate OK [13:03:51]wFMCommunicate request_size=4 [13:03:51]MH_SAM_APDU [13:03:51]CAPDU: 80 17 00 00 [13:03:51]Write to MH i2c: E2 08 00 F7 1E 80 17 00 00 00 00 00 00 95 [13:03:51]Write i2c OK [13:03:51]MH_I2C_Read... [13:03:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:03:51]Read from MH i2c: E2 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 E1 00 [13:03:51]MH_I2C_Read... [13:03:51]Read from MH i2c: E2 E1 00 F7 1E 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 83 [13:03:51]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:52]wFMCommunicate OK [13:03:52]SAM_PROTO_GetFMData done [13:03:52]requested_item fm.sale_refund.total is exist - process it [13:03:52]requested_item fm.buy.total is exist - process it [13:03:52]requested_item shift.sale.total is exist - process it [13:03:52]SAM_PROTO_GetShiftData [13:03:52]wFMCommunicate request_size=4 [13:03:52]MH_SAM_APDU [13:03:52]CAPDU: 80 13 02 00 [13:03:52]Write to MH i2c: E2 08 00 F8 1E 80 13 02 00 00 00 00 00 94 [13:03:52]Write i2c OK [13:03:52]MH_I2C_Read... [13:03:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:03:52]Read from MH i2c: E2 [13:03:52]MH_I2C_Read... [13:03:52]Read from MH i2c: E2 FD 00 [13:03:52]MH_I2C_Read... [13:03:52]Read from MH i2c: E2 FD 00 F8 1E 00 B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 0C [13:03:52]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:03:52]wFMCommunicate OK [13:03:52]wFMCommunicate request_size=4 [13:03:52]MH_SAM_APDU [13:03:52]CAPDU: 80 17 00 00 [13:03:52]Write to MH i2c: E2 08 00 F9 1E 80 17 00 00 00 00 00 00 97 [13:03:52]Write i2c OK [13:03:52]MH_I2C_Read... [13:03:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:52]Read from MH i2c: E2 [13:03:52]MH_I2C_Read... [13:03:52]Read from MH i2c: E2 FD 00 [13:03:52]MH_I2C_Read... [13:03:52]Read from MH i2c: E2 FD 00 F9 1E 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 DB [13:03:52]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [13:03:53]wFMCommunicate OK [13:03:53]wFMCommunicate request_size=4 [13:03:53]MH_SAM_APDU [13:03:53]CAPDU: 80 17 00 00 [13:03:53]Write to MH i2c: E2 08 00 FA 1E 80 17 00 00 00 00 00 00 98 [13:03:53]Write i2c OK [13:03:53]MH_I2C_Read... [13:03:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:53]Read from MH i2c: E2 [13:03:53]MH_I2C_Read... [13:03:53]Read from MH i2c: E2 FD 00 [13:03:53]MH_I2C_Read... [13:03:53]Read from MH i2c: E2 FD 00 FA 1E 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [13:03:53]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:03:53]wFMCommunicate OK [13:03:53]wFMCommunicate request_size=4 [13:03:53]MH_SAM_APDU [13:03:53]CAPDU: 80 17 00 00 [13:03:53]Write to MH i2c: E2 08 00 FB 1E 80 17 00 00 00 00 00 00 99 [13:03:53]Write i2c OK [13:03:53]MH_I2C_Read... [13:03:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:53]Read from MH i2c: E2 [13:03:53]MH_I2C_Read... [13:03:53]Read from MH i2c: E2 FD 00 [13:03:53]MH_I2C_Read... [13:03:53]Read from MH i2c: E2 FD 00 FB 1E 00 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 90 00 08 [13:03:53]RAPDU: 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 90 00 [13:03:53]wFMCommunicate OK [13:03:53]wFMCommunicate request_size=4 [13:03:53]MH_SAM_APDU [13:03:53]CAPDU: 80 17 00 00 [13:03:53]Write to MH i2c: E2 08 00 OFD Sender: No OFD packet to send [13:03:53]FC 1E 80 17 00 00 00 00 00 00 9A [13:03:53]Write i2c OK [13:03:53]MH_I2C_Read... [13:03:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:03:54]Read from MH i2c: E2 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 D3 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 D3 00 FC 1E 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 87 [13:03:54]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:54]wFMCommunicate OK [13:03:54]SAM_PROTO_GetShiftData done [13:03:54]requested_item shift.sale.total_cash is exist - process it [13:03:54]requested_item shift.sale_refund.total is exist - process it [13:03:54]requested_item shift.sale_refund.total_cash is exist - process it [13:03:54]requested_item shift.buy.total is exist - process it [13:03:54]requested_item shift.buy.total_cash is exist - process it [13:03:54]produce_requested_data done [13:03:54]produce_requested_data return {"fm.sale.total":13455864.28,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":11380.00,"shift.sale.total_cash":10243.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [13:03:54]process_action_free get_value [13:03:54]json_value_free [13:03:54]json_value_free done [13:03:54]process_json_proto returns [13:03:54]Send response to host [13:03:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13455864.28,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":11380.00,"shift.sale.total_cash":10243.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [13:03:54]free response buf [13:03:54]execute_script done [13:03:54]execute_script returns [13:03:54]free content buf [13:03:54]Sock 9.Close socket [13:03:54]Sock 9.Thread stoped [13:03:54]accept exits with 7 [13:03:54]New connection [13:03:54]New thread 3067424100 created [13:03:54]Thread 3067567460 joined [13:03:54]Waiting for new connection... [13:03:54] Sock 7.Parse request [13:03:54]Sock 7.Check first char [13:03:54]Sock 7.First char is OK [13:03:54]request: POST /json_proto HTTP/1.0 [13:03:54]Method: POST [13:03:54]URL: /json_proto [13:03:54]Method is POST - this is cgi request [13:03:54]url: /json_proto [13:03:54]query_string will be loaded in cgi processing [13:03:54]execute_cgi json_proto POST (null) [13:03:54]execute_cgi path=json_proto method=POST [13:03:54]POST find Content-Length [13:03:54]Host: 172.17.38.134:8080 [13:03:54]Content-Length: 269 [13:03:54]Content-Type: application/json [13:03:54] [13:03:54]POST finish read [13:03:54]Found Content-Length = 269 [13:03:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:54]execute_script... [13:03:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:54]POST & json_proto [13:03:54]process_json_proto [13:03:54]json parsed OK: [13:03:54]protocol is kg_v1.0 [13:03:54]action value=x_report [13:03:54]process_action x_report [13:03:54]cmd_x_report [13:03:54]MH_GetDate [13:03:54]Write to MH i2c: F0 00 00 FD 1E 0A [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 09 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 09 00 FD 1E 00 3F D7 72 66 13 9C 7C 64 90 [13:03:54]GetLastDocTimeStamp 1718800840 [13:03:54]current date 1718802239 [13:03:54]FM_GetShiftState [13:03:54]SAM_PROTO_GetShiftState [13:03:54]wFMCommunicate request_size=4 [13:03:54]MH_SAM_APDU [13:03:54]CAPDU: 80 13 01 00 [13:03:54]Write to MH i2c: E2 08 00 FE 1E 80 13 01 00 00 00 00 00 99 [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:54]Read from MH i2c: E2 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 0E 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 0E 00 FE 1E 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6F [13:03:54]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:03:54]wFMCommunicate OK [13:03:54]SAM_PROTO_GetShiftState done [13:03:54]FM_GetShiftState done [13:03:54]KKMCreateXReportDocument [13:03:54]Load OK [13:03:54]Malloc new data [13:03:54]MH_GetDate [13:03:54]Write to MH i2c: F0 00 00 FF 1E 0C [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 09 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: F0 09 00 FF 1E 00 3F D7 72 66 13 9C 7C 64 92 [13:03:54]Malloc new data [13:03:54]Malloc new data [13:03:54]wFMCommunicate request_size=4 [13:03:54]MH_SAM_APDU [13:03:54]CAPDU: 80 11 00 00 [13:03:54]Write to MH i2c: E2 08 00 00 1F 80 11 00 00 00 00 00 00 99 [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:54]Read from MH i2c: E2 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 17 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 17 00 00 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 EE [13:03:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:03:54]wFMCommunicate OK [13:03:54]SAM_PROTO_GetFieldsCounters [13:03:54]wFMCommunicate request_size=4 [13:03:54]MH_SAM_APDU [13:03:54]CAPDU: 80 13 00 00 [13:03:54]Write to MH i2c: E2 08 00 01 1F 80 13 00 00 00 00 00 00 9C [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:54]Read from MH i2c: E2 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 62 00 [13:03:54]MH_I2C_Read... [13:03:54]Read from MH i2c: E2 62 00 01 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 01 [13:03:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 [13:03:54]wFMCommunicate OK [13:03:54]SAM_PROTO_GetFieldsCounters done [13:03:54]Malloc new data [13:03:54]Malloc new data [13:03:54]Malloc new data [13:03:54]KKMCreateXReportDocument OK [13:03:54]KKMSetXReportData OK [13:03:54]KKMPrepareXReportFMData [13:03:54]SAM_PROTO_GetShiftData [13:03:54]wFMCommunicate request_size=4 [13:03:54]MH_SAM_APDU [13:03:54]CAPDU: 80 13 02 00 [13:03:54]Write to MH i2c: E2 08 00 02 1F 80 13 02 00 00 00 00 00 9F [13:03:54]Write i2c OK [13:03:54]MH_I2C_Read... [13:03:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:03:55]Read from MH i2c: E2 [13:03:55]MH_I2C_Read... [13:03:55]Read from MH i2c: E2 FD 00 [13:03:55]MH_I2C_Read... [13:03:55]Read from MH i2c: E2 FD 00 02 1F 00 B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 17 [13:03:55]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 50 5D 11 70 04 03 00 2C A1 0F 72 04 03 00 24 BC 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 2E D8 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 53 27 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [13:03:55]wFMCommunicate OK [13:03:55]wFMCommunicate request_size=4 [13:03:55]MH_SAM_APDU [13:03:55]CAPDU: 80 17 00 00 [13:03:55]Write to MH i2c: E2 08 00 03 1F 80 17 00 00 00 00 00 00 A2 [13:03:55]Write i2c OK [13:03:55]MH_I2C_Read... [13:03:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:55]Read from MH i2c: E2 [13:03:55]MH_I2C_Read... [13:03:55]Read from MH i2c: E2 FD 00 [13:03:55]MH_I2C_Read... [13:03:55]Read from MH i2c: E2 FD 00 03 1F 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 E6 [13:03:55]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [13:03:55]wFMCommunicate OK [13:03:55]wFMCommunicate request_size=4 [13:03:55]MH_SAM_APDU [13:03:55]CAPDU: 80 17 00 00 [13:03:55]Write to MH i2c: E2 08 00 04 1F 80 17 00 00 00 00 00 00 A3 [13:03:55]Write i2c OK [13:03:55]MH_I2C_Read... [13:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:56]Read from MH i2c: E2 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 FD 00 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 FD 00 04 1F 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 63 [13:03:56]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:03:56]wFMCommunicate OK [13:03:56]wFMCommunicate request_size=4 [13:03:56]MH_SAM_APDU [13:03:56]CAPDU: 80 17 00 00 [13:03:56]Write to MH i2c: E2 08 00 05 1F 80 17 00 00 00 00 00 00 A4 [13:03:56]Write i2c OK [13:03:56]MH_I2C_Read... [13:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:56]Read from MH i2c: E2 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 FD 00 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 FD 00 05 1F 00 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 90 00 13 [13:03:56]RAPDU: 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 90 00 [13:03:56]wFMCommunicate OK [13:03:56]wFMCommunicate request_size=4 [13:03:56]MH_SAM_APDU [13:03:56]CAPDU: 80 17 00 00 [13:03:56]Write to MH i2c: E2 08 00 06 1F 80 17 00 00 00 00 00 00 A5 [13:03:56]Write i2c OK [13:03:56]MH_I2C_Read... [13:03:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [13:03:56]Read from MH i2c: E2 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 D3 00 [13:03:56]MH_I2C_Read... [13:03:56]Read from MH i2c: E2 D3 00 06 1F 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:03:57]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:57]wFMCommunicate OK [13:03:57]SAM_PROTO_GetShiftData done [13:03:57]1194 (1202) - счетчики итогов смены [13:03:57] 1134 (4) - 30 - количество чеков со всеми признаками расчетов [13:03:57] 1129 (155) - счетчики операций «приход» [13:03:57] 1135 (4) - 29 - количество чеков по признаку расчетов [13:03:57] 1201 (3) - 11380.00 - общая итоговая сумма в чеках [13:03:57] 1136 (3) - 10243.00 - итоговая сумма в чеках наличными [13:03:57] 1138 (3) - 1137.00 - итоговая сумма в чеках безналичными [13:03:57] 1024 (122) - суммы налогов [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 0% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1006 (12) - суммы НДС [13:03:57] 1010 (1) - 12% - код ставки НДС [13:03:57] 1011 (3) - 1208.78 - сумма НДС по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (11) - суммы НСП [13:03:57] 1014 (1) - 1% - код ставки НСП [13:03:57] 1015 (2) - 100.67 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 2% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 3% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 5% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1130 (149) - счетчики операций «возврат прихода» [13:03:57] 1135 (4) - 1 - количество чеков по признаку расчетов [13:03:57] 1201 (2) - 343.00 - общая итоговая сумма в чеках [13:03:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:03:57] 1138 (2) - 343.00 - итоговая сумма в чеках безналичными [13:03:57] 1024 (121) - суммы налогов [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 0% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1006 (11) - суммы НДС [13:03:57] 1010 (1) - 12% - код ставки НДС [13:03:57] 1011 (2) - 36.43 - сумма НДС по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (11) - суммы НСП [13:03:57] 1014 (1) - 1% - код ставки НСП [13:03:57] 1015 (2) - 3.03 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 2% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 3% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 5% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1131 (141) - счетчики операций «расход» [13:03:57] 1135 (4) - 0 - количество чеков по признаку расчетов [13:03:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:03:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:03:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:03:57] 1024 (117) - суммы налогов [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 0% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 12% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 2% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 3% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 5% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1132 (141) - счетчики операций «возврат расхода» [13:03:57] 1135 (4) - 0 - количество чеков по признаку расчетов [13:03:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:03:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:03:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:03:57] 1024 (117) - суммы налогов [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 0% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1006 (9) - суммы НДС [13:03:57] 1010 (1) - 12% - код ставки НДС [13:03:57] 1011 (0) - 0.00 - сумма НДС по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 2% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 3% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 5% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 0,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1007 (9) - суммы НСП [13:03:57] 1014 (1) - 1,50% - код ставки НСП [13:03:57] 1015 (0) - 0.00 - сумма НСП по ставке [13:03:57] 1133 (588) - - счетчики коррекции - не используются [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1194 (04AA) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1134 (046E) [13:03:57]Malloc new data [13:03:57]Processing tag 1129 (0469) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1135 (046F) [13:03:57]Malloc new data [13:03:57]Processing tag 1201 (04B1) [13:03:57]Malloc new data [13:03:57]Processing tag 1136 (0470) [13:03:57]Malloc new data [13:03:57]Processing tag 1138 (0472) [13:03:57]Malloc new data [13:03:57]Processing tag 1024 (0400) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]SetTLVBufToDocument err=0 [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1130 (046A) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1135 (046F) [13:03:57]Malloc new data [13:03:57]Processing tag 1201 (04B1) [13:03:57]Malloc new data [13:03:57]Processing tag 1136 (0470) [13:03:57]Malloc new data [13:03:57]Processing tag 1138 (0472) [13:03:57]Malloc new data [13:03:57]Processing tag 1024 (0400) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]SetTLVBufToDocument err=0 [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1131 (046B) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1135 (046F) [13:03:57]Malloc new data [13:03:57]Processing tag 1201 (04B1) [13:03:57]Malloc new data [13:03:57]Processing tag 1136 (0470) [13:03:57]Malloc new data [13:03:57]Processing tag 1138 (0472) [13:03:57]Malloc new data [13:03:57]Processing tag 1024 (0400) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1006 (03EE) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1010 (03F2) [13:03:57]Malloc new data [13:03:57]Processing tag 1011 (03F3) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:57]SetTLVBufToDocument [13:03:57]Processing tag 1014 (03F6) [13:03:57]Malloc new data [13:03:57]Processing tag 1015 (03F7) [13:03:57]Malloc new data [13:03:57]SetTLVBufToDocument err=0 [13:03:57]Processing tag 1007 (03EF) [13:03:57]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]SetTLVBufToDocument err=0 [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1132 (046C) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1135 (046F) [13:03:58]Malloc new data [13:03:58]Processing tag 1201 (04B1) [13:03:58]Malloc new data [13:03:58]Processing tag 1136 (0470) [13:03:58]Malloc new data [13:03:58]Processing tag 1138 (0472) [13:03:58]Malloc new data [13:03:58]Processing tag 1024 (0400) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1006 (03EE) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1010 (03F2) [13:03:58]Malloc new data [13:03:58]Processing tag 1011 (03F3) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1006 (03EE) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1010 (03F2) [13:03:58]Malloc new data [13:03:58]Processing tag 1011 (03F3) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1007 (03EF) [13:03:58]Load OK [13:03:58]SetTLVBufToDocument [13:03:58]Processing tag 1014 (03F6) [13:03:58]Malloc new data [13:03:58]Processing tag 1015 (03F7) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]SetTLVBufToDocument err=0 [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Processing tag 1133 (046D) [13:03:58]Malloc new data [13:03:58]SetTLVBufToDocument err=0 [13:03:58]SetTLVBufToDocument err=0 [13:03:58]Malloc new data [13:03:58]SAM_PROTO_GetFMData [13:03:58]wFMCommunicate request_size=4 [13:03:58]MH_SAM_APDU [13:03:58]CAPDU: 80 13 03 00 [13:03:58]Write to MH i2c: E2 08 00 07 1F 80 13 03 00 00 00 00 00 A5 [13:03:58]Write i2c OK [13:03:58]MH_I2C_Read... [13:03:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:03:58]Read from MH i2c: E2 [13:03:58]MH_I2C_Read... [13:03:58]Read from MH i2c: E2 FD 00 [13:03:58]MH_I2C_Read... [13:03:58]Read from MH i2c: E2 FD 00 07 1F 00 C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 71 [13:03:58]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [13:03:59]wFMCommunicate OK [13:03:59]wFMCommunicate request_size=4 [13:03:59]MH_SAM_APDU [13:03:59]CAPDU: 80 17 00 00 [13:03:59]Write to MH i2c: E2 08 00 08 1F 80 17 00 00 00 00 00 00 A7 [13:03:59]OFD Sender: No OFD packet to send [13:03:59]Write i2c OK [13:03:59]MH_I2C_Read... [13:03:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:59]Read from MH i2c: E2 [13:03:59]MH_I2C_Read... [13:03:59]Read from MH i2c: E2 FD 00 [13:03:59]MH_I2C_Read... [13:03:59]Read from MH i2c: E2 FD 00 08 1F 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5C [13:03:59]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:03:59]wFMCommunicate OK [13:03:59]wFMCommunicate request_size=4 [13:03:59]MH_SAM_APDU [13:03:59]CAPDU: 80 17 00 00 [13:03:59]Write to MH i2c: E2 08 00 09 1F 80 17 00 00 00 00 00 00 A8 [13:03:59]Write i2c OK [13:03:59]MH_I2C_Read... [13:03:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:59]Read from MH i2c: E2 [13:03:59]MH_I2C_Read... [13:03:59]Read from MH i2c: E2 FD 00 [13:03:59]MH_I2C_Read... [13:03:59]Read from MH i2c: E2 FD 00 09 1F 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BD [13:03: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 [13:04:00]wFMCommunicate OK [13:04:00]wFMCommunicate request_size=4 [13:04:00]MH_SAM_APDU [13:04:00]CAPDU: 80 17 00 00 [13:04:00]Write to MH i2c: E2 08 00 0A 1F 80 17 00 00 00 00 00 00 A9 [13:04:00]Write i2c OK [13:04:00]MH_I2C_Read... [13:04:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:04:00]Read from MH i2c: E2 [13:04:00]MH_I2C_Read... [13:04:00]Read from MH i2c: E2 FD 00 [13:04:00]MH_I2C_Read... [13:04:00]Read from MH i2c: E2 FD 00 0A 1F 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 21 [13:04:00]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:04:00]wFMCommunicate OK [13:04:00]wFMCommunicate request_size=4 [13:04:00]MH_SAM_APDU [13:04:00]CAPDU: 80 17 00 00 [13:04:00]Write to MH i2c: E2 08 00 0B 1F 80 17 00 00 00 00 00 00 AA [13:04:00]Write i2c OK [13:04:00]MH_I2C_Read... [13:04:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:04:00]Read from MH i2c: E2 [13:04:00]MH_I2C_Read... [13:04:00]Read from MH i2c: E2 E1 00 [13:04:00]MH_I2C_Read... [13:04:00]Read from MH i2c: E2 E1 00 0B 1F 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 98 [13:04: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 [13:04:01]wFMCommunicate OK [13:04:01]SAM_PROTO_GetFMData done [13:04:01]FM_GetFMData:85 04 C0 04 6E 04 04 00 8E 83 00 00 69 04 A0 00 6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 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 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:04:01]oper:6F 04 04 00 9A 82 00 00 B1 04 04 00 FC 04 34 50 70 04 04 00 04 60 D4 44 72 04 04 00 F8 A4 5F 0B 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 B2 7C 84 08 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 D9 A5 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:04:01]total:FC 04 34 50 [13:04:01]Malloc new data [13:04:01]oper:6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 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 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:04:01]total:FC 69 DC 03 [13:04:01]Malloc new data [13:04:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:04:01]total: [13:04:01]Malloc new data [13:04:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [13:04:02]total: [13:04:02]Malloc new data [13:04:02]KKMPrepareXReportFMData err=0 [13:04:02]Х отчет ИНН: 02508201610067 Кассир: Байбугуева Г. 19.06.2024 13:03 Смена: 266 РНМ: 0000000000092786 ЗНМ: 0300000172 СНО: Общий режим Всего чеков: 30 ИТОГИ ПРИХОД Чеков: 29 Общий итог: 11380.00 Итого наличными: 10243.00 Итого безнал.: 1137.00 НДС 0% : 0.00 НДС 12% : 1208.78 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 100.67 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 343.00 Итого наличными: 0.00 Итого безнал.: 343.00 НДС 0% : 0.00 НДС 12% : 36.43 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.03 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 10243.00 НС Приход: 13455864.28 НС Возвр.Прихода: 647767.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875095 [13:04:02]StoreToDocumentArchive [13:04:02]MH_GetDate [13:04:02]Write to MH i2c: F0 00 00 0C 1F 1A [13:04:02]Write i2c OK [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: F0 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: F0 09 00 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: F0 09 00 0C 1F 00 47 D7 72 66 13 9C 7C 64 A8 [13:04:02]shift 266 fd 1718802247 [13:04:02]Create dir for shift 0266 [13:04:02]save to /storage/0266/doc_1718802247 [13:04:02]save last doc name /storage/0266/doc_1718802247 to /storage/kkm_last_doc_name [13:04:02]save OK [13:04:02]Clear old archive folders... [13:04:02]NVStorageSaveData kkm_last_timestamp [13:04:02]File name is /storage/kkm_last_timestamp [13:04:02]Write 4 bytes [13:04:02]NVStorageSaveData done [13:04:02]ExternCall_PrintAddStr [13:04:02]wPrintStart [13:04:02]Write to MH i2c: 01 00 00 0D 1F 2C [13:04:02]Write i2c OK [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 07 00 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 07 00 0D 1F 00 00 00 00 00 FF 0F 41 [13:04:02]RasterBufferAndPrint [13:04:02]line Х отчет [13:04:02]line ИНН: 02508201610067 [13:04:02]line Кассир: Байбугуева Г. [13:04:02]line 19.06.2024 13:03 [13:04:02]line Смена: 266 [13:04:02]line РНМ: 0000000000092786 [13:04:02]line ЗНМ: 0300000172 [13:04:02]line СНО: Общий режим [13:04:02]line Всего чеков: 30 [13:04:02]line ИТОГИ ПРИХОД [13:04:02]line Чеков: 29 [13:04:02]line Общий итог: 11380.00 [13:04:02]line Итого наличными: 10243.00 [13:04:02]line Итого безнал.: 1137.00 [13:04:02]line НДС 0% : 0.00 [13:04:02]line НДС 12% : 1208.78 [13:04:02]line НСП 0% : 0.00 [13:04:02]line НСП 1,50% : 0.00 [13:04:02]line НСП 0,50% : 0.00 [13:04:02]line НСП 5% : 0.00 [13:04:02]line НСП 3% : 0.00 [13:04:02]line НСП 2% : 0.00 [13:04:02]line НСП 1% : 100.67 [13:04:02]line ИТОГИ ВОЗВРАТ ПРИХОДА [13:04:02]line Чеков: 1 [13:04:02]line Общий итог: 343.00 [13:04:02]line Итого наличными: 0.00 [13:04:02]line Итого безнал.: 343.00 [13:04:02]line НДС 0% : 0.00 [13:04:02]line НДС 12% : 36.43 [13:04:02]line НСП 0% : 0.00 [13:04:02]line НСП 1,50% : 0.00 [13:04:02]line НСП 0,50% : 0.00 [13:04:02]line НСП 5% : 0.00 [13:04:02]line НСП 3% : 0.00 [13:04:02]line НСП 2% : 0.00 [13:04:02]line НСП 1% : 3.03 [13:04:02]line ИТОГИ РАСХОД [13:04:02]line Чеков: 0 [13:04:02]line Общий итог: 0.00 [13:04:02]line Итого наличными: 0.00 [13:04:02]line Итого безнал.: 0.00 [13:04:02]line НДС 0% : 0.00 [13:04:02]line НДС 12% : 0.00 [13:04:02]line НСП 0% : 0.00 [13:04:02]line НСП 1,50% : 0.00 [13:04:02]line НСП 0,50% : 0.00 [13:04:02]line НСП 5% : 0.00 [13:04:02]line НСП 3% : 0.00 [13:04:02]line НСП 2% : 0.00 [13:04:02]line НСП 1% : 0.00 [13:04:02]line ИТОГИ ВОЗВРАТ РАСХОДА [13:04:02]line Чеков: 0 [13:04:02]line Общий итог: 0.00 [13:04:02]line Итого наличными: 0.00 [13:04:02]line Итого безнал.: 0.00 [13:04:02]line НДС 0% : 0.00 [13:04:02]line НДС 12% : 0.00 [13:04:02]line НСП 0% : 0.00 [13:04:02]line НСП 1,50% : 0.00 [13:04:02]line НСП 0,50% : 0.00 [13:04:02]line НСП 5% : 0.00 [13:04:02]line НСП 3% : 0.00 [13:04:02]line НСП 2% : 0.00 [13:04:02]line НСП 1% : 0.00 [13:04:02]line Сумма внесений: 0.00 [13:04:02]line Сумма выплат: 0.00 [13:04:02]line Нал. в кассе: 10243.00 [13:04:02]line НС Приход: 13455864.28 [13:04:02]line НС Возвр.Прихода: 647767.00 [13:04:02]line НС Расход: 0.00 [13:04:02]line НС Возвр.Расхода: 0.00 [13:04:02]line ФМ: 0000000000875095 [13:04:02]written 0, free lines is 4095 [13:04:02]Write to MH i2c: 01 00 00 58 1F 77 [13:04:02]Write i2c OK [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 07 00 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: 01 07 00 58 1F 00 00 00 00 00 A1 0A 29 [13:04:02]RasterBufferAndPrint [13:04:02]line [13:04:02]line [13:04:02]line [13:04:02]line [13:04:02]line [13:04:02]written 0, free lines is 2752 [13:04:02]MH_Cut [13:04:02]Write to MH i2c: D1 01 00 5F 1F 01 50 [13:04:02]Write i2c OK [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: D1 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: D1 01 00 [13:04:02]MH_I2C_Read... [13:04:02]Read from MH i2c: D1 01 00 5F 1F 00 4F [13:04:02]Write to MH i2c: 01 00 00 60 1F 7F [13:04:02]Write i2c OK [13:04:02]MH_I2C_Read... [13:04:03]*** Cut start [13:04:03]*** Partial cut [13:04:04]*** CUTSNS_PIN = 1 [13:04:04]*** CUTSNS_PIN = 0 [13:04:04]OFD Sender: No OFD packet to send [13:04:04]*** Brake cut motor [13:04:04]Read from MH i2c: 01 [13:04:04]MH_I2C_Read... [13:04:04]*** Stop cut motor [13:04:04]*** Cut end [13:04:04]Read from MH i2c: 01 07 00 [13:04:04]MH_I2C_Read... [13:04:04]Read from MH i2c: 01 07 00 60 1F 00 00 00 00 00 FF 0F 94 [13:04:04]process_action x_report done [13:04:04]requested_data is exist [13:04:04]produce_requested_data [13:04:04]requested_item fd.num is exist - process it [13:04:04]SAM_PROTO_GetFieldsCounters [13:04:04]wFMCommunicate request_size=4 [13:04:04]MH_SAM_APDU [13:04:04]CAPDU: 80 13 00 00 [13:04:04]Write to MH i2c: E2 08 00 61 1F 80 13 00 00 00 00 00 00 FC [13:04:04]Write i2c OK [13:04:04]MH_I2C_Read... [13:04:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:04:04]Read from MH i2c: E2 [13:04:04]MH_I2C_Read... [13:04:04]Read from MH i2c: E2 62 00 [13:04:04]MH_I2C_Read... [13:04:04]Read from MH i2c: E2 62 00 61 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [13:04:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 16 86 00 00 0E 04 04 00 44 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 [13:04:04]wFMCommunicate OK [13:04:04]SAM_PROTO_GetFieldsCounters done [13:04:04]requested_item shift.num is exist - process it [13:04:04]requested_item shift.opened is exist - process it [13:04:04]req_shift_opened [13:04:04]FM_GetShiftState [13:04:04]SAM_PROTO_GetShiftState [13:04:04]wFMCommunicate request_size=4 [13:04:04]MH_SAM_APDU [13:04:04]CAPDU: 80 13 01 00 [13:04:04]Write to MH i2c: E2 08 00 62 1F 80 13 01 00 00 00 00 00 FE [13:04:04]Write i2c OK [13:04:04]MH_I2C_Read... [13:04:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:04:04]Read from MH i2c: E2 [13:04:04]MH_I2C_Read... [13:04:04]Read from MH i2c: E2 0E 00 [13:04:04]MH_I2C_Read... [13:04:04]Read from MH i2c: E2 0E 00 62 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D4 [13:04:04]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:04:04]wFMCommunicate OK [13:04:04]SAM_PROTO_GetShiftState done [13:04:04]FM_GetShiftState done [13:04:04]req_shift_opened done [13:04:04]requested_item shift.open_date is exist - process it [13:04:04]req_shift_open_date [13:04:05]req_shift_open_date done [13:04:05]produce_requested_data done [13:04:05]produce_requested_data return {"fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [13:04:05]process_action_free x_report [13:04:05]json_value_free [13:04:05]json_value_free done [13:04:05]process_json_proto returns [13:04:05]Send response to host [13:04:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34326,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [13:04:05]free response buf [13:04:05]execute_script done [13:04:05]execute_script returns [13:04:05]free content buf [13:04:05]Sock 7.Close socket [13:04:05]Sock 7.Thread stoped [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:34]OFD Sender: No OFD packet to send [13:06:39]OFD Sender: No OFD packet to send [13:06:44]OFD Sender: No OFD packet to send [13:06:49]OFD Sender: No OFD packet to send [13:06:54]OFD Sender: No OFD packet to send [13:06:59]OFD Sender: No OFD packet to send [13:07:04]OFD Sender: No OFD packet to send [13:07:09]OFD Sender: No OFD packet to send [13:07:14]OFD Sender: No OFD packet to send [13:07:19]OFD Sender: No OFD packet to send [13:07:24]OFD Sender: No OFD packet to send [13:07:29]OFD Sender: No OFD packet to send [13:07:34]OFD Sender: No OFD packet to send [13:07:39]OFD Sender: No OFD packet to send [13:07:44]OFD Sender: No OFD packet to send [13:07:49]OFD Sender: No OFD packet to send [13:07:54]OFD Sender: No OFD packet to send [13:07:59]OFD Sender: No OFD packet to send [13:08:04]OFD Sender: No OFD packet to send [13:08:09]OFD Sender: No OFD packet to send [13:08:14]OFD Sender: No OFD packet to send [13:08:19]OFD Sender: No OFD packet to send [13:08:24]OFD Sender: No OFD packet to send [13:08:29]OFD Sender: No OFD packet to send [13:08:34]OFD Sender: No OFD packet to send [13:08:39]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:59]OFD Sender: No OFD packet to send [13:09:04]OFD Sender: No OFD packet to send [13:09:09]OFD Sender: No OFD packet to send [13:09:14]OFD Sender: No OFD packet to send [13:09:19]OFD Sender: No OFD packet to send [13:09:24]OFD Sender: No OFD packet to send [13:09:29]OFD Sender: No OFD packet to send [13:09:34]OFD Sender: No OFD packet to send [13:09:39]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:54]OFD Sender: No OFD packet to send [13:10:59]OFD Sender: No OFD packet to send [13:11:04]OFD Sender: No OFD packet to send [13:11:09]OFD Sender: No OFD packet to send [13:11:14]OFD Sender: No OFD packet to send [13:11:19]OFD Sender: No OFD packet to send [13:11:24]OFD Sender: No OFD packet to send [13:11:29]OFD Sender: No OFD packet to send [13:11:34]OFD Sender: No OFD packet to send [13:11:39]OFD Sender: No OFD packet to send [13:11:44]OFD Sender: No OFD packet to send [13:11:49]OFD Sender: No OFD packet to send [13:11:54]OFD Sender: No OFD packet to send [13:11:59]OFD Sender: No OFD packet to send [13:12:04]OFD Sender: No OFD packet to send [13:12:09]OFD Sender: No OFD packet to send [13:12:14]OFD Sender: No OFD packet to send [13:12:19]OFD Sender: No OFD packet to send [13:12:24]OFD Sender: No OFD packet to send [13:12:29]OFD Sender: No OFD packet to send [13:12:34]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:35]OFD Sender: No OFD packet to send [13:24:40]OFD Sender: No OFD packet to send [13:24:45]OFD Sender: No OFD packet to send [13:24:50]OFD Sender: No OFD packet to send [13:24:55]OFD Sender: No OFD packet to send [13:25:00]OFD Sender: No OFD packet to send [13:25:05]OFD Sender: No OFD packet to send [13:25:10]OFD Sender: No OFD packet to send [13:25:15]OFD Sender: No OFD packet to send [13:25:20]OFD Sender: No OFD packet to send [13:25:25]OFD Sender: No OFD packet to send [13:25:30]OFD Sender: No OFD packet to send [13:25:35]OFD Sender: No OFD packet to send [13:25:40]OFD Sender: No OFD packet to send [13:25:45]OFD Sender: No OFD packet to send [13:25:50]OFD Sender: No OFD packet to send [13:25:55]OFD Sender: No OFD packet to send [13:26:00]OFD Sender: No OFD packet to send [13:26:05]OFD Sender: No OFD packet to send [13:26:10]OFD Sender: No OFD packet to send [13:26:15]OFD Sender: No OFD packet to send [13:26:20]OFD Sender: No OFD packet to send [13:26:25]OFD Sender: No OFD packet to send [13:26:30]OFD Sender: No OFD packet to send [13:26:35]OFD Sender: No OFD packet to send [13:26:40]OFD Sender: No OFD packet to send [13:26:45]OFD Sender: No OFD packet to send [13:26:50]OFD Sender: No OFD packet to send [13:26:55]OFD Sender: No OFD packet to send [13:27:00]OFD Sender: No OFD packet to send [13:27:05]OFD Sender: No OFD packet to send [13:27:10]OFD Sender: No OFD packet to send [13:27:15]OFD Sender: No OFD packet to send [13:27:20]OFD Sender: No OFD packet to send [13:27:25]OFD Sender: No OFD packet to send [13:27:30]OFD Sender: No OFD packet to send [13:27:35]OFD Sender: No OFD packet to send [13:27:40]OFD Sender: No OFD packet to send [13:27:45]OFD Sender: No OFD packet to send [13:27:50]OFD Sender: No OFD packet to send [13:27:55]OFD Sender: No OFD packet to send [13:28:00]OFD Sender: No OFD packet to send [13:28:05]OFD Sender: No OFD packet to send [13:28:10]OFD Sender: No OFD packet to send [13:28:15]OFD Sender: No OFD packet to send [13:28:20]OFD Sender: No OFD packet to send [13:28:25]OFD Sender: No OFD packet to send [13:28:30]OFD Sender: No OFD packet to send [13:28:35]OFD Sender: No OFD packet to send [13:28:40]OFD Sender: No OFD packet to send [13:28:45]OFD Sender: No OFD packet to send [13:28:50]OFD Sender: No OFD packet to send [13:28:55]OFD Sender: No OFD packet to send [13:29:00]OFD Sender: No OFD packet to send [13:29:05]OFD Sender: No OFD packet to send [13:29:10]OFD Sender: No OFD packet to send [13:29:15]OFD Sender: No OFD packet to send [13:29:20]OFD Sender: No OFD packet to send [13:29:25]OFD Sender: No OFD packet to send [13:29:30]OFD Sender: No OFD packet to send [13:29:35]OFD Sender: No OFD packet to send [13:29:40]OFD Sender: No OFD packet to send [13:29:45]OFD Sender: No OFD packet to send [13:29:50]OFD Sender: No OFD packet to send [13:29:55]OFD Sender: No OFD packet to send [13:30:00]OFD Sender: No OFD packet to send [13:30:05]OFD Sender: No OFD packet to send [13:30:10]OFD Sender: No OFD packet to send [13:30:15]OFD Sender: No OFD packet to send [13:30:20]OFD Sender: No OFD packet to send [13:30:25]OFD Sender: No OFD packet to send [13:30:30]OFD Sender: No OFD packet to send [13:30:35]OFD Sender: No OFD packet to send [13:30:40]OFD Sender: No OFD packet to send [13:30:45]OFD Sender: No OFD packet to send [13:30:50]OFD Sender: No OFD packet to send [13:30:55]OFD Sender: No OFD packet to send [13:31:00]OFD Sender: No OFD packet to send [13:31:05]OFD Sender: No OFD packet to send [13:31:10]OFD Sender: No OFD packet to send [13:31:15]OFD Sender: No OFD packet to send [13:31:20]OFD Sender: No OFD packet to send [13:31:25]OFD Sender: No OFD packet to send [13:31:30]OFD Sender: No OFD packet to send [13:31:35]OFD Sender: No OFD packet to send [13:31:40]OFD Sender: No OFD packet to send [13:31:45]OFD Sender: No OFD packet to send [13:31:50]OFD Sender: No OFD packet to send [13:31:55]OFD Sender: No OFD packet to send [13:32:00]OFD Sender: No OFD packet to send [13:32:05]OFD Sender: No OFD packet to send [13:32:10]OFD Sender: No OFD packet to send [13:32:15]OFD Sender: No OFD packet to send [13:32:20]OFD Sender: No OFD packet to send [13:32:25]OFD Sender: No OFD packet to send [13:32:30]OFD Sender: No OFD packet to send [13:32:35]OFD Sender: No OFD packet to send [13:32:40]OFD Sender: No OFD packet to send [13:32:45]OFD Sender: No OFD packet to send [13:32:50]OFD Sender: No OFD packet to send [13:32:55]OFD Sender: No OFD packet to send [13:33:00]OFD Sender: No OFD packet to send [13:33:05]OFD Sender: No OFD packet to send [13:33:10]OFD Sender: No OFD packet to send [13:33:15]OFD Sender: No OFD packet to send [13:33:20]OFD Sender: No OFD packet to send [13:33:25]OFD Sender: No OFD packet to send [13:33:30]OFD Sender: No OFD packet to send [13:33:35]OFD Sender: No OFD packet to send [13:33:40]OFD Sender: No OFD packet to send [13:33:45]OFD Sender: No OFD packet to send [13:33:50]OFD Sender: No OFD packet to send [13:33:55]OFD Sender: No OFD packet to send [13:33:57]accept exits with 9 [13:33:57]New connection [13:33:57]New thread 3067567460 created [13:33:57]Thread 3067424100 joined [13:33:57]Waiting for new connection... [13:33:57] Sock 9.Parse request [13:33:57]Sock 9.Check first char [13:33:57]Sock 9.First char is OK [13:33:57]request: POST /json_proto HTTP/1.0 [13:33:57]Method: POST [13:33:57]URL: /json_proto [13:33:57]Method is POST - this is cgi request [13:33:57]url: /json_proto [13:33:57]query_string will be loaded in cgi processing [13:33:57]execute_cgi json_proto POST (null) [13:33:57]execute_cgi path=json_proto method=POST [13:33:57]POST find Content-Length [13:33:57]Host: 172.17.38.134:8080 [13:33:57]Content-Length: 675 [13:33:57]Content-Type: application/json [13:33:57] [13:33:57]POST finish read [13:33:57]Found Content-Length = 675 [13:33:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184105", "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 28.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:33:57]execute_script... [13:33:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184105", "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 28.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:33:57]POST & json_proto [13:33:57]process_json_proto [13:33:57]json parsed OK: [13:33:57]protocol is kg_v1.0 [13:33:57]action value=close_receipt [13:33:57]process_action close_receipt [13:33:57]cmd_close_receipt [13:33:57]MH_GetDate [13:33:57]Write to MH i2c: F0 00 00 63 1F 71 [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: F0 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: F0 09 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: F0 09 00 63 1F 00 4B DE 72 66 13 9C 7C 64 0A [13:33:57]GetLastDocTimeStamp 1718802239 [13:33:57]current date 1718804043 [13:33:57]FM_GetShiftState [13:33:57]SAM_PROTO_GetShiftState [13:33:57]wFMCommunicate request_size=4 [13:33:57]MH_SAM_APDU [13:33:57]CAPDU: 80 13 01 00 [13:33:57]Write to MH i2c: E2 08 00 64 1F 80 13 01 00 00 00 00 00 00 [13:33:57]Write i2c OK [13:33:57]MH_I2C_Read... [13:33:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:33:57]Read from MH i2c: E2 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 0E 00 [13:33:57]MH_I2C_Read... [13:33:57]Read from MH i2c: E2 0E 00 64 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D6 [13:33:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:33:57]wFMCommunicate OK [13:33:57]SAM_PROTO_GetShiftState done [13:33:57]FM_GetShiftState done [13:33:57]opened in 1718756813 [13:33:57]opened+sec_in_day 1718843213 [13:33:57]quantity*price = 2800 [13:33:57]sum+1 = 2801 [13:33:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 28.00 НСП 1% : 0.25 НДС 12% : 2.97 Наличными: 28.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 31 19.06.2024 13:34 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34327 ФПД: 234658427796006 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T133403&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34327&fm=234658427796006&tin=02508201610067®Number=0000000000092786&sum=2800 0 [13:33:58]StoreToDocumentArchive [13:33:58]shift 324 fd 34327 [13:33:58]save to /storage/0324/doc_00034327 [13:33:58]save last doc name /storage/0324/doc_00034327 to /storage/kkm_last_doc_name [13:33:58]save OK [13:33:58]Clear old archive folders... [13:33:58]Remove dir /storage/0266 [13:33:58]opendir ok [13:33:58]file . [13:33:58]file .. [13:33:58]file doc_1718802247 [13:33:58]remove file /storage/0266/doc_1718802247 [13:33:58]remove dir /storage/0266 [13:33:58]ProcessDocumentItem done err = 0, tmpTLVsize=287 [13:33:58]tlvbuf is 01906110 [13:33:58]SAM_PROTO_ClearQueue [13:33:58]wFMCommunicate request_size=4 [13:33:58]MH_SAM_APDU [13:33:58]CAPDU: 80 09 00 00 [13:33:58]Write to MH i2c: E2 08 00 71 1F 80 09 00 00 00 00 00 00 02 [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:33:58]Read from MH i2c: E2 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 03 00 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 03 00 71 1F 00 90 00 04 [13:33:58]RAPDU: 90 00 [13:33:58]wFMCommunicate OK [13:33:58]SAM_PROTO_ClearQueue done [13:33:58]KKMCreateOFDPacket [13:33:58]OFDProtocolAddRootSTLVToBuf [13:33:58]FM_MakeSignedData [13:33:58]FM_MakeSignedData [13:33:58]SAM_PROTO_SignData [13:33:58]wFMCommunicate request_size=4 [13:33:58]MH_SAM_APDU [13:33:58]CAPDU: 80 0D 01 02 [13:33:58]Write to MH i2c: E2 08 00 72 1F 80 0D 01 02 00 00 00 00 0A [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:33:58]Read from MH i2c: E2 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 03 00 [13:33:58]MH_I2C_Read... [13:33:58]Read from MH i2c: E2 03 00 72 1F 00 90 00 05 [13:33:58]RAPDU: 90 00 [13:33:58]wFMCommunicate OK [13:33:58]wFMCommunicate request_size=255 [13:33:58]MH_SAM_APDU [13:33:58]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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 4B DE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [13:33:58]Write to MH i2c: E2 02 01 73 1F 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 4B DE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 16 [13:33:58]Write i2c OK [13:33:58]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 03 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 03 00 73 1F 00 90 00 06 [13:33:59]RAPDU: 90 00 [13:33:59]wFMCommunicate OK [13:33:59]wFMCommunicate request_size=46 [13:33:59]MH_SAM_APDU [13:33:59]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 86 00 00 35 04 06 00 D5 6B AC 3B 7A 26 [13:33:59]Write to MH i2c: E2 31 00 74 1F 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 86 00 00 35 04 06 00 D5 6B AC 3B 7A 26 00 00 06 [13:33:59]Write i2c OK [13:33:59]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 03 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 03 00 74 1F 00 90 00 07 [13:33:59]RAPDU: 90 00 [13:33:59]wFMCommunicate OK [13:33:59]wFMCommunicate request_size=4 [13:33:59]MH_SAM_APDU [13:33:59]CAPDU: 80 0D 03 02 [13:33:59]Write to MH i2c: E2 08 00 75 1F 80 0D 03 02 00 00 00 00 0F [13:33:59]Write i2c OK [13:33:59]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 0B 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 0B 00 75 1F 00 D5 7C 50 20 DA 56 B1 2E 90 00 E0 [13:33:59]RAPDU: D5 7C 50 20 DA 56 B1 2E 90 00 [13:33:59]wFMCommunicate OK [13:33:59]SAM_PROTO_SignData done [13:33:59]FM_MakeSignedData done [13:33:59]CreateOFDProtocolMessage [13:33:59]wFMCommunicate request_size=4 [13:33:59]MH_SAM_APDU [13:33:59]CAPDU: 80 11 00 00 [13:33:59]Write to MH i2c: E2 08 00 76 1F 80 11 00 00 00 00 00 00 0F [13:33:59]Write i2c OK [13:33:59]MH_I2C_Read... [13:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:33:59]Read from MH i2c: E2 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 17 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: E2 17 00 76 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 64 [13:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:33:59]wFMCommunicate OK [13:33:59]CreateOFDProtocolMessage done [13:33:59]OFDSenderStorePacket 34327 [13:33:59]StoreOFDPacket docnum=34327 [13:33:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0E 16 2B 01 59 F6 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 4B DE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 86 00 00 35 04 06 00 D5 6B AC 3B 7A 26 D5 7C 50 20 DA 56 B1 2E [13:33:59]CheckFolder [13:33:59]dirname=/storage/ofd_packets [13:33:59]CheckFolder done [13:33:59]ProducePacketName [13:33:59]name=ofd_packets/00034327 [13:33:59]NVStorageSaveData ofd_packets/00034327 [13:33:59]File name is /storage/ofd_packets/00034327 [13:33:59]Write 337 bytes [13:33:59]NVStorageSaveData done [13:33:59]OFDSenderStorePacket done [13:33:59]KKMCreateOFDPacket done [13:33:59]NVStorageSaveData kkm_last_timestamp [13:33:59]File name is /storage/kkm_last_timestamp [13:33:59]Write 4 bytes [13:33:59]NVStorageSaveData done [13:33:59]ExternCall_PrintAddStr [13:33:59]wPrintStart [13:33:59]Write to MH i2c: 01 00 00 77 1F 96 [13:33:59]Write i2c OK [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: 01 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: 01 07 00 [13:33:59]MH_I2C_Read... [13:33:59]Read from MH i2c: 01 07 00 77 1F 00 00 00 00 00 FF 0F AB [13:33:59]RasterBufferAndPrint [13:33:59]line Счет N : (3)184105 [13:33:59]line ИНН: 02508201610067 [13:33:59]line Контрольно-Кассовый Чек [13:33:59]line ПРОДАЖА [13:33:59]line Товар: 2000053020015 [13:33:59]line Бумажные стаканы 250мл 1шт [13:33:59]line 4.000 * 7.00 [13:33:59]line = 28.00 [13:33:59]line НДС 12% НСП 1% [13:33:59]line > о реализуемом товаре [13:33:59]line ИТОГО: 28.00 [13:33:59]line НСП 1% : 0.25 [13:33:59]line НДС 12% : 2.97 [13:33:59]line Наличными: 28.00 [13:33:59]line Безнал.: 0.00 [13:33:59]line Место: АЗС № 120 "Партнер Нефть" [13:33:59]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:33:59]line СНО: Общий режим [13:33:59]line Чек 31 19.06.2024 13:34 [13:33:59]line Смена: 324 ФФД: 1.0 [13:33:59]line ЗНМ: 0300000172 [13:33:59]line РНМ: 0000000000092786 [13:33:59]line Версия ККМ: 001 [13:33:59]line ФМ: 0000000000875095 [13:33:59]line ФД: 34327 [13:33:59]line ФПД: 234658427796006 [13:33:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T133403&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34327&fm=234658427796006&tin=02508201610067®Number=0000000000092786&sum=2800 [13:33:59]line 0 [13:33:59]OFD Sender: Processing packet 34327 [packets to send 8, broken 7] [13:33:59]ProducePacketName [13:33:59]name=ofd_packets/00034327 [13:33:59]OFD Sender: To server: pG, [13:33:59]CommunicateWithHost lk.salyk.kg:30040 [13:33:59]ConnectInit lk.salyk.kg [13:33:59]written 0, free lines is 4095 [13:33:59]Connected sock=10 [13:33:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0E 16 2B 01 59 F6 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 4B DE 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 86 00 00 35 04 06 00 D5 6B AC 3B 7A 26 D5 7C 50 20 DA 56 B1 2E [13:34:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D0 73 47 00 6D 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 17 86 00 00 F4 03 04 00 17 85 72 66 B6 04 01 00 00 F4 C8 9B 98 00 22 E4 8D [13:34:00]CommunicateWithHost err = 0 [13:34:00]CheckOFDResponse [13:34:00]1017 (14) - 77093643461234 [13:34:00]1041 (16) - 0000000000875095 [13:34:00]1040 (4) - 34327 [13:34:00]1012 (4) - 19.06.2024 07:13 [13:34:00]1206 (1) - 0 [13:34:00]OFD Sender: Remove packet 34327 [13:34:00]ProducePacketName [13:34:00]name=ofd_packets/00034327 [13:34:00]NVStorageDeleteData [13:34:00]Write to MH i2c: 01 00 00 A0 1F BF [13:34:00]Write i2c OK [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: 01 [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: 01 07 00 [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: 01 07 00 A0 1F 00 00 00 00 00 CC 0C 9E [13:34:00]RasterBufferAndPrint [13:34:00]line [13:34:00]line [13:34:00]line [13:34:00]line [13:34:00]line [13:34:00]written 0, free lines is 3281 [13:34:00]MH_Cut [13:34:00]Write to MH i2c: D1 01 00 A7 1F 01 98 [13:34:00]Write i2c OK [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: D1 [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: D1 01 00 [13:34:00]MH_I2C_Read... [13:34:00]Read from MH i2c: D1 01 00 A7 1F 00 97 [13:34:00]Write to MH i2c: 01 00 00 A8 1F C7 [13:34:00]Write i2c OK [13:34:00]MH_I2C_Read... [13:34:00]OFD Sender: No OFD packet to send [13:34:00]*** Cut start [13:34:00]*** Partial cut [13:34:00]*** CUTSNS_PIN = 1 [13:34:00]*** CUTSNS_PIN = 0 [13:34:01]*** Brake cut motor [13:34:01]Read from MH i2c: 01 [13:34:01]MH_I2C_Read... [13:34:01]*** Stop cut motor [13:34:01]*** Cut end [13:34:01]Read from MH i2c: 01 07 00 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: 01 07 00 A8 1F 00 00 00 00 00 FF 0F DC [13:34:01]process_action close_receipt done [13:34:01]requested_data is exist [13:34:01]produce_requested_data [13:34:01]requested_item fm.sn is exist - process it [13:34:01]wFMCommunicate request_size=4 [13:34:01]MH_SAM_APDU [13:34:01]CAPDU: 80 11 00 00 [13:34:01]Write to MH i2c: E2 08 00 A9 1F 80 11 00 00 00 00 00 00 42 [13:34:01]Write i2c OK [13:34:01]MH_I2C_Read... [13:34:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:34:01]Read from MH i2c: E2 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 17 00 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 17 00 A9 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 97 [13:34:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:34:01]wFMCommunicate OK [13:34:01]requested_item fd.num is exist - process it [13:34:01]SAM_PROTO_GetFieldsCounters [13:34:01]wFMCommunicate request_size=4 [13:34:01]MH_SAM_APDU [13:34:01]CAPDU: 80 13 00 00 [13:34:01]Write to MH i2c: E2 08 00 AA 1F 80 13 00 00 00 00 00 00 45 [13:34:01]Write i2c OK [13:34:01]MH_I2C_Read... [13:34:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:34:01]Read from MH i2c: E2 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 62 00 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 62 00 AA 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 17 86 00 00 0E 04 04 00 44 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 AE [13:34:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 17 86 00 00 0E 04 04 00 44 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 [13:34:01]wFMCommunicate OK [13:34:01]SAM_PROTO_GetFieldsCounters done [13:34:01]requested_item shift.num is exist - process it [13:34:01]requested_item shift.opened is exist - process it [13:34:01]req_shift_opened [13:34:01]FM_GetShiftState [13:34:01]SAM_PROTO_GetShiftState [13:34:01]wFMCommunicate request_size=4 [13:34:01]MH_SAM_APDU [13:34:01]CAPDU: 80 13 01 00 [13:34:01]Write to MH i2c: E2 08 00 AB 1F 80 13 01 00 00 00 00 00 47 [13:34:01]Write i2c OK [13:34:01]MH_I2C_Read... [13:34:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:34:01]Read from MH i2c: E2 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 0E 00 [13:34:01]MH_I2C_Read... [13:34:01]Read from MH i2c: E2 0E 00 AB 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1D [13:34:01]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:34:01]wFMCommunicate OK [13:34:01]SAM_PROTO_GetShiftState done [13:34:01]FM_GetShiftState done [13:34:01]req_shift_opened done [13:34:01]requested_item shift.open_date is exist - process it [13:34:01]req_shift_open_date [13:34:01]req_shift_open_date done [13:34:01]produce_requested_data done [13:34:01]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34327,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [13:34:01]process_action_free close_receipt [13:34:01]json_value_free [13:34:01]json_value_free done [13:34:01]process_json_proto returns [13:34:01]Send response to host [13:34:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34327,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [13:34:01]free response buf [13:34:01]execute_script done [13:34:01]execute_script returns [13:34:01]free content buf [13:34:01]Sock 9.Close socket [13:34:01]Sock 9.Thread stoped [13:34:05]OFD Sender: No OFD packet to send [13:34:10]OFD Sender: No OFD packet to send [13:34:15]OFD Sender: No OFD packet to send [13:34:20]OFD Sender: No OFD packet to send [13:34:25]OFD Sender: No OFD packet to send [13:34:30]OFD Sender: No OFD packet to send [13:34:35]OFD Sender: No OFD packet to send [13:34:40]OFD Sender: No OFD packet to send [13:34:45]OFD Sender: No OFD packet to send [13:34:50]OFD Sender: No OFD packet to send [13:34:55]OFD Sender: No OFD packet to send [13:35:00]OFD Sender: No OFD packet to send [13:35:05]OFD Sender: No OFD packet to send [13:35:10]OFD Sender: No OFD packet to send [13:35:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:01]OFD Sender: No OFD packet to send [13:46:06]OFD Sender: No OFD packet to send [13:46:11]OFD Sender: No OFD packet to send [13:46:16]OFD Sender: No OFD packet to send [13:46:21]OFD Sender: No OFD packet to send [13:46:26]OFD Sender: No OFD packet to send [13:46:31]OFD Sender: No OFD packet to send [13:46:36]OFD Sender: No OFD packet to send [13:46:41]OFD Sender: No OFD packet to send [13:46:46]OFD Sender: No OFD packet to send [13:46:51]OFD Sender: No OFD packet to send [13:46:56]OFD Sender: No OFD packet to send [13:47:01]OFD Sender: No OFD packet to send [13:47:06]OFD Sender: No OFD packet to send [13:47:11]OFD Sender: No OFD packet to send [13:47:16]OFD Sender: No OFD packet to send [13:47:21]OFD Sender: No OFD packet to send [13:47:26]OFD Sender: No OFD packet to send [13:47:31]OFD Sender: No OFD packet to send [13:47:36]OFD Sender: No OFD packet to send [13:47:41]OFD Sender: No OFD packet to send [13:47:46]OFD Sender: No OFD packet to send [13:47:51]OFD Sender: No OFD packet to send [13:47:56]OFD Sender: No OFD packet to send [13:48:01]OFD Sender: No OFD packet to send [13:48:06]OFD Sender: No OFD packet to send [13:48:11]OFD Sender: No OFD packet to send [13:48:16]OFD Sender: No OFD packet to send [13:48:21]OFD Sender: No OFD packet to send [13:48:26]OFD Sender: No OFD packet to send [13:48:31]OFD Sender: No OFD packet to send [13:48:36]OFD Sender: No OFD packet to send [13:48:41]OFD Sender: No OFD packet to send [13:48:46]OFD Sender: No OFD packet to send [13:48:51]OFD Sender: No OFD packet to send [13:48:56]OFD Sender: No OFD packet to send [13:49:01]OFD Sender: No OFD packet to send [13:49:06]OFD Sender: No OFD packet to send [13:49:11]OFD Sender: No OFD packet to send [13:49:16]OFD Sender: No OFD packet to send [13:49:21]OFD Sender: No OFD packet to send [13:49:26]OFD Sender: No OFD packet to send [13:49:31]OFD Sender: No OFD packet to send [13:49:36]OFD Sender: No OFD packet to send [13:49:41]OFD Sender: No OFD packet to send [13:49:46]OFD Sender: No OFD packet to send [13:49:51]OFD Sender: No OFD packet to send [13:49:56]OFD Sender: No OFD packet to send [13:50:01]OFD Sender: No OFD packet to send [13:50:06]OFD Sender: No OFD packet to send [13:50:11]OFD Sender: No OFD packet to send [13:50:16]OFD Sender: No OFD packet to send [13:50:21]OFD Sender: No OFD packet to send [13:50:26]OFD Sender: No OFD packet to send [13:50:31]OFD Sender: No OFD packet to send [13:50:36]OFD Sender: No OFD packet to send [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:36]OFD Sender: No OFD packet to send [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]OFD Sender: No OFD packet to send [13:52:06]OFD Sender: No OFD packet to send [13:52:11]OFD Sender: No OFD packet to send [13:52:16]OFD Sender: No OFD packet to send [13:52:21]OFD Sender: No OFD packet to send [13:52:26]OFD Sender: No OFD packet to send [13:52:31]OFD Sender: No OFD packet to send [13:52:36]OFD Sender: No OFD packet to send [13:52:41]OFD Sender: No OFD packet to send [13:52:46]OFD Sender: No OFD packet to send [13:52:51]OFD Sender: No OFD packet to send [13:52:56]OFD Sender: No OFD packet to send [13:53:01]OFD Sender: No OFD packet to send [13:53:06]OFD Sender: No OFD packet to send [13:53:11]OFD Sender: No OFD packet to send [13:53:16]OFD Sender: No OFD packet to send [13:53:21]OFD Sender: No OFD packet to send [13:53:26]OFD Sender: No OFD packet to send [13:53:31]OFD Sender: No OFD packet to send [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:46]OFD Sender: No OFD packet to send [13:54:51]OFD Sender: No OFD packet to send [13:54:56]OFD Sender: No OFD packet to send [13:55:01]OFD Sender: No OFD packet to send [13:55:05]accept exits with 7 [13:55:05]New connection [13:55:05]New thread 3067424100 created [13:55:05]Thread 3067567460 joined [13:55:05]Waiting for new connection... [13:55:05] Sock 7.Parse request [13:55:05]Sock 7.Check first char [13:55:05]Sock 7.First char is OK [13:55:05]request: POST /json_proto HTTP/1.0 [13:55:05]Method: POST [13:55:05]URL: /json_proto [13:55:05]Method is POST - this is cgi request [13:55:05]url: /json_proto [13:55:05]query_string will be loaded in cgi processing [13:55:05]execute_cgi json_proto POST (null) [13:55:05]execute_cgi path=json_proto method=POST [13:55:05]POST find Content-Length [13:55:05]Host: 172.17.38.134:8080 [13:55:05]Content-Length: 1104 [13:55:05]Content-Type: application/json [13:55:05] [13:55:05]POST finish read [13:55:05]Found Content-Length = 1104 [13:55:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184106", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 251.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:05]execute_script... [13:55: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)184106", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 251.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:05]POST & json_proto [13:55:05]process_json_proto [13:55:05]json parsed OK: [13:55:05]protocol is kg_v1.0 [13:55:05]action value=close_receipt [13:55:05]process_action close_receipt [13:55:05]cmd_close_receipt [13:55:05]MH_GetDate [13:55:05]Write to MH i2c: F0 00 00 AC 1F BA [13:55:05]Write i2c OK [13:55:05]MH_I2C_Read... [13:55:05]Read from MH i2c: F0 [13:55:05]MH_I2C_Read... [13:55:05]Read from MH i2c: F0 09 00 [13:55:05]MH_I2C_Read... [13:55:05]Read from MH i2c: F0 09 00 AC 1F 00 3F E3 72 66 13 9C 7C 64 4C [13:55:05]GetLastDocTimeStamp 1718804043 [13:55:05]current date 1718805311 [13:55:05]FM_GetShiftState [13:55:05]SAM_PROTO_GetShiftState [13:55:05]wFMCommunicate request_size=4 [13:55:05]MH_SAM_APDU [13:55:05]CAPDU: 80 13 01 00 [13:55:05]Write to MH i2c: E2 08 00 AD 1F 80 13 01 00 00 00 00 00 49 [13:55:05]Write i2c OK [13:55:05]MH_I2C_Read... [13:55:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:05]Read from MH i2c: E2 [13:55:05]MH_I2C_Read... [13:55:05]Read from MH i2c: E2 0E 00 [13:55:05]MH_I2C_Read... [13:55:05]Read from MH i2c: E2 0E 00 AD 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1F [13:55:05]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:55:05]wFMCommunicate OK [13:55:05]SAM_PROTO_GetShiftState done [13:55:05]FM_GetShiftState done [13:55:05]opened in 1718756813 [13:55:05]opened+sec_in_day 1718843213 [13:55:05]quantity*price = 15100 [13:55:05]sum+1 = 15101 [13:55:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 251.00 НСП 1% : 2.22 НДС 12% : 26.65 Наличными: 0.00 Безнал.: 251.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 32 19.06.2024 13:55 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34328 ФПД: 128129137063404 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T135511&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34328&fm=128129137063404&tin=02508201610067®Number=0000000000092786&sum=25100 0 [13:55:07]StoreToDocumentArchive [13:55:07]shift 324 fd 34328 [13:55:07]save to /storage/0324/doc_00034328 [13:55:07]save last doc name /storage/0324/doc_00034328 to /storage/kkm_last_doc_name [13:55:07]save OK [13:55:07]Clear old archive folders... [13:55:07]ProcessDocumentItem done err = 0, tmpTLVsize=397 [13:55:07]tlvbuf is 01905860 [13:55:07]SAM_PROTO_ClearQueue [13:55:07]wFMCommunicate request_size=4 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 09 00 00 [13:55:07]Write to MH i2c: E2 08 00 BA 1F 80 09 00 00 00 00 00 00 4B [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 BA 1F 00 90 00 4D [13:55:07]RAPDU: 90 00 [13:55:07]wFMCommunicate OK [13:55:07]SAM_PROTO_ClearQueue done [13:55:07]KKMCreateOFDPacket [13:55:07]OFDProtocolAddRootSTLVToBuf [13:55:07]FM_MakeSignedData [13:55:07]FM_MakeSignedData [13:55:07]SAM_PROTO_SignData [13:55:07]wFMCommunicate request_size=4 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 0D 01 02 [13:55:07]Write to MH i2c: E2 08 00 BB 1F 80 0D 01 02 00 00 00 00 53 [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 BB 1F 00 90 00 4E [13:55:07]RAPDU: 90 00 [13:55:07]wFMCommunicate OK [13:55:07]wFMCommunicate request_size=255 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 62 00 00 00 00 EB 03 26 00 [13:55:07]Write to MH i2c: E2 02 01 BC 1F 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 62 00 00 00 00 EB 03 26 00 00 00 A0 [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 BC 1F 00 90 00 4F [13:55:07]RAPDU: 90 00 [13:55:07]wFMCommunicate OK [13:55:07]wFMCommunicate request_size=156 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 62 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 3F E3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 86 00 00 35 04 06 00 74 88 63 B3 35 EC [13:55:07]Write to MH i2c: E2 9F 00 BD 1F 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 62 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 3F E3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 86 00 00 35 04 06 00 74 88 63 B3 35 EC 00 00 A5 [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 03 00 BD 1F 00 90 00 50 [13:55:07]RAPDU: 90 00 [13:55:07]wFMCommunicate OK [13:55:07]wFMCommunicate request_size=4 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 0D 03 02 [13:55:07]Write to MH i2c: E2 08 00 BE 1F 80 0D 03 02 00 00 00 00 58 [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 0B 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 0B 00 BE 1F 00 52 34 D8 83 BE A0 FD 93 90 00 28 [13:55:07]RAPDU: 52 34 D8 83 BE A0 FD 93 90 00 [13:55:07]wFMCommunicate OK [13:55:07]SAM_PROTO_SignData done [13:55:07]FM_MakeSignedData done [13:55:07]CreateOFDProtocolMessage [13:55:07]wFMCommunicate request_size=4 [13:55:07]MH_SAM_APDU [13:55:07]CAPDU: 80 11 00 00 [13:55:07]Write to MH i2c: E2 08 00 BF 1F 80 11 00 00 00 00 00 00 58 [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:07]Read from MH i2c: E2 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 17 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: E2 17 00 BF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 AD [13:55:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:55:07]wFMCommunicate OK [13:55:07]CreateOFDProtocolMessage done [13:55:07]OFDSenderStorePacket 34328 [13:55:07]StoreOFDPacket docnum=34328 [13:55:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A1 01 00 00 00 F2 99 01 16 9B 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 62 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 3F E3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 86 00 00 35 04 06 00 74 88 63 B3 35 EC 52 34 D8 83 BE A0 FD 93 [13:55:07]CheckFolder [13:55:07]dirname=/storage/ofd_packets [13:55:07]CheckFolder done [13:55:07]ProducePacketName [13:55:07]name=ofd_packets/00034328 [13:55:07]NVStorageSaveData ofd_packets/00034328 [13:55:07]File name is /storage/ofd_packets/00034328 [13:55:07]Write 447 bytes [13:55:07]NVStorageSaveData done [13:55:07]OFDSenderStorePacket done [13:55:07]KKMCreateOFDPacket done [13:55:07]NVStorageSaveData kkm_last_timestamp [13:55:07]File name is /storage/kkm_last_timestamp [13:55:07]Write 4 bytes [13:55:07]NVStorageSaveData done [13:55:07]ExternCall_PrintAddStr [13:55:07]wPrintStart [13:55:07]Write to MH i2c: 01 00 00 C0 1F DF [13:55:07]Write i2c OK [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: 01 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: 01 07 00 [13:55:07]MH_I2C_Read... [13:55:07]Read from MH i2c: 01 07 00 C0 1F 00 00 00 00 00 FF 0F F4 [13:55:07]RasterBufferAndPrint [13:55:07]line Счет N : (3)184106 [13:55:07]line ИНН: 02508201610067 [13:55:07]line Контрольно-Кассовый Чек [13:55:07]line ПРОДАЖА [13:55:07]line Товар: 48741958 [13:55:07]line Сигареты Parliament Aqua Blue [13:55:07]line 1.000 * 151.00 [13:55:07]line = 151.00 [13:55:07]line НДС 12% НСП 1% [13:55:07]line > о реализуемом товаре [13:55:07]line Товар: 4870002326172 [13:55:07]line Вода ASU пит н.газ лимон ПЭТ 1л [13:55:07]line 1.000 * 100.00 [13:55:07]line = 100.00 [13:55:07]line НДС 12% НСП 1% [13:55:07]line > о реализуемом товаре [13:55:07]line ИТОГО: 251.00 [13:55:07]line НСП 1% : 2.22 [13:55:07]line НДС 12% : 26.65 [13:55:07]line Наличными: 0.00 [13:55:07]line Безнал.: 251.00 [13:55:07]line Место: АЗС № 120 "Партнер Нефть" [13:55:07]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [13:55:07]line СНО: Общий режим [13:55:07]line Чек 32 19.06.2024 13:55 [13:55:07]line Смена: 324 ФФД: 1.0 [13:55:07]line ЗНМ: 0300000172 [13:55:07]line РНМ: 0000000000092786 [13:55:07]line Версия ККМ: 001 [13:55:07]line Платежная система: Бакай Банк [13:55:07]line ФМ: 0000000000875095 [13:55:07]line ФД: 34328 [13:55:07]line ФПД: 128129137063404 [13:55:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T135511&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34328&fm=128129137063404&tin=02508201610067®Number=0000000000092786&sum=25100 [13:55:07]line 0 [13:55:07]written 0, free lines is 4095 [13:55:07]OFD Sender: Processing packet 34328 [packets to send 8, broken 7] [13:55:07]ProducePacketName [13:55:07]name=ofd_packets/00034328 [13:55:07]OFD Sender: To server: pG, [13:55:07]CommunicateWithHost lk.salyk.kg:30040 [13:55:07]ConnectInit lk.salyk.kg [13:55:07]Connected sock=10 [13:55:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 A1 01 00 00 00 F2 99 01 16 9B 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 62 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 3F E3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 18 86 00 00 35 04 06 00 74 88 63 B3 35 EC 52 34 D8 83 BE A0 FD 93 [13:55:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 96 60 47 00 E1 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 38 37 35 30 39 35 10 04 04 00 18 86 00 00 F4 03 04 00 0C 8A 72 66 B6 04 01 00 00 C0 D9 AC 23 31 4A 02 87 [13:55:08]CommunicateWithHost err = 0 [13:55:08]CheckOFDResponse [13:55:08]1017 (14) - 77093643461234 [13:55:08]1041 (16) - 0000000000875095 [13:55:08]1040 (4) - 34328 [13:55:08]1012 (4) - 19.06.2024 07:34 [13:55:08]1206 (1) - 0 [13:55:08]OFD Sender: Remove packet 34328 [13:55:08]ProducePacketName [13:55:08]name=ofd_packets/00034328 [13:55:08]NVStorageDeleteData [13:55:08]Write to MH i2c: 01 00 00 F2 1F 11 [13:55:08]Write i2c OK [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: 01 [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: 01 07 00 [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: 01 07 00 F2 1F 00 00 00 00 00 51 0C 75 [13:55:08]RasterBufferAndPrint [13:55:08]line [13:55:08]line [13:55:08]line [13:55:08]line [13:55:08]line [13:55:08]written 0, free lines is 3160 [13:55:08]MH_Cut [13:55:08]Write to MH i2c: D1 01 00 F9 1F 01 EA [13:55:08]Write i2c OK [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: D1 [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: D1 01 00 [13:55:08]MH_I2C_Read... [13:55:08]Read from MH i2c: D1 01 00 F9 1F 00 E9 [13:55:08]Write to MH i2c: 01 00 00 FA 1F 19 [13:55:08]Write i2c OK [13:55:08]MH_I2C_Read... [13:55:08]OFD Sender: No OFD packet to send [13:55:09]*** Cut start [13:55:09]*** Partial cut [13:55:09]*** CUTSNS_PIN = 1 [13:55:09]*** CUTSNS_PIN = 0 [13:55:09]*** Brake cut motor [13:55:09]Read from MH i2c: 01 [13:55:09]MH_I2C_Read... [13:55:09]*** Stop cut motor [13:55:09]*** Cut end [13:55:09]Read from MH i2c: 01 07 00 [13:55:09]MH_I2C_Read... [13:55:09]Read from MH i2c: 01 07 00 FA 1F 00 00 00 00 00 FF 0F 2E [13:55:09]process_action close_receipt done [13:55:09]requested_data is exist [13:55:09]produce_requested_data [13:55:09]requested_item fm.sn is exist - process it [13:55:09]wFMCommunicate request_size=4 [13:55:09]MH_SAM_APDU [13:55:09]CAPDU: 80 11 00 00 [13:55:09]Write to MH i2c: E2 08 00 FB 1F 80 11 00 00 00 00 00 00 94 [13:55:09]Write i2c OK [13:55:09]MH_I2C_Read... [13:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:09]Read from MH i2c: E2 [13:55:09]MH_I2C_Read... [13:55:09]Read from MH i2c: E2 17 00 [13:55:09]MH_I2C_Read... [13:55:09]Read from MH i2c: E2 17 00 FB 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E9 [13:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [13:55:09]wFMCommunicate OK [13:55:09]requested_item fd.num is exist - process it [13:55:09]SAM_PROTO_GetFieldsCounters [13:55:09]wFMCommunicate request_size=4 [13:55:09]MH_SAM_APDU [13:55:09]CAPDU: 80 13 00 00 [13:55:09]Write to MH i2c: E2 08 00 FC 1F 80 13 00 00 00 00 00 00 97 [13:55:09]Write i2c OK [13:55:09]MH_I2C_Read... [13:55:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:55:10]Read from MH i2c: E2 [13:55:10]MH_I2C_Read... [13:55:10]Read from MH i2c: E2 62 00 [13:55:10]MH_I2C_Read... [13:55:10]Read from MH i2c: E2 62 00 FC 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 18 86 00 00 0E 04 04 00 44 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 04 [13:55:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 18 86 00 00 0E 04 04 00 44 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 [13:55:10]wFMCommunicate OK [13:55:10]SAM_PROTO_GetFieldsCounters done [13:55:10]requested_item shift.num is exist - process it [13:55:10]requested_item shift.opened is exist - process it [13:55:10]req_shift_opened [13:55:10]FM_GetShiftState [13:55:10]SAM_PROTO_GetShiftState [13:55:10]wFMCommunicate request_size=4 [13:55:10]MH_SAM_APDU [13:55:10]CAPDU: 80 13 01 00 [13:55:10]Write to MH i2c: E2 08 00 FD 1F 80 13 01 00 00 00 00 00 99 [13:55:10]Write i2c OK [13:55:10]MH_I2C_Read... [13:55:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:10]Read from MH i2c: E2 [13:55:10]MH_I2C_Read... [13:55:10]Read from MH i2c: E2 0E 00 [13:55:10]MH_I2C_Read... [13:55:10]Read from MH i2c: E2 0E 00 FD 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6F [13:55:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [13:55:10]wFMCommunicate OK [13:55:10]SAM_PROTO_GetShiftState done [13:55:10]FM_GetShiftState done [13:55:10]req_shift_opened done [13:55:10]requested_item shift.open_date is exist - process it [13:55:10]req_shift_open_date [13:55:10]req_shift_open_date done [13:55:10]produce_requested_data done [13:55:10]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34328,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [13:55:10]process_action_free close_receipt [13:55:10]json_value_free [13:55:10]json_value_free done [13:55:10]process_json_proto returns [13:55:10]Send response to host [13:55:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34328,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [13:55:10]free response buf [13:55:10]execute_script done [13:55:10]execute_script returns [13:55:10]free content buf [13:55:10]Sock 7.Close socket [13:55:10]Sock 7.Thread stoped [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59: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:19]accept exits with 9 [14:02:19]New connection [14:02:19]New thread 3067567460 created [14:02:19]Thread 3067424100 joined [14:02:19]Waiting for new connection... [14:02:19] Sock 9.Parse request [14:02:19]Sock 9.Check first char [14:02:19]Sock 9.First char is OK [14:02:19]request: POST /json_proto HTTP/1.0 [14:02:19]Method: POST [14:02:19]URL: /json_proto [14:02:19]Method is POST - this is cgi request [14:02:19]url: /json_proto [14:02:19]query_string will be loaded in cgi processing [14:02:19]execute_cgi json_proto POST (null) [14:02:19]execute_cgi path=json_proto method=POST [14:02:19]POST find Content-Length [14:02:19]Host: 172.17.38.134:8080 [14:02:19]Content-Length: 678 [14:02:19]Content-Type: application/json [14:02:19] [14:02:19]POST finish read [14:02:19]Found Content-Length = 678 [14:02:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672939", "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.40, "quantity" : 10.850, "sum" : 720.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 720.00, "total" : 720.00, "payments": [ { "type": 0, "sum" : 720.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:19]execute_script... [14:02:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672939", "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.40, "quantity" : 10.850, "sum" : 720.44, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 720.00, "total" : 720.00, "payments": [ { "type": 0, "sum" : 720.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:19]POST & json_proto [14:02:19]process_json_proto [14:02:19]json parsed OK: [14:02:19]protocol is kg_v1.0 [14:02:19]action value=close_receipt [14:02:19]process_action close_receipt [14:02:19]cmd_close_receipt [14:02:19]MH_GetDate [14:02:19]Write to MH i2c: F0 00 00 FE 1F 0C [14:02:19]Write i2c OK [14:02:19]MH_I2C_Read... [14:02:19]Read from MH i2c: F0 [14:02:19]MH_I2C_Read... [14:02:19]Read from MH i2c: F0 09 00 [14:02:19]MH_I2C_Read... [14:02:19]Read from MH i2c: F0 09 00 FE 1F 00 F1 E4 72 66 13 9C 7C 64 51 [14:02:19]GetLastDocTimeStamp 1718805311 [14:02:19]current date 1718805745 [14:02:19]FM_GetShiftState [14:02:19]SAM_PROTO_GetShiftState [14:02:19]wFMCommunicate request_size=4 [14:02:19]MH_SAM_APDU [14:02:19]CAPDU: 80 13 01 00 [14:02:19]Write to MH i2c: E2 08 00 FF 1F 80 13 01 00 00 00 00 00 9B [14:02:19]Write i2c OK [14:02:19]MH_I2C_Read... [14:02:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:19]Read from MH i2c: E2 [14:02:19]MH_I2C_Read... [14:02:19]Read from MH i2c: E2 0E 00 [14:02:19]MH_I2C_Read... [14:02:19]Read from MH i2c: E2 0E 00 FF 1F 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 71 [14:02:19]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:02:19]wFMCommunicate OK [14:02:19]SAM_PROTO_GetShiftState done [14:02:19]FM_GetShiftState done [14:02:19]opened in 1718756813 [14:02:19]opened+sec_in_day 1718843213 [14:02:19]quantity*price = 72044 [14:02:19]sum+1 = 72045 [14:02:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.44 ИТОГО: 720.00 Внесено: 720.00 СДАЧА: 0.00 НСП 1% : 6.38 НДС 12% : 76.51 Наличными: 720.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 33 19.06.2024 14:02 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34329 ФПД: 85554242352025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140225&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34329&fm=85554242352025&tin=02508201610067®Number=0000000000092786&sum=72000 [14:02:20]StoreToDocumentArchive [14:02:20]shift 324 fd 34329 [14:02:20]save to /storage/0324/doc_00034329 [14:02:20]save last doc name /storage/0324/doc_00034329 to /storage/kkm_last_doc_name [14:02:20]save OK [14:02:20]Clear old archive folders... [14:02:20]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:02:20]tlvbuf is B6E3E5C0 [14:02:20]SAM_PROTO_ClearQueue [14:02:20]wFMCommunicate request_size=4 [14:02:20]MH_SAM_APDU [14:02:20]CAPDU: 80 09 00 00 [14:02:20]Write to MH i2c: E2 08 00 0C 20 80 09 00 00 00 00 00 00 9E [14:02:20]Write i2c OK [14:02:20]MH_I2C_Read... [14:02:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:02:20]Read from MH i2c: E2 [14:02:20]MH_I2C_Read... [14:02:20]Read from MH i2c: E2 03 00 [14:02:20]MH_I2C_Read... [14:02:20]Read from MH i2c: E2 03 00 0C 20 00 90 00 A0 [14:02:20]RAPDU: 90 00 [14:02:20]wFMCommunicate OK [14:02:20]SAM_PROTO_ClearQueue done [14:02:20]KKMCreateOFDPacket [14:02:20]OFDProtocolAddRootSTLVToBuf [14:02:20]FM_MakeSignedData [14:02:20]FM_MakeSignedData [14:02:20]SAM_PROTO_SignData [14:02:20]wFMCommunicate request_size=4 [14:02:20]MH_SAM_APDU [14:02:20]CAPDU: 80 0D 01 02 [14:02:20]Write to MH i2c: E2 08 00 0D 20 80 0D 01 02 00 00 00 00 A6 [14:02:20]Write i2c OK [14:02:20]MH_I2C_Read... [14:02:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:02:20]Read from MH i2c: E2 [14:02:20]MH_I2C_Read... [14:02:20]Read from MH i2c: E2 03 00 [14:02:20]MH_I2C_Read... [14:02:20]Read from MH i2c: E2 03 00 0D 20 00 90 00 A1 [14:02:20]RAPDU: 90 00 [14:02:20]wFMCommunicate OK [14:02:20]wFMCommunicate request_size=255 [14:02:20]MH_SAM_APDU [14:02:20]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 62 2A 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 6C 19 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 19 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 1D 00 00 00 00 07 04 06 00 40 19 01 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 F1 E4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 86 00 00 35 04 06 00 4D [14:02:20]Write to MH i2c: E2 02 01 0E 20 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 62 2A 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 6C 19 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 19 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 1D 00 00 00 00 07 04 06 00 40 19 01 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 F1 E4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 86 00 00 35 04 06 00 4D 00 00 07 [14:02:20]Write i2c OK [14:02:20]MH_I2C_Read... [14:02:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:21]Read from MH i2c: E2 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 03 00 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 03 00 0E 20 00 90 00 A2 [14:02:21]RAPDU: 90 00 [14:02:21]wFMCommunicate OK [14:02:21]wFMCommunicate request_size=10 [14:02:21]MH_SAM_APDU [14:02:21]CAPDU: 80 0D 02 02 05 CF A6 39 73 99 [14:02:21]Write to MH i2c: E2 0D 00 0F 20 80 0D 02 02 05 00 CF A6 39 73 99 00 00 6D [14:02:21]Write i2c OK [14:02:21]MH_I2C_Read... [14:02:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:21]Read from MH i2c: E2 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 03 00 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 03 00 0F 20 00 90 00 A3 [14:02:21]RAPDU: 90 00 [14:02:21]wFMCommunicate OK [14:02:21]wFMCommunicate request_size=4 [14:02:21]MH_SAM_APDU [14:02:21]CAPDU: 80 0D 03 02 [14:02:21]Write to MH i2c: E2 08 00 10 20 80 0D 03 02 00 00 00 00 AB [14:02:21]Write i2c OK [14:02:21]MH_I2C_Read... [14:02:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:02:21]Read from MH i2c: E2 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 0B 00 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 0B 00 10 20 00 B9 08 D2 E8 B2 76 E6 B6 90 00 EB [14:02:21]RAPDU: B9 08 D2 E8 B2 76 E6 B6 90 00 [14:02:21]wFMCommunicate OK [14:02:21]SAM_PROTO_SignData done [14:02:21]FM_MakeSignedData done [14:02:21]CreateOFDProtocolMessage [14:02:21]wFMCommunicate request_size=4 [14:02:21]MH_SAM_APDU [14:02:21]CAPDU: 80 11 00 00 [14:02:21]Write to MH i2c: E2 08 00 11 20 80 11 00 00 00 00 00 00 AB [14:02:21]Write i2c OK [14:02:21]MH_I2C_Read... [14:02:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:21]Read from MH i2c: E2 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 17 00 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: E2 17 00 11 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 00 [14:02:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:02:21]wFMCommunicate OK [14:02:21]CreateOFDProtocolMessage done [14:02:21]OFDSenderStorePacket 34329 [14:02:21]StoreOFDPacket docnum=34329 [14:02:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 53 50 07 01 7E 50 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 62 2A 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 6C 19 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 19 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 1D 00 00 00 00 07 04 06 00 40 19 01 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 F1 E4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 86 00 00 35 04 06 00 4D CF A6 39 73 99 B9 08 D2 E8 B2 76 E6 B6 [14:02:21]CheckFolder [14:02:21]dirname=/storage/ofd_packets [14:02:21]CheckFolder done [14:02:21]ProducePacketName [14:02:21]name=ofd_packets/00034329 [14:02:21]NVStorageSaveData ofd_packets/00034329 [14:02:21]File name is /storage/ofd_packets/00034329 [14:02:21]Write 301 bytes [14:02:21]NVStorageSaveData done [14:02:21]OFDSenderStorePacket done [14:02:21]KKMCreateOFDPacket done [14:02:21]NVStorageSaveData kkm_last_timestamp [14:02:21]File name is /storage/kkm_last_timestamp [14:02:21]Write 4 bytes [14:02:21]NVStorageSaveData done [14:02:21]ExternCall_PrintAddStr [14:02:21]wPrintStart [14:02:21]Write to MH i2c: 01 00 00 12 20 32 [14:02:21]Write i2c OK [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: 01 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: 01 07 00 [14:02:21]MH_I2C_Read... [14:02:21]Read from MH i2c: 01 07 00 12 20 00 00 00 00 00 FF 0F 47 [14:02:21]RasterBufferAndPrint [14:02:21]line Счет N : (1)672939 [14:02:21]line ИНН: 02508201610067 [14:02:21]line Контрольно-Кассовый Чек [14:02:21]line ПРОДАЖА [14:02:21]line ТРК (МРК, ГНК) : 32 [14:02:21]line Товар: 2710124130 [14:02:21]line Аи-92-К-5 [14:02:21]line 10.850 * 66.40 [14:02:21]line = 720.44 [14:02:21]line НДС 12% НСП 1% [14:02:21]line > о реализуемом товаре [14:02:21]line ОКРУГЛЕНИЕ: -0.44 [14:02:21]line ИТОГО: 720.00 [14:02:21]line Внесено: 720.00 [14:02:21]line СДАЧА: 0.00 [14:02:21]line НСП 1% : 6.38 [14:02:21]line НДС 12% : 76.51 [14:02:21]line Наличными: 720.00 [14:02:21]line Безнал.: 0.00 [14:02:21]line Место: АЗС № 120 "Партнер Нефть" [14:02:21]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:02:21]line СНО: Общий режим [14:02:21]line Чек 33 19.06.2024 14:02 [14:02:21]line Смена: 324 ФФД: 1.0 [14:02:21]line ЗНМ: 0300000172 [14:02:21]line РНМ: 0000000000092786 [14:02:21]line Версия ККМ: 001 [14:02:21]line ФМ: 0000000000875095 [14:02:21]line ФД: 34329 [14:02:21]line ФПД: 85554242352025 [14:02:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140225&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34329&fm=85554242352025&tin=02508201610067®Number=0000000000092786&sum=72000 [14:02:21]OFD Sender: Processing packet 34329 [packets to send 8, broken 7] [14:02:21]ProducePacketName [14:02:21]name=ofd_packets/00034329 [14:02:21]OFD Sender: To server: pG, [14:02:21]CommunicateWithHost lk.salyk.kg:30040 [14:02:21]ConnectInit lk.salyk.kg [14:02:21]written 0, free lines is 4095 [14:02:21]Connected sock=10 [14:02:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 53 50 07 01 7E 50 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 62 2A 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 6C 19 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 19 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E3 1D 00 00 00 00 07 04 06 00 40 19 01 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 F1 E4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 86 00 00 35 04 06 00 4D CF A6 39 73 99 B9 08 D2 E8 B2 76 E6 B6 [14:02:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 5E 97 47 00 E3 96 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 19 86 00 00 F4 03 04 00 BE 8B 72 66 B6 04 01 00 00 EA 2D F6 FA B5 83 6A D1 [14:02:22]CommunicateWithHost err = 0 [14:02:22]CheckOFDResponse [14:02:22]1017 (14) - 77093643461234 [14:02:22]1041 (16) - 0000000000875095 [14:02:22]1040 (4) - 34329 [14:02:22]1012 (4) - 19.06.2024 07:41 [14:02:22]1206 (1) - 0 [14:02:22]OFD Sender: Remove packet 34329 [14:02:22]ProducePacketName [14:02:22]name=ofd_packets/00034329 [14:02:22]NVStorageDeleteData [14:02:22]Write to MH i2c: 01 00 00 3D 20 5D [14:02:22]Write i2c OK [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: 01 [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: 01 07 00 [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: 01 07 00 3D 20 00 00 00 00 00 EC 0C 5C [14:02:22]RasterBufferAndPrint [14:02:22]line [14:02:22]line [14:02:22]line [14:02:22]line [14:02:22]line [14:02:22]written 0, free lines is 3314 [14:02:22]MH_Cut [14:02:22]Write to MH i2c: D1 01 00 44 20 01 36 [14:02:22]Write i2c OK [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: D1 [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: D1 01 00 [14:02:22]MH_I2C_Read... [14:02:22]Read from MH i2c: D1 01 00 44 20 00 35 [14:02:22]Write to MH i2c: 01 00 00 45 20 65 [14:02:22]Write i2c OK [14:02:22]MH_I2C_Read... [14:02:22]OFD Sender: No OFD packet to send [14:02:22]*** Cut start [14:02:22]*** Partial cut [14:02:22]*** CUTSNS_PIN = 1 [14:02:22]*** CUTSNS_PIN = 0 [14:02:23]*** Brake cut motor [14:02:23]Read from MH i2c: 01 [14:02:23]MH_I2C_Read... [14:02:23]*** Stop cut motor [14:02:23]*** Cut end [14:02:23]Read from MH i2c: 01 07 00 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: 01 07 00 45 20 00 00 00 00 00 FF 0F 7A [14:02:23]process_action close_receipt done [14:02:23]requested_data is exist [14:02:23]produce_requested_data [14:02:23]requested_item fm.sn is exist - process it [14:02:23]wFMCommunicate request_size=4 [14:02:23]MH_SAM_APDU [14:02:23]CAPDU: 80 11 00 00 [14:02:23]Write to MH i2c: E2 08 00 46 20 80 11 00 00 00 00 00 00 E0 [14:02:23]Write i2c OK [14:02:23]MH_I2C_Read... [14:02:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:23]Read from MH i2c: E2 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 17 00 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 17 00 46 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 35 [14:02:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:02:23]wFMCommunicate OK [14:02:23]requested_item fd.num is exist - process it [14:02:23]SAM_PROTO_GetFieldsCounters [14:02:23]wFMCommunicate request_size=4 [14:02:23]MH_SAM_APDU [14:02:23]CAPDU: 80 13 00 00 [14:02:23]Write to MH i2c: E2 08 00 47 20 80 13 00 00 00 00 00 00 E3 [14:02:23]Write i2c OK [14:02:23]MH_I2C_Read... [14:02:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:02:23]Read from MH i2c: E2 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 62 00 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 62 00 47 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 86 00 00 0E 04 04 00 44 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 54 [14:02:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 19 86 00 00 0E 04 04 00 44 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 [14:02:23]wFMCommunicate OK [14:02:23]SAM_PROTO_GetFieldsCounters done [14:02:23]requested_item shift.num is exist - process it [14:02:23]requested_item shift.opened is exist - process it [14:02:23]req_shift_opened [14:02:23]FM_GetShiftState [14:02:23]SAM_PROTO_GetShiftState [14:02:23]wFMCommunicate request_size=4 [14:02:23]MH_SAM_APDU [14:02:23]CAPDU: 80 13 01 00 [14:02:23]Write to MH i2c: E2 08 00 48 20 80 13 01 00 00 00 00 00 E5 [14:02:23]Write i2c OK [14:02:23]MH_I2C_Read... [14:02:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:23]Read from MH i2c: E2 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 0E 00 [14:02:23]MH_I2C_Read... [14:02:23]Read from MH i2c: E2 0E 00 48 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 BB [14:02:23]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:02:23]wFMCommunicate OK [14:02:23]SAM_PROTO_GetShiftState done [14:02:23]FM_GetShiftState done [14:02:23]req_shift_opened done [14:02:23]requested_item shift.open_date is exist - process it [14:02:23]req_shift_open_date [14:02:23]req_shift_open_date done [14:02:23]produce_requested_data done [14:02:23]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34329,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:02:23]process_action_free close_receipt [14:02:23]json_value_free [14:02:23]json_value_free done [14:02:23]process_json_proto returns [14:02:23]Send response to host [14:02:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34329,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:02:23]free response buf [14:02:23]execute_script done [14:02:23]execute_script returns [14:02:23]free content buf [14:02:23]Sock 9.Close socket [14:02:23]Sock 9.Thread stoped [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]accept exits with 7 [14:04:02]New connection [14:04:02]New thread 3067424100 created [14:04:02]Thread 3067567460 joined [14:04:02]Waiting for new connection... [14:04:02] Sock 7.Parse request [14:04:02]Sock 7.Check first char [14:04:02]Sock 7.First char is OK [14:04:02]request: POST /json_proto HTTP/1.0 [14:04:02]Method: POST [14:04:02]URL: /json_proto [14:04:02]Method is POST - this is cgi request [14:04:02]url: /json_proto [14:04:02]query_string will be loaded in cgi processing [14:04:02]execute_cgi json_proto POST (null) [14:04:02]execute_cgi path=json_proto method=POST [14:04:02]POST find Content-Length [14:04:02]Host: 172.17.38.134:8080 [14:04:02]Content-Length: 677 [14:04:02]Content-Type: application/json [14:04:02] [14:04:02]POST finish read [14:04:02]Found Content-Length = 677 [14:04:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672942", "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.40, "quantity" : 6.030, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:02]execute_script... [14:04:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672942", "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.40, "quantity" : 6.030, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:02]POST & json_proto [14:04:02]process_json_proto [14:04:02]json parsed OK: [14:04:02]protocol is kg_v1.0 [14:04:02]action value=close_receipt [14:04:02]process_action close_receipt [14:04:02]cmd_close_receipt [14:04:02]MH_GetDate [14:04:02]Write to MH i2c: F0 00 00 49 20 58 [14:04:02]Write i2c OK [14:04:02]MH_I2C_Read... [14:04:02]Read from MH i2c: F0 [14:04:02]MH_I2C_Read... [14:04:02]Read from MH i2c: F0 09 00 [14:04:02]MH_I2C_Read... [14:04:02]Read from MH i2c: F0 09 00 49 20 00 57 E5 72 66 13 9C 7C 64 04 [14:04:02]GetLastDocTimeStamp 1718805745 [14:04:02]current date 1718805847 [14:04:02]FM_GetShiftState [14:04:02]SAM_PROTO_GetShiftState [14:04:02]wFMCommunicate request_size=4 [14:04:02]MH_SAM_APDU [14:04:02]CAPDU: 80 13 01 00 [14:04:02]Write to MH i2c: E2 08 00 4A 20 80 13 01 00 00 00 00 00 E7 [14:04:02]Write i2c OK [14:04:02]MH_I2C_Read... [14:04:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:02]Read from MH i2c: E2 [14:04:02]MH_I2C_Read... [14:04:02]Read from MH i2c: E2 0E 00 [14:04:02]MH_I2C_Read... [14:04:02]Read from MH i2c: E2 0E 00 4A 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 BD [14:04:02]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:04:02]wFMCommunicate OK [14:04:02]SAM_PROTO_GetShiftState done [14:04:02]FM_GetShiftState done [14:04:02]opened in 1718756813 [14:04:02]opened+sec_in_day 1718843213 [14:04:02]quantity*price = 40039 [14:04:02]sum+1 = 40040 [14:04:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.39 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.52 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 34 19.06.2024 14:04 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34330 ФПД: 75277514115844 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140407&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34330&fm=75277514115844&tin=02508201610067®Number=0000000000092786&sum=40000 [14:04:03]StoreToDocumentArchive [14:04:03]shift 324 fd 34330 [14:04:03]save to /storage/0324/doc_00034330 [14:04:03]save last doc name /storage/0324/doc_00034330 to /storage/kkm_last_doc_name [14:04:03]save OK [14:04:03]Clear old archive folders... [14:04:03]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:04:03]tlvbuf is 019143C0 [14:04:03]SAM_PROTO_ClearQueue [14:04:03]wFMCommunicate request_size=4 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 09 00 00 [14:04:03]Write to MH i2c: E2 08 00 57 20 80 09 00 00 00 00 00 00 E9 [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:03]Read from MH i2c: E2 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 57 20 00 90 00 EB [14:04:03]RAPDU: 90 00 [14:04:03]wFMCommunicate OK [14:04:03]SAM_PROTO_ClearQueue done [14:04:03]KKMCreateOFDPacket [14:04:03]OFDProtocolAddRootSTLVToBuf [14:04:03]FM_MakeSignedData [14:04:03]FM_MakeSignedData [14:04:03]SAM_PROTO_SignData [14:04:03]wFMCommunicate request_size=4 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 0D 01 02 [14:04:03]Write to MH i2c: E2 08 00 58 20 80 0D 01 02 00 00 00 00 F1 [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:03]Read from MH i2c: E2 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 58 20 00 90 00 EC [14:04:03]RAPDU: 90 00 [14:04:03]wFMCommunicate OK [14:04:03]wFMCommunicate request_size=255 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 57 E5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 86 00 00 35 04 06 00 44 [14:04:03]Write to MH i2c: E2 02 01 59 20 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 57 E5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 86 00 00 35 04 06 00 44 00 00 DB [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:03]Read from MH i2c: E2 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 59 20 00 90 00 ED [14:04:03]RAPDU: 90 00 [14:04:03]wFMCommunicate OK [14:04:03]wFMCommunicate request_size=10 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 0D 02 02 05 76 E9 7D 0B 04 [14:04:03]Write to MH i2c: E2 0D 00 5A 20 80 0D 02 02 05 00 76 E9 7D 0B 04 00 00 E9 [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:03]Read from MH i2c: E2 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 03 00 5A 20 00 90 00 EE [14:04:03]RAPDU: 90 00 [14:04:03]wFMCommunicate OK [14:04:03]wFMCommunicate request_size=4 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 0D 03 02 [14:04:03]Write to MH i2c: E2 08 00 5B 20 80 0D 03 02 00 00 00 00 F6 [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:03]Read from MH i2c: E2 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 0B 00 [14:04:03]MH_I2C_Read... [14:04:03]Read from MH i2c: E2 0B 00 5B 20 00 55 DF FF 7F A5 FB CD 71 90 00 87 [14:04:03]RAPDU: 55 DF FF 7F A5 FB CD 71 90 00 [14:04:03]wFMCommunicate OK [14:04:03]SAM_PROTO_SignData done [14:04:03]FM_MakeSignedData done [14:04:03]CreateOFDProtocolMessage [14:04:03]wFMCommunicate request_size=4 [14:04:03]MH_SAM_APDU [14:04:03]CAPDU: 80 11 00 00 [14:04:03]Write to MH i2c: E2 08 00 5C 20 80 11 00 00 00 00 00 00 F6 [14:04:03]Write i2c OK [14:04:03]MH_I2C_Read... [14:04:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:04]Read from MH i2c: E2 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: E2 17 00 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: E2 17 00 5C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4B [14:04:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:04:04]wFMCommunicate OK [14:04:04]CreateOFDProtocolMessage done [14:04:04]OFDSenderStorePacket 34330 [14:04:04]StoreOFDPacket docnum=34330 [14:04:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 97 89 07 01 0F 2A 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 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 57 E5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 86 00 00 35 04 06 00 44 76 E9 7D 0B 04 55 DF FF 7F A5 FB CD 71 [14:04:04]CheckFolder [14:04:04]dirname=/storage/ofd_packets [14:04:04]CheckFolder done [14:04:04]ProducePacketName [14:04:04]name=ofd_packets/00034330 [14:04:04]NVStorageSaveData ofd_packets/00034330 [14:04:04]File name is /storage/ofd_packets/00034330 [14:04:04]Write 301 bytes [14:04:04]NVStorageSaveData done [14:04:04]OFDSenderStorePacket done [14:04:04]KKMCreateOFDPacket done [14:04:04]NVStorageSaveData kkm_last_timestamp [14:04:04]File name is /storage/kkm_last_timestamp [14:04:04]Write 4 bytes [14:04:04]NVStorageSaveData done [14:04:04]ExternCall_PrintAddStr [14:04:04]wPrintStart [14:04:04]Write to MH i2c: 01 00 00 5D 20 7D [14:04:04]Write i2c OK [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 07 00 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 07 00 5D 20 00 00 00 00 00 FF 0F 92 [14:04:04]RasterBufferAndPrint [14:04:04]line Счет N : (1)672942 [14:04:04]line ИНН: 02508201610067 [14:04:04]line Контрольно-Кассовый Чек [14:04:04]line ПРОДАЖА [14:04:04]line ТРК (МРК, ГНК) : 32 [14:04:04]line Товар: 2710124130 [14:04:04]line Аи-92-К-5 [14:04:04]line 6.030 * 66.40 [14:04:04]line = 400.39 [14:04:04]line НДС 12% НСП 1% [14:04:04]line > о реализуемом товаре [14:04:04]line ОКРУГЛЕНИЕ: -0.39 [14:04:04]line ИТОГО: 400.00 [14:04:04]line Внесено: 400.00 [14:04:04]line СДАЧА: 0.00 [14:04:04]line НСП 1% : 3.54 [14:04:04]line НДС 12% : 42.52 [14:04:04]line Наличными: 400.00 [14:04:04]line Безнал.: 0.00 [14:04:04]line Место: АЗС № 120 "Партнер Нефть" [14:04:04]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:04:04]line СНО: Общий режим [14:04:04]line Чек 34 19.06.2024 14:04 [14:04:04]line Смена: 324 ФФД: 1.0 [14:04:04]line ЗНМ: 0300000172 [14:04:04]line РНМ: 0000000000092786 [14:04:04]line Версия ККМ: 001 [14:04:04]line ФМ: 0000000000875095 [14:04:04]line ФД: 34330 [14:04:04]line ФПД: 75277514115844 [14:04:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140407&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34330&fm=75277514115844&tin=02508201610067®Number=0000000000092786&sum=40000 [14:04:04]OFD Sender: Processing packet 34330 [packets to send 8, broken 7] [14:04:04]ProducePacketName [14:04:04]name=ofd_packets/00034330 [14:04:04]OFD Sender: To server: pG, [14:04:04]CommunicateWithHost lk.salyk.kg:30040 [14:04:04]ConnectInit lk.salyk.kg [14:04:04]written 0, free lines is 4095 [14:04:04]Connected sock=10 [14:04:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 97 89 07 01 0F 2A 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 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 57 E5 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 86 00 00 35 04 06 00 44 76 E9 7D 0B 04 55 DF FF 7F A5 FB CD 71 [14:04:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D8 55 47 00 D3 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1A 86 00 00 F4 03 04 00 24 8C 72 66 B6 04 01 00 00 D4 BD F2 1C AE C8 8B B9 [14:04:04]CommunicateWithHost err = 0 [14:04:04]CheckOFDResponse [14:04:04]1017 (14) - 77093643461234 [14:04:04]1041 (16) - 0000000000875095 [14:04:04]1040 (4) - 34330 [14:04:04]1012 (4) - 19.06.2024 07:43 [14:04:04]1206 (1) - 0 [14:04:04]OFD Sender: Remove packet 34330 [14:04:04]ProducePacketName [14:04:04]name=ofd_packets/00034330 [14:04:04]NVStorageDeleteData [14:04:04]Write to MH i2c: 01 00 00 88 20 A8 [14:04:04]Write i2c OK [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 07 00 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: 01 07 00 88 20 00 00 00 00 00 D0 0C 8B [14:04:04]RasterBufferAndPrint [14:04:04]line [14:04:04]line [14:04:04]line [14:04:04]line [14:04:04]line [14:04:04]written 0, free lines is 3288 [14:04:04]MH_Cut [14:04:04]Write to MH i2c: D1 01 00 8F 20 01 81 [14:04:04]Write i2c OK [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: D1 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: D1 01 00 [14:04:04]MH_I2C_Read... [14:04:04]Read from MH i2c: D1 01 00 8F 20 00 80 [14:04:04]Write to MH i2c: 01 00 00 90 20 B0 [14:04:04]Write i2c OK [14:04:04]MH_I2C_Read... [14:04:05]OFD Sender: No OFD packet to send [14:04:05]*** Cut start [14:04:05]*** Partial cut [14:04:05]*** CUTSNS_PIN = 1 [14:04:05]*** CUTSNS_PIN = 0 [14:04:05]*** Brake cut motor [14:04:06]Read from MH i2c: 01 [14:04:06]MH_I2C_Read... [14:04:06]*** Stop cut motor [14:04:06]*** Cut end [14:04:06]Read from MH i2c: 01 07 00 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: 01 07 00 90 20 00 00 00 00 00 FF 0F C5 [14:04:06]process_action close_receipt done [14:04:06]requested_data is exist [14:04:06]produce_requested_data [14:04:06]requested_item fm.sn is exist - process it [14:04:06]wFMCommunicate request_size=4 [14:04:06]MH_SAM_APDU [14:04:06]CAPDU: 80 11 00 00 [14:04:06]Write to MH i2c: E2 08 00 91 20 80 11 00 00 00 00 00 00 2B [14:04:06]Write i2c OK [14:04:06]MH_I2C_Read... [14:04:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:06]Read from MH i2c: E2 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 17 00 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 17 00 91 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 80 [14:04:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:04:06]wFMCommunicate OK [14:04:06]requested_item fd.num is exist - process it [14:04:06]SAM_PROTO_GetFieldsCounters [14:04:06]wFMCommunicate request_size=4 [14:04:06]MH_SAM_APDU [14:04:06]CAPDU: 80 13 00 00 [14:04:06]Write to MH i2c: E2 08 00 92 20 80 13 00 00 00 00 00 00 2E [14:04:06]Write i2c OK [14:04:06]MH_I2C_Read... [14:04:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:06]Read from MH i2c: E2 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 62 00 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 62 00 92 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1A 86 00 00 0E 04 04 00 44 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 A3 [14:04:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1A 86 00 00 0E 04 04 00 44 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 [14:04:06]wFMCommunicate OK [14:04:06]SAM_PROTO_GetFieldsCounters done [14:04:06]requested_item shift.num is exist - process it [14:04:06]requested_item shift.opened is exist - process it [14:04:06]req_shift_opened [14:04:06]FM_GetShiftState [14:04:06]SAM_PROTO_GetShiftState [14:04:06]wFMCommunicate request_size=4 [14:04:06]MH_SAM_APDU [14:04:06]CAPDU: 80 13 01 00 [14:04:06]Write to MH i2c: E2 08 00 93 20 80 13 01 00 00 00 00 00 30 [14:04:06]Write i2c OK [14:04:06]MH_I2C_Read... [14:04:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:06]Read from MH i2c: E2 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 0E 00 [14:04:06]MH_I2C_Read... [14:04:06]Read from MH i2c: E2 0E 00 93 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 06 [14:04:06]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:04:06]wFMCommunicate OK [14:04:06]SAM_PROTO_GetShiftState done [14:04:06]FM_GetShiftState done [14:04:06]req_shift_opened done [14:04:06]requested_item shift.open_date is exist - process it [14:04:06]req_shift_open_date [14:04:06]req_shift_open_date done [14:04:06]produce_requested_data done [14:04:06]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34330,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:04:06]process_action_free close_receipt [14:04:06]json_value_free [14:04:06]json_value_free done [14:04:06]process_json_proto returns [14:04:06]Send response to host [14:04:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34330,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:04:06]free response buf [14:04:06]execute_script done [14:04:06]execute_script returns [14:04:06]free content buf [14:04:06]Sock 7.Close socket [14:04:06]Sock 7.Thread stoped [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:30]int [14:05:30]Write to MH i2c: 01 00 00 94 20 B4 [14:05:30]*** FLAG_PRN_PAP2 set [14:05:30]Write i2c OK [14:05:30]MH_I2C_Read... [14:05:30]Read from MH i2c: 01 [14:05:30]MH_I2C_Read... [14:05:30]Read from MH i2c: 01 07 00 [14:05:30]MH_I2C_Read... [14:05:30]Read from MH i2c: 01 07 00 94 20 00 02 00 00 00 FF 0F CB [14:05:30]state=0 [14:05:30]Cover opened [14:05:35]OFD Sender: No OFD packet to send [14:05:35]Write to MH i2c: 01 00 00 95 20 B5 [14:05:35]Write i2c OK [14:05:35]MH_I2C_Read... [14:05:35]Read from MH i2c: 01 [14:05:35]MH_I2C_Read... [14:05:35]Read from MH i2c: 01 07 00 [14:05:35]MH_I2C_Read... [14:05:35]Read from MH i2c: 01 07 00 95 20 00 02 00 00 00 FF 0F CC [14:05:35]state=3 [14:05:35]Cover opened [14:05:40]OFD Sender: No OFD packet to send [14:05:40]Write to MH i2c: 01 00 00 96 20 B6 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 96 20 00 02 00 00 00 FF 0F CD [14:05:40]state=3 [14:05:40]Cover opened [14:05:45]OFD Sender: No OFD packet to send [14:05:45]Write to MH i2c: 01 00 00 97 20 B7 [14:05:45]Write i2c OK [14:05:45]MH_I2C_Read... [14:05:45]Read from MH i2c: 01 [14:05:45]MH_I2C_Read... [14:05:45]Read from MH i2c: 01 07 00 [14:05:45]MH_I2C_Read... [14:05:45]Read from MH i2c: 01 07 00 97 20 00 02 00 00 00 FF 0F CE [14:05:45]state=3 [14:05:45]Cover opened [14:05:50]OFD Sender: No OFD packet to send [14:05:50]Write to MH i2c: 01 00 00 98 20 B8 [14:05:50]Write i2c OK [14:05:50]MH_I2C_Read... [14:05:50]Read from MH i2c: 01 [14:05:50]MH_I2C_Read... [14:05:50]Read from MH i2c: 01 07 00 [14:05:50]MH_I2C_Read... [14:05:50]Read from MH i2c: 01 07 00 98 20 00 02 00 00 00 FF 0F CF [14:05:50]state=3 [14:05:50]Cover opened [14:05:55]OFD Sender: No OFD packet to send [14:05:55]Write to MH i2c: 01 00 00 99 20 B9 [14:05:55]Write i2c OK [14:05:55]MH_I2C_Read... [14:05:55]Read from MH i2c: 01 [14:05:55]MH_I2C_Read... [14:05:55]Read from MH i2c: 01 07 00 [14:05:55]MH_I2C_Read... [14:05:55]Read from MH i2c: 01 07 00 99 20 00 02 00 00 00 FF 0F D0 [14:05:55]state=3 [14:05:55]Cover opened [14:06:00]OFD Sender: No OFD packet to send [14:06:00]Write to MH i2c: 01 00 00 9A 20 BA [14:06:00]Write i2c OK [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: 01 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: 01 07 00 [14:06:00]MH_I2C_Read... [14:06:00]Read from MH i2c: 01 07 00 9A 20 00 02 00 00 00 FF 0F D1 [14:06:00]state=3 [14:06:00]Cover opened [14:06:05]OFD Sender: No OFD packet to send [14:06:05]Write to MH i2c: 01 00 00 9B 20 BB [14:06:05]Write i2c OK [14:06:05]MH_I2C_Read... [14:06:05]Read from MH i2c: 01 [14:06:05]MH_I2C_Read... [14:06:05]Read from MH i2c: 01 07 00 [14:06:05]MH_I2C_Read... [14:06:05]Read from MH i2c: 01 07 00 9B 20 00 02 00 00 00 FF 0F D2 [14:06:05]state=3 [14:06:05]Cover opened [14:06:10]OFD Sender: No OFD packet to send [14:06:10]Write to MH i2c: 01 00 00 9C 20 BC [14:06:10]Write i2c OK [14:06:10]MH_I2C_Read... [14:06:10]Read from MH i2c: 01 [14:06:10]MH_I2C_Read... [14:06:10]Read from MH i2c: 01 07 00 [14:06:10]MH_I2C_Read... [14:06:10]Read from MH i2c: 01 07 00 9C 20 00 02 00 00 00 FF 0F D3 [14:06:10]state=3 [14:06:10]Cover opened [14:06:15]OFD Sender: No OFD packet to send [14:06:15]Write to MH i2c: 01 00 00 9D 20 BD [14:06:15]Write i2c OK [14:06:15]MH_I2C_Read... [14:06:15]Read from MH i2c: 01 [14:06:15]MH_I2C_Read... [14:06:15]Read from MH i2c: 01 07 00 [14:06:15]MH_I2C_Read... [14:06:15]Read from MH i2c: 01 07 00 9D 20 00 02 00 00 00 FF 0F D4 [14:06:15]state=3 [14:06:15]Cover opened [14:06:20]OFD Sender: No OFD packet to send [14:06:20]int [14:06:20]Write to MH i2c: 01 00 00 9E 20 BE [14:06:20]*** FLAG_PRN_PAP2 reset [14:06:20]Write i2c OK [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: 01 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: 01 07 00 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: 01 07 00 9E 20 00 00 00 00 00 FF 0F D3 [14:06:20]state=3 [14:06:20]Cover closed [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]accept exits with 9 [14:08:00]New connection [14:08:00]New thread 3067567460 created [14:08:00]Thread 3067424100 joined [14:08:00]Waiting for new connection... [14:08:00] Sock 9.Parse request [14:08:00]Sock 9.Check first char [14:08:00]Sock 9.First char is OK [14:08:00]request: POST /json_proto HTTP/1.0 [14:08:00]Method: POST [14:08:00]URL: /json_proto [14:08:00]Method is POST - this is cgi request [14:08:00]url: /json_proto [14:08:00]query_string will be loaded in cgi processing [14:08:00]execute_cgi json_proto POST (null) [14:08:00]execute_cgi path=json_proto method=POST [14:08:00]POST find Content-Length [14:08:00]Host: 172.17.38.134:8080 [14:08:00]Content-Length: 682 [14:08:00]Content-Type: application/json [14:08:00] [14:08:00]POST finish read [14:08:00]Found Content-Length = 682 [14:08:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672943", "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" : 73.90, "quantity" : 13.540, "sum" : 1000.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:08:00]execute_script... [14:08:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672943", "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" : 73.90, "quantity" : 13.540, "sum" : 1000.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:08:00]POST & json_proto [14:08:00]process_json_proto [14:08:00]json parsed OK: [14:08:00]protocol is kg_v1.0 [14:08:00]action value=close_receipt [14:08:00]process_action close_receipt [14:08:00]cmd_close_receipt [14:08:00]MH_GetDate [14:08:00]Write to MH i2c: F0 00 00 9F 20 AE [14:08:00]OFD Sender: No OFD packet to send [14:08:00]Write i2c OK [14:08:00]MH_I2C_Read... [14:08:00]Read from MH i2c: F0 [14:08:00]MH_I2C_Read... [14:08:00]Read from MH i2c: F0 09 00 [14:08:00]MH_I2C_Read... [14:08:00]Read from MH i2c: F0 09 00 9F 20 00 46 E6 72 66 13 9C 7C 64 4A [14:08:00]GetLastDocTimeStamp 1718805847 [14:08:00]current date 1718806086 [14:08:00]FM_GetShiftState [14:08:00]SAM_PROTO_GetShiftState [14:08:00]wFMCommunicate request_size=4 [14:08:00]MH_SAM_APDU [14:08:00]CAPDU: 80 13 01 00 [14:08:00]Write to MH i2c: E2 08 00 A0 20 80 13 01 00 00 00 00 00 3D [14:08:00]Write i2c OK [14:08:00]MH_I2C_Read... [14:08:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:08:00]Read from MH i2c: E2 [14:08:00]MH_I2C_Read... [14:08:00]Read from MH i2c: E2 0E 00 [14:08:00]MH_I2C_Read... [14:08:00]Read from MH i2c: E2 0E 00 A0 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 13 [14:08:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:08:00]wFMCommunicate OK [14:08:00]SAM_PROTO_GetShiftState done [14:08:00]FM_GetShiftState done [14:08:00]opened in 1718756813 [14:08:00]opened+sec_in_day 1718843213 [14:08:00]quantity*price = 100060 [14:08:00]sum+1 = 100062 [14:08:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.26 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 35 19.06.2024 14:08 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34331 ФПД: 260785027176273 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140806&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34331&fm=260785027176273&tin=02508201610067®Number=0000000000092786&sum=100000 [14:08:01]StoreToDocumentArchive [14:08:01]shift 324 fd 34331 [14:08:01]save to /storage/0324/doc_00034331 [14:08:01]save last doc name /storage/0324/doc_00034331 to /storage/kkm_last_doc_name [14:08:01]save OK [14:08:01]Clear old archive folders... [14:08:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:08:01]tlvbuf is 01928DB0 [14:08:01]SAM_PROTO_ClearQueue [14:08:01]wFMCommunicate request_size=4 [14:08:01]MH_SAM_APDU [14:08:01]CAPDU: 80 09 00 00 [14:08:01]Write to MH i2c: E2 08 00 AD 20 80 09 00 00 00 00 00 00 3F [14:08:01]Write i2c OK [14:08:01]MH_I2C_Read... [14:08:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:08:01]Read from MH i2c: E2 [14:08:01]MH_I2C_Read... [14:08:01]Read from MH i2c: E2 03 00 [14:08:01]MH_I2C_Read... [14:08:01]Read from MH i2c: E2 03 00 AD 20 00 90 00 41 [14:08:01]RAPDU: 90 00 [14:08:01]wFMCommunicate OK [14:08:01]SAM_PROTO_ClearQueue done [14:08:01]KKMCreateOFDPacket [14:08:01]OFDProtocolAddRootSTLVToBuf [14:08:01]FM_MakeSignedData [14:08:01]FM_MakeSignedData [14:08:01]SAM_PROTO_SignData [14:08:01]wFMCommunicate request_size=4 [14:08:01]MH_SAM_APDU [14:08:01]CAPDU: 80 0D 01 02 [14:08:01]Write to MH i2c: E2 08 00 AE 20 80 0D 01 02 00 00 00 00 47 [14:08:01]Write i2c OK [14:08:01]MH_I2C_Read... [14:08:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:08:01]Read from MH i2c: E2 [14:08:01]MH_I2C_Read... [14:08:01]Read from MH i2c: E2 03 00 [14:08:01]MH_I2C_Read... [14:08:01]Read from MH i2c: E2 03 00 AE 20 00 90 00 42 [14:08:01]RAPDU: 90 00 [14:08:01]wFMCommunicate OK [14:08:01]wFMCommunicate request_size=255 [14:08:01]MH_SAM_APDU [14:08: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 E4 34 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 DD 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 82 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 23 00 00 00 F4 03 04 00 46 E6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 86 00 00 35 04 06 00 ED [14:08:01]Write to MH i2c: E2 02 01 AF 20 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E4 34 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 DD 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 82 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 23 00 00 00 F4 03 04 00 46 E6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 86 00 00 35 04 06 00 ED 00 00 3F [14:08:01]Write i2c OK [14:08:01]MH_I2C_Read... [14:08:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:08:02]Read from MH i2c: E2 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 03 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 03 00 AF 20 00 90 00 43 [14:08:02]RAPDU: 90 00 [14:08:02]wFMCommunicate OK [14:08:02]wFMCommunicate request_size=10 [14:08:02]MH_SAM_APDU [14:08:02]CAPDU: 80 0D 02 02 05 2E BE E8 57 51 [14:08:02]Write to MH i2c: E2 0D 00 B0 20 80 0D 02 02 05 00 2E BE E8 57 51 00 00 D0 [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:08:02]Read from MH i2c: E2 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 03 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 03 00 B0 20 00 90 00 44 [14:08:02]RAPDU: 90 00 [14:08:02]wFMCommunicate OK [14:08:02]wFMCommunicate request_size=4 [14:08:02]MH_SAM_APDU [14:08:02]CAPDU: 80 0D 03 02 [14:08:02]Write to MH i2c: E2 08 00 B1 20 80 0D 03 02 00 00 00 00 4C [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:08:02]Read from MH i2c: E2 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 0B 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 0B 00 B1 20 00 09 7A F7 8D 88 7F F2 D6 90 00 23 [14:08:02]RAPDU: 09 7A F7 8D 88 7F F2 D6 90 00 [14:08:02]wFMCommunicate OK [14:08:02]SAM_PROTO_SignData done [14:08:02]FM_MakeSignedData done [14:08:02]CreateOFDProtocolMessage [14:08:02]wFMCommunicate request_size=4 [14:08:02]MH_SAM_APDU [14:08:02]CAPDU: 80 11 00 00 [14:08:02]Write to MH i2c: E2 08 00 B2 20 80 11 00 00 00 00 00 00 4C [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:02]Read from MH i2c: E2 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 17 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: E2 17 00 B2 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A1 [14:08:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:08:02]wFMCommunicate OK [14:08:02]CreateOFDProtocolMessage done [14:08:02]OFDSenderStorePacket 34331 [14:08:02]StoreOFDPacket docnum=34331 [14:08:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 B5 1A 07 01 2B D6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E4 34 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 DD 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 82 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 23 00 00 00 F4 03 04 00 46 E6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 86 00 00 35 04 06 00 ED 2E BE E8 57 51 09 7A F7 8D 88 7F F2 D6 [14:08:02]CheckFolder [14:08:02]dirname=/storage/ofd_packets [14:08:02]CheckFolder done [14:08:02]ProducePacketName [14:08:02]name=ofd_packets/00034331 [14:08:02]NVStorageSaveData ofd_packets/00034331 [14:08:02]File name is /storage/ofd_packets/00034331 [14:08:02]Write 301 bytes [14:08:02]NVStorageSaveData done [14:08:02]OFDSenderStorePacket done [14:08:02]KKMCreateOFDPacket done [14:08:02]NVStorageSaveData kkm_last_timestamp [14:08:02]File name is /storage/kkm_last_timestamp [14:08:02]Write 4 bytes [14:08:02]NVStorageSaveData done [14:08:02]ExternCall_PrintAddStr [14:08:02]wPrintStart [14:08:02]Write to MH i2c: 01 00 00 B3 20 D3 [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 07 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 07 00 B3 20 00 00 00 00 00 FF 0F E8 [14:08:02]RasterBufferAndPrint [14:08:02]line Счет N : (1)672943 [14:08:02]line ИНН: 02508201610067 [14:08:02]line Контрольно-Кассовый Чек [14:08:02]line ПРОДАЖА [14:08:02]line ТРК (МРК, ГНК) : 41 [14:08:02]line Товар: 2710124500 [14:08:02]line Аи-95-К-5 [14:08:02]line 13.540 * 73.90 [14:08:02]line = 1000.61 [14:08:02]line НДС 12% НСП 1% [14:08:02]line > о реализуемом товаре [14:08:02]line ОКРУГЛЕНИЕ: -0.61 [14:08:02]line ИТОГО: 1000.00 [14:08:02]line Внесено: 1000.00 [14:08:02]line СДАЧА: 0.00 [14:08:02]line НСП 1% : 8.85 [14:08:02]line НДС 12% : 106.26 [14:08:02]line Наличными: 1000.00 [14:08:02]line Безнал.: 0.00 [14:08:02]line Место: АЗС № 120 "Партнер Нефть" [14:08:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:08:02]line СНО: Общий режим [14:08:02]line Чек 35 19.06.2024 14:08 [14:08:02]line Смена: 324 ФФД: 1.0 [14:08:02]line ЗНМ: 0300000172 [14:08:02]line РНМ: 0000000000092786 [14:08:02]line Версия ККМ: 001 [14:08:02]line ФМ: 0000000000875095 [14:08:02]line ФД: 34331 [14:08:02]line ФПД: 260785027176273 [14:08:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T140806&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34331&fm=260785027176273&tin=02508201610067®Number=0000000000092786&sum=100000 [14:08:02]OFD Sender: Processing packet 34331 [packets to send 8, broken 7] [14:08:02]ProducePacketName [14:08:02]name=ofd_packets/00034331 [14:08:02]OFD Sender: To server: pG, [14:08:02]CommunicateWithHost lk.salyk.kg:30040 [14:08:02]ConnectInit lk.salyk.kg [14:08:02]written 0, free lines is 4095 [14:08:02]Connected sock=10 [14:08:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 B5 1A 07 01 2B D6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 E4 34 00 00 00 00 00 37 04 06 00 DE 1C 00 00 00 00 13 04 06 00 DD 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 82 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 23 00 00 00 F4 03 04 00 46 E6 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 86 00 00 35 04 06 00 ED 2E BE E8 57 51 09 7A F7 8D 88 7F F2 D6 [14:08:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 E1 D2 47 00 0E 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1B 86 00 00 F4 03 04 00 12 8D 72 66 B6 04 01 00 00 2F 1D E2 5D 53 B1 25 21 [14:08:02]CommunicateWithHost err = 0 [14:08:02]CheckOFDResponse [14:08:02]1017 (14) - 77093643461234 [14:08:02]1041 (16) - 0000000000875095 [14:08:02]1040 (4) - 34331 [14:08:02]1012 (4) - 19.06.2024 07:47 [14:08:02]1206 (1) - 0 [14:08:02]OFD Sender: Remove packet 34331 [14:08:02]ProducePacketName [14:08:02]name=ofd_packets/00034331 [14:08:02]NVStorageDeleteData [14:08:02]Write to MH i2c: 01 00 00 DE 20 FE [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 07 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: 01 07 00 DE 20 00 00 00 00 00 DD 0C EE [14:08:02]RasterBufferAndPrint [14:08:02]line [14:08:02]line [14:08:02]line [14:08:02]line [14:08:02]line [14:08:02]written 0, free lines is 3302 [14:08:02]MH_Cut [14:08:02]Write to MH i2c: D1 01 00 E5 20 01 D7 [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: D1 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: D1 01 00 [14:08:02]MH_I2C_Read... [14:08:02]Read from MH i2c: D1 01 00 E5 20 00 D6 [14:08:02]Write to MH i2c: 01 00 00 E6 20 06 [14:08:02]Write i2c OK [14:08:02]MH_I2C_Read... [14:08:03]OFD Sender: No OFD packet to send [14:08:03]*** Cut start [14:08:03]*** Partial cut [14:08:03]*** CUTSNS_PIN = 1 [14:08:03]*** CUTSNS_PIN = 0 [14:08:03]*** Brake cut motor [14:08:04]Read from MH i2c: 01 [14:08:04]MH_I2C_Read... [14:08:04]*** Stop cut motor [14:08:04]*** Cut end [14:08:04]Read from MH i2c: 01 07 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: 01 07 00 E6 20 00 00 00 00 00 FF 0F 1B [14:08:04]process_action close_receipt done [14:08:04]requested_data is exist [14:08:04]produce_requested_data [14:08:04]requested_item fm.sn is exist - process it [14:08:04]wFMCommunicate request_size=4 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 11 00 00 [14:08:04]Write to MH i2c: E2 08 00 E7 20 80 11 00 00 00 00 00 00 81 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 17 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 17 00 E7 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D6 [14:08:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:08:04]wFMCommunicate OK [14:08:04]requested_item fd.num is exist - process it [14:08:04]SAM_PROTO_GetFieldsCounters [14:08:04]wFMCommunicate request_size=4 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 13 00 00 [14:08:04]Write to MH i2c: E2 08 00 E8 20 80 13 00 00 00 00 00 00 84 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 62 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 62 00 E8 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1B 86 00 00 0E 04 04 00 44 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 FD [14:08:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1B 86 00 00 0E 04 04 00 44 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 [14:08:04]wFMCommunicate OK [14:08:04]SAM_PROTO_GetFieldsCounters done [14:08:04]requested_item shift.num is exist - process it [14:08:04]requested_item shift.opened is exist - process it [14:08:04]req_shift_opened [14:08:04]FM_GetShiftState [14:08:04]SAM_PROTO_GetShiftState [14:08:04]wFMCommunicate request_size=4 [14:08:04]MH_SAM_APDU [14:08:04]CAPDU: 80 13 01 00 [14:08:04]Write to MH i2c: E2 08 00 E9 20 80 13 01 00 00 00 00 00 86 [14:08:04]Write i2c OK [14:08:04]MH_I2C_Read... [14:08:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:08:04]Read from MH i2c: E2 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 0E 00 [14:08:04]MH_I2C_Read... [14:08:04]Read from MH i2c: E2 0E 00 E9 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 5C [14:08:04]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:08:04]wFMCommunicate OK [14:08:04]SAM_PROTO_GetShiftState done [14:08:04]FM_GetShiftState done [14:08:04]req_shift_opened done [14:08:04]requested_item shift.open_date is exist - process it [14:08:04]req_shift_open_date [14:08:04]req_shift_open_date done [14:08:04]produce_requested_data done [14:08:04]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34331,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:08:04]process_action_free close_receipt [14:08:04]json_value_free [14:08:04]json_value_free done [14:08:04]process_json_proto returns [14:08:04]Send response to host [14:08:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34331,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:08:04]free response buf [14:08:04]execute_script done [14:08:04]execute_script returns [14:08:04]free content buf [14:08:04]Sock 9.Close socket [14:08:04]Sock 9.Thread stoped [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:41]accept exits with 7 [14:15:41]New connection [14:15:41]New thread 3067424100 created [14:15:41]Thread 3067567460 joined [14:15:41]Waiting for new connection... [14:15:41] Sock 7.Parse request [14:15:41]Sock 7.Check first char [14:15:41]Sock 7.First char is OK [14:15:41]request: POST /json_proto HTTP/1.0 [14:15:41]Method: POST [14:15:41]URL: /json_proto [14:15:41]Method is POST - this is cgi request [14:15:41]url: /json_proto [14:15:41]query_string will be loaded in cgi processing [14:15:41]execute_cgi json_proto POST (null) [14:15:41]execute_cgi path=json_proto method=POST [14:15:41]POST find Content-Length [14:15:41]Host: 172.17.38.134:8080 [14:15:41]Content-Length: 811 [14:15:41]Content-Type: application/json [14:15:41] [14:15:41]POST finish read [14:15:41]Found Content-Length = 811 [14:15:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672944", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 137.180, "sum" : 10000.42, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 10000.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:15:41]execute_script... [14:15:41]execute_script path=json_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)672944", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 72.90, "quantity" : 137.180, "sum" : 10000.42, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 10000.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:15:41]POST & json_proto [14:15:41]process_json_proto [14:15:41]json parsed OK: [14:15:41]protocol is kg_v1.0 [14:15:41]action value=close_receipt [14:15:41]process_action close_receipt [14:15:41]cmd_close_receipt [14:15:41]MH_GetDate [14:15:41]Write to MH i2c: F0 00 00 EA 20 F9 [14:15:41]Write i2c OK [14:15:41]MH_I2C_Read... [14:15:41]Read from MH i2c: F0 [14:15:41]MH_I2C_Read... [14:15:41]Read from MH i2c: F0 09 00 [14:15:41]MH_I2C_Read... [14:15:41]Read from MH i2c: F0 09 00 EA 20 00 13 E8 72 66 13 9C 7C 64 64 [14:15:41]GetLastDocTimeStamp 1718806086 [14:15:41]current date 1718806547 [14:15:41]FM_GetShiftState [14:15:41]SAM_PROTO_GetShiftState [14:15:41]wFMCommunicate request_size=4 [14:15:41]MH_SAM_APDU [14:15:41]CAPDU: 80 13 01 00 [14:15:41]Write to MH i2c: E2 08 00 EB 20 80 13 01 00 00 00 00 00 88 [14:15:41]Write i2c OK [14:15:41]MH_I2C_Read... [14:15:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:15:41]Read from MH i2c: E2 [14:15:41]MH_I2C_Read... [14:15:41]Read from MH i2c: E2 0E 00 [14:15:41]MH_I2C_Read... [14:15:41]Read from MH i2c: E2 0E 00 EB 20 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 5E [14:15:41]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:15:41]wFMCommunicate OK [14:15:41]SAM_PROTO_GetShiftState done [14:15:41]FM_GetShiftState done [14:15:41]opened in 1718756813 [14:15:41]opened+sec_in_day 1718843213 [14:15:41]quantity*price = 1000042 [14:15:41]sum+1 = 1000043 [14:15:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10000.42 НСП 1% : 88.50 НДС 12% : 1061.99 Наличными: 0.00 Безнал.: 10000.42 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 36 19.06.2024 14:15 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34332 ФПД: 266436503720670 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T141547&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34332&fm=266436503720670&tin=02508201610067®Number=0000000000092786&sum=1000042 [14:15:42]StoreToDocumentArchive [14:15:42]shift 324 fd 34332 [14:15:42]save to /storage/0324/doc_00034332 [14:15:42]save last doc name /storage/0324/doc_00034332 to /storage/kkm_last_doc_name [14:15:42]save OK [14:15:42]Clear old archive folders... [14:15:42]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:15:42]tlvbuf is B6F3E850 [14:15:42]SAM_PROTO_ClearQueue [14:15:42]wFMCommunicate request_size=4 [14:15:42]MH_SAM_APDU [14:15:42]CAPDU: 80 09 00 00 [14:15:42]Write to MH i2c: E2 08 00 F8 20 80 09 00 00 00 00 00 00 8A [14:15:42]Write i2c OK [14:15:42]MH_I2C_Read... [14:15:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:15:42]Read from MH i2c: E2 [14:15:42]MH_I2C_Read... [14:15:42]Read from MH i2c: E2 03 00 [14:15:42]MH_I2C_Read... [14:15:42]Read from MH i2c: E2 03 00 F8 20 00 90 00 8C [14:15:42]RAPDU: 90 00 [14:15:42]wFMCommunicate OK [14:15:42]SAM_PROTO_ClearQueue done [14:15:42]KKMCreateOFDPacket [14:15:42]OFDProtocolAddRootSTLVToBuf [14:15:42]FM_MakeSignedData [14:15:42]FM_MakeSignedData [14:15:42]SAM_PROTO_SignData [14:15:42]wFMCommunicate request_size=4 [14:15:42]MH_SAM_APDU [14:15:42]CAPDU: 80 0D 01 02 [14:15:42]Write to MH i2c: E2 08 00 F9 20 80 0D 01 02 00 00 00 00 92 [14:15:42]Write i2c OK [14:15:42]MH_I2C_Read... [14:15:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:15:42]Read from MH i2c: E2 [14:15:42]MH_I2C_Read... [14:15:42]Read from MH i2c: E2 03 00 [14:15:42]MH_I2C_Read... [14:15:42]Read from MH i2c: E2 03 00 F9 20 00 90 00 8D [14:15:42]RAPDU: 90 00 [14:15:42]wFMCommunicate OK [14:15:42]wFMCommunicate request_size=255 [14:15:42]MH_SAM_APDU [14:15:42]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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 DC 17 02 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 6A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6A 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 D7 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6A 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 13 E8 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 86 00 00 35 04 06 00 [14:15:42]Write to MH i2c: E2 02 01 FA 20 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 DC 17 02 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 6A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6A 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 D7 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6A 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 13 E8 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 86 00 00 35 04 06 00 00 00 A4 [14:15:42]Write i2c OK [14:15:42]MH_I2C_Read... [14:15:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:15:43]Read from MH i2c: E2 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 03 00 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 03 00 FA 20 00 90 00 8E [14:15:43]RAPDU: 90 00 [14:15:43]wFMCommunicate OK [14:15:43]wFMCommunicate request_size=11 [14:15:43]MH_SAM_APDU [14:15:43]CAPDU: 80 0D 02 02 06 F2 52 95 28 D2 DE [14:15:43]Write to MH i2c: E2 0E 00 FB 20 80 0D 02 02 06 00 F2 52 95 28 D2 DE 00 00 52 [14:15:43]Write i2c OK [14:15:43]MH_I2C_Read... [14:15:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:15:43]Read from MH i2c: E2 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 03 00 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 03 00 FB 20 00 90 00 8F [14:15:43]RAPDU: 90 00 [14:15:43]wFMCommunicate OK [14:15:43]wFMCommunicate request_size=4 [14:15:43]MH_SAM_APDU [14:15:43]CAPDU: 80 0D 03 02 [14:15:43]Write to MH i2c: E2 08 00 FC 20 80 0D 03 02 00 00 00 00 97 [14:15:43]Write i2c OK [14:15:43]MH_I2C_Read... [14:15:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:15:43]Read from MH i2c: E2 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 0B 00 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 0B 00 FC 20 00 B2 00 66 6A 70 0F 2D DE 90 00 A4 [14:15:43]RAPDU: B2 00 66 6A 70 0F 2D DE 90 00 [14:15:43]wFMCommunicate OK [14:15:43]SAM_PROTO_SignData done [14:15:43]FM_MakeSignedData done [14:15:43]CreateOFDProtocolMessage [14:15:43]wFMCommunicate request_size=4 [14:15:43]MH_SAM_APDU [14:15:43]CAPDU: 80 11 00 00 [14:15:43]Write to MH i2c: E2 08 00 FD 20 80 11 00 00 00 00 00 00 97 [14:15:43]Write i2c OK [14:15:43]MH_I2C_Read... [14:15:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:15:43]Read from MH i2c: E2 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 17 00 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: E2 17 00 FD 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 EC [14:15:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:15:43]wFMCommunicate OK [14:15:43]CreateOFDProtocolMessage done [14:15:43]OFDSenderStorePacket 34332 [14:15:43]StoreOFDPacket docnum=34332 [14:15:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 71 3E 08 01 7B 7D 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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 DC 17 02 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 6A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6A 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 D7 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6A 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 13 E8 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 86 00 00 35 04 06 00 F2 52 95 28 D2 DE B2 00 66 6A 70 0F 2D DE [14:15:43]CheckFolder [14:15:43]dirname=/storage/ofd_packets [14:15:43]CheckFolder done [14:15:43]ProducePacketName [14:15:43]name=ofd_packets/00034332 [14:15:43]NVStorageSaveData ofd_packets/00034332 [14:15:43]File name is /storage/ofd_packets/00034332 [14:15:43]Write 302 bytes [14:15:43]NVStorageSaveData done [14:15:43]OFDSenderStorePacket done [14:15:43]KKMCreateOFDPacket done [14:15:43]NVStorageSaveData kkm_last_timestamp [14:15:43]File name is /storage/kkm_last_timestamp [14:15:43]Write 4 bytes [14:15:43]NVStorageSaveData done [14:15:43]ExternCall_PrintAddStr [14:15:43]wPrintStart [14:15:43]Write to MH i2c: 01 00 00 FE 20 1E [14:15:43]Write i2c OK [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: 01 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: 01 07 00 [14:15:43]MH_I2C_Read... [14:15:43]Read from MH i2c: 01 07 00 FE 20 00 00 00 00 00 FF 0F 33 [14:15:43]RasterBufferAndPrint [14:15:43]line Счет N : (1)672944 [14:15:43]line ИНН: 02508201610067 [14:15:43]line Контрольно-Кассовый Чек [14:15:43]line ПРОДАЖА [14:15:43]line ТРК (МРК, ГНК) : 11 [14:15:43]line Товар: 2710194210 [14:15:43]line ДТ(л)-К-5 [14:15:43]line 137.180 * 72.90 [14:15:43]line = 10000.42 [14:15:43]line НДС 12% НСП 1% [14:15:43]line > о реализуемом товаре [14:15:43]line ИТОГО: 10000.42 [14:15:43]line НСП 1% : 88.50 [14:15:43]line НДС 12% : 1061.99 [14:15:43]line Наличными: 0.00 [14:15:43]line Безнал.: 10000.42 [14:15:43]line Место: АЗС № 120 "Партнер Нефть" [14:15:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:15:43]line СНО: Общий режим [14:15:43]line Чек 36 19.06.2024 14:15 [14:15:43]line Смена: 324 ФФД: 1.0 [14:15:43]line ЗНМ: 0300000172 [14:15:43]line РНМ: 0000000000092786 [14:15:43]line Версия ККМ: 001 [14:15:43]line Платежная система: O! деньги [14:15:43]line ФМ: 0000000000875095 [14:15:43]line ФД: 34332 [14:15:43]line ФПД: 266436503720670 [14:15:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T141547&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34332&fm=266436503720670&tin=02508201610067®Number=0000000000092786&sum=1000042 [14:15:43]OFD Sender: Processing packet 34332 [packets to send 8, broken 7] [14:15:43]ProducePacketName [14:15:43]name=ofd_packets/00034332 [14:15:43]OFD Sender: To server: pG, [14:15:43]CommunicateWithHost lk.salyk.kg:30040 [14:15:43]ConnectInit lk.salyk.kg [14:15:43]written 0, free lines is 4095 [14:15:43]Connected sock=10 [14:15:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 01 00 00 71 3E 08 01 7B 7D 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 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 DC 17 02 00 00 00 00 37 04 06 00 7A 1C 00 00 00 00 13 04 06 00 6A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6A 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 D7 9E 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6A 42 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 13 E8 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 86 00 00 35 04 06 00 F2 52 95 28 D2 DE B2 00 66 6A 70 0F 2D DE [14:15:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 C4 4A 47 00 5D BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1C 86 00 00 F4 03 04 00 DF 8E 72 66 B6 04 01 00 00 A0 C3 9F F2 A9 2F 7D 09 [14:15:44]CommunicateWithHost err = 0 [14:15:44]CheckOFDResponse [14:15:44]1017 (14) - 77093643461234 [14:15:44]1041 (16) - 0000000000875095 [14:15:44]1040 (4) - 34332 [14:15:44]1012 (4) - 19.06.2024 07:55 [14:15:44]1206 (1) - 0 [14:15:44]OFD Sender: Remove packet 34332 [14:15:44]ProducePacketName [14:15:44]name=ofd_packets/00034332 [14:15:44]NVStorageDeleteData [14:15:44]Write to MH i2c: 01 00 00 28 21 49 [14:15:44]Write i2c OK [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: 01 [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: 01 07 00 [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: 01 07 00 28 21 00 00 00 00 00 EF 0C 4B [14:15:44]RasterBufferAndPrint [14:15:44]line [14:15:44]line [14:15:44]line [14:15:44]line [14:15:44]line [14:15:44]written 0, free lines is 3316 [14:15:44]MH_Cut [14:15:44]Write to MH i2c: D1 01 00 2F 21 01 22 [14:15:44]Write i2c OK [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: D1 [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: D1 01 00 [14:15:44]MH_I2C_Read... [14:15:44]Read from MH i2c: D1 01 00 2F 21 00 21 [14:15:44]Write to MH i2c: 01 00 00 30 21 51 [14:15:44]Write i2c OK [14:15:44]MH_I2C_Read... [14:15:44]OFD Sender: No OFD packet to send [14:15:44]*** Cut start [14:15:44]*** Partial cut [14:15:44]*** CUTSNS_PIN = 1 [14:15:44]*** CUTSNS_PIN = 0 [14:15:45]*** Brake cut motor [14:15:45]Read from MH i2c: 01 [14:15:45]MH_I2C_Read... [14:15:45]*** Stop cut motor [14:15:45]*** Cut end [14:15:45]Read from MH i2c: 01 07 00 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: 01 07 00 30 21 00 00 00 00 00 FF 0F 66 [14:15:45]process_action close_receipt done [14:15:45]requested_data is exist [14:15:45]produce_requested_data [14:15:45]requested_item fm.sn is exist - process it [14:15:45]wFMCommunicate request_size=4 [14:15:45]MH_SAM_APDU [14:15:45]CAPDU: 80 11 00 00 [14:15:45]Write to MH i2c: E2 08 00 31 21 80 11 00 00 00 00 00 00 CC [14:15:45]Write i2c OK [14:15:45]MH_I2C_Read... [14:15:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:15:45]Read from MH i2c: E2 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 17 00 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 17 00 31 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 21 [14:15:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:15:45]wFMCommunicate OK [14:15:45]requested_item fd.num is exist - process it [14:15:45]SAM_PROTO_GetFieldsCounters [14:15:45]wFMCommunicate request_size=4 [14:15:45]MH_SAM_APDU [14:15:45]CAPDU: 80 13 00 00 [14:15:45]Write to MH i2c: E2 08 00 32 21 80 13 00 00 00 00 00 00 CF [14:15:45]Write i2c OK [14:15:45]MH_I2C_Read... [14:15:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:15:45]Read from MH i2c: E2 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 62 00 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 62 00 32 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 86 00 00 0E 04 04 00 44 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 4C [14:15:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1C 86 00 00 0E 04 04 00 44 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 [14:15:45]wFMCommunicate OK [14:15:45]SAM_PROTO_GetFieldsCounters done [14:15:45]requested_item shift.num is exist - process it [14:15:45]requested_item shift.opened is exist - process it [14:15:45]req_shift_opened [14:15:45]FM_GetShiftState [14:15:45]SAM_PROTO_GetShiftState [14:15:45]wFMCommunicate request_size=4 [14:15:45]MH_SAM_APDU [14:15:45]CAPDU: 80 13 01 00 [14:15:45]Write to MH i2c: E2 08 00 33 21 80 13 01 00 00 00 00 00 D1 [14:15:45]Write i2c OK [14:15:45]MH_I2C_Read... [14:15:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:15:45]Read from MH i2c: E2 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 0E 00 [14:15:45]MH_I2C_Read... [14:15:45]Read from MH i2c: E2 0E 00 33 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 A7 [14:15:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:15:45]wFMCommunicate OK [14:15:45]SAM_PROTO_GetShiftState done [14:15:45]FM_GetShiftState done [14:15:45]req_shift_opened done [14:15:45]requested_item shift.open_date is exist - process it [14:15:45]req_shift_open_date [14:15:45]req_shift_open_date done [14:15:45]produce_requested_data done [14:15:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34332,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:15:45]process_action_free close_receipt [14:15:45]json_value_free [14:15:45]json_value_free done [14:15:45]process_json_proto returns [14:15:45]Send response to host [14:15:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34332,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:15:45]free response buf [14:15:45]execute_script done [14:15:45]execute_script returns [14:15:45]free content buf [14:15:45]Sock 7.Close socket [14:15:45]Sock 7.Thread stoped [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:23]accept exits with 9 [14:25:23]New connection [14:25:23]New thread 3067567460 created [14:25:23]Thread 3067424100 joined [14:25:23]Waiting for new connection... [14:25:23] Sock 9.Parse request [14:25:23]Sock 9.Check first char [14:25:23]Sock 9.First char is OK [14:25:23]request: POST /json_proto HTTP/1.0 [14:25:23]Method: POST [14:25:23]URL: /json_proto [14:25:23]Method is POST - this is cgi request [14:25:23]url: /json_proto [14:25:23]query_string will be loaded in cgi processing [14:25:23]execute_cgi json_proto POST (null) [14:25:23]execute_cgi path=json_proto method=POST [14:25:23]POST find Content-Length [14:25:23]Host: 172.17.38.134:8080 [14:25:23]Content-Length: 649 [14:25:23]Content-Type: application/json [14:25:23] [14:25:23]POST finish read [14:25:23]Found Content-Length = 649 [14:25:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184107", "tax_sys" : 0, "items" : [ { "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "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" ] } } [14:25:23]execute_script... [14:25: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)184107", "tax_sys" : 0, "items" : [ { "code": "4860019001339", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,33\u043B \u0441\u0442", "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" ] } } [14:25:23]POST & json_proto [14:25:23]process_json_proto [14:25:23]json parsed OK: [14:25:23]protocol is kg_v1.0 [14:25:23]action value=close_receipt [14:25:23]process_action close_receipt [14:25:23]cmd_close_receipt [14:25:23]MH_GetDate [14:25:23]Write to MH i2c: F0 00 00 34 21 44 [14:25:23]Write i2c OK [14:25:23]MH_I2C_Read... [14:25:23]Read from MH i2c: F0 [14:25:23]MH_I2C_Read... [14:25:23]Read from MH i2c: F0 09 00 [14:25:23]MH_I2C_Read... [14:25:23]Read from MH i2c: F0 09 00 34 21 00 59 EA 72 66 13 9C 7C 64 F7 [14:25:23]GetLastDocTimeStamp 1718806547 [14:25:23]current date 1718807129 [14:25:23]FM_GetShiftState [14:25:23]SAM_PROTO_GetShiftState [14:25:23]wFMCommunicate request_size=4 [14:25:23]MH_SAM_APDU [14:25:23]CAPDU: 80 13 01 00 [14:25:23]Write to MH i2c: E2 08 00 35 21 80 13 01 00 00 00 00 00 D3 [14:25:23]Write i2c OK [14:25:23]MH_I2C_Read... [14:25:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:23]Read from MH i2c: E2 [14:25:23]MH_I2C_Read... [14:25:23]Read from MH i2c: E2 0E 00 [14:25:23]MH_I2C_Read... [14:25:23]Read from MH i2c: E2 0E 00 35 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 A9 [14:25:23]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:25:23]wFMCommunicate OK [14:25:23]SAM_PROTO_GetShiftState done [14:25:23]FM_GetShiftState done [14:25:23]opened in 1718756813 [14:25:23]opened+sec_in_day 1718843213 [14:25:23]quantity*price = 11000 [14:25:23]sum+1 = 11001 [14:25:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 37 19.06.2024 14:25 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34333 ФПД: 64824151547409 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T142529&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34333&fm=64824151547409&tin=02508201610067®Number=0000000000092786&sum=11000 0 [14:25:24]StoreToDocumentArchive [14:25:24]shift 324 fd 34333 [14:25:24]save to /storage/0324/doc_00034333 [14:25:24]save last doc name /storage/0324/doc_00034333 to /storage/kkm_last_doc_name [14:25:24]save OK [14:25:24]Clear old archive folders... [14:25:24]ProcessDocumentItem done err = 0, tmpTLVsize=277 [14:25:24]tlvbuf is 019AEA10 [14:25:24]SAM_PROTO_ClearQueue [14:25:24]wFMCommunicate request_size=4 [14:25:24]MH_SAM_APDU [14:25:24]CAPDU: 80 09 00 00 [14:25:24]Write to MH i2c: E2 08 00 42 21 80 09 00 00 00 00 00 00 D5 [14:25:24]Write i2c OK [14:25:24]MH_I2C_Read... [14:25:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:25:24]Read from MH i2c: E2 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 42 21 00 90 00 D7 [14:25:24]RAPDU: 90 00 [14:25:24]wFMCommunicate OK [14:25:24]SAM_PROTO_ClearQueue done [14:25:24]KKMCreateOFDPacket [14:25:24]OFDProtocolAddRootSTLVToBuf [14:25:24]FM_MakeSignedData [14:25:24]FM_MakeSignedData [14:25:24]SAM_PROTO_SignData [14:25:24]wFMCommunicate request_size=4 [14:25:24]MH_SAM_APDU [14:25:24]CAPDU: 80 0D 01 02 [14:25:24]Write to MH i2c: E2 08 00 43 21 80 0D 01 02 00 00 00 00 DD [14:25:24]Write i2c OK [14:25:24]MH_I2C_Read... [14:25:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:25:24]Read from MH i2c: E2 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 43 21 00 90 00 D8 [14:25:24]RAPDU: 90 00 [14:25:24]wFMCommunicate OK [14:25:24]wFMCommunicate request_size=255 [14:25:24]MH_SAM_APDU [14:25:24]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 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 25 00 00 00 F4 03 04 00 59 EA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 [14:25:24]Write to MH i2c: E2 02 01 44 21 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 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 25 00 00 00 F4 03 04 00 59 EA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 00 00 1F [14:25:24]Write i2c OK [14:25:24]MH_I2C_Read... [14:25:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:24]Read from MH i2c: E2 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 [14:25:24]MH_I2C_Read... [14:25:24]Read from MH i2c: E2 03 00 44 21 00 90 00 D9 [14:25:24]RAPDU: 90 00 [14:25:24]wFMCommunicate OK [14:25:24]wFMCommunicate request_size=36 [14:25:24]MH_SAM_APDU [14:25:24]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 86 00 00 35 04 06 00 3A F5 0C 86 9E 11 [14:25:24]Write to MH i2c: E2 27 00 45 21 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 86 00 00 35 04 06 00 3A F5 0C 86 9E 11 00 00 1A [14:25:24]Write i2c OK [14:25:24]MH_I2C_Read... [14:25:25]OFD Sender: No OFD packet to send [14:25:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:25]Read from MH i2c: E2 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 03 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 03 00 45 21 00 90 00 DA [14:25:25]RAPDU: 90 00 [14:25:25]wFMCommunicate OK [14:25:25]wFMCommunicate request_size=4 [14:25:25]MH_SAM_APDU [14:25:25]CAPDU: 80 0D 03 02 [14:25:25]Write to MH i2c: E2 08 00 46 21 80 0D 03 02 00 00 00 00 E2 [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:25:25]Read from MH i2c: E2 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 0B 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 0B 00 46 21 00 B2 FC 5E EC 44 77 9A C0 90 00 F0 [14:25:25]RAPDU: B2 FC 5E EC 44 77 9A C0 90 00 [14:25:25]wFMCommunicate OK [14:25:25]SAM_PROTO_SignData done [14:25:25]FM_MakeSignedData done [14:25:25]CreateOFDProtocolMessage [14:25:25]wFMCommunicate request_size=4 [14:25:25]MH_SAM_APDU [14:25:25]CAPDU: 80 11 00 00 [14:25:25]Write to MH i2c: E2 08 00 47 21 80 11 00 00 00 00 00 00 E2 [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:25]Read from MH i2c: E2 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 17 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: E2 17 00 47 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 37 [14:25:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:25:25]wFMCommunicate OK [14:25:25]CreateOFDProtocolMessage done [14:25:25]OFDSenderStorePacket 34333 [14:25:25]StoreOFDPacket docnum=34333 [14:25:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 5D C6 21 01 8E 48 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 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 25 00 00 00 F4 03 04 00 59 EA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 86 00 00 35 04 06 00 3A F5 0C 86 9E 11 B2 FC 5E EC 44 77 9A C0 [14:25:25]CheckFolder [14:25:25]dirname=/storage/ofd_packets [14:25:25]CheckFolder done [14:25:25]ProducePacketName [14:25:25]name=ofd_packets/00034333 [14:25:25]NVStorageSaveData ofd_packets/00034333 [14:25:25]File name is /storage/ofd_packets/00034333 [14:25:25]Write 327 bytes [14:25:25]NVStorageSaveData done [14:25:25]OFDSenderStorePacket done [14:25:25]KKMCreateOFDPacket done [14:25:25]NVStorageSaveData kkm_last_timestamp [14:25:25]File name is /storage/kkm_last_timestamp [14:25:25]Write 4 bytes [14:25:25]NVStorageSaveData done [14:25:25]ExternCall_PrintAddStr [14:25:25]wPrintStart [14:25:25]Write to MH i2c: 01 00 00 48 21 69 [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 07 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 07 00 48 21 00 00 00 00 00 FF 0F 7E [14:25:25]RasterBufferAndPrint [14:25:25]line Счет N : (3)184107 [14:25:25]line ИНН: 02508201610067 [14:25:25]line Контрольно-Кассовый Чек [14:25:25]line ПРОДАЖА [14:25:25]line Товар: 4860019001339 [14:25:25]line Вода Боржоми 0,33л ст [14:25:25]line 1.000 * 110.00 [14:25:25]line = 110.00 [14:25:25]line НДС 12% НСП 1% [14:25:25]line > о реализуемом товаре [14:25:25]line ИТОГО: 110.00 [14:25:25]line НСП 1% : 0.97 [14:25:25]line НДС 12% : 11.68 [14:25:25]line Наличными: 110.00 [14:25:25]line Безнал.: 0.00 [14:25:25]line Место: АЗС № 120 "Партнер Нефть" [14:25:25]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:25:25]line СНО: Общий режим [14:25:25]line Чек 37 19.06.2024 14:25 [14:25:25]line Смена: 324 ФФД: 1.0 [14:25:25]line ЗНМ: 0300000172 [14:25:25]line РНМ: 0000000000092786 [14:25:25]line Версия ККМ: 001 [14:25:25]line ФМ: 0000000000875095 [14:25:25]line ФД: 34333 [14:25:25]line ФПД: 64824151547409 [14:25:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T142529&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34333&fm=64824151547409&tin=02508201610067®Number=0000000000092786&sum=11000 [14:25:25]line 0 [14:25:25]OFD Sender: Processing packet 34333 [packets to send 8, broken 7] [14:25:25]ProducePacketName [14:25:25]name=ofd_packets/00034333 [14:25:25]OFD Sender: To server: pG, [14:25:25]CommunicateWithHost lk.salyk.kg:30040 [14:25:25]ConnectInit lk.salyk.kg [14:25:25]written 0, free lines is 4095 [14:25:25]Connected sock=10 [14:25:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 5D C6 21 01 8E 48 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 33 39 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 33 33 D0 BB 20 D1 81 D1 82 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 25 00 00 00 F4 03 04 00 59 EA 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 86 00 00 35 04 06 00 3A F5 0C 86 9E 11 B2 FC 5E EC 44 77 9A C0 [14:25:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 62 E0 47 00 2D E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1D 86 00 00 F4 03 04 00 25 91 72 66 B6 04 01 00 00 AC DB 5E 0C 33 77 A6 4B [14:25:25]CommunicateWithHost err = 0 [14:25:25]CheckOFDResponse [14:25:25]1017 (14) - 77093643461234 [14:25:25]1041 (16) - 0000000000875095 [14:25:25]1040 (4) - 34333 [14:25:25]1012 (4) - 19.06.2024 08:04 [14:25:25]1206 (1) - 0 [14:25:25]OFD Sender: Remove packet 34333 [14:25:25]ProducePacketName [14:25:25]name=ofd_packets/00034333 [14:25:25]NVStorageDeleteData [14:25:25]Write to MH i2c: 01 00 00 70 21 91 [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 07 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: 01 07 00 70 21 00 00 00 00 00 F8 0C 9C [14:25:25]RasterBufferAndPrint [14:25:25]line [14:25:25]line [14:25:25]line [14:25:25]line [14:25:25]line [14:25:25]written 0, free lines is 3326 [14:25:25]MH_Cut [14:25:25]Write to MH i2c: D1 01 00 77 21 01 6A [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: D1 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: D1 01 00 [14:25:25]MH_I2C_Read... [14:25:25]Read from MH i2c: D1 01 00 77 21 00 69 [14:25:25]Write to MH i2c: 01 00 00 78 21 99 [14:25:25]Write i2c OK [14:25:25]MH_I2C_Read... [14:25:26]OFD Sender: No OFD packet to send [14:25:26]*** Cut start [14:25:26]*** Partial cut [14:25:26]*** CUTSNS_PIN = 1 [14:25:26]*** CUTSNS_PIN = 0 [14:25:26]*** Brake cut motor [14:25:27]Read from MH i2c: 01 [14:25:27]MH_I2C_Read... [14:25:27]*** Stop cut motor [14:25:27]*** Cut end [14:25:27]Read from MH i2c: 01 07 00 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: 01 07 00 78 21 00 00 00 00 00 FF 0F AE [14:25:27]process_action close_receipt done [14:25:27]requested_data is exist [14:25:27]produce_requested_data [14:25:27]requested_item fm.sn is exist - process it [14:25:27]wFMCommunicate request_size=4 [14:25:27]MH_SAM_APDU [14:25:27]CAPDU: 80 11 00 00 [14:25:27]Write to MH i2c: E2 08 00 79 21 80 11 00 00 00 00 00 00 14 [14:25:27]Write i2c OK [14:25:27]MH_I2C_Read... [14:25:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:27]Read from MH i2c: E2 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 17 00 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 17 00 79 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 69 [14:25:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:25:27]wFMCommunicate OK [14:25:27]requested_item fd.num is exist - process it [14:25:27]SAM_PROTO_GetFieldsCounters [14:25:27]wFMCommunicate request_size=4 [14:25:27]MH_SAM_APDU [14:25:27]CAPDU: 80 13 00 00 [14:25:27]Write to MH i2c: E2 08 00 7A 21 80 13 00 00 00 00 00 00 17 [14:25:27]Write i2c OK [14:25:27]MH_I2C_Read... [14:25:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:25:27]Read from MH i2c: E2 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 62 00 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 62 00 7A 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1D 86 00 00 0E 04 04 00 44 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 98 [14:25:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1D 86 00 00 0E 04 04 00 44 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 [14:25:27]wFMCommunicate OK [14:25:27]SAM_PROTO_GetFieldsCounters done [14:25:27]requested_item shift.num is exist - process it [14:25:27]requested_item shift.opened is exist - process it [14:25:27]req_shift_opened [14:25:27]FM_GetShiftState [14:25:27]SAM_PROTO_GetShiftState [14:25:27]wFMCommunicate request_size=4 [14:25:27]MH_SAM_APDU [14:25:27]CAPDU: 80 13 01 00 [14:25:27]Write to MH i2c: E2 08 00 7B 21 80 13 01 00 00 00 00 00 19 [14:25:27]Write i2c OK [14:25:27]MH_I2C_Read... [14:25:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:27]Read from MH i2c: E2 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 0E 00 [14:25:27]MH_I2C_Read... [14:25:27]Read from MH i2c: E2 0E 00 7B 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 EF [14:25:27]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:25:27]wFMCommunicate OK [14:25:27]SAM_PROTO_GetShiftState done [14:25:27]FM_GetShiftState done [14:25:27]req_shift_opened done [14:25:27]requested_item shift.open_date is exist - process it [14:25:27]req_shift_open_date [14:25:27]req_shift_open_date done [14:25:27]produce_requested_data done [14:25:27]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34333,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:25:27]process_action_free close_receipt [14:25:27]json_value_free [14:25:27]json_value_free done [14:25:27]process_json_proto returns [14:25:27]Send response to host [14:25:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34333,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:25:27]free response buf [14:25:27]execute_script done [14:25:27]execute_script returns [14:25:27]free content buf [14:25:27]Sock 9.Close socket [14:25:27]Sock 9.Thread stoped [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:41]OFD Sender: No OFD packet to send [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:39]accept exits with 7 [14:31:39]New connection [14:31:39]New thread 3067424100 created [14:31:39]Thread 3067567460 joined [14:31:39]Waiting for new connection... [14:31:39] Sock 7.Parse request [14:31:39]Sock 7.Check first char [14:31:39]Sock 7.First char is OK [14:31:39]request: POST /json_proto HTTP/1.0 [14:31:39]Method: POST [14:31:39]URL: /json_proto [14:31:39]Method is POST - this is cgi request [14:31:39]url: /json_proto [14:31:39]query_string will be loaded in cgi processing [14:31:39]execute_cgi json_proto POST (null) [14:31:39]execute_cgi path=json_proto method=POST [14:31:39]POST find Content-Length [14:31:39]Host: 172.17.38.134:8080 [14:31:39]Content-Length: 740 [14:31:39]Content-Type: application/json [14:31:39] [14:31:39]POST finish read [14:31:39]Found Content-Length = 740 [14:31:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184108", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "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" ] } } [14:31:39]execute_script... [14:31: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)184108", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "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" ] } } [14:31:39]POST & json_proto [14:31:39]process_json_proto [14:31:39]json parsed OK: [14:31:39]protocol is kg_v1.0 [14:31:39]action value=close_receipt [14:31:39]process_action close_receipt [14:31:39]cmd_close_receipt [14:31:39]MH_GetDate [14:31:39]Write to MH i2c: F0 00 00 7C 21 8C [14:31:39]Write i2c OK [14:31:39]MH_I2C_Read... [14:31:39]Read from MH i2c: F0 [14:31:39]MH_I2C_Read... [14:31:39]Read from MH i2c: F0 09 00 [14:31:39]MH_I2C_Read... [14:31:39]Read from MH i2c: F0 09 00 7C 21 00 D1 EB 72 66 13 9C 7C 64 B8 [14:31:39]GetLastDocTimeStamp 1718807129 [14:31:39]current date 1718807505 [14:31:39]FM_GetShiftState [14:31:39]SAM_PROTO_GetShiftState [14:31:39]wFMCommunicate request_size=4 [14:31:39]MH_SAM_APDU [14:31:39]CAPDU: 80 13 01 00 [14:31:39]Write to MH i2c: E2 08 00 7D 21 80 13 01 00 00 00 00 00 1B [14:31:39]Write i2c OK [14:31:39]MH_I2C_Read... [14:31:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:39]Read from MH i2c: E2 [14:31:39]MH_I2C_Read... [14:31:39]Read from MH i2c: E2 0E 00 [14:31:39]MH_I2C_Read... [14:31:39]Read from MH i2c: E2 0E 00 7D 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F1 [14:31:39]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:31:39]wFMCommunicate OK [14:31:39]SAM_PROTO_GetShiftState done [14:31:39]FM_GetShiftState done [14:31:39]opened in 1718756813 [14:31:39]opened+sec_in_day 1718843213 [14:31:39]quantity*price = 9500 [14:31:39]sum+1 = 9501 [14:31:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 38 19.06.2024 14:31 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34334 ФПД: 37017157644804 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T143145&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34334&fm=37017157644804&tin=02508201610067®Number=0000000000092786&sum=9500 0 [14:31:40]StoreToDocumentArchive [14:31:40]shift 324 fd 34334 [14:31:40]save to /storage/0324/doc_00034334 [14:31:40]save last doc name /storage/0324/doc_00034334 to /storage/kkm_last_doc_name [14:31:40]save OK [14:31:40]Clear old archive folders... [14:31:40]ProcessDocumentItem done err = 0, tmpTLVsize=311 [14:31:40]tlvbuf is 018F82D0 [14:31:40]SAM_PROTO_ClearQueue [14:31:40]wFMCommunicate request_size=4 [14:31:40]MH_SAM_APDU [14:31:40]CAPDU: 80 09 00 00 [14:31:40]Write to MH i2c: E2 08 00 8A 21 80 09 00 00 00 00 00 00 1D [14:31:40]Write i2c OK [14:31:40]MH_I2C_Read... [14:31:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:31:40]Read from MH i2c: E2 [14:31:40]MH_I2C_Read... [14:31:40]Read from MH i2c: E2 03 00 [14:31:40]MH_I2C_Read... [14:31:40]Read from MH i2c: E2 03 00 8A 21 00 90 00 1F [14:31:40]RAPDU: 90 00 [14:31:40]wFMCommunicate OK [14:31:40]SAM_PROTO_ClearQueue done [14:31:40]KKMCreateOFDPacket [14:31:40]OFDProtocolAddRootSTLVToBuf [14:31:40]FM_MakeSignedData [14:31:40]FM_MakeSignedData [14:31:40]SAM_PROTO_SignData [14:31:40]wFMCommunicate request_size=4 [14:31:40]MH_SAM_APDU [14:31:40]CAPDU: 80 0D 01 02 [14:31:40]Write to MH i2c: E2 08 00 8B 21 80 0D 01 02 00 00 00 00 25 [14:31:40]Write i2c OK [14:31:40]MH_I2C_Read... [14:31:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:31:40]Read from MH i2c: E2 [14:31:40]MH_I2C_Read... [14:31:40]Read from MH i2c: E2 03 00 [14:31:40]MH_I2C_Read... [14:31:40]Read from MH i2c: E2 03 00 8B 21 00 90 00 20 [14:31:40]RAPDU: 90 00 [14:31:40]wFMCommunicate OK [14:31:40]wFMCommunicate request_size=255 [14:31:40]MH_SAM_APDU [14:31:40]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 26 00 00 00 F4 03 04 00 D1 EB 72 66 0E 04 04 00 44 01 [14:31:40]Write to MH i2c: E2 02 01 8C 21 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 26 00 00 00 F4 03 04 00 D1 EB 72 66 0E 04 04 00 44 01 00 00 AF [14:31:40]Write i2c OK [14:31:40]MH_I2C_Read... [14:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:41]Read from MH i2c: E2 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 03 00 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 03 00 8C 21 00 90 00 21 [14:31:41]RAPDU: 90 00 [14:31:41]wFMCommunicate OK [14:31:41]wFMCommunicate request_size=70 [14:31:41]MH_SAM_APDU [14:31:41]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 86 00 00 35 04 06 00 21 AA BA 88 32 04 [14:31:41]Write to MH i2c: E2 49 00 8D 21 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 86 00 00 35 04 06 00 21 AA BA 88 32 04 00 00 2F [14:31:41]Write i2c OK [14:31:41]MH_I2C_Read... [14:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:31:41]Read from MH i2c: E2 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 03 00 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 03 00 8D 21 00 90 00 22 [14:31:41]RAPDU: 90 00 [14:31:41]wFMCommunicate OK [14:31:41]wFMCommunicate request_size=4 [14:31:41]MH_SAM_APDU [14:31:41]CAPDU: 80 0D 03 02 [14:31:41]Write to MH i2c: E2 08 00 8E 21 80 0D 03 02 00 00 00 00 2A [14:31:41]Write i2c OK [14:31:41]MH_I2C_Read... [14:31:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:31:41]Read from MH i2c: E2 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 0B 00 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 0B 00 8E 21 00 C0 B8 1B A6 2D 59 07 36 90 00 27 [14:31:41]RAPDU: C0 B8 1B A6 2D 59 07 36 90 00 [14:31:41]wFMCommunicate OK [14:31:41]SAM_PROTO_SignData done [14:31:41]FM_MakeSignedData done [14:31:41]CreateOFDProtocolMessage [14:31:41]wFMCommunicate request_size=4 [14:31:41]MH_SAM_APDU [14:31:41]CAPDU: 80 11 00 00 [14:31:41]Write to MH i2c: E2 08 00 8F 21 80 11 00 00 00 00 00 00 2A [14:31:41]Write i2c OK [14:31:41]MH_I2C_Read... [14:31:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:41]Read from MH i2c: E2 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 17 00 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: E2 17 00 8F 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 7F [14:31:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:31:41]wFMCommunicate OK [14:31:41]CreateOFDProtocolMessage done [14:31:41]OFDSenderStorePacket 34334 [14:31:41]StoreOFDPacket docnum=34334 [14:31:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 99 05 43 01 0C 93 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 26 00 00 00 F4 03 04 00 D1 EB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 86 00 00 35 04 06 00 21 AA BA 88 32 04 C0 B8 1B A6 2D 59 07 36 [14:31:41]CheckFolder [14:31:41]dirname=/storage/ofd_packets [14:31:41]CheckFolder done [14:31:41]ProducePacketName [14:31:41]name=ofd_packets/00034334 [14:31:41]NVStorageSaveData ofd_packets/00034334 [14:31:41]File name is /storage/ofd_packets/00034334 [14:31:41]Write 361 bytes [14:31:41]NVStorageSaveData done [14:31:41]OFDSenderStorePacket done [14:31:41]KKMCreateOFDPacket done [14:31:41]NVStorageSaveData kkm_last_timestamp [14:31:41]File name is /storage/kkm_last_timestamp [14:31:41]Write 4 bytes [14:31:41]NVStorageSaveData done [14:31:41]ExternCall_PrintAddStr [14:31:41]wPrintStart [14:31:41]Write to MH i2c: 01 00 00 90 21 B1 [14:31:41]Write i2c OK [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: 01 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: 01 07 00 [14:31:41]MH_I2C_Read... [14:31:41]Read from MH i2c: 01 07 00 90 21 00 00 00 00 00 FF 0F C6 [14:31:41]RasterBufferAndPrint [14:31:41]line Счет N : (3)184108 [14:31:41]line ИНН: 02508201610067 [14:31:41]line Контрольно-Кассовый Чек [14:31:41]line ПРОДАЖА [14:31:41]line Товар: 4700000481972 [14:31:41]line Напиток энерг Nitro грейпфрут-маракуйя 0 [14:31:41]line 1.000 * 95.00 [14:31:41]line = 95.00 [14:31:41]line НДС 12% НСП 1% [14:31:41]line > о реализуемом товаре [14:31:41]line ИТОГО: 95.00 [14:31:41]line НСП 1% : 0.84 [14:31:41]line НДС 12% : 10.09 [14:31:41]line Наличными: 95.00 [14:31:41]line Безнал.: 0.00 [14:31:41]line Место: АЗС № 120 "Партнер Нефть" [14:31:41]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:31:41]line СНО: Общий режим [14:31:41]line Чек 38 19.06.2024 14:31 [14:31:41]line Смена: 324 ФФД: 1.0 [14:31:41]line ЗНМ: 0300000172 [14:31:41]line РНМ: 0000000000092786 [14:31:41]line Версия ККМ: 001 [14:31:41]line ФМ: 0000000000875095 [14:31:41]line ФД: 34334 [14:31:41]line ФПД: 37017157644804 [14:31:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T143145&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34334&fm=37017157644804&tin=02508201610067®Number=0000000000092786&sum=9500 [14:31:41]line 0 [14:31:41]OFD Sender: Processing packet 34334 [packets to send 8, broken 7] [14:31:41]ProducePacketName [14:31:41]name=ofd_packets/00034334 [14:31:41]OFD Sender: To server: pG, [14:31:41]CommunicateWithHost lk.salyk.kg:30040 [14:31:41]ConnectInit lk.salyk.kg [14:31:41]written 0, free lines is 4095 [14:31:41]Connected sock=10 [14:31:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 99 05 43 01 0C 93 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 26 00 00 00 F4 03 04 00 D1 EB 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 86 00 00 35 04 06 00 21 AA BA 88 32 04 C0 B8 1B A6 2D 59 07 36 [14:31:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 30 ED 47 00 07 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1E 86 00 00 F4 03 04 00 9D 92 72 66 B6 04 01 00 00 7D D3 6B CA 8B ED D3 20 [14:31:41]CommunicateWithHost err = 0 [14:31:41]CheckOFDResponse [14:31:41]1017 (14) - 77093643461234 [14:31:41]1041 (16) - 0000000000875095 [14:31:41]1040 (4) - 34334 [14:31:41]1012 (4) - 19.06.2024 08:11 [14:31:41]1206 (1) - 0 [14:31:41]OFD Sender: Remove packet 34334 [14:31:41]ProducePacketName [14:31:41]name=ofd_packets/00034334 [14:31:41]NVStorageDeleteData [14:31:42]Write to MH i2c: 01 00 00 B9 21 DA [14:31:42]Write i2c OK [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: 01 [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: 01 07 00 [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: 01 07 00 B9 21 00 00 00 00 00 E8 0C D5 [14:31:42]RasterBufferAndPrint [14:31:42]line [14:31:42]line [14:31:42]line [14:31:42]line [14:31:42]line [14:31:42]written 0, free lines is 3313 [14:31:42]MH_Cut [14:31:42]Write to MH i2c: D1 01 00 C0 21 01 B3 [14:31:42]Write i2c OK [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: D1 [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: D1 01 00 [14:31:42]MH_I2C_Read... [14:31:42]Read from MH i2c: D1 01 00 C0 21 00 B2 [14:31:42]Write to MH i2c: 01 00 00 C1 21 E2 [14:31:42]Write i2c OK [14:31:42]MH_I2C_Read... [14:31:42]OFD Sender: No OFD packet to send [14:31:42]*** Cut start [14:31:42]*** Partial cut [14:31:42]*** CUTSNS_PIN = 1 [14:31:42]*** CUTSNS_PIN = 0 [14:31:43]*** Brake cut motor [14:31:43]Read from MH i2c: 01 [14:31:43]MH_I2C_Read... [14:31:43]*** Stop cut motor [14:31:43]*** Cut end [14:31:43]Read from MH i2c: 01 07 00 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: 01 07 00 C1 21 00 00 00 00 00 FF 0F F7 [14:31:43]process_action close_receipt done [14:31:43]requested_data is exist [14:31:43]produce_requested_data [14:31:43]requested_item fm.sn is exist - process it [14:31:43]wFMCommunicate request_size=4 [14:31:43]MH_SAM_APDU [14:31:43]CAPDU: 80 11 00 00 [14:31:43]Write to MH i2c: E2 08 00 C2 21 80 11 00 00 00 00 00 00 5D [14:31:43]Write i2c OK [14:31:43]MH_I2C_Read... [14:31:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:31:43]Read from MH i2c: E2 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 17 00 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 17 00 C2 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B2 [14:31:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:31:43]wFMCommunicate OK [14:31:43]requested_item fd.num is exist - process it [14:31:43]SAM_PROTO_GetFieldsCounters [14:31:43]wFMCommunicate request_size=4 [14:31:43]MH_SAM_APDU [14:31:43]CAPDU: 80 13 00 00 [14:31:43]Write to MH i2c: E2 08 00 C3 21 80 13 00 00 00 00 00 00 60 [14:31:43]Write i2c OK [14:31:43]MH_I2C_Read... [14:31:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:31:43]Read from MH i2c: E2 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 62 00 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 62 00 C3 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1E 86 00 00 0E 04 04 00 44 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 E5 [14:31:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1E 86 00 00 0E 04 04 00 44 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:31:43]wFMCommunicate OK [14:31:43]SAM_PROTO_GetFieldsCounters done [14:31:43]requested_item shift.num is exist - process it [14:31:43]requested_item shift.opened is exist - process it [14:31:43]req_shift_opened [14:31:43]FM_GetShiftState [14:31:43]SAM_PROTO_GetShiftState [14:31:43]wFMCommunicate request_size=4 [14:31:43]MH_SAM_APDU [14:31:43]CAPDU: 80 13 01 00 [14:31:43]Write to MH i2c: E2 08 00 C4 21 80 13 01 00 00 00 00 00 62 [14:31:43]Write i2c OK [14:31:43]MH_I2C_Read... [14:31:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:31:43]Read from MH i2c: E2 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 0E 00 [14:31:43]MH_I2C_Read... [14:31:43]Read from MH i2c: E2 0E 00 C4 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 38 [14:31:43]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:31:43]wFMCommunicate OK [14:31:43]SAM_PROTO_GetShiftState done [14:31:43]FM_GetShiftState done [14:31:43]req_shift_opened done [14:31:43]requested_item shift.open_date is exist - process it [14:31:43]req_shift_open_date [14:31:43]req_shift_open_date done [14:31:43]produce_requested_data done [14:31:43]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34334,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:31:43]process_action_free close_receipt [14:31:43]json_value_free [14:31:43]json_value_free done [14:31:43]process_json_proto returns [14:31:43]Send response to host [14:31:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34334,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:31:43]free response buf [14:31:43]execute_script done [14:31:43]execute_script returns [14:31:43]free content buf [14:31:43]Sock 7.Close socket [14:31:43]Sock 7.Thread stoped [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:45]accept exits with 9 [14:54:45]New connection [14:54:45]New thread 3067567460 created [14:54:45]Thread 3067424100 joined [14:54:45]Waiting for new connection... [14:54:45] Sock 9.Parse request [14:54:45]Sock 9.Check first char [14:54:45]Sock 9.First char is OK [14:54:45]request: POST /json_proto HTTP/1.0 [14:54:45]Method: POST [14:54:45]URL: /json_proto [14:54:45]Method is POST - this is cgi request [14:54:45]url: /json_proto [14:54:45]query_string will be loaded in cgi processing [14:54:45]execute_cgi json_proto POST (null) [14:54:45]execute_cgi path=json_proto method=POST [14:54:45]POST find Content-Length [14:54:45]Host: 172.17.38.134:8080 [14:54:45]Content-Length: 2296 [14:54:45]Content-Type: application/json [14:54:45] [14:54:45]POST finish read [14:54:45]Found Content-Length = 2296 [14:54:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184109", "tax_sys" : 0, "items" : [ { "code": "4870235680645", "name": "\u0427\u0438\u043F\u0441\u044B \u0421\u043B\u0435\u043D\u0433 70\u0433\u0440 \u0441\u043C\u0435\u0442\u0430\u043D\u0430", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018161", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041A\u0440\u0430\u0431 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235680515", "name": "\u0427\u0438\u043F\u0441\u044B \u0421\u043B\u0435\u043D\u0433 70\u0433\u0440 \u043A\u0440\u0430\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\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" : 489.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:45]execute_script... [14:54: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)184109", "tax_sys" : 0, "items" : [ { "code": "4870235680645", "name": "\u0427\u0438\u043F\u0441\u044B \u0421\u043B\u0435\u043D\u0433 70\u0433\u0440 \u0441\u043C\u0435\u0442\u0430\u043D\u0430", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018161", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u041A\u0440\u0430\u0431 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235680515", "name": "\u0427\u0438\u043F\u0441\u044B \u0421\u043B\u0435\u043D\u0433 70\u0433\u0440 \u043A\u0440\u0430\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010032", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,5\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" : 489.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:45]POST & json_proto [14:54:45]process_json_proto [14:54:46]json parsed OK: [14:54:46]protocol is kg_v1.0 [14:54:46]action value=close_receipt [14:54:46]process_action close_receipt [14:54:46]cmd_close_receipt [14:54:46]MH_GetDate [14:54:46]Write to MH i2c: F0 00 00 C5 21 D5 [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: F0 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: F0 09 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: F0 09 00 C5 21 00 3B F1 72 66 13 9C 7C 64 71 [14:54:46]GetLastDocTimeStamp 1718807505 [14:54:46]current date 1718808891 [14:54:46]FM_GetShiftState [14:54:46]SAM_PROTO_GetShiftState [14:54:46]wFMCommunicate request_size=4 [14:54:46]MH_SAM_APDU [14:54:46]CAPDU: 80 13 01 00 [14:54:46]Write to MH i2c: E2 08 00 C6 21 80 13 01 00 00 00 00 00 64 [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:46]Read from MH i2c: E2 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 0E 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 0E 00 C6 21 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3A [14:54:46]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:54:46]wFMCommunicate OK [14:54:46]SAM_PROTO_GetShiftState done [14:54:46]FM_GetShiftState done [14:54:46]opened in 1718756813 [14:54:46]opened+sec_in_day 1718843213 [14:54:46]quantity*price = 10500 [14:54:46]sum+1 = 10501 [14:54:46]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4602441018161 Чипсы FRY`S Краб 1/70 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235680515 Чипсы Сленг 70гр краб 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176431 Сок Piko Pulpy апельсин ПЭТ 0,5л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010032 Чай хол Let`s Go! чер персик ПЭТ 0,5л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 489.00 НСП 1% : 4.32 НДС 12% : 51.93 Наличными: 489.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 39 19.06.2024 14:54 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34335 ФПД: 254851575385992 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145451&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34335&fm=254851575385992&tin=02508201610067®Number=0000000000092786&sum=48900 0 [14:54:47]StoreToDocumentArchive [14:54:47]shift 324 fd 34335 [14:54:47]save to /storage/0324/doc_00034335 [14:54:47]save last doc name /storage/0324/doc_00034335 to /storage/kkm_last_doc_name [14:54:47]save OK [14:54:47]Clear old archive folders... [14:54:47]ProcessDocumentItem done err = 0, tmpTLVsize=952 [14:54:47]tlvbuf is B6F57520 [14:54:47]SAM_PROTO_ClearQueue [14:54:47]wFMCommunicate request_size=4 [14:54:47]MH_SAM_APDU [14:54:47]CAPDU: 80 09 00 00 [14:54:47]Write to MH i2c: E2 08 00 D3 21 80 09 00 00 00 00 00 00 66 [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:54:47]Read from MH i2c: E2 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 D3 21 00 90 00 68 [14:54:47]RAPDU: 90 00 [14:54:47]wFMCommunicate OK [14:54:47]SAM_PROTO_ClearQueue done [14:54:47]KKMCreateOFDPacket [14:54:47]OFDProtocolAddRootSTLVToBuf [14:54:47]FM_MakeSignedData [14:54:47]FM_MakeSignedData [14:54:47]SAM_PROTO_SignData [14:54:47]wFMCommunicate request_size=4 [14:54:47]MH_SAM_APDU [14:54:47]CAPDU: 80 0D 01 02 [14:54:47]Write to MH i2c: E2 08 00 D4 21 80 0D 01 02 00 00 00 00 6E [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:54:47]Read from MH i2c: E2 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 D4 21 00 90 00 69 [14:54:47]RAPDU: 90 00 [14:54:47]wFMCommunicate OK [14:54:47]wFMCommunicate request_size=255 [14:54:47]MH_SAM_APDU [14:54:47]CAPDU: 80 0D 02 02 FA 03 00 B8 03 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 36 34 35 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 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 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 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 23 04 69 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 35 31 35 06 04 25 [14:54:47]Write to MH i2c: E2 02 01 D5 21 80 0D 02 02 FA 00 03 00 B8 03 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 36 34 35 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 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 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 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 23 04 69 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 35 31 35 06 04 25 00 00 AB [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:47]Read from MH i2c: E2 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: E2 03 00 D5 21 00 90 00 6A [14:54:47]RAPDU: 90 00 [14:54:47]wFMCommunicate OK [14:54:47]wFMCommunicate request_size=255 [14:54:47]MH_SAM_APDU [14:54:47]CAPDU: 80 0D 02 02 FA 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D0 BA D1 80 D0 B0 D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 [14:54:47]Write to MH i2c: E2 02 01 D6 21 80 0D 02 02 FA 00 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D0 BA D1 80 D0 B0 D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 00 00 92 [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 D6 21 00 90 00 6B [14:54:48]RAPDU: 90 00 [14:54:48]wFMCommunicate OK [14:54:48]wFMCommunicate request_size=255 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 0D 02 02 FA D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 [14:54:48]Write to MH i2c: E2 02 01 D7 21 80 0D 02 02 FA 00 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 2B [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 D7 21 00 90 00 6C [14:54:48]RAPDU: 90 00 [14:54:48]wFMCommunicate OK [14:54:48]wFMCommunicate request_size=211 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 0D 02 02 CE 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 04 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 14 00 00 00 00 07 04 06 00 04 BF 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 3B F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 86 00 00 35 04 06 00 E7 C9 41 9F 0F 88 [14:54:48]Write to MH i2c: E2 D6 00 D8 21 80 0D 02 02 CE 00 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 04 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 14 00 00 00 00 07 04 06 00 04 BF 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 3B F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 86 00 00 35 04 06 00 E7 C9 41 9F 0F 88 00 00 9D [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]OFD Sender: No OFD packet to send [14:54:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 03 00 D8 21 00 90 00 6D [14:54:48]RAPDU: 90 00 [14:54:48]wFMCommunicate OK [14:54:48]wFMCommunicate request_size=4 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 0D 03 02 [14:54:48]Write to MH i2c: E2 08 00 D9 21 80 0D 03 02 00 00 00 00 75 [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 0B 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 0B 00 D9 21 00 3C 17 7D C8 95 74 0F A2 90 00 C8 [14:54:48]RAPDU: 3C 17 7D C8 95 74 0F A2 90 00 [14:54:48]wFMCommunicate OK [14:54:48]SAM_PROTO_SignData done [14:54:48]FM_MakeSignedData done [14:54:48]CreateOFDProtocolMessage [14:54:48]wFMCommunicate request_size=4 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 11 00 00 [14:54:48]Write to MH i2c: E2 08 00 DA 21 80 11 00 00 00 00 00 00 75 [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 17 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 17 00 DA 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CA [14:54:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:54:48]wFMCommunicate OK [14:54:48]CreateOFDProtocolMessage done [14:54:48]OFDSenderStorePacket 34335 [14:54:48]StoreOFDPacket docnum=34335 [14:54:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 CC 03 00 00 14 6E C4 03 FD 2F 5A 03 01 00 03 00 B8 03 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 36 34 35 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 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 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 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 23 04 69 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 35 31 35 06 04 25 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D0 BA D1 80 D0 B0 D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 14 00 00 00 00 07 04 06 00 04 BF 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 3B F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 86 00 00 35 04 06 00 E7 C9 41 9F 0F 88 3C 17 7D C8 95 74 0F A2 [14:54:49]CheckFolder [14:54:49]dirname=/storage/ofd_packets [14:54:49]CheckFolder done [14:54:49]ProducePacketName [14:54:49]name=ofd_packets/00034335 [14:54:49]NVStorageSaveData ofd_packets/00034335 [14:54:49]File name is /storage/ofd_packets/00034335 [14:54:49]Write 1002 bytes [14:54:49]NVStorageSaveData done [14:54:49]OFDSenderStorePacket done [14:54:49]KKMCreateOFDPacket done [14:54:49]NVStorageSaveData kkm_last_timestamp [14:54:49]File name is /storage/kkm_last_timestamp [14:54:49]Write 4 bytes [14:54:49]NVStorageSaveData done [14:54:49]ExternCall_PrintAddStr [14:54:49]wPrintStart [14:54:49]Write to MH i2c: 01 00 00 DB 21 FC [14:54:49]Write i2c OK [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 07 00 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 07 00 DB 21 00 00 00 00 00 FF 0F 11 [14:54:49]RasterBufferAndPrint [14:54:49]line Счет N : (3)184109 [14:54:49]line ИНН: 02508201610067 [14:54:49]line Контрольно-Кассовый Чек [14:54:49]line ПРОДАЖА [14:54:49]line Товар: 4870235680645 [14:54:49]line Чипсы Сленг 70гр сметана [14:54:49]line 1.000 * 105.00 [14:54:49]line = 105.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 4602441018161 [14:54:49]line Чипсы FRY`S Краб 1/70 [14:54:49]line 1.000 * 90.00 [14:54:49]line = 90.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 4870235680515 [14:54:49]line Чипсы Сленг 70гр краб [14:54:49]line 1.000 * 105.00 [14:54:49]line = 105.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 2000031750019 [14:54:49]line Пакет Партнер Нефть [14:54:49]line 1.000 * 4.00 [14:54:49]line = 4.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 5449000176431 [14:54:49]line Сок Piko Pulpy апельсин ПЭТ 0,5л [14:54:49]line 1.000 * 95.00 [14:54:49]line = 95.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 4700003010032 [14:54:49]line Чай хол Let`s Go! чер персик ПЭТ 0,5л [14:54:49]line 1.000 * 50.00 [14:54:49]line = 50.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line Товар: 4700000160211 [14:54:49]line Вода Легенда 0,5л [14:54:49]line 1.000 * 40.00 [14:54:49]line = 40.00 [14:54:49]line НДС 12% НСП 1% [14:54:49]line > о реализуемом товаре [14:54:49]line ИТОГО: 489.00 [14:54:49]line НСП 1% : 4.32 [14:54:49]line НДС 12% : 51.93 [14:54:49]line Наличными: 489.00 [14:54:49]line Безнал.: 0.00 [14:54:49]line Место: АЗС № 120 "Партнер Нефть" [14:54:49]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:54:49]line СНО: Общий режим [14:54:49]line Чек 39 19.06.2024 14:54 [14:54:49]line Смена: 324 ФФД: 1.0 [14:54:49]line ЗНМ: 0300000172 [14:54:49]line РНМ: 0000000000092786 [14:54:49]line Версия ККМ: 001 [14:54:49]line ФМ: 0000000000875095 [14:54:49]line ФД: 34335 [14:54:49]line ФПД: 254851575385992 [14:54:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145451&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34335&fm=254851575385992&tin=02508201610067®Number=0000000000092786&sum=48900 [14:54:49]line 0 [14:54:49]written 0, free lines is 4095 [14:54:49]OFD Sender: Processing packet 34335 [packets to send 8, broken 7] [14:54:49]ProducePacketName [14:54:49]name=ofd_packets/00034335 [14:54:49]OFD Sender: To server: pG, [14:54:49]CommunicateWithHost lk.salyk.kg:30040 [14:54:49]ConnectInit lk.salyk.kg [14:54:49]Connected sock=10 [14:54:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 CC 03 00 00 14 6E C4 03 FD 2F 5A 03 01 00 03 00 B8 03 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 36 34 35 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 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 23 04 62 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 38 31 36 31 06 04 1E 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 9A D1 80 D0 B0 D0 B1 20 31 2F 37 30 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 23 04 69 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 30 35 31 35 06 04 25 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A1 D0 BB D0 B5 D0 BD D0 B3 20 37 30 D0 B3 D1 80 20 D0 BA D1 80 D0 B0 D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 33 32 06 04 38 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 49 14 00 00 00 00 07 04 06 00 04 BF 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 3B F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 86 00 00 35 04 06 00 E7 C9 41 9F 0F 88 3C 17 7D C8 95 74 0F A2 [14:54:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F0 44 47 00 55 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 1F 86 00 00 F4 03 04 00 09 98 72 66 B6 04 01 00 00 32 45 06 AE 3B 03 72 12 [14:54:49]CommunicateWithHost err = 0 [14:54:49]CheckOFDResponse [14:54:49]1017 (14) - 77093643461234 [14:54:49]1041 (16) - 0000000000875095 [14:54:49]1040 (4) - 34335 [14:54:49]1012 (4) - 19.06.2024 08:34 [14:54:49]1206 (1) - 0 [14:54:49]OFD Sender: Remove packet 34335 [14:54:49]ProducePacketName [14:54:49]name=ofd_packets/00034335 [14:54:49]NVStorageDeleteData [14:54:49]Write to MH i2c: 01 00 00 29 22 4B [14:54:49]Write i2c OK [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 07 00 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: 01 07 00 29 22 00 00 00 00 00 DE 0A 3A [14:54:49]RasterBufferAndPrint [14:54:49]line [14:54:49]line [14:54:49]line [14:54:49]line [14:54:49]line [14:54:49]written 0, free lines is 2794 [14:54:49]MH_Cut [14:54:49]Write to MH i2c: D1 01 00 30 22 01 24 [14:54:49]Write i2c OK [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: D1 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: D1 01 00 [14:54:49]MH_I2C_Read... [14:54:49]Read from MH i2c: D1 01 00 30 22 00 23 [14:54:49]Write to MH i2c: 01 00 00 31 22 53 [14:54:49]Write i2c OK [14:54:49]MH_I2C_Read... [14:54:50]OFD Sender: No OFD packet to send [14:54:51]*** Cut start [14:54:51]*** Partial cut [14:54:51]*** CUTSNS_PIN = 1 [14:54:51]*** CUTSNS_PIN = 0 [14:54:51]*** Brake cut motor [14:54:51]Read from MH i2c: 01 [14:54:51]MH_I2C_Read... [14:54:51]*** Stop cut motor [14:54:51]*** Cut end [14:54:51]Read from MH i2c: 01 07 00 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: 01 07 00 31 22 00 00 00 00 00 FF 0F 68 [14:54:51]process_action close_receipt done [14:54:51]requested_data is exist [14:54:51]produce_requested_data [14:54:51]requested_item fm.sn is exist - process it [14:54:51]wFMCommunicate request_size=4 [14:54:51]MH_SAM_APDU [14:54:51]CAPDU: 80 11 00 00 [14:54:51]Write to MH i2c: E2 08 00 32 22 80 11 00 00 00 00 00 00 CE [14:54:51]Write i2c OK [14:54:51]MH_I2C_Read... [14:54:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:51]Read from MH i2c: E2 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 17 00 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 17 00 32 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 23 [14:54:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:54:51]wFMCommunicate OK [14:54:51]requested_item fd.num is exist - process it [14:54:51]SAM_PROTO_GetFieldsCounters [14:54:51]wFMCommunicate request_size=4 [14:54:51]MH_SAM_APDU [14:54:51]CAPDU: 80 13 00 00 [14:54:51]Write to MH i2c: E2 08 00 33 22 80 13 00 00 00 00 00 00 D1 [14:54:51]Write i2c OK [14:54:51]MH_I2C_Read... [14:54:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:54:51]Read from MH i2c: E2 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 62 00 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 62 00 33 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1F 86 00 00 0E 04 04 00 44 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 5A [14:54:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 1F 86 00 00 0E 04 04 00 44 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:54:51]wFMCommunicate OK [14:54:51]SAM_PROTO_GetFieldsCounters done [14:54:51]requested_item shift.num is exist - process it [14:54:51]requested_item shift.opened is exist - process it [14:54:51]req_shift_opened [14:54:51]FM_GetShiftState [14:54:51]SAM_PROTO_GetShiftState [14:54:51]wFMCommunicate request_size=4 [14:54:51]MH_SAM_APDU [14:54:51]CAPDU: 80 13 01 00 [14:54:51]Write to MH i2c: E2 08 00 34 22 80 13 01 00 00 00 00 00 D3 [14:54:51]Write i2c OK [14:54:51]MH_I2C_Read... [14:54:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:51]Read from MH i2c: E2 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 0E 00 [14:54:51]MH_I2C_Read... [14:54:51]Read from MH i2c: E2 0E 00 34 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 A9 [14:54:51]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:54:51]wFMCommunicate OK [14:54:51]SAM_PROTO_GetShiftState done [14:54:51]FM_GetShiftState done [14:54:51]req_shift_opened done [14:54:51]requested_item shift.open_date is exist - process it [14:54:51]req_shift_open_date [14:54:51]req_shift_open_date done [14:54:51]produce_requested_data done [14:54:51]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34335,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:54:51]process_action_free close_receipt [14:54:51]json_value_free [14:54:51]json_value_free done [14:54:51]process_json_proto returns [14:54:51]Send response to host [14:54:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34335,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:54:51]free response buf [14:54:51]execute_script done [14:54:51]execute_script returns [14:54:51]free content buf [14:54:51]Sock 9.Close socket [14:54:51]Sock 9.Thread stoped [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:54]accept exits with 7 [14:55:54]New connection [14:55:54]New thread 3067424100 created [14:55:54]Thread 3067567460 joined [14:55:54]Waiting for new connection... [14:55:54] Sock 7.Parse request [14:55:54]Sock 7.Check first char [14:55:54]Sock 7.First char is OK [14:55:54]request: POST /json_proto HTTP/1.0 [14:55:54]Method: POST [14:55:54]URL: /json_proto [14:55:54]Method is POST - this is cgi request [14:55:54]url: /json_proto [14:55:54]query_string will be loaded in cgi processing [14:55:54]execute_cgi json_proto POST (null) [14:55:54]execute_cgi path=json_proto method=POST [14:55:54]POST find Content-Length [14:55:54]Host: 172.17.38.134:8080 [14:55:54]Content-Length: 668 [14:55:54]Content-Type: application/json [14:55:54] [14:55:54]POST finish read [14:55:54]Found Content-Length = 668 [14:55:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184110", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:55:54]execute_script... [14:55: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)184110", "tax_sys" : 0, "items" : [ { "code": "4670003190037", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0437\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:55:54]POST & json_proto [14:55:54]process_json_proto [14:55:54]json parsed OK: [14:55:54]protocol is kg_v1.0 [14:55:54]action value=close_receipt [14:55:54]process_action close_receipt [14:55:54]cmd_close_receipt [14:55:54]MH_GetDate [14:55:54]Write to MH i2c: F0 00 00 35 22 46 [14:55:54]Write i2c OK [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: F0 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: F0 09 00 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: F0 09 00 35 22 00 80 F1 72 66 13 9C 7C 64 27 [14:55:54]GetLastDocTimeStamp 1718808891 [14:55:54]current date 1718808960 [14:55:54]FM_GetShiftState [14:55:54]SAM_PROTO_GetShiftState [14:55:54]wFMCommunicate request_size=4 [14:55:54]MH_SAM_APDU [14:55:54]CAPDU: 80 13 01 00 [14:55:54]Write to MH i2c: E2 08 00 36 22 80 13 01 00 00 00 00 00 D5 [14:55:54]Write i2c OK [14:55:54]MH_I2C_Read... [14:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:54]Read from MH i2c: E2 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: E2 0E 00 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: E2 0E 00 36 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AB [14:55:54]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:55:54]wFMCommunicate OK [14:55:54]SAM_PROTO_GetShiftState done [14:55:54]FM_GetShiftState done [14:55:54]opened in 1718756813 [14:55:54]opened+sec_in_day 1718843213 [14:55:54]quantity*price = 22500 [14:55:54]sum+1 = 22501 [14:55:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 40 19.06.2024 14:56 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34336 ФПД: 229347255461554 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145600&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34336&fm=229347255461554&tin=02508201610067®Number=0000000000092786&sum=22500 0 [14:55:55]StoreToDocumentArchive [14:55:55]shift 324 fd 34336 [14:55:55]save to /storage/0324/doc_00034336 [14:55:55]save last doc name /storage/0324/doc_00034336 to /storage/kkm_last_doc_name [14:55:55]save OK [14:55:55]Clear old archive folders... [14:55:55]ProcessDocumentItem done err = 0, tmpTLVsize=296 [14:55:55]tlvbuf is 01933D30 [14:55:55]SAM_PROTO_ClearQueue [14:55:55]wFMCommunicate request_size=4 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 09 00 00 [14:55:55]Write to MH i2c: E2 08 00 43 22 80 09 00 00 00 00 00 00 D7 [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:55]Read from MH i2c: E2 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 03 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 03 00 43 22 00 90 00 D9 [14:55:55]RAPDU: 90 00 [14:55:55]wFMCommunicate OK [14:55:55]SAM_PROTO_ClearQueue done [14:55:55]KKMCreateOFDPacket [14:55:55]OFDProtocolAddRootSTLVToBuf [14:55:55]FM_MakeSignedData [14:55:55]FM_MakeSignedData [14:55:55]SAM_PROTO_SignData [14:55:55]wFMCommunicate request_size=4 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 0D 01 02 [14:55:55]Write to MH i2c: E2 08 00 44 22 80 0D 01 02 00 00 00 00 DF [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:55]Read from MH i2c: E2 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 03 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 03 00 44 22 00 90 00 DA [14:55:55]RAPDU: 90 00 [14:55:55]wFMCommunicate OK [14:55:55]wFMCommunicate request_size=255 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 80 F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [14:55:55]Write to MH i2c: E2 02 01 45 22 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 80 F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 1D [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:56]Read from MH i2c: E2 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 03 00 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 03 00 45 22 00 90 00 DB [14:55:56]RAPDU: 90 00 [14:55:56]wFMCommunicate OK [14:55:56]wFMCommunicate request_size=55 [14:55:56]MH_SAM_APDU [14:55:56]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 86 00 00 35 04 06 00 D0 97 11 B1 26 B2 [14:55:56]Write to MH i2c: E2 3A 00 46 22 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 86 00 00 35 04 06 00 D0 97 11 B1 26 B2 00 00 EB [14:55:56]Write i2c OK [14:55:56]MH_I2C_Read... [14:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:56]Read from MH i2c: E2 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 03 00 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 03 00 46 22 00 90 00 DC [14:55:56]RAPDU: 90 00 [14:55:56]wFMCommunicate OK [14:55:56]wFMCommunicate request_size=4 [14:55:56]MH_SAM_APDU [14:55:56]CAPDU: 80 0D 03 02 [14:55:56]Write to MH i2c: E2 08 00 47 22 80 0D 03 02 00 00 00 00 E4 [14:55:56]Write i2c OK [14:55:56]MH_I2C_Read... [14:55:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:56]Read from MH i2c: E2 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 0B 00 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 0B 00 47 22 00 E4 9D B1 F0 F5 53 9B B2 90 00 9C [14:55:56]RAPDU: E4 9D B1 F0 F5 53 9B B2 90 00 [14:55:56]wFMCommunicate OK [14:55:56]SAM_PROTO_SignData done [14:55:56]FM_MakeSignedData done [14:55:56]CreateOFDProtocolMessage [14:55:56]wFMCommunicate request_size=4 [14:55:56]MH_SAM_APDU [14:55:56]CAPDU: 80 11 00 00 [14:55:56]Write to MH i2c: E2 08 00 48 22 80 11 00 00 00 00 00 00 E4 [14:55:56]Write i2c OK [14:55:56]MH_I2C_Read... [14:55:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:56]Read from MH i2c: E2 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 17 00 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: E2 17 00 48 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 39 [14:55:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:55:56]wFMCommunicate OK [14:55:56]CreateOFDProtocolMessage done [14:55:56]OFDSenderStorePacket 34336 [14:55:56]StoreOFDPacket docnum=34336 [14:55:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3C 01 00 00 2D D2 34 01 1A 56 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 80 F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 86 00 00 35 04 06 00 D0 97 11 B1 26 B2 E4 9D B1 F0 F5 53 9B B2 [14:55:56]CheckFolder [14:55:56]dirname=/storage/ofd_packets [14:55:56]CheckFolder done [14:55:56]ProducePacketName [14:55:56]name=ofd_packets/00034336 [14:55:56]NVStorageSaveData ofd_packets/00034336 [14:55:56]File name is /storage/ofd_packets/00034336 [14:55:56]Write 346 bytes [14:55:56]NVStorageSaveData done [14:55:56]OFDSenderStorePacket done [14:55:56]KKMCreateOFDPacket done [14:55:56]NVStorageSaveData kkm_last_timestamp [14:55:56]File name is /storage/kkm_last_timestamp [14:55:56]Write 4 bytes [14:55:56]NVStorageSaveData done [14:55:56]ExternCall_PrintAddStr [14:55:56]wPrintStart [14:55:56]Write to MH i2c: 01 00 00 49 22 6B [14:55:56]Write i2c OK [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: 01 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: 01 07 00 [14:55:56]MH_I2C_Read... [14:55:56]Read from MH i2c: 01 07 00 49 22 00 00 00 00 00 FF 0F 80 [14:55:56]RasterBufferAndPrint [14:55:56]line Счет N : (3)184110 [14:55:56]line ИНН: 02508201610067 [14:55:56]line Контрольно-Кассовый Чек [14:55:56]line ПРОДАЖА [14:55:56]line Товар: 4670003190037 [14:55:56]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 зел 1л [14:55:56]line 1.000 * 225.00 [14:55:56]line = 225.00 [14:55:56]line НДС 12% НСП 1% [14:55:56]line > о реализуемом товаре [14:55:56]line ИТОГО: 225.00 [14:55:56]line НСП 1% : 1.99 [14:55:56]line НДС 12% : 23.89 [14:55:56]line Наличными: 225.00 [14:55:56]line Безнал.: 0.00 [14:55:56]line Место: АЗС № 120 "Партнер Нефть" [14:55:56]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:55:56]line СНО: Общий режим [14:55:56]line Чек 40 19.06.2024 14:56 [14:55:56]line Смена: 324 ФФД: 1.0 [14:55:56]line ЗНМ: 0300000172 [14:55:56]line РНМ: 0000000000092786 [14:55:56]line Версия ККМ: 001 [14:55:56]line ФМ: 0000000000875095 [14:55:56]line ФД: 34336 [14:55:56]line ФПД: 229347255461554 [14:55:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145600&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34336&fm=229347255461554&tin=02508201610067®Number=0000000000092786&sum=22500 [14:55:56]line 0 [14:55:56]OFD Sender: Processing packet 34336 [packets to send 8, broken 7] [14:55:56]ProducePacketName [14:55:56]name=ofd_packets/00034336 [14:55:56]OFD Sender: To server: pG, [14:55:56]CommunicateWithHost lk.salyk.kg:30040 [14:55:56]ConnectInit lk.salyk.kg [14:55:56]written 0, free lines is 4095 [14:55:57]Write to MH i2c: 01 00 00 72 22 94 [14:55:57]Write i2c OK [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: 01 [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: 01 07 00 [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: 01 07 00 72 22 00 00 00 00 00 F5 0C 9C [14:55:57]RasterBufferAndPrint [14:55:57]line [14:55:57]line [14:55:57]line [14:55:57]line [14:55:57]line [14:55:57]written 0, free lines is 3322 [14:55:57]MH_Cut [14:55:57]Write to MH i2c: D1 01 00 79 22 01 6D [14:55:57]Write i2c OK [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: D1 [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: D1 01 00 [14:55:57]MH_I2C_Read... [14:55:57]Read from MH i2c: D1 01 00 79 22 00 6C [14:55:57]Write to MH i2c: 01 00 00 7A 22 9C [14:55:57]Write i2c OK [14:55:57]MH_I2C_Read... [14:55:57]*** Cut start [14:55:57]*** Partial cut [14:55:57]*** CUTSNS_PIN = 1 [14:55:57]*** CUTSNS_PIN = 0 [14:55:58]*** Brake cut motor [14:55:58]Read from MH i2c: 01 [14:55:58]MH_I2C_Read... [14:55:58]*** Stop cut motor [14:55:58]*** Cut end [14:55:58]Read from MH i2c: 01 07 00 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: 01 07 00 7A 22 00 00 00 00 00 FF 0F B1 [14:55:58]process_action close_receipt done [14:55:58]requested_data is exist [14:55:58]produce_requested_data [14:55:58]requested_item fm.sn is exist - process it [14:55:58]wFMCommunicate request_size=4 [14:55:58]MH_SAM_APDU [14:55:58]CAPDU: 80 11 00 00 [14:55:58]Write to MH i2c: E2 08 00 7B 22 80 11 00 00 00 00 00 00 17 [14:55:58]Write i2c OK [14:55:58]MH_I2C_Read... [14:55:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:58]Read from MH i2c: E2 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 17 00 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 17 00 7B 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6C [14:55:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:55:58]wFMCommunicate OK [14:55:58]requested_item fd.num is exist - process it [14:55:58]SAM_PROTO_GetFieldsCounters [14:55:58]wFMCommunicate request_size=4 [14:55:58]MH_SAM_APDU [14:55:58]CAPDU: 80 13 00 00 [14:55:58]Write to MH i2c: E2 08 00 7C 22 80 13 00 00 00 00 00 00 1A [14:55:58]Write i2c OK [14:55:58]MH_I2C_Read... [14:55:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:58]Read from MH i2c: E2 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 62 00 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 62 00 7C 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 20 86 00 00 0E 04 04 00 44 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 A7 [14:55:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 20 86 00 00 0E 04 04 00 44 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:55:58]wFMCommunicate OK [14:55:58]SAM_PROTO_GetFieldsCounters done [14:55:58]requested_item shift.num is exist - process it [14:55:58]requested_item shift.opened is exist - process it [14:55:58]req_shift_opened [14:55:58]FM_GetShiftState [14:55:58]SAM_PROTO_GetShiftState [14:55:58]wFMCommunicate request_size=4 [14:55:58]MH_SAM_APDU [14:55:58]CAPDU: 80 13 01 00 [14:55:58]Write to MH i2c: E2 08 00 7D 22 80 13 01 00 00 00 00 00 1C [14:55:58]Write i2c OK [14:55:58]MH_I2C_Read... [14:55:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:58]Read from MH i2c: E2 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 0E 00 [14:55:58]MH_I2C_Read... [14:55:58]Read from MH i2c: E2 0E 00 7D 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F2 [14:55:58]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:55:58]wFMCommunicate OK [14:55:58]SAM_PROTO_GetShiftState done [14:55:58]FM_GetShiftState done [14:55:58]req_shift_opened done [14:55:58]requested_item shift.open_date is exist - process it [14:55:58]req_shift_open_date [14:55:58]req_shift_open_date done [14:55:58]produce_requested_data done [14:55:58]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34336,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:55:58]process_action_free close_receipt [14:55:58]json_value_free [14:55:58]json_value_free done [14:55:58]process_json_proto returns [14:55:58]Send response to host [14:55:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34336,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:55:58]free response buf [14:55:58]execute_script done [14:55:58]execute_script returns [14:55:58]free content buf [14:55:58]Sock 7.Close socket [14:55:58]Sock 7.Thread stoped [14:57:41]accept exits with 9 [14:57:41]New connection [14:57:41]New thread 3067567460 created [14:57:41]Thread 3067424100 joined [14:57:41]Waiting for new connection... [14:57:41] Sock 9.Parse request [14:57:41]Sock 9.Check first char [14:57:41]Sock 9.First char is OK [14:57:41]request: POST /json_proto HTTP/1.0 [14:57:41]Method: POST [14:57:41]URL: /json_proto [14:57:41]Method is POST - this is cgi request [14:57:41]url: /json_proto [14:57:41]query_string will be loaded in cgi processing [14:57:41]execute_cgi json_proto POST (null) [14:57:41]execute_cgi path=json_proto method=POST [14:57:41]POST find Content-Length [14:57:41]Host: 172.17.38.134:8080 [14:57:41]Content-Length: 646 [14:57:41]Content-Type: application/json [14:57:41] [14:57:41]POST finish read [14:57:41]Found Content-Length = 646 [14:57:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184111", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:41]execute_script... [14:57:41]execute_script path=json_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)184111", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:41]POST & json_proto [14:57:41]process_json_proto [14:57:41]json parsed OK: [14:57:41]protocol is kg_v1.0 [14:57:41]action value=close_receipt [14:57:41]process_action close_receipt [14:57:41]cmd_close_receipt [14:57:41]MH_GetDate [14:57:41]Write to MH i2c: F0 00 00 7E 22 8F [14:57:41]Write i2c OK [14:57:41]MH_I2C_Read... [14:57:41]Read from MH i2c: F0 [14:57:41]MH_I2C_Read... [14:57:41]Read from MH i2c: F0 09 00 [14:57:41]MH_I2C_Read... [14:57:41]Read from MH i2c: F0 09 00 7E 22 00 EB F1 72 66 13 9C 7C 64 DB [14:57:41]GetLastDocTimeStamp 1718808960 [14:57:41]current date 1718809067 [14:57:41]FM_GetShiftState [14:57:41]SAM_PROTO_GetShiftState [14:57:41]wFMCommunicate request_size=4 [14:57:41]MH_SAM_APDU [14:57:41]CAPDU: 80 13 01 00 [14:57:41]Write to MH i2c: E2 08 00 7F 22 80 13 01 00 00 00 00 00 1E [14:57:41]Write i2c OK [14:57:41]MH_I2C_Read... [14:57:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:41]Read from MH i2c: E2 [14:57:41]MH_I2C_Read... [14:57:41]Read from MH i2c: E2 0E 00 [14:57:41]MH_I2C_Read... [14:57:41]Read from MH i2c: E2 0E 00 7F 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F4 [14:57:41]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:57:41]wFMCommunicate OK [14:57:41]SAM_PROTO_GetShiftState done [14:57:41]FM_GetShiftState done [14:57:41]opened in 1718756813 [14:57:41]opened+sec_in_day 1718843213 [14:57:41]quantity*price = 25000 [14:57:41]sum+1 = 25001 [14:57:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 41 19.06.2024 14:57 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34337 ФПД: 212255775666359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145747&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34337&fm=212255775666359&tin=02508201610067®Number=0000000000092786&sum=25000 0 [14:57:42]StoreToDocumentArchive [14:57:42]shift 324 fd 34337 [14:57:42]save to /storage/0324/doc_00034337 [14:57:42]save last doc name /storage/0324/doc_00034337 to /storage/kkm_last_doc_name [14:57:42]save OK [14:57:42]Clear old archive folders... [14:57:42]ProcessDocumentItem done err = 0, tmpTLVsize=282 [14:57:42]tlvbuf is 01933A70 [14:57:42]SAM_PROTO_ClearQueue [14:57:42]wFMCommunicate request_size=4 [14:57:42]MH_SAM_APDU [14:57:42]CAPDU: 80 09 00 00 [14:57:42]Write to MH i2c: E2 08 00 8C 22 80 09 00 00 00 00 00 00 20 [14:57:42]Write i2c OK [14:57:42]MH_I2C_Read... [14:57:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:57:42]Read from MH i2c: E2 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 8C 22 00 90 00 22 [14:57:42]RAPDU: 90 00 [14:57:42]wFMCommunicate OK [14:57:42]SAM_PROTO_ClearQueue done [14:57:42]KKMCreateOFDPacket [14:57:42]OFDProtocolAddRootSTLVToBuf [14:57:42]FM_MakeSignedData [14:57:42]FM_MakeSignedData [14:57:42]SAM_PROTO_SignData [14:57:42]wFMCommunicate request_size=4 [14:57:42]MH_SAM_APDU [14:57:42]CAPDU: 80 0D 01 02 [14:57:42]Write to MH i2c: E2 08 00 8D 22 80 0D 01 02 00 00 00 00 28 [14:57:42]Write i2c OK [14:57:42]MH_I2C_Read... [14:57:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:57:42]Read from MH i2c: E2 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 8D 22 00 90 00 23 [14:57:42]RAPDU: 90 00 [14:57:42]wFMCommunicate OK [14:57:42]wFMCommunicate request_size=255 [14:57:42]MH_SAM_APDU [14:57:42]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 EB F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 [14:57:42]Write to MH i2c: E2 02 01 8E 22 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 EB F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 00 00 ED [14:57:42]Write i2c OK [14:57:42]MH_I2C_Read... [14:57:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:42]Read from MH i2c: E2 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 [14:57:42]MH_I2C_Read... [14:57:42]Read from MH i2c: E2 03 00 8E 22 00 90 00 24 [14:57:42]RAPDU: 90 00 [14:57:42]wFMCommunicate OK [14:57:42]wFMCommunicate request_size=41 [14:57:42]MH_SAM_APDU [14:57:42]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 86 00 00 35 04 06 00 C1 0B A6 1C 30 B7 [14:57:42]Write to MH i2c: E2 2C 00 8F 22 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 86 00 00 35 04 06 00 C1 0B A6 1C 30 B7 00 00 18 [14:57:42]Write i2c OK [14:57:42]MH_I2C_Read... [14:57:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:43]Read from MH i2c: E2 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 03 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 03 00 8F 22 00 90 00 25 [14:57:43]RAPDU: 90 00 [14:57:43]wFMCommunicate OK [14:57:43]wFMCommunicate request_size=4 [14:57:43]MH_SAM_APDU [14:57:43]CAPDU: 80 0D 03 02 [14:57:43]Write to MH i2c: E2 08 00 90 22 80 0D 03 02 00 00 00 00 2D [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:57:43]Read from MH i2c: E2 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 0B 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 0B 00 90 22 00 59 A9 39 51 56 08 54 71 90 00 DD [14:57:43]RAPDU: 59 A9 39 51 56 08 54 71 90 00 [14:57:43]wFMCommunicate OK [14:57:43]SAM_PROTO_SignData done [14:57:43]FM_MakeSignedData done [14:57:43]CreateOFDProtocolMessage [14:57:43]wFMCommunicate request_size=4 [14:57:43]MH_SAM_APDU [14:57:43]CAPDU: 80 11 00 00 [14:57:43]Write to MH i2c: E2 08 00 91 22 80 11 00 00 00 00 00 00 2D [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:43]Read from MH i2c: E2 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 17 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: E2 17 00 91 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 82 [14:57:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:57:43]wFMCommunicate OK [14:57:43]CreateOFDProtocolMessage done [14:57:43]OFDSenderStorePacket 34337 [14:57:43]StoreOFDPacket docnum=34337 [14:57:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 43 8F 26 01 F3 40 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 EB F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 86 00 00 35 04 06 00 C1 0B A6 1C 30 B7 59 A9 39 51 56 08 54 71 [14:57:43]CheckFolder [14:57:43]dirname=/storage/ofd_packets [14:57:43]CheckFolder done [14:57:43]ProducePacketName [14:57:43]name=ofd_packets/00034337 [14:57:43]NVStorageSaveData ofd_packets/00034337 [14:57:43]File name is /storage/ofd_packets/00034337 [14:57:43]Write 332 bytes [14:57:43]NVStorageSaveData done [14:57:43]OFDSenderStorePacket done [14:57:43]KKMCreateOFDPacket done [14:57:43]NVStorageSaveData kkm_last_timestamp [14:57:43]File name is /storage/kkm_last_timestamp [14:57:43]Write 4 bytes [14:57:43]NVStorageSaveData done [14:57:43]ExternCall_PrintAddStr [14:57:43]wPrintStart [14:57:43]Write to MH i2c: 01 00 00 92 22 B4 [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 07 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 07 00 92 22 00 00 00 00 00 FF 0F C9 [14:57:43]RasterBufferAndPrint [14:57:43]line Счет N : (3)184111 [14:57:43]line ИНН: 02508201610067 [14:57:43]line Контрольно-Кассовый Чек [14:57:43]line ПРОДАЖА [14:57:43]line Товар: 2000036220012 [14:57:43]line Кофе Капучино XL(GABB TRADE) [14:57:43]line 2.000 * 125.00 [14:57:43]line = 250.00 [14:57:43]line НДС 12% НСП 1% [14:57:43]line > о реализуемом товаре [14:57:43]line ИТОГО: 250.00 [14:57:43]line НСП 1% : 2.21 [14:57:43]line НДС 12% : 26.55 [14:57:43]line Наличными: 250.00 [14:57:43]line Безнал.: 0.00 [14:57:43]line Место: АЗС № 120 "Партнер Нефть" [14:57:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [14:57:43]line СНО: Общий режим [14:57:43]line Чек 41 19.06.2024 14:57 [14:57:43]line Смена: 324 ФФД: 1.0 [14:57:43]line ЗНМ: 0300000172 [14:57:43]line РНМ: 0000000000092786 [14:57:43]line Версия ККМ: 001 [14:57:43]line ФМ: 0000000000875095 [14:57:43]line ФД: 34337 [14:57:43]line ФПД: 212255775666359 [14:57:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T145747&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34337&fm=212255775666359&tin=02508201610067®Number=0000000000092786&sum=25000 [14:57:43]line 0 [14:57:43]written 0, free lines is 4095 [14:57:43]Write to MH i2c: 01 00 00 BB 22 DD [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 07 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: 01 07 00 BB 22 00 00 00 00 00 EB 0C DB [14:57:43]RasterBufferAndPrint [14:57:43]line [14:57:43]line [14:57:43]line [14:57:43]line [14:57:43]line [14:57:43]written 0, free lines is 3310 [14:57:43]MH_Cut [14:57:43]Write to MH i2c: D1 01 00 C2 22 01 B6 [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: D1 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: D1 01 00 [14:57:43]MH_I2C_Read... [14:57:43]Read from MH i2c: D1 01 00 C2 22 00 B5 [14:57:43]Write to MH i2c: 01 00 00 C3 22 E5 [14:57:43]Write i2c OK [14:57:43]MH_I2C_Read... [14:57:44]*** Cut start [14:57:44]*** Partial cut [14:57:44]*** CUTSNS_PIN = 1 [14:57:44]*** CUTSNS_PIN = 0 [14:57:44]*** Brake cut motor [14:57:45]Read from MH i2c: 01 [14:57:45]MH_I2C_Read... [14:57:45]*** Stop cut motor [14:57:45]*** Cut end [14:57:45]Read from MH i2c: 01 07 00 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: 01 07 00 C3 22 00 00 00 00 00 FF 0F FA [14:57:45]process_action close_receipt done [14:57:45]requested_data is exist [14:57:45]produce_requested_data [14:57:45]requested_item fm.sn is exist - process it [14:57:45]wFMCommunicate request_size=4 [14:57:45]MH_SAM_APDU [14:57:45]CAPDU: 80 11 00 00 [14:57:45]Write to MH i2c: E2 08 00 C4 22 80 11 00 00 00 00 00 00 60 [14:57:45]Write i2c OK [14:57:45]MH_I2C_Read... [14:57:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:45]Read from MH i2c: E2 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 17 00 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 17 00 C4 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B5 [14:57:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [14:57:45]wFMCommunicate OK [14:57:45]requested_item fd.num is exist - process it [14:57:45]SAM_PROTO_GetFieldsCounters [14:57:45]wFMCommunicate request_size=4 [14:57:45]MH_SAM_APDU [14:57:45]CAPDU: 80 13 00 00 [14:57:45]Write to MH i2c: E2 08 00 C5 22 80 13 00 00 00 00 00 00 63 [14:57:45]Write i2c OK [14:57:45]MH_I2C_Read... [14:57:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:45]Read from MH i2c: E2 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 62 00 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 62 00 C5 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 21 86 00 00 0E 04 04 00 44 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 F4 [14:57:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 21 86 00 00 0E 04 04 00 44 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:57:45]wFMCommunicate OK [14:57:45]SAM_PROTO_GetFieldsCounters done [14:57:45]requested_item shift.num is exist - process it [14:57:45]requested_item shift.opened is exist - process it [14:57:45]req_shift_opened [14:57:45]FM_GetShiftState [14:57:45]SAM_PROTO_GetShiftState [14:57:45]wFMCommunicate request_size=4 [14:57:45]MH_SAM_APDU [14:57:45]CAPDU: 80 13 01 00 [14:57:45]Write to MH i2c: E2 08 00 C6 22 80 13 01 00 00 00 00 00 65 [14:57:45]Write i2c OK [14:57:45]MH_I2C_Read... [14:57:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:45]Read from MH i2c: E2 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 0E 00 [14:57:45]MH_I2C_Read... [14:57:45]Read from MH i2c: E2 0E 00 C6 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3B [14:57:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [14:57:45]wFMCommunicate OK [14:57:45]SAM_PROTO_GetShiftState done [14:57:45]FM_GetShiftState done [14:57:45]req_shift_opened done [14:57:45]requested_item shift.open_date is exist - process it [14:57:45]req_shift_open_date [14:57:45]req_shift_open_date done [14:57:45]produce_requested_data done [14:57:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34337,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [14:57:45]process_action_free close_receipt [14:57:45]json_value_free [14:57:45]json_value_free done [14:57:45]process_json_proto returns [14:57:45]Send response to host [14:57:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34337,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [14:57:45]free response buf [14:57:45]execute_script done [14:57:45]execute_script returns [14:57:45]free content buf [14:57:45]Sock 9.Close socket [14:57:45]Sock 9.Thread stoped [14:58:05]ConnectInit Can't connect to host [14:58:05]CommunicateWithHost connect error [14:58:05]CommunicateWithHost err = -1 [14:58:05]OFD Sender: Server communicate error [14:58:06]OFD Sender: Processing packet 34336 [packets to send 9, broken 7] [14:58:06]ProducePacketName [14:58:06]name=ofd_packets/00034336 [14:58:06]OFD Sender: To server: pG, [14:58:06]CommunicateWithHost lk.salyk.kg:30040 [14:58:06]ConnectInit lk.salyk.kg [14:58:06]Connected sock=9 [14:58:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3C 01 00 00 2D D2 34 01 1A 56 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 33 37 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B7 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 80 F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 86 00 00 35 04 06 00 D0 97 11 B1 26 B2 E4 9D B1 F0 F5 53 9B B2 [14:58:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 FA 44 47 00 8C 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 20 86 00 00 F4 03 04 00 CE 98 72 66 B6 04 01 00 00 2B 77 9C 73 FD 33 EB 2F [14:58:06]CommunicateWithHost err = 0 [14:58:06]CheckOFDResponse [14:58:06]1017 (14) - 77093643461234 [14:58:06]1041 (16) - 0000000000875095 [14:58:06]1040 (4) - 34336 [14:58:06]1012 (4) - 19.06.2024 08:37 [14:58:06]1206 (1) - 0 [14:58:06]OFD Sender: Remove packet 34336 [14:58:06]ProducePacketName [14:58:06]name=ofd_packets/00034336 [14:58:06]NVStorageDeleteData [14:58:06]OFD Sender: Processing packet 34337 [packets to send 8, broken 7] [14:58:06]ProducePacketName [14:58:06]name=ofd_packets/00034337 [14:58:06]OFD Sender: To server: pG, [14:58:06]CommunicateWithHost lk.salyk.kg:30040 [14:58:06]ConnectInit lk.salyk.kg [14:58:07]Connected sock=9 [14:58:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 43 8F 26 01 F3 40 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 EB F1 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 86 00 00 35 04 06 00 C1 0B A6 1C 30 B7 59 A9 39 51 56 08 54 71 [14:58:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F2 B0 47 00 64 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 21 86 00 00 F4 03 04 00 CF 98 72 66 B6 04 01 00 00 F9 1A 97 73 D6 4E D8 84 [14:58:07]CommunicateWithHost err = 0 [14:58:07]CheckOFDResponse [14:58:07]1017 (14) - 77093643461234 [14:58:07]1041 (16) - 0000000000875095 [14:58:07]1040 (4) - 34337 [14:58:07]1012 (4) - 19.06.2024 08:37 [14:58:07]1206 (1) - 0 [14:58:07]OFD Sender: Remove packet 34337 [14:58:07]ProducePacketName [14:58:07]name=ofd_packets/00034337 [14:58:07]NVStorageDeleteData [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:10]accept exits with 7 [15:06:10]New connection [15:06:10]New thread 3067424100 created [15:06:10]Thread 3067567460 joined [15:06:10]Waiting for new connection... [15:06:10] Sock 7.Parse request [15:06:10]Sock 7.Check first char [15:06:10]Sock 7.First char is OK [15:06:10]request: POST /json_proto HTTP/1.0 [15:06:10]Method: POST [15:06:10]URL: /json_proto [15:06:10]Method is POST - this is cgi request [15:06:10]url: /json_proto [15:06:10]query_string will be loaded in cgi processing [15:06:10]execute_cgi json_proto POST (null) [15:06:10]execute_cgi path=json_proto method=POST [15:06:10]POST find Content-Length [15:06:10]Host: 172.17.38.134:8080 [15:06:10]Content-Length: 722 [15:06:10]Content-Type: application/json [15:06:10] [15:06:10]POST finish read [15:06:10]Found Content-Length = 722 [15:06:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184112", "tax_sys" : 0, "items" : [ { "code": "4870002329463", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043F\u0435\u0440\u0441,\u0434\u044B\u043D\u044F,\u0433\u0443\u0430\u0440 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:10]execute_script... [15:06:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184112", "tax_sys" : 0, "items" : [ { "code": "4870002329463", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043F\u0435\u0440\u0441,\u0434\u044B\u043D\u044F,\u0433\u0443\u0430\u0440 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:10]POST & json_proto [15:06:10]process_json_proto [15:06:10]json parsed OK: [15:06:10]protocol is kg_v1.0 [15:06:10]action value=close_receipt [15:06:10]process_action close_receipt [15:06:10]cmd_close_receipt [15:06:10]MH_GetDate [15:06:10]Write to MH i2c: F0 00 00 C7 22 D8 [15:06:10]Write i2c OK [15:06:10]MH_I2C_Read... [15:06:10]Read from MH i2c: F0 [15:06:10]MH_I2C_Read... [15:06:10]Read from MH i2c: F0 09 00 [15:06:10]MH_I2C_Read... [15:06:10]Read from MH i2c: F0 09 00 C7 22 00 E8 F3 72 66 13 9C 7C 64 23 [15:06:10]GetLastDocTimeStamp 1718809067 [15:06:10]current date 1718809576 [15:06:10]FM_GetShiftState [15:06:10]SAM_PROTO_GetShiftState [15:06:10]wFMCommunicate request_size=4 [15:06:10]MH_SAM_APDU [15:06:10]CAPDU: 80 13 01 00 [15:06:10]Write to MH i2c: E2 08 00 C8 22 80 13 01 00 00 00 00 00 67 [15:06:10]Write i2c OK [15:06:10]MH_I2C_Read... [15:06:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:10]Read from MH i2c: E2 [15:06:10]MH_I2C_Read... [15:06:10]Read from MH i2c: E2 0E 00 [15:06:10]MH_I2C_Read... [15:06:10]Read from MH i2c: E2 0E 00 C8 22 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3D [15:06:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:06:10]wFMCommunicate OK [15:06:10]SAM_PROTO_GetShiftState done [15:06:10]FM_GetShiftState done [15:06:10]opened in 1718756813 [15:06:10]opened+sec_in_day 1718843213 [15:06:10]quantity*price = 10500 [15:06:10]sum+1 = 10501 [15:06:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 42 19.06.2024 15:06 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34338 ФПД: 193518263386084 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T150616&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34338&fm=193518263386084&tin=02508201610067®Number=0000000000092786&sum=10500 0 [15:06:11]StoreToDocumentArchive [15:06:11]shift 324 fd 34338 [15:06:11]save to /storage/0324/doc_00034338 [15:06:11]save last doc name /storage/0324/doc_00034338 to /storage/kkm_last_doc_name [15:06:11]save OK [15:06:11]Clear old archive folders... [15:06:11]ProcessDocumentItem done err = 0, tmpTLVsize=306 [15:06:11]tlvbuf is 019283E0 [15:06:11]SAM_PROTO_ClearQueue [15:06:11]wFMCommunicate request_size=4 [15:06:11]MH_SAM_APDU [15:06:11]CAPDU: 80 09 00 00 [15:06:11]Write to MH i2c: E2 08 00 D5 22 80 09 00 00 00 00 00 00 69 [15:06:11]Write i2c OK [15:06:11]MH_I2C_Read... [15:06:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:06:11]Read from MH i2c: E2 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 D5 22 00 90 00 6B [15:06:11]RAPDU: 90 00 [15:06:11]wFMCommunicate OK [15:06:11]SAM_PROTO_ClearQueue done [15:06:11]KKMCreateOFDPacket [15:06:11]OFDProtocolAddRootSTLVToBuf [15:06:11]FM_MakeSignedData [15:06:11]FM_MakeSignedData [15:06:11]SAM_PROTO_SignData [15:06:11]wFMCommunicate request_size=4 [15:06:11]MH_SAM_APDU [15:06:11]CAPDU: 80 0D 01 02 [15:06:11]Write to MH i2c: E2 08 00 D6 22 80 0D 01 02 00 00 00 00 71 [15:06:11]Write i2c OK [15:06:11]MH_I2C_Read... [15:06:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:06:11]Read from MH i2c: E2 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 D6 22 00 90 00 6C [15:06:11]RAPDU: 90 00 [15:06:11]wFMCommunicate OK [15:06:11]wFMCommunicate request_size=255 [15:06:11]MH_SAM_APDU [15:06:11]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 36 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 E8 F3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 [15:06:11]Write to MH i2c: E2 02 01 D7 22 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 36 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 E8 F3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 00 F5 [15:06:11]Write i2c OK [15:06:11]MH_I2C_Read... [15:06:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:11]Read from MH i2c: E2 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 [15:06:11]MH_I2C_Read... [15:06:11]Read from MH i2c: E2 03 00 D7 22 00 90 00 6D [15:06:11]RAPDU: 90 00 [15:06:11]wFMCommunicate OK [15:06:11]wFMCommunicate request_size=65 [15:06:11]MH_SAM_APDU [15:06:11]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 86 00 00 35 04 06 00 B0 00 FB 58 BF E4 [15:06:11]Write to MH i2c: E2 44 00 D8 22 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 86 00 00 35 04 06 00 B0 00 FB 58 BF E4 00 00 1A [15:06:11]Write i2c OK [15:06:11]MH_I2C_Read... [15:06:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:12]Read from MH i2c: E2 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 03 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 03 00 D8 22 00 90 00 6E [15:06:12]RAPDU: 90 00 [15:06:12]wFMCommunicate OK [15:06:12]wFMCommunicate request_size=4 [15:06:12]MH_SAM_APDU [15:06:12]CAPDU: 80 0D 03 02 [15:06:12]Write to MH i2c: E2 08 00 D9 22 80 0D 03 02 00 00 00 00 76 [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:06:12]Read from MH i2c: E2 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 0B 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 0B 00 D9 22 00 27 3F 95 B2 A4 45 30 2A 90 00 67 [15:06:12]RAPDU: 27 3F 95 B2 A4 45 30 2A 90 00 [15:06:12]wFMCommunicate OK [15:06:12]SAM_PROTO_SignData done [15:06:12]FM_MakeSignedData done [15:06:12]CreateOFDProtocolMessage [15:06:12]wFMCommunicate request_size=4 [15:06:12]MH_SAM_APDU [15:06:12]CAPDU: 80 11 00 00 [15:06:12]Write to MH i2c: E2 08 00 DA 22 80 11 00 00 00 00 00 00 76 [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:12]Read from MH i2c: E2 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 17 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: E2 17 00 DA 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CB [15:06:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:06:12]wFMCommunicate OK [15:06:12]CreateOFDProtocolMessage done [15:06:12]OFDSenderStorePacket 34338 [15:06:12]StoreOFDPacket docnum=34338 [15:06:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 19 DE 3E 01 4D 3E 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 36 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 E8 F3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 86 00 00 35 04 06 00 B0 00 FB 58 BF E4 27 3F 95 B2 A4 45 30 2A [15:06:12]CheckFolder [15:06:12]dirname=/storage/ofd_packets [15:06:12]CheckFolder done [15:06:12]ProducePacketName [15:06:12]name=ofd_packets/00034338 [15:06:12]NVStorageSaveData ofd_packets/00034338 [15:06:12]File name is /storage/ofd_packets/00034338 [15:06:12]Write 356 bytes [15:06:12]NVStorageSaveData done [15:06:12]OFDSenderStorePacket done [15:06:12]KKMCreateOFDPacket done [15:06:12]NVStorageSaveData kkm_last_timestamp [15:06:12]File name is /storage/kkm_last_timestamp [15:06:12]Write 4 bytes [15:06:12]NVStorageSaveData done [15:06:12]ExternCall_PrintAddStr [15:06:12]wPrintStart [15:06:12]Write to MH i2c: 01 00 00 DB 22 FD [15:06:12]OFD Sender: Processing packet 34338 [packets to send 8, broken 7] [15:06:12]ProducePacketName [15:06:12]name=ofd_packets/00034338 [15:06:12]OFD Sender: To server: pG, [15:06:12]CommunicateWithHost lk.salyk.kg:30040 [15:06:12]ConnectInit lk.salyk.kg [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 07 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 07 00 DB 22 00 00 00 00 00 FF 0F 12 [15:06:12]RasterBufferAndPrint [15:06:12]line Счет N : (3)184112 [15:06:12]line ИНН: 02508201610067 [15:06:12]line Контрольно-Кассовый Чек [15:06:12]line ПРОДАЖА [15:06:12]line Товар: 4870002329463 [15:06:12]line Напиток Пиала Ice Tea перс,дыня,гуар 1л [15:06:12]line 1.000 * 105.00 [15:06:12]line = 105.00 [15:06:12]line НДС 12% НСП 1% [15:06:12]line > о реализуемом товаре [15:06:12]line ИТОГО: 105.00 [15:06:12]line НСП 1% : 0.93 [15:06:12]line НДС 12% : 11.15 [15:06:12]line Наличными: 105.00 [15:06:12]line Безнал.: 0.00 [15:06:12]line Место: АЗС № 120 "Партнер Нефть" [15:06:12]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:06:12]line СНО: Общий режим [15:06:12]line Чек 42 19.06.2024 15:06 [15:06:12]line Смена: 324 ФФД: 1.0 [15:06:12]line ЗНМ: 0300000172 [15:06:12]line РНМ: 0000000000092786 [15:06:12]line Версия ККМ: 001 [15:06:12]line ФМ: 0000000000875095 [15:06:12]line ФД: 34338 [15:06:12]line ФПД: 193518263386084 [15:06:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T150616&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34338&fm=193518263386084&tin=02508201610067®Number=0000000000092786&sum=10500 [15:06:12]line 0 [15:06:12]Connected sock=10 [15:06:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 19 DE 3E 01 4D 3E 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 36 33 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BF D0 B5 D1 80 D1 81 2C D0 B4 D1 8B D0 BD D1 8F 2C D0 B3 D1 83 D0 B0 D1 80 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 E8 F3 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 22 86 00 00 35 04 06 00 B0 00 FB 58 BF E4 27 3F 95 B2 A4 45 30 2A [15:06:12]written 0, free lines is 4095 [15:06:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 AA D2 47 00 A0 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 38 37 35 30 39 35 10 04 04 00 22 86 00 00 F4 03 04 00 B4 9A 72 66 B6 04 01 00 00 79 FA 38 2F 26 52 DD 60 [15:06:12]CommunicateWithHost err = 0 [15:06:12]CheckOFDResponse [15:06:12]1017 (14) - 77093643461234 [15:06:12]1041 (16) - 0000000000875095 [15:06:12]1040 (4) - 34338 [15:06:12]1012 (4) - 19.06.2024 08:45 [15:06:12]1206 (1) - 0 [15:06:12]OFD Sender: Remove packet 34338 [15:06:12]ProducePacketName [15:06:12]name=ofd_packets/00034338 [15:06:12]NVStorageDeleteData [15:06:12]Write to MH i2c: 01 00 00 04 23 27 [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 07 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: 01 07 00 04 23 00 00 00 00 00 E8 0C 22 [15:06:12]RasterBufferAndPrint [15:06:12]line [15:06:12]line [15:06:12]line [15:06:12]line [15:06:12]line [15:06:12]written 0, free lines is 3313 [15:06:12]MH_Cut [15:06:12]Write to MH i2c: D1 01 00 0B 23 01 00 [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: D1 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: D1 01 00 [15:06:12]MH_I2C_Read... [15:06:12]Read from MH i2c: D1 01 00 0B 23 00 FF [15:06:12]Write to MH i2c: 01 00 00 0C 23 2F [15:06:12]Write i2c OK [15:06:12]MH_I2C_Read... [15:06:13]OFD Sender: No OFD packet to send [15:06:13]*** Cut start [15:06:13]*** Partial cut [15:06:13]*** CUTSNS_PIN = 1 [15:06:13]*** CUTSNS_PIN = 0 [15:06:13]*** Brake cut motor [15:06:14]Read from MH i2c: 01 [15:06:14]MH_I2C_Read... [15:06:14]*** Stop cut motor [15:06:14]*** Cut end [15:06:14]Read from MH i2c: 01 07 00 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: 01 07 00 0C 23 00 00 00 00 00 FF 0F 44 [15:06:14]process_action close_receipt done [15:06:14]requested_data is exist [15:06:14]produce_requested_data [15:06:14]requested_item fm.sn is exist - process it [15:06:14]wFMCommunicate request_size=4 [15:06:14]MH_SAM_APDU [15:06:14]CAPDU: 80 11 00 00 [15:06:14]Write to MH i2c: E2 08 00 0D 23 80 11 00 00 00 00 00 00 AA [15:06:14]Write i2c OK [15:06:14]MH_I2C_Read... [15:06:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:14]Read from MH i2c: E2 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 17 00 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 17 00 0D 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FF [15:06:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:06:14]wFMCommunicate OK [15:06:14]requested_item fd.num is exist - process it [15:06:14]SAM_PROTO_GetFieldsCounters [15:06:14]wFMCommunicate request_size=4 [15:06:14]MH_SAM_APDU [15:06:14]CAPDU: 80 13 00 00 [15:06:14]Write to MH i2c: E2 08 00 0E 23 80 13 00 00 00 00 00 00 AD [15:06:14]Write i2c OK [15:06:14]MH_I2C_Read... [15:06:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:06:14]Read from MH i2c: E2 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 62 00 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 62 00 0E 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 22 86 00 00 0E 04 04 00 44 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 42 [15:06:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 22 86 00 00 0E 04 04 00 44 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:06:14]wFMCommunicate OK [15:06:14]SAM_PROTO_GetFieldsCounters done [15:06:14]requested_item shift.num is exist - process it [15:06:14]requested_item shift.opened is exist - process it [15:06:14]req_shift_opened [15:06:14]FM_GetShiftState [15:06:14]SAM_PROTO_GetShiftState [15:06:14]wFMCommunicate request_size=4 [15:06:14]MH_SAM_APDU [15:06:14]CAPDU: 80 13 01 00 [15:06:14]Write to MH i2c: E2 08 00 0F 23 80 13 01 00 00 00 00 00 AF [15:06:14]Write i2c OK [15:06:14]MH_I2C_Read... [15:06:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:14]Read from MH i2c: E2 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 0E 00 [15:06:14]MH_I2C_Read... [15:06:14]Read from MH i2c: E2 0E 00 0F 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 85 [15:06:14]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:06:14]wFMCommunicate OK [15:06:14]SAM_PROTO_GetShiftState done [15:06:14]FM_GetShiftState done [15:06:14]req_shift_opened done [15:06:14]requested_item shift.open_date is exist - process it [15:06:14]req_shift_open_date [15:06:14]req_shift_open_date done [15:06:14]produce_requested_data done [15:06:14]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34338,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:06:14]process_action_free close_receipt [15:06:14]json_value_free [15:06:14]json_value_free done [15:06:14]process_json_proto returns [15:06:14]Send response to host [15:06:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34338,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:06:14]free response buf [15:06:14]execute_script done [15:06:14]execute_script returns [15:06:14]free content buf [15:06:14]Sock 7.Close socket [15:06:14]Sock 7.Thread stoped [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:01]accept exits with 9 [15:08:01]New connection [15:08:01]New thread 3067567460 created [15:08:01]Thread 3067424100 joined [15:08:01]Waiting for new connection... [15:08:01] Sock 9.Parse request [15:08:01]Sock 9.Check first char [15:08:01]Sock 9.First char is OK [15:08:01]request: POST /json_proto HTTP/1.0 [15:08:01]Method: POST [15:08:01]URL: /json_proto [15:08:01]Method is POST - this is cgi request [15:08:01]url: /json_proto [15:08:01]query_string will be loaded in cgi processing [15:08:01]execute_cgi json_proto POST (null) [15:08:01]execute_cgi path=json_proto method=POST [15:08:01]POST find Content-Length [15:08:01]Host: 172.17.38.134:8080 [15:08:01]Content-Length: 1418 [15:08:01]Content-Type: application/json [15:08:01] [15:08:01]POST finish read [15:08:01]Found Content-Length = 1418 [15:08:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184113", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46039538", "name": "\u041A\u043E\u043D\u0444 Fruit-tella \u0441\u0442\u0438\u043A \u043A\u043B\u0443\u0431\u043D\u0438\u0447\u043D\u044B\u0439 \u0439\u043E\u0433\u0443\u0440\u0442", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 415.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:01]execute_script... [15:08: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)184113", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521179", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 0,45", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46039538", "name": "\u041A\u043E\u043D\u0444 Fruit-tella \u0441\u0442\u0438\u043A \u043A\u043B\u0443\u0431\u043D\u0438\u0447\u043D\u044B\u0439 \u0439\u043E\u0433\u0443\u0440\u0442", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 415.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:01]POST & json_proto [15:08:01]process_json_proto [15:08:01]json parsed OK: [15:08:01]protocol is kg_v1.0 [15:08:01]action value=close_receipt [15:08:01]process_action close_receipt [15:08:01]cmd_close_receipt [15:08:01]MH_GetDate [15:08:01]Write to MH i2c: F0 00 00 10 23 22 [15:08:01]Write i2c OK [15:08:01]MH_I2C_Read... [15:08:01]Read from MH i2c: F0 [15:08:01]MH_I2C_Read... [15:08:01]Read from MH i2c: F0 09 00 [15:08:01]MH_I2C_Read... [15:08:01]Read from MH i2c: F0 09 00 10 23 00 57 F4 72 66 13 9C 7C 64 DD [15:08:01]GetLastDocTimeStamp 1718809576 [15:08:01]current date 1718809687 [15:08:01]FM_GetShiftState [15:08:01]SAM_PROTO_GetShiftState [15:08:01]wFMCommunicate request_size=4 [15:08:01]MH_SAM_APDU [15:08:01]CAPDU: 80 13 01 00 [15:08:01]Write to MH i2c: E2 08 00 11 23 80 13 01 00 00 00 00 00 B1 [15:08:02]Write i2c OK [15:08:02]MH_I2C_Read... [15:08:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:02]Read from MH i2c: E2 [15:08:02]MH_I2C_Read... [15:08:02]Read from MH i2c: E2 0E 00 [15:08:02]MH_I2C_Read... [15:08:02]Read from MH i2c: E2 0E 00 11 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 87 [15:08:02]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:08:02]wFMCommunicate OK [15:08:02]SAM_PROTO_GetShiftState done [15:08:02]FM_GetShiftState done [15:08:02]opened in 1718756813 [15:08:02]opened+sec_in_day 1718843213 [15:08:02]quantity*price = 12500 [15:08:02]sum+1 = 12501 [15:08:02]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521179 Чай холодный MAXI черный персик ПЭТ 0,45 2.000 * 70.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46039538 Конф Fruit-tella стик клубничный йогурт 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 415.00 НСП 1% : 3.68 НДС 12% : 44.07 Наличными: 415.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 43 19.06.2024 15:08 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34339 ФПД: 215227780567656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T150808&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34339&fm=215227780567656&tin=02508201610067®Number=0000000000092786&sum=41500 0 [15:08:03]StoreToDocumentArchive [15:08:03]shift 324 fd 34339 [15:08:03]save to /storage/0324/doc_00034339 [15:08:03]save last doc name /storage/0324/doc_00034339 to /storage/kkm_last_doc_name [15:08:03]save OK [15:08:03]Clear old archive folders... [15:08:03]ProcessDocumentItem done err = 0, tmpTLVsize=580 [15:08:03]tlvbuf is B6F57140 [15:08:03]SAM_PROTO_ClearQueue [15:08:03]wFMCommunicate request_size=4 [15:08:03]MH_SAM_APDU [15:08:03]CAPDU: 80 09 00 00 [15:08:03]Write to MH i2c: E2 08 00 1E 23 80 09 00 00 00 00 00 00 B3 [15:08:03]Write i2c OK [15:08:03]MH_I2C_Read... [15:08:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:08:03]Read from MH i2c: E2 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 1E 23 00 90 00 B5 [15:08:03]RAPDU: 90 00 [15:08:03]wFMCommunicate OK [15:08:03]SAM_PROTO_ClearQueue done [15:08:03]KKMCreateOFDPacket [15:08:03]OFDProtocolAddRootSTLVToBuf [15:08:03]FM_MakeSignedData [15:08:03]FM_MakeSignedData [15:08:03]SAM_PROTO_SignData [15:08:03]wFMCommunicate request_size=4 [15:08:03]MH_SAM_APDU [15:08:03]CAPDU: 80 0D 01 02 [15:08:03]Write to MH i2c: E2 08 00 1F 23 80 0D 01 02 00 00 00 00 BB [15:08:03]Write i2c OK [15:08:03]MH_I2C_Read... [15:08:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:08:03]Read from MH i2c: E2 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 1F 23 00 90 00 B6 [15:08:03]RAPDU: 90 00 [15:08:03]wFMCommunicate OK [15:08:03]wFMCommunicate request_size=255 [15:08:03]MH_SAM_APDU [15:08:03]CAPDU: 80 0D 02 02 FA 03 00 44 02 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 [15:08:03]Write to MH i2c: E2 02 01 20 23 80 0D 02 02 FA 00 03 00 44 02 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 92 [15:08:03]OFD Sender: No OFD packet to send [15:08:03]Write i2c OK [15:08:03]MH_I2C_Read... [15:08:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:03]Read from MH i2c: E2 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 [15:08:03]MH_I2C_Read... [15:08:03]Read from MH i2c: E2 03 00 20 23 00 90 00 B7 [15:08:03]RAPDU: 90 00 [15:08:03]wFMCommunicate OK [15:08:03]wFMCommunicate request_size=255 [15:08:03]MH_SAM_APDU [15:08:03]CAPDU: 80 0D 02 02 FA 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 30 33 39 35 33 38 06 04 3F 00 D0 9A D0 BE D0 BD D1 84 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D1 81 D1 82 D0 B8 D0 BA 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D1 87 D0 BD D1 8B D0 B9 20 D0 B9 D0 BE D0 B3 D1 83 D1 80 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 1C A2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 11 00 00 00 00 07 04 06 00 1C A2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 [15:08:03]Write to MH i2c: E2 02 01 21 23 80 0D 02 02 FA 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 30 33 39 35 33 38 06 04 3F 00 D0 9A D0 BE D0 BD D1 84 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D1 81 D1 82 D0 B8 D0 BA 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D1 87 D0 BD D1 8B D0 B9 20 D0 B9 D0 BE D0 B3 D1 83 D1 80 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 1C A2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 11 00 00 00 00 07 04 06 00 1C A2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 00 FF [15:08:03]Write i2c OK [15:08:03]MH_I2C_Read... [15:08:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:04]Read from MH i2c: E2 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 03 00 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 03 00 21 23 00 90 00 B8 [15:08:04]RAPDU: 90 00 [15:08:04]wFMCommunicate OK [15:08:04]wFMCommunicate request_size=89 [15:08:04]MH_SAM_APDU [15:08:04]CAPDU: 80 0D 02 02 54 00 2B 00 00 00 F4 03 04 00 58 F4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 86 00 00 35 04 06 00 C3 BF 9F 68 12 68 [15:08:04]Write to MH i2c: E2 5C 00 22 23 80 0D 02 02 54 00 00 2B 00 00 00 F4 03 04 00 58 F4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 86 00 00 35 04 06 00 C3 BF 9F 68 12 68 00 00 56 [15:08:04]Write i2c OK [15:08:04]MH_I2C_Read... [15:08:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:04]Read from MH i2c: E2 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 03 00 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 03 00 22 23 00 90 00 B9 [15:08:04]RAPDU: 90 00 [15:08:04]wFMCommunicate OK [15:08:04]wFMCommunicate request_size=4 [15:08:04]MH_SAM_APDU [15:08:04]CAPDU: 80 0D 03 02 [15:08:04]Write to MH i2c: E2 08 00 23 23 80 0D 03 02 00 00 00 00 C1 [15:08:04]Write i2c OK [15:08:04]MH_I2C_Read... [15:08:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:08:04]Read from MH i2c: E2 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 0B 00 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 0B 00 23 23 00 D9 5A 49 DF C8 17 5B 1E 90 00 75 [15:08:04]RAPDU: D9 5A 49 DF C8 17 5B 1E 90 00 [15:08:04]wFMCommunicate OK [15:08:04]SAM_PROTO_SignData done [15:08:04]FM_MakeSignedData done [15:08:04]CreateOFDProtocolMessage [15:08:04]wFMCommunicate request_size=4 [15:08:04]MH_SAM_APDU [15:08:04]CAPDU: 80 11 00 00 [15:08:04]Write to MH i2c: E2 08 00 24 23 80 11 00 00 00 00 00 00 C1 [15:08:04]Write i2c OK [15:08:04]MH_I2C_Read... [15:08:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:04]Read from MH i2c: E2 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 17 00 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: E2 17 00 24 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 16 [15:08:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:08:04]wFMCommunicate OK [15:08:04]CreateOFDProtocolMessage done [15:08:04]OFDSenderStorePacket 34339 [15:08:04]StoreOFDPacket docnum=34339 [15:08:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 58 02 00 00 A5 8C 50 02 D6 1C 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 30 33 39 35 33 38 06 04 3F 00 D0 9A D0 BE D0 BD D1 84 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D1 81 D1 82 D0 B8 D0 BA 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D1 87 D0 BD D1 8B D0 B9 20 D0 B9 D0 BE D0 B3 D1 83 D1 80 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 1C A2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 11 00 00 00 00 07 04 06 00 1C A2 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 58 F4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 86 00 00 35 04 06 00 C3 BF 9F 68 12 68 D9 5A 49 DF C8 17 5B 1E [15:08:04]CheckFolder [15:08:04]dirname=/storage/ofd_packets [15:08:04]CheckFolder done [15:08:04]ProducePacketName [15:08:04]name=ofd_packets/00034339 [15:08:04]NVStorageSaveData ofd_packets/00034339 [15:08:04]File name is /storage/ofd_packets/00034339 [15:08:04]Write 630 bytes [15:08:04]NVStorageSaveData done [15:08:04]OFDSenderStorePacket done [15:08:04]KKMCreateOFDPacket done [15:08:04]NVStorageSaveData kkm_last_timestamp [15:08:04]File name is /storage/kkm_last_timestamp [15:08:04]Write 4 bytes [15:08:04]NVStorageSaveData done [15:08:04]ExternCall_PrintAddStr [15:08:04]wPrintStart [15:08:04]Write to MH i2c: 01 00 00 25 23 48 [15:08:04]Write i2c OK [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: 01 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: 01 07 00 [15:08:04]MH_I2C_Read... [15:08:04]Read from MH i2c: 01 07 00 25 23 00 00 00 00 00 FF 0F 5D [15:08:04]RasterBufferAndPrint [15:08:04]line Счет N : (3)184113 [15:08:04]line ИНН: 02508201610067 [15:08:04]line Контрольно-Кассовый Чек [15:08:04]line ПРОДАЖА [15:08:04]line Товар: 4870202521254 [15:08:04]line Чай холодный MAXI черный со вкусом клубн [15:08:04]line 1.000 * 125.00 [15:08:04]line = 125.00 [15:08:04]line НДС 12% НСП 1% [15:08:04]line > о реализуемом товаре [15:08:04]line Товар: 4870202521179 [15:08:04]line Чай холодный MAXI черный персик ПЭТ 0,45 [15:08:04]line 2.000 * 70.00 [15:08:04]line = 140.00 [15:08:04]line НДС 12% НСП 1% [15:08:04]line > о реализуемом товаре [15:08:04]line Товар: 46039538 [15:08:04]line Конф Fruit-tella стик клубничный йогурт [15:08:04]line 2.000 * 75.00 [15:08:04]line = 150.00 [15:08:04]line НДС 12% НСП 1% [15:08:04]line > о реализуемом товаре [15:08:04]line ИТОГО: 415.00 [15:08:04]line НСП 1% : 3.68 [15:08:04]line НДС 12% : 44.07 [15:08:04]line Наличными: 415.00 [15:08:04]line Безнал.: 0.00 [15:08:04]line Место: АЗС № 120 "Партнер Нефть" [15:08:04]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:08:04]line СНО: Общий режим [15:08:04]line Чек 43 19.06.2024 15:08 [15:08:04]line Смена: 324 ФФД: 1.0 [15:08:04]line ЗНМ: 0300000172 [15:08:04]line РНМ: 0000000000092786 [15:08:04]line Версия ККМ: 001 [15:08:04]line ФМ: 0000000000875095 [15:08:04]line ФД: 34339 [15:08:04]line ФПД: 215227780567656 [15:08:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T150808&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34339&fm=215227780567656&tin=02508201610067®Number=0000000000092786&sum=41500 [15:08:04]line 0 [15:08:04]OFD Sender: Processing packet 34339 [packets to send 8, broken 7] [15:08:04]ProducePacketName [15:08:04]name=ofd_packets/00034339 [15:08:04]OFD Sender: To server: pG, [15:08:04]CommunicateWithHost lk.salyk.kg:30040 [15:08:04]ConnectInit lk.salyk.kg [15:08:04]written 0, free lines is 4095 [15:08:04]Connected sock=10 [15:08:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 58 02 00 00 A5 8C 50 02 D6 1C 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 37 39 06 04 42 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 30 2C 34 35 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 30 33 39 35 33 38 06 04 3F 00 D0 9A D0 BE D0 BD D1 84 20 46 72 75 69 74 2D 74 65 6C 6C 61 20 D1 81 D1 82 D0 B8 D0 BA 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D1 87 D0 BD D1 8B D0 B9 20 D0 B9 D0 BE D0 B3 D1 83 D1 80 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 1C A2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 11 00 00 00 00 07 04 06 00 1C A2 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 58 F4 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 86 00 00 35 04 06 00 C3 BF 9F 68 12 68 D9 5A 49 DF C8 17 5B 1E [15:08:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 5D CB 47 00 AE 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 23 86 00 00 F4 03 04 00 24 9B 72 66 B6 04 01 00 00 07 F5 7A B8 FE 16 9C F4 [15:08:04]CommunicateWithHost err = 0 [15:08:04]CheckOFDResponse [15:08:04]1017 (14) - 77093643461234 [15:08:04]1041 (16) - 0000000000875095 [15:08:04]1040 (4) - 34339 [15:08:04]1012 (4) - 19.06.2024 08:47 [15:08:04]1206 (1) - 0 [15:08:04]OFD Sender: Remove packet 34339 [15:08:04]ProducePacketName [15:08:04]name=ofd_packets/00034339 [15:08:04]NVStorageDeleteData [15:08:05]Write to MH i2c: 01 00 00 5C 23 7F [15:08:05]Write i2c OK [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: 01 [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: 01 07 00 [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: 01 07 00 5C 23 00 00 00 00 00 10 0C A2 [15:08:05]RasterBufferAndPrint [15:08:05]line [15:08:05]line [15:08:05]line [15:08:05]line [15:08:05]line [15:08:05]written 0, free lines is 3094 [15:08:05]MH_Cut [15:08:05]Write to MH i2c: D1 01 00 63 23 01 58 [15:08:05]Write i2c OK [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: D1 [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: D1 01 00 [15:08:05]MH_I2C_Read... [15:08:05]Read from MH i2c: D1 01 00 63 23 00 57 [15:08:05]Write to MH i2c: 01 00 00 64 23 87 [15:08:05]Write i2c OK [15:08:05]MH_I2C_Read... [15:08:05]OFD Sender: No OFD packet to send [15:08:06]*** Cut start [15:08:06]*** Partial cut [15:08:06]*** CUTSNS_PIN = 1 [15:08:06]*** CUTSNS_PIN = 0 [15:08:06]*** Brake cut motor [15:08:06]Read from MH i2c: 01 [15:08:06]MH_I2C_Read... [15:08:06]*** Stop cut motor [15:08:06]*** Cut end [15:08:06]Read from MH i2c: 01 07 00 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: 01 07 00 64 23 00 00 00 00 00 FF 0F 9C [15:08:06]process_action close_receipt done [15:08:06]requested_data is exist [15:08:06]produce_requested_data [15:08:06]requested_item fm.sn is exist - process it [15:08:06]wFMCommunicate request_size=4 [15:08:06]MH_SAM_APDU [15:08:06]CAPDU: 80 11 00 00 [15:08:06]Write to MH i2c: E2 08 00 65 23 80 11 00 00 00 00 00 00 02 [15:08:06]Write i2c OK [15:08:06]MH_I2C_Read... [15:08:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:06]Read from MH i2c: E2 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 17 00 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 17 00 65 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 57 [15:08:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:08:06]wFMCommunicate OK [15:08:06]requested_item fd.num is exist - process it [15:08:06]SAM_PROTO_GetFieldsCounters [15:08:06]wFMCommunicate request_size=4 [15:08:06]MH_SAM_APDU [15:08:06]CAPDU: 80 13 00 00 [15:08:06]Write to MH i2c: E2 08 00 66 23 80 13 00 00 00 00 00 00 05 [15:08:06]Write i2c OK [15:08:06]MH_I2C_Read... [15:08:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:08:06]Read from MH i2c: E2 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 62 00 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 62 00 66 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 23 86 00 00 0E 04 04 00 44 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 9E [15:08:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 23 86 00 00 0E 04 04 00 44 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:08:06]wFMCommunicate OK [15:08:06]SAM_PROTO_GetFieldsCounters done [15:08:06]requested_item shift.num is exist - process it [15:08:06]requested_item shift.opened is exist - process it [15:08:06]req_shift_opened [15:08:06]FM_GetShiftState [15:08:06]SAM_PROTO_GetShiftState [15:08:06]wFMCommunicate request_size=4 [15:08:06]MH_SAM_APDU [15:08:06]CAPDU: 80 13 01 00 [15:08:06]Write to MH i2c: E2 08 00 67 23 80 13 01 00 00 00 00 00 07 [15:08:06]Write i2c OK [15:08:06]MH_I2C_Read... [15:08:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:06]Read from MH i2c: E2 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 0E 00 [15:08:06]MH_I2C_Read... [15:08:06]Read from MH i2c: E2 0E 00 67 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DD [15:08:06]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:08:06]wFMCommunicate OK [15:08:06]SAM_PROTO_GetShiftState done [15:08:06]FM_GetShiftState done [15:08:06]req_shift_opened done [15:08:06]requested_item shift.open_date is exist - process it [15:08:06]req_shift_open_date [15:08:06]req_shift_open_date done [15:08:06]produce_requested_data done [15:08:06]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34339,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:08:06]process_action_free close_receipt [15:08:06]json_value_free [15:08:06]json_value_free done [15:08:06]process_json_proto returns [15:08:06]Send response to host [15:08:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34339,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:08:06]free response buf [15:08:06]execute_script done [15:08:06]execute_script returns [15:08:06]free content buf [15:08:06]Sock 9.Close socket [15:08:06]Sock 9.Thread stoped [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:55]OFD Sender: No OFD packet to send [15:15:00]OFD Sender: No OFD packet to send [15:15:05]OFD Sender: No OFD packet to send [15:15:10]OFD Sender: No OFD packet to send [15:15:15]OFD Sender: No OFD packet to send [15:15:20]OFD Sender: No OFD packet to send [15:15:25]OFD Sender: No OFD packet to send [15:15:30]OFD Sender: No OFD packet to send [15:15:35]OFD Sender: No OFD packet to send [15:15:40]OFD Sender: No OFD packet to send [15:15:45]OFD Sender: No OFD packet to send [15:15:50]OFD Sender: No OFD packet to send [15:15:55]OFD Sender: No OFD packet to send [15:16:00]OFD Sender: No OFD packet to send [15:16:05]OFD Sender: No OFD packet to send [15:16:10]OFD Sender: No OFD packet to send [15:16:15]OFD Sender: No OFD packet to send [15:16:20]OFD Sender: No OFD packet to send [15:16:25]OFD Sender: No OFD packet to send [15:16:30]OFD Sender: No OFD packet to send [15:16:35]OFD Sender: No OFD packet to send [15:16:40]OFD Sender: No OFD packet to send [15:16:45]OFD Sender: No OFD packet to send [15:16:50]OFD Sender: No OFD packet to send [15:16:55]OFD Sender: No OFD packet to send [15:17:00]OFD Sender: No OFD packet to send [15:17:05]OFD Sender: No OFD packet to send [15:17:10]OFD Sender: No OFD packet to send [15:17:15]OFD Sender: No OFD packet to send [15:17:20]OFD Sender: No OFD packet to send [15:17:25]OFD Sender: No OFD packet to send [15:17:30]OFD Sender: No OFD packet to send [15:17:35]OFD Sender: No OFD packet to send [15:17:40]OFD Sender: No OFD packet to send [15:17:45]OFD Sender: No OFD packet to send [15:17:50]OFD Sender: No OFD packet to send [15:17:55]OFD Sender: No OFD packet to send [15:18:00]OFD Sender: No OFD packet to send [15:18:05]OFD Sender: No OFD packet to send [15:18:10]OFD Sender: No OFD packet to send [15:18:15]OFD Sender: No OFD packet to send [15:18:20]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]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:25]accept exits with 7 [15:19:25]New connection [15:19:25]New thread 3067424100 created [15:19:25]Thread 3067567460 joined [15:19:25]Waiting for new connection... [15:19:25] Sock 7.Parse request [15:19:25]Sock 7.Check first char [15:19:25]Sock 7.First char is OK [15:19:25]request: POST /json_proto HTTP/1.0 [15:19:25]Method: POST [15:19:25]URL: /json_proto [15:19:25]Method is POST - this is cgi request [15:19:25]url: /json_proto [15:19:25]query_string will be loaded in cgi processing [15:19:25]execute_cgi json_proto POST (null) [15:19:25]execute_cgi path=json_proto method=POST [15:19:25]POST find Content-Length [15:19:25]Host: 172.17.38.134:8080 [15:19:25]Content-Length: 734 [15:19:25]Content-Type: application/json [15:19:25] [15:19:25]POST finish read [15:19:25]Found Content-Length = 734 [15:19:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184114", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:25]execute_script... [15:19:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184114", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:25]POST & json_proto [15:19:25]process_json_proto [15:19:25]json parsed OK: [15:19:25]protocol is kg_v1.0 [15:19:25]action value=close_receipt [15:19:25]process_action close_receipt [15:19:25]cmd_close_receipt [15:19:25]MH_GetDate [15:19:25]Write to MH i2c: F0 00 00 68 23 7A [15:19:25]Write i2c OK [15:19:25]MH_I2C_Read... [15:19:25]Read from MH i2c: F0 [15:19:25]MH_I2C_Read... [15:19:25]Read from MH i2c: F0 09 00 [15:19:25]MH_I2C_Read... [15:19:25]Read from MH i2c: F0 09 00 68 23 00 03 F7 72 66 13 9C 7C 64 E4 [15:19:25]GetLastDocTimeStamp 1718809688 [15:19:25]current date 1718810371 [15:19:25]FM_GetShiftState [15:19:25]SAM_PROTO_GetShiftState [15:19:25]wFMCommunicate request_size=4 [15:19:25]MH_SAM_APDU [15:19:25]CAPDU: 80 13 01 00 [15:19:25]Write to MH i2c: E2 08 00 69 23 80 13 01 00 00 00 00 00 09 [15:19:25]Write i2c OK [15:19:25]MH_I2C_Read... [15:19:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:25]Read from MH i2c: E2 [15:19:25]MH_I2C_Read... [15:19:25]Read from MH i2c: E2 0E 00 [15:19:25]MH_I2C_Read... [15:19:25]Read from MH i2c: E2 0E 00 69 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 DF [15:19:25]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:19:25]wFMCommunicate OK [15:19:25]SAM_PROTO_GetShiftState done [15:19:25]FM_GetShiftState done [15:19:25]opened in 1718756813 [15:19:25]opened+sec_in_day 1718843213 [15:19:25]quantity*price = 39500 [15:19:25]sum+1 = 39501 [15:19:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 44 19.06.2024 15:19 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34340 ФПД: 225511376755788 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T151931&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34340&fm=225511376755788&tin=02508201610067®Number=0000000000092786&sum=39500 0 [15:19:26]StoreToDocumentArchive [15:19:26]shift 324 fd 34340 [15:19:26]save to /storage/0324/doc_00034340 [15:19:26]save last doc name /storage/0324/doc_00034340 to /storage/kkm_last_doc_name [15:19:26]save OK [15:19:26]Clear old archive folders... [15:19:26]ProcessDocumentItem done err = 0, tmpTLVsize=306 [15:19:26]tlvbuf is B6F57D50 [15:19:26]SAM_PROTO_ClearQueue [15:19:26]wFMCommunicate request_size=4 [15:19:26]MH_SAM_APDU [15:19:26]CAPDU: 80 09 00 00 [15:19:26]Write to MH i2c: E2 08 00 76 23 80 09 00 00 00 00 00 00 0B [15:19:26]Write i2c OK [15:19:26]MH_I2C_Read... [15:19:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:19:26]Read from MH i2c: E2 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 76 23 00 90 00 0D [15:19:26]RAPDU: 90 00 [15:19:26]wFMCommunicate OK [15:19:26]SAM_PROTO_ClearQueue done [15:19:26]KKMCreateOFDPacket [15:19:26]OFDProtocolAddRootSTLVToBuf [15:19:26]FM_MakeSignedData [15:19:26]FM_MakeSignedData [15:19:26]SAM_PROTO_SignData [15:19:26]wFMCommunicate request_size=4 [15:19:26]MH_SAM_APDU [15:19:26]CAPDU: 80 0D 01 02 [15:19:26]Write to MH i2c: E2 08 00 77 23 80 0D 01 02 00 00 00 00 13 [15:19:26]Write i2c OK [15:19:26]MH_I2C_Read... [15:19:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:19:26]Read from MH i2c: E2 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 77 23 00 90 00 0E [15:19:26]RAPDU: 90 00 [15:19:26]wFMCommunicate OK [15:19:26]wFMCommunicate request_size=255 [15:19:26]MH_SAM_APDU [15:19:26]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 03 F7 72 66 0E 04 04 00 44 01 00 00 B9 04 01 [15:19:26]Write to MH i2c: E2 02 01 78 23 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 03 F7 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 00 6A [15:19:26]Write i2c OK [15:19:26]MH_I2C_Read... [15:19:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:26]Read from MH i2c: E2 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 [15:19:26]MH_I2C_Read... [15:19:26]Read from MH i2c: E2 03 00 78 23 00 90 00 0F [15:19:26]RAPDU: 90 00 [15:19:26]wFMCommunicate OK [15:19:26]wFMCommunicate request_size=65 [15:19:26]MH_SAM_APDU [15:19:26]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 86 00 00 35 04 06 00 CD 19 F5 81 1C 4C [15:19:26]Write to MH i2c: E2 44 00 79 23 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 86 00 00 35 04 06 00 CD 19 F5 81 1C 4C 00 00 DC [15:19:26]Write i2c OK [15:19:26]MH_I2C_Read... [15:19:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:27]Read from MH i2c: E2 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 03 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 03 00 79 23 00 90 00 10 [15:19:27]RAPDU: 90 00 [15:19:27]wFMCommunicate OK [15:19:27]wFMCommunicate request_size=4 [15:19:27]MH_SAM_APDU [15:19:27]CAPDU: 80 0D 03 02 [15:19:27]Write to MH i2c: E2 08 00 7A 23 80 0D 03 02 00 00 00 00 18 [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:19:27]Read from MH i2c: E2 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 0B 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 0B 00 7A 23 00 33 1E CA 06 36 FF 77 F2 90 00 D8 [15:19:27]RAPDU: 33 1E CA 06 36 FF 77 F2 90 00 [15:19:27]wFMCommunicate OK [15:19:27]SAM_PROTO_SignData done [15:19:27]FM_MakeSignedData done [15:19:27]CreateOFDProtocolMessage [15:19:27]wFMCommunicate request_size=4 [15:19:27]MH_SAM_APDU [15:19:27]CAPDU: 80 11 00 00 [15:19:27]Write to MH i2c: E2 08 00 7B 23 80 11 00 00 00 00 00 00 18 [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:27]Read from MH i2c: E2 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 17 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: E2 17 00 7B 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6D [15:19:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:19:27]wFMCommunicate OK [15:19:27]CreateOFDProtocolMessage done [15:19:27]OFDSenderStorePacket 34340 [15:19:27]StoreOFDPacket docnum=34340 [15:19:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 9F E5 3E 01 0D 01 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 03 F7 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 86 00 00 35 04 06 00 CD 19 F5 81 1C 4C 33 1E CA 06 36 FF 77 F2 [15:19:27]CheckFolder [15:19:27]dirname=/storage/ofd_packets [15:19:27]CheckFolder done [15:19:27]ProducePacketName [15:19:27]name=ofd_packets/00034340 [15:19:27]NVStorageSaveData ofd_packets/00034340 [15:19:27]File name is /storage/ofd_packets/00034340 [15:19:27]Write 356 bytes [15:19:27]NVStorageSaveData done [15:19:27]OFDSenderStorePacket done [15:19:27]KKMCreateOFDPacket done [15:19:27]NVStorageSaveData kkm_last_timestamp [15:19:27]File name is /storage/kkm_last_timestamp [15:19:27]Write 4 bytes [15:19:27]NVStorageSaveData done [15:19:27]ExternCall_PrintAddStr [15:19:27]wPrintStart [15:19:27]Write to MH i2c: 01 00 00 7C 23 9F [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 07 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 07 00 7C 23 00 00 00 00 00 FF 0F B4 [15:19:27]RasterBufferAndPrint [15:19:27]line Счет N : (3)184114 [15:19:27]line ИНН: 02508201610067 [15:19:27]line Контрольно-Кассовый Чек [15:19:27]line ПРОДАЖА [15:19:27]line Товар: 0010420131003133 [15:19:27]line Уголь древесный Партнер Нефть 3кг [15:19:27]line 1.000 * 395.00 [15:19:27]line = 395.00 [15:19:27]line НДС 12% НСП 1% [15:19:27]line > о реализуемом товаре [15:19:27]line ИТОГО: 395.00 [15:19:27]line НСП 1% : 3.50 [15:19:27]line НДС 12% : 41.95 [15:19:27]line Наличными: 395.00 [15:19:27]line Безнал.: 0.00 [15:19:27]line Место: АЗС № 120 "Партнер Нефть" [15:19:27]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:19:27]line СНО: Общий режим [15:19:27]line Чек 44 19.06.2024 15:19 [15:19:27]line Смена: 324 ФФД: 1.0 [15:19:27]line ЗНМ: 0300000172 [15:19:27]line РНМ: 0000000000092786 [15:19:27]line Версия ККМ: 001 [15:19:27]line ФМ: 0000000000875095 [15:19:27]line ФД: 34340 [15:19:27]line ФПД: 225511376755788 [15:19:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T151931&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34340&fm=225511376755788&tin=02508201610067®Number=0000000000092786&sum=39500 [15:19:27]line 0 [15:19:27]OFD Sender: Processing packet 34340 [packets to send 8, broken 7] [15:19:27]ProducePacketName [15:19:27]name=ofd_packets/00034340 [15:19:27]OFD Sender: To server: pG, [15:19:27]CommunicateWithHost lk.salyk.kg:30040 [15:19:27]ConnectInit lk.salyk.kg [15:19:27]written 0, free lines is 4095 [15:19:27]Connected sock=10 [15:19:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 46 01 00 00 9F E5 3E 01 0D 01 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 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 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 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 03 F7 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 86 00 00 35 04 06 00 CD 19 F5 81 1C 4C 33 1E CA 06 36 FF 77 F2 [15:19:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D0 7C 47 00 82 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 24 86 00 00 F4 03 04 00 CF 9D 72 66 B6 04 01 00 00 B8 32 68 66 28 88 39 77 [15:19:27]CommunicateWithHost err = 0 [15:19:27]CheckOFDResponse [15:19:27]1017 (14) - 77093643461234 [15:19:27]1041 (16) - 0000000000875095 [15:19:27]1040 (4) - 34340 [15:19:27]1012 (4) - 19.06.2024 08:58 [15:19:27]1206 (1) - 0 [15:19:27]OFD Sender: Remove packet 34340 [15:19:27]ProducePacketName [15:19:27]name=ofd_packets/00034340 [15:19:27]NVStorageDeleteData [15:19:27]Write to MH i2c: 01 00 00 A5 23 C8 [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 07 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: 01 07 00 A5 23 00 00 00 00 00 DA 0C B5 [15:19:27]RasterBufferAndPrint [15:19:27]line [15:19:27]line [15:19:27]line [15:19:27]line [15:19:27]line [15:19:27]written 0, free lines is 3296 [15:19:27]MH_Cut [15:19:27]Write to MH i2c: D1 01 00 AC 23 01 A1 [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: D1 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: D1 01 00 [15:19:27]MH_I2C_Read... [15:19:27]Read from MH i2c: D1 01 00 AC 23 00 A0 [15:19:27]Write to MH i2c: 01 00 00 AD 23 D0 [15:19:27]Write i2c OK [15:19:27]MH_I2C_Read... [15:19:28]OFD Sender: No OFD packet to send [15:19:28]*** Cut start [15:19:28]*** Partial cut [15:19:28]*** CUTSNS_PIN = 1 [15:19:28]*** CUTSNS_PIN = 0 [15:19:28]*** Brake cut motor [15:19:29]Read from MH i2c: 01 [15:19:29]MH_I2C_Read... [15:19:29]*** Stop cut motor [15:19:29]*** Cut end [15:19:29]Read from MH i2c: 01 07 00 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: 01 07 00 AD 23 00 00 00 00 00 FF 0F E5 [15:19:29]process_action close_receipt done [15:19:29]requested_data is exist [15:19:29]produce_requested_data [15:19:29]requested_item fm.sn is exist - process it [15:19:29]wFMCommunicate request_size=4 [15:19:29]MH_SAM_APDU [15:19:29]CAPDU: 80 11 00 00 [15:19:29]Write to MH i2c: E2 08 00 AE 23 80 11 00 00 00 00 00 00 4B [15:19:29]Write i2c OK [15:19:29]MH_I2C_Read... [15:19:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:29]Read from MH i2c: E2 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 17 00 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 17 00 AE 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A0 [15:19:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:19:29]wFMCommunicate OK [15:19:29]requested_item fd.num is exist - process it [15:19:29]SAM_PROTO_GetFieldsCounters [15:19:29]wFMCommunicate request_size=4 [15:19:29]MH_SAM_APDU [15:19:29]CAPDU: 80 13 00 00 [15:19:29]Write to MH i2c: E2 08 00 AF 23 80 13 00 00 00 00 00 00 4E [15:19:29]Write i2c OK [15:19:29]MH_I2C_Read... [15:19:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:29]Read from MH i2c: E2 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 62 00 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 62 00 AF 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 24 86 00 00 0E 04 04 00 44 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 EB [15:19:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 24 86 00 00 0E 04 04 00 44 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:19:29]wFMCommunicate OK [15:19:29]SAM_PROTO_GetFieldsCounters done [15:19:29]requested_item shift.num is exist - process it [15:19:29]requested_item shift.opened is exist - process it [15:19:29]req_shift_opened [15:19:29]FM_GetShiftState [15:19:29]SAM_PROTO_GetShiftState [15:19:29]wFMCommunicate request_size=4 [15:19:29]MH_SAM_APDU [15:19:29]CAPDU: 80 13 01 00 [15:19:29]Write to MH i2c: E2 08 00 B0 23 80 13 01 00 00 00 00 00 50 [15:19:29]Write i2c OK [15:19:29]MH_I2C_Read... [15:19:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:29]Read from MH i2c: E2 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 0E 00 [15:19:29]MH_I2C_Read... [15:19:29]Read from MH i2c: E2 0E 00 B0 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 26 [15:19:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:19:29]wFMCommunicate OK [15:19:29]SAM_PROTO_GetShiftState done [15:19:29]FM_GetShiftState done [15:19:29]req_shift_opened done [15:19:29]requested_item shift.open_date is exist - process it [15:19:29]req_shift_open_date [15:19:29]req_shift_open_date done [15:19:29]produce_requested_data done [15:19:29]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34340,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:19:29]process_action_free close_receipt [15:19:29]json_value_free [15:19:29]json_value_free done [15:19:29]process_json_proto returns [15:19:29]Send response to host [15:19:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34340,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:19:29]free response buf [15:19:29]execute_script done [15:19:29]execute_script returns [15:19:29]free content buf [15:19:29]Sock 7.Close socket [15:19:29]Sock 7.Thread stoped [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:08]OFD Sender: No OFD packet to send [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]OFD Sender: No OFD packet to send [15:27:38]OFD Sender: No OFD packet to send [15:27:43]OFD Sender: No OFD packet to send [15:27:48]OFD Sender: No OFD packet to send [15:27:53]OFD Sender: No OFD packet to send [15:27:58]OFD Sender: No OFD packet to send [15:28:03]OFD Sender: No OFD packet to send [15:28:08]OFD Sender: No OFD packet to send [15:28:13]OFD Sender: No OFD packet to send [15:28:18]OFD Sender: No OFD packet to send [15:28:23]OFD Sender: No OFD packet to send [15:28:28]OFD Sender: No OFD packet to send [15:28:33]OFD Sender: No OFD packet to send [15:28:38]OFD Sender: No OFD packet to send [15:28:43]OFD Sender: No OFD packet to send [15:28:48]OFD Sender: No OFD packet to send [15:28:53]OFD Sender: No OFD packet to send [15:28:58]OFD Sender: No OFD packet to send [15:29:03]OFD Sender: No OFD packet to send [15:29:08]OFD Sender: No OFD packet to send [15:29:13]OFD Sender: No OFD packet to send [15:29:18]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:29]accept exits with 9 [15:30:29]New connection [15:30:29]New thread 3067567460 created [15:30:29]Thread 3067424100 joined [15:30:29]Waiting for new connection... [15:30:29] Sock 9.Parse request [15:30:29]Sock 9.Check first char [15:30:29]Sock 9.First char is OK [15:30:29]request: POST /json_proto HTTP/1.0 [15:30:29]Method: POST [15:30:29]URL: /json_proto [15:30:29]Method is POST - this is cgi request [15:30:29]url: /json_proto [15:30:29]query_string will be loaded in cgi processing [15:30:29]execute_cgi json_proto POST (null) [15:30:29]execute_cgi path=json_proto method=POST [15:30:29]POST find Content-Length [15:30:29]Host: 172.17.38.134:8080 [15:30:29]Content-Length: 632 [15:30:29]Content-Type: application/json [15:30:29] [15:30:29]POST finish read [15:30:29]Found Content-Length = 632 [15:30:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184115", "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 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:29]execute_script... [15:30:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184115", "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 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:29]POST & json_proto [15:30:29]process_json_proto [15:30:29]json parsed OK: [15:30:29]protocol is kg_v1.0 [15:30:29]action value=close_receipt [15:30:29]process_action close_receipt [15:30:29]cmd_close_receipt [15:30:29]MH_GetDate [15:30:29]Write to MH i2c: F0 00 00 B1 23 C3 [15:30:29]Write i2c OK [15:30:29]MH_I2C_Read... [15:30:29]Read from MH i2c: F0 [15:30:29]MH_I2C_Read... [15:30:29]Read from MH i2c: F0 09 00 [15:30:29]MH_I2C_Read... [15:30:29]Read from MH i2c: F0 09 00 B1 23 00 9B F9 72 66 13 9C 7C 64 C7 [15:30:29]GetLastDocTimeStamp 1718810371 [15:30:29]current date 1718811035 [15:30:29]FM_GetShiftState [15:30:29]SAM_PROTO_GetShiftState [15:30:29]wFMCommunicate request_size=4 [15:30:29]MH_SAM_APDU [15:30:29]CAPDU: 80 13 01 00 [15:30:29]Write to MH i2c: E2 08 00 B2 23 80 13 01 00 00 00 00 00 52 [15:30:29]Write i2c OK [15:30:29]MH_I2C_Read... [15:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:30:29]Read from MH i2c: E2 [15:30:29]MH_I2C_Read... [15:30:29]Read from MH i2c: E2 0E 00 [15:30:29]MH_I2C_Read... [15:30:29]Read from MH i2c: E2 0E 00 B2 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 28 [15:30:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:30:29]wFMCommunicate OK [15:30:29]SAM_PROTO_GetShiftState done [15:30:29]FM_GetShiftState done [15:30:29]opened in 1718756813 [15:30:29]opened+sec_in_day 1718843213 [15:30:29]quantity*price = 4000 [15:30:29]sum+1 = 4001 [15:30:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 45 19.06.2024 15:30 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34341 ФПД: 151638874290846 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T153035&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34341&fm=151638874290846&tin=02508201610067®Number=0000000000092786&sum=4000 0 [15:30:30]StoreToDocumentArchive [15:30:30]shift 324 fd 34341 [15:30:30]save to /storage/0324/doc_00034341 [15:30:30]save last doc name /storage/0324/doc_00034341 to /storage/kkm_last_doc_name [15:30:30]save OK [15:30:30]Clear old archive folders... [15:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=271 [15:30:30]tlvbuf is 019821A0 [15:30:30]SAM_PROTO_ClearQueue [15:30:30]wFMCommunicate request_size=4 [15:30:30]MH_SAM_APDU [15:30:30]CAPDU: 80 09 00 00 [15:30:30]Write to MH i2c: E2 08 00 BF 23 80 09 00 00 00 00 00 00 54 [15:30:30]Write i2c OK [15:30:30]MH_I2C_Read... [15:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:30:30]Read from MH i2c: E2 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 BF 23 00 90 00 56 [15:30:30]RAPDU: 90 00 [15:30:30]wFMCommunicate OK [15:30:30]SAM_PROTO_ClearQueue done [15:30:30]KKMCreateOFDPacket [15:30:30]OFDProtocolAddRootSTLVToBuf [15:30:30]FM_MakeSignedData [15:30:30]FM_MakeSignedData [15:30:30]SAM_PROTO_SignData [15:30:30]wFMCommunicate request_size=4 [15:30:30]MH_SAM_APDU [15:30:30]CAPDU: 80 0D 01 02 [15:30:30]Write to MH i2c: E2 08 00 C0 23 80 0D 01 02 00 00 00 00 5C [15:30:30]Write i2c OK [15:30:30]MH_I2C_Read... [15:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:30:30]Read from MH i2c: E2 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 C0 23 00 90 00 57 [15:30:30]RAPDU: 90 00 [15:30:30]wFMCommunicate OK [15:30:30]wFMCommunicate request_size=255 [15:30:30]MH_SAM_APDU [15:30:30]CAPDU: 80 0D 02 02 FA 03 00 0F 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 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 2D 00 00 00 F4 03 04 00 9B F9 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 [15:30:30]Write to MH i2c: E2 02 01 C1 23 80 0D 02 02 FA 00 03 00 0F 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 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 2D 00 00 00 F4 03 04 00 9B F9 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 26 [15:30:30]Write i2c OK [15:30:30]MH_I2C_Read... [15:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:30:30]Read from MH i2c: E2 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 C1 23 00 90 00 58 [15:30:30]RAPDU: 90 00 [15:30:30]wFMCommunicate OK [15:30:30]wFMCommunicate request_size=30 [15:30:30]MH_SAM_APDU [15:30:30]CAPDU: 80 0D 02 02 19 30 38 37 35 30 39 35 10 04 04 00 25 86 00 00 35 04 06 00 89 EA 2D 3C 7A 9E [15:30:30]Write to MH i2c: E2 21 00 C2 23 80 0D 02 02 19 00 30 38 37 35 30 39 35 10 04 04 00 25 86 00 00 35 04 06 00 89 EA 2D 3C 7A 9E 00 00 F9 [15:30:30]Write i2c OK [15:30:30]MH_I2C_Read... [15:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:30:30]Read from MH i2c: E2 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 [15:30:30]MH_I2C_Read... [15:30:30]Read from MH i2c: E2 03 00 C2 23 00 90 00 59 [15:30:31]RAPDU: 90 00 [15:30:31]wFMCommunicate OK [15:30:31]wFMCommunicate request_size=4 [15:30:31]MH_SAM_APDU [15:30:31]CAPDU: 80 0D 03 02 [15:30:31]Write to MH i2c: E2 08 00 C3 23 80 0D 03 02 00 00 00 00 61 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:30:31]Read from MH i2c: E2 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: E2 0B 00 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: E2 0B 00 C3 23 00 0E 19 2E 81 72 C8 08 65 90 00 DF [15:30:31]RAPDU: 0E 19 2E 81 72 C8 08 65 90 00 [15:30:31]wFMCommunicate OK [15:30:31]SAM_PROTO_SignData done [15:30:31]FM_MakeSignedData done [15:30:31]CreateOFDProtocolMessage [15:30:31]wFMCommunicate request_size=4 [15:30:31]MH_SAM_APDU [15:30:31]CAPDU: 80 11 00 00 [15:30:31]Write to MH i2c: E2 08 00 C4 23 80 11 00 00 00 00 00 00 61 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:30:31]Read from MH i2c: E2 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: E2 17 00 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: E2 17 00 C4 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B6 [15:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:30:31]wFMCommunicate OK [15:30:31]CreateOFDProtocolMessage done [15:30:31]OFDSenderStorePacket 34341 [15:30:31]StoreOFDPacket docnum=34341 [15:30:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 23 01 00 00 8F 14 1B 01 FA BC 5A 03 01 00 03 00 0F 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 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 2D 00 00 00 F4 03 04 00 9B F9 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 86 00 00 35 04 06 00 89 EA 2D 3C 7A 9E 0E 19 2E 81 72 C8 08 65 [15:30:31]CheckFolder [15:30:31]dirname=/storage/ofd_packets [15:30:31]CheckFolder done [15:30:31]ProducePacketName [15:30:31]name=ofd_packets/00034341 [15:30:31]NVStorageSaveData ofd_packets/00034341 [15:30:31]File name is /storage/ofd_packets/00034341 [15:30:31]Write 321 bytes [15:30:31]NVStorageSaveData done [15:30:31]OFDSenderStorePacket done [15:30:31]KKMCreateOFDPacket done [15:30:31]NVStorageSaveData kkm_last_timestamp [15:30:31]File name is /storage/kkm_last_timestamp [15:30:31]Write 4 bytes [15:30:31]NVStorageSaveData done [15:30:31]ExternCall_PrintAddStr [15:30:31]wPrintStart [15:30:31]Write to MH i2c: 01 00 00 C5 23 E8 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 07 00 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 07 00 C5 23 00 00 00 00 00 FF 0F FD [15:30:31]RasterBufferAndPrint [15:30:31]line Счет N : (3)184115 [15:30:31]line ИНН: 02508201610067 [15:30:31]line Контрольно-Кассовый Чек [15:30:31]line ПРОДАЖА [15:30:31]line Товар: 4700000160211 [15:30:31]line Вода Легенда 0,5л [15:30:31]line 1.000 * 40.00 [15:30:31]line = 40.00 [15:30:31]line НДС 12% НСП 1% [15:30:31]line > о реализуемом товаре [15:30:31]line ИТОГО: 40.00 [15:30:31]line НСП 1% : 0.35 [15:30:31]line НДС 12% : 4.25 [15:30:31]line Наличными: 40.00 [15:30:31]line Безнал.: 0.00 [15:30:31]line Место: АЗС № 120 "Партнер Нефть" [15:30:31]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:30:31]line СНО: Общий режим [15:30:31]line Чек 45 19.06.2024 15:30 [15:30:31]line Смена: 324 ФФД: 1.0 [15:30:31]line ЗНМ: 0300000172 [15:30:31]line РНМ: 0000000000092786 [15:30:31]line Версия ККМ: 001 [15:30:31]line ФМ: 0000000000875095 [15:30:31]line ФД: 34341 [15:30:31]line ФПД: 151638874290846 [15:30:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T153035&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34341&fm=151638874290846&tin=02508201610067®Number=0000000000092786&sum=4000 [15:30:31]line 0 [15:30:31]OFD Sender: Processing packet 34341 [packets to send 8, broken 7] [15:30:31]ProducePacketName [15:30:31]name=ofd_packets/00034341 [15:30:31]OFD Sender: To server: pG, [15:30:31]CommunicateWithHost lk.salyk.kg:30040 [15:30:31]ConnectInit lk.salyk.kg [15:30:31]written 0, free lines is 4095 [15:30:31]Connected sock=10 [15:30:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 23 01 00 00 8F 14 1B 01 FA BC 5A 03 01 00 03 00 0F 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 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 2D 00 00 00 F4 03 04 00 9B F9 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 86 00 00 35 04 06 00 89 EA 2D 3C 7A 9E 0E 19 2E 81 72 C8 08 65 [15:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D6 15 47 00 36 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 25 86 00 00 F4 03 04 00 67 A0 72 66 B6 04 01 00 00 72 12 67 8A 1F DE 87 55 [15:30:31]CommunicateWithHost err = 0 [15:30:31]CheckOFDResponse [15:30:31]1017 (14) - 77093643461234 [15:30:31]1041 (16) - 0000000000875095 [15:30:31]1040 (4) - 34341 [15:30:31]1012 (4) - 19.06.2024 09:09 [15:30:31]1206 (1) - 0 [15:30:31]OFD Sender: Remove packet 34341 [15:30:31]ProducePacketName [15:30:31]name=ofd_packets/00034341 [15:30:31]NVStorageDeleteData [15:30:31]Write to MH i2c: 01 00 00 ED 23 10 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 07 00 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: 01 07 00 ED 23 00 00 00 00 00 F2 0C 15 [15:30:31]RasterBufferAndPrint [15:30:31]line [15:30:31]line [15:30:31]line [15:30:31]line [15:30:31]line [15:30:31]written 0, free lines is 3320 [15:30:31]MH_Cut [15:30:31]Write to MH i2c: D1 01 00 F4 23 01 E9 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: D1 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: D1 01 00 [15:30:31]MH_I2C_Read... [15:30:31]Read from MH i2c: D1 01 00 F4 23 00 E8 [15:30:31]Write to MH i2c: 01 00 00 F5 23 18 [15:30:31]Write i2c OK [15:30:31]MH_I2C_Read... [15:30:32]OFD Sender: No OFD packet to send [15:30:32]*** Cut start [15:30:32]*** Partial cut [15:30:32]*** CUTSNS_PIN = 1 [15:30:32]*** CUTSNS_PIN = 0 [15:30:32]*** Brake cut motor [15:30:33]Read from MH i2c: 01 [15:30:33]MH_I2C_Read... [15:30:33]*** Stop cut motor [15:30:33]*** Cut end [15:30:33]Read from MH i2c: 01 07 00 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: 01 07 00 F5 23 00 00 00 00 00 FF 0F 2D [15:30:33]process_action close_receipt done [15:30:33]requested_data is exist [15:30:33]produce_requested_data [15:30:33]requested_item fm.sn is exist - process it [15:30:33]wFMCommunicate request_size=4 [15:30:33]MH_SAM_APDU [15:30:33]CAPDU: 80 11 00 00 [15:30:33]Write to MH i2c: E2 08 00 F6 23 80 11 00 00 00 00 00 00 93 [15:30:33]Write i2c OK [15:30:33]MH_I2C_Read... [15:30:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:30:33]Read from MH i2c: E2 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 17 00 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 17 00 F6 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E8 [15:30:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:30:33]wFMCommunicate OK [15:30:33]requested_item fd.num is exist - process it [15:30:33]SAM_PROTO_GetFieldsCounters [15:30:33]wFMCommunicate request_size=4 [15:30:33]MH_SAM_APDU [15:30:33]CAPDU: 80 13 00 00 [15:30:33]Write to MH i2c: E2 08 00 F7 23 80 13 00 00 00 00 00 00 96 [15:30:33]Write i2c OK [15:30:33]MH_I2C_Read... [15:30:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:30:33]Read from MH i2c: E2 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 62 00 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 62 00 F7 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 25 86 00 00 0E 04 04 00 44 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 37 [15:30:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 25 86 00 00 0E 04 04 00 44 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:30:33]wFMCommunicate OK [15:30:33]SAM_PROTO_GetFieldsCounters done [15:30:33]requested_item shift.num is exist - process it [15:30:33]requested_item shift.opened is exist - process it [15:30:33]req_shift_opened [15:30:33]FM_GetShiftState [15:30:33]SAM_PROTO_GetShiftState [15:30:33]wFMCommunicate request_size=4 [15:30:33]MH_SAM_APDU [15:30:33]CAPDU: 80 13 01 00 [15:30:33]Write to MH i2c: E2 08 00 F8 23 80 13 01 00 00 00 00 00 98 [15:30:33]Write i2c OK [15:30:33]MH_I2C_Read... [15:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:30:33]Read from MH i2c: E2 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 0E 00 [15:30:33]MH_I2C_Read... [15:30:33]Read from MH i2c: E2 0E 00 F8 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6E [15:30:33]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:30:33]wFMCommunicate OK [15:30:33]SAM_PROTO_GetShiftState done [15:30:33]FM_GetShiftState done [15:30:33]req_shift_opened done [15:30:33]requested_item shift.open_date is exist - process it [15:30:33]req_shift_open_date [15:30:33]req_shift_open_date done [15:30:33]produce_requested_data done [15:30:33]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34341,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:30:33]process_action_free close_receipt [15:30:33]json_value_free [15:30:33]json_value_free done [15:30:33]process_json_proto returns [15:30:33]Send response to host [15:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34341,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:30:33]free response buf [15:30:33]execute_script done [15:30:33]execute_script returns [15:30:33]free content buf [15:30:33]Sock 9.Close socket [15:30:33]Sock 9.Thread stoped [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:45]ConnectInit Can't connect to host [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:46]accept exits with 7 [15:41:46]New connection [15:41:46]New thread 3067424100 created [15:41:46]Thread 3067567460 joined [15:41:46]Waiting for new connection... [15:41:46] Sock 7.Parse request [15:41:46]Sock 7.Check first char [15:41:46]Sock 7.First char is OK [15:41:46]request: POST /json_proto HTTP/1.0 [15:41:46]Method: POST [15:41:46]URL: /json_proto [15:41:46]Method is POST - this is cgi request [15:41:46]url: /json_proto [15:41:46]query_string will be loaded in cgi processing [15:41:46]execute_cgi json_proto POST (null) [15:41:46]execute_cgi path=json_proto method=POST [15:41:46]POST find Content-Length [15:41:46]Host: 172.17.38.134:8080 [15:41:46]Content-Length: 695 [15:41:46]Content-Type: application/json [15:41:46] [15:41:46]POST finish read [15:41:46]Found Content-Length = 695 [15:41:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184116", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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" ] } } [15:41:46]execute_script... [15:41: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)184116", "tax_sys" : 0, "items" : [ { "code": "4631162227163", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 Mojito LEMON LIME \u0436", "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" ] } } [15:41:46]POST & json_proto [15:41:46]process_json_proto [15:41:46]json parsed OK: [15:41:46]protocol is kg_v1.0 [15:41:46]action value=close_receipt [15:41:46]process_action close_receipt [15:41:46]cmd_close_receipt [15:41:46]MH_GetDate [15:41:46]Write to MH i2c: F0 00 00 F9 23 0B [15:41:46]Write i2c OK [15:41:46]MH_I2C_Read... [15:41:46]Read from MH i2c: F0 [15:41:46]MH_I2C_Read... [15:41:46]Read from MH i2c: F0 09 00 [15:41:46]MH_I2C_Read... [15:41:46]Read from MH i2c: F0 09 00 F9 23 00 40 FC 72 66 13 9C 7C 64 B7 [15:41:46]GetLastDocTimeStamp 1718811035 [15:41:46]current date 1718811712 [15:41:46]FM_GetShiftState [15:41:46]SAM_PROTO_GetShiftState [15:41:46]wFMCommunicate request_size=4 [15:41:46]MH_SAM_APDU [15:41:46]CAPDU: 80 13 01 00 [15:41:46]Write to MH i2c: E2 08 00 FA 23 80 13 01 00 00 00 00 00 9A [15:41:46]Write i2c OK [15:41:46]MH_I2C_Read... [15:41:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:46]Read from MH i2c: E2 [15:41:46]MH_I2C_Read... [15:41:46]Read from MH i2c: E2 0E 00 [15:41:46]MH_I2C_Read... [15:41:46]Read from MH i2c: E2 0E 00 FA 23 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 70 [15:41:46]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:41:46]wFMCommunicate OK [15:41:46]SAM_PROTO_GetShiftState done [15:41:46]FM_GetShiftState done [15:41:46]opened in 1718756813 [15:41:46]opened+sec_in_day 1718843213 [15:41:46]quantity*price = 9500 [15:41:46]sum+1 = 9501 [15:41:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 46 19.06.2024 15:41 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34342 ФПД: 242855781509267 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T154152&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34342&fm=242855781509267&tin=02508201610067®Number=0000000000092786&sum=9500 0 [15:41:47]StoreToDocumentArchive [15:41:47]shift 324 fd 34342 [15:41:47]save to /storage/0324/doc_00034342 [15:41:47]save last doc name /storage/0324/doc_00034342 to /storage/kkm_last_doc_name [15:41:47]save OK [15:41:47]Clear old archive folders... [15:41:47]ProcessDocumentItem done err = 0, tmpTLVsize=302 [15:41:47]tlvbuf is 01914620 [15:41:47]SAM_PROTO_ClearQueue [15:41:47]wFMCommunicate request_size=4 [15:41:47]MH_SAM_APDU [15:41:47]CAPDU: 80 09 00 00 [15:41:47]Write to MH i2c: E2 08 00 07 24 80 09 00 00 00 00 00 00 9D [15:41:47]Write i2c OK [15:41:47]MH_I2C_Read... [15:41:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:41:47]Read from MH i2c: E2 [15:41:47]MH_I2C_Read... [15:41:47]Read from MH i2c: E2 03 00 [15:41:47]MH_I2C_Read... [15:41:47]Read from MH i2c: E2 03 00 07 24 00 90 00 9F [15:41:47]RAPDU: 90 00 [15:41:47]wFMCommunicate OK [15:41:47]SAM_PROTO_ClearQueue done [15:41:47]KKMCreateOFDPacket [15:41:47]OFDProtocolAddRootSTLVToBuf [15:41:47]FM_MakeSignedData [15:41:47]FM_MakeSignedData [15:41:47]SAM_PROTO_SignData [15:41:47]wFMCommunicate request_size=4 [15:41:47]MH_SAM_APDU [15:41:47]CAPDU: 80 0D 01 02 [15:41:47]Write to MH i2c: E2 08 00 08 24 80 0D 01 02 00 00 00 00 A5 [15:41:47]Write i2c OK [15:41:47]MH_I2C_Read... [15:41:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:41:47]Read from MH i2c: E2 [15:41:47]MH_I2C_Read... [15:41:47]Read from MH i2c: E2 03 00 [15:41:47]MH_I2C_Read... [15:41:47]Read from MH i2c: E2 03 00 08 24 00 90 00 A0 [15:41:47]RAPDU: 90 00 [15:41:47]wFMCommunicate OK [15:41:47]wFMCommunicate request_size=255 [15:41:47]MH_SAM_APDU [15:41:47]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 2E 00 00 00 F4 03 04 00 40 FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 [15:41:47]Write to MH i2c: E2 02 01 09 24 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 2E 00 00 00 F4 03 04 00 40 FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 00 00 0B [15:41:47]Write i2c OK [15:41:47]MH_I2C_Read... [15:41:47]OFD Sender: No OFD packet to send [15:41:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:48]Read from MH i2c: E2 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 03 00 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 03 00 09 24 00 90 00 A1 [15:41:48]RAPDU: 90 00 [15:41:48]wFMCommunicate OK [15:41:48]wFMCommunicate request_size=61 [15:41:48]MH_SAM_APDU [15:41:48]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 86 00 00 35 04 06 00 DC E0 44 96 A8 93 [15:41:48]Write to MH i2c: E2 40 00 0A 24 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 86 00 00 35 04 06 00 DC E0 44 96 A8 93 00 00 63 [15:41:48]Write i2c OK [15:41:48]MH_I2C_Read... [15:41:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:48]Read from MH i2c: E2 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 03 00 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 03 00 0A 24 00 90 00 A2 [15:41:48]RAPDU: 90 00 [15:41:48]wFMCommunicate OK [15:41:48]wFMCommunicate request_size=4 [15:41:48]MH_SAM_APDU [15:41:48]CAPDU: 80 0D 03 02 [15:41:48]Write to MH i2c: E2 08 00 0B 24 80 0D 03 02 00 00 00 00 AA [15:41:48]Write i2c OK [15:41:48]MH_I2C_Read... [15:41:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:41:48]Read from MH i2c: E2 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 0B 00 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 0B 00 0B 24 00 97 52 B7 90 8D BC 1A AF 90 00 ED [15:41:48]RAPDU: 97 52 B7 90 8D BC 1A AF 90 00 [15:41:48]wFMCommunicate OK [15:41:48]SAM_PROTO_SignData done [15:41:48]FM_MakeSignedData done [15:41:48]CreateOFDProtocolMessage [15:41:48]wFMCommunicate request_size=4 [15:41:48]MH_SAM_APDU [15:41:48]CAPDU: 80 11 00 00 [15:41:48]Write to MH i2c: E2 08 00 0C 24 80 11 00 00 00 00 00 00 AA [15:41:48]Write i2c OK [15:41:48]MH_I2C_Read... [15:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:48]Read from MH i2c: E2 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 17 00 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: E2 17 00 0C 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FF [15:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:41:48]wFMCommunicate OK [15:41:48]CreateOFDProtocolMessage done [15:41:48]OFDSenderStorePacket 34342 [15:41:48]StoreOFDPacket docnum=34342 [15:41:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 42 01 00 00 75 2C 3A 01 07 83 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 2E 00 00 00 F4 03 04 00 40 FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 86 00 00 35 04 06 00 DC E0 44 96 A8 93 97 52 B7 90 8D BC 1A AF [15:41:48]CheckFolder [15:41:48]dirname=/storage/ofd_packets [15:41:48]CheckFolder done [15:41:48]ProducePacketName [15:41:48]name=ofd_packets/00034342 [15:41:48]NVStorageSaveData ofd_packets/00034342 [15:41:48]File name is /storage/ofd_packets/00034342 [15:41:48]Write 352 bytes [15:41:48]NVStorageSaveData done [15:41:48]OFDSenderStorePacket done [15:41:48]KKMCreateOFDPacket done [15:41:48]NVStorageSaveData kkm_last_timestamp [15:41:48]File name is /storage/kkm_last_timestamp [15:41:48]Write 4 bytes [15:41:48]NVStorageSaveData done [15:41:48]ExternCall_PrintAddStr [15:41:48]wPrintStart [15:41:48]Write to MH i2c: 01 00 00 0D 24 31 [15:41:48]Write i2c OK [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: 01 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: 01 07 00 [15:41:48]MH_I2C_Read... [15:41:48]Read from MH i2c: 01 07 00 0D 24 00 00 00 00 00 FF 0F 46 [15:41:48]RasterBufferAndPrint [15:41:48]line Счет N : (3)184116 [15:41:48]line ИНН: 02508201610067 [15:41:48]line Контрольно-Кассовый Чек [15:41:48]line ПРОДАЖА [15:41:48]line Товар: 4631162227163 [15:41:48]line Напиток газированный Mojito LEMON LIME ж [15:41:48]line 1.000 * 95.00 [15:41:48]line = 95.00 [15:41:48]line НДС 12% НСП 1% [15:41:48]line > о реализуемом товаре [15:41:48]line ИТОГО: 95.00 [15:41:48]line НСП 1% : 0.84 [15:41:48]line НДС 12% : 10.09 [15:41:48]line Наличными: 95.00 [15:41:48]line Безнал.: 0.00 [15:41:48]line Место: АЗС № 120 "Партнер Нефть" [15:41:48]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:41:48]line СНО: Общий режим [15:41:48]line Чек 46 19.06.2024 15:41 [15:41:48]line Смена: 324 ФФД: 1.0 [15:41:48]line ЗНМ: 0300000172 [15:41:48]line РНМ: 0000000000092786 [15:41:48]line Версия ККМ: 001 [15:41:48]line ФМ: 0000000000875095 [15:41:48]line ФД: 34342 [15:41:48]line ФПД: 242855781509267 [15:41:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T154152&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34342&fm=242855781509267&tin=02508201610067®Number=0000000000092786&sum=9500 [15:41:48]line 0 [15:41:48]OFD Sender: Processing packet 34342 [packets to send 8, broken 7] [15:41:48]ProducePacketName [15:41:48]name=ofd_packets/00034342 [15:41:48]OFD Sender: To server: pG, [15:41:48]CommunicateWithHost lk.salyk.kg:30040 [15:41:48]ConnectInit lk.salyk.kg [15:41:48]written 0, free lines is 4095 [15:41:48]Connected sock=10 [15:41:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 42 01 00 00 75 2C 3A 01 07 83 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 33 31 31 36 32 32 32 37 31 36 33 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 4D 6F 6A 69 74 6F 20 4C 45 4D 4F 4E 20 4C 49 4D 45 20 D0 B6 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 2E 00 00 00 F4 03 04 00 40 FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 86 00 00 35 04 06 00 DC E0 44 96 A8 93 97 52 B7 90 8D BC 1A AF [15:41:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 59 4D 47 00 CA 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 26 86 00 00 F4 03 04 00 0C A3 72 66 B6 04 01 00 00 9B 8B 4B 8B 25 BB AE A4 [15:41:48]CommunicateWithHost err = 0 [15:41:48]CheckOFDResponse [15:41:48]1017 (14) - 77093643461234 [15:41:48]1041 (16) - 0000000000875095 [15:41:48]1040 (4) - 34342 [15:41:48]1012 (4) - 19.06.2024 09:21 [15:41:48]1206 (1) - 0 [15:41:48]OFD Sender: Remove packet 34342 [15:41:48]ProducePacketName [15:41:48]name=ofd_packets/00034342 [15:41:48]NVStorageDeleteData [15:41:49]Write to MH i2c: 01 00 00 36 24 5A [15:41:49]Write i2c OK [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: 01 [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: 01 07 00 [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: 01 07 00 36 24 00 00 00 00 00 D9 0C 46 [15:41:49]RasterBufferAndPrint [15:41:49]line [15:41:49]line [15:41:49]line [15:41:49]line [15:41:49]line [15:41:49]written 0, free lines is 3299 [15:41:49]MH_Cut [15:41:49]Write to MH i2c: D1 01 00 3D 24 01 33 [15:41:49]Write i2c OK [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: D1 [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: D1 01 00 [15:41:49]MH_I2C_Read... [15:41:49]Read from MH i2c: D1 01 00 3D 24 00 32 [15:41:49]Write to MH i2c: 01 00 00 3E 24 62 [15:41:49]Write i2c OK [15:41:49]MH_I2C_Read... [15:41:49]OFD Sender: No OFD packet to send [15:41:49]*** Cut start [15:41:49]*** Partial cut [15:41:49]*** CUTSNS_PIN = 1 [15:41:49]*** CUTSNS_PIN = 0 [15:41:50]*** Brake cut motor [15:41:50]Read from MH i2c: 01 [15:41:50]MH_I2C_Read... [15:41:50]*** Stop cut motor [15:41:50]*** Cut end [15:41:50]Read from MH i2c: 01 07 00 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: 01 07 00 3E 24 00 00 00 00 00 FF 0F 77 [15:41:50]process_action close_receipt done [15:41:50]requested_data is exist [15:41:50]produce_requested_data [15:41:50]requested_item fm.sn is exist - process it [15:41:50]wFMCommunicate request_size=4 [15:41:50]MH_SAM_APDU [15:41:50]CAPDU: 80 11 00 00 [15:41:50]Write to MH i2c: E2 08 00 3F 24 80 11 00 00 00 00 00 00 DD [15:41:50]Write i2c OK [15:41:50]MH_I2C_Read... [15:41:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:50]Read from MH i2c: E2 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 17 00 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 17 00 3F 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 32 [15:41:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:41:50]wFMCommunicate OK [15:41:50]requested_item fd.num is exist - process it [15:41:50]SAM_PROTO_GetFieldsCounters [15:41:50]wFMCommunicate request_size=4 [15:41:50]MH_SAM_APDU [15:41:50]CAPDU: 80 13 00 00 [15:41:50]Write to MH i2c: E2 08 00 40 24 80 13 00 00 00 00 00 00 E0 [15:41:50]Write i2c OK [15:41:50]MH_I2C_Read... [15:41:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:41:50]Read from MH i2c: E2 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 62 00 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 62 00 40 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 26 86 00 00 0E 04 04 00 44 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 85 [15:41:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 26 86 00 00 0E 04 04 00 44 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:41:50]wFMCommunicate OK [15:41:50]SAM_PROTO_GetFieldsCounters done [15:41:50]requested_item shift.num is exist - process it [15:41:50]requested_item shift.opened is exist - process it [15:41:50]req_shift_opened [15:41:50]FM_GetShiftState [15:41:50]SAM_PROTO_GetShiftState [15:41:50]wFMCommunicate request_size=4 [15:41:50]MH_SAM_APDU [15:41:50]CAPDU: 80 13 01 00 [15:41:50]Write to MH i2c: E2 08 00 41 24 80 13 01 00 00 00 00 00 E2 [15:41:50]Write i2c OK [15:41:50]MH_I2C_Read... [15:41:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:50]Read from MH i2c: E2 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 0E 00 [15:41:50]MH_I2C_Read... [15:41:50]Read from MH i2c: E2 0E 00 41 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B8 [15:41:50]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:41:50]wFMCommunicate OK [15:41:50]SAM_PROTO_GetShiftState done [15:41:50]FM_GetShiftState done [15:41:50]req_shift_opened done [15:41:50]requested_item shift.open_date is exist - process it [15:41:50]req_shift_open_date [15:41:50]req_shift_open_date done [15:41:50]produce_requested_data done [15:41:50]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34342,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:41:50]process_action_free close_receipt [15:41:50]json_value_free [15:41:50]json_value_free done [15:41:50]process_json_proto returns [15:41:50]Send response to host [15:41:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34342,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:41:50]free response buf [15:41:50]execute_script done [15:41:50]execute_script returns [15:41:50]free content buf [15:41:50]Sock 7.Close socket [15:41:50]Sock 7.Thread stoped [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:05]accept exits with 9 [15:43:05]New connection [15:43:05]New thread 3067567460 created [15:43:05]Thread 3067424100 joined [15:43:05]Waiting for new connection... [15:43:05] Sock 9.Parse request [15:43:05]Sock 9.Check first char [15:43:05]Sock 9.First char is OK [15:43:05]request: POST /json_proto HTTP/1.0 [15:43:05]Method: POST [15:43:05]URL: /json_proto [15:43:05]Method is POST - this is cgi request [15:43:05]url: /json_proto [15:43:05]query_string will be loaded in cgi processing [15:43:05]execute_cgi json_proto POST (null) [15:43:05]execute_cgi path=json_proto method=POST [15:43:05]POST find Content-Length [15:43:05]Host: 172.17.38.134:8080 [15:43:05]Content-Length: 1085 [15:43:05]Content-Type: application/json [15:43:05] [15:43:05]POST finish read [15:43:05]Found Content-Length = 1085 [15:43:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184117", "tax_sys" : 0, "items" : [ { "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600300077793", "name": "\u0428\u043E\u043A \u0410\u043B\u0451\u043D\u043A\u0430 20\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:05]execute_script... [15:43: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)184117", "tax_sys" : 0, "items" : [ { "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600300077793", "name": "\u0428\u043E\u043A \u0410\u043B\u0451\u043D\u043A\u0430 20\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:43:05]POST & json_proto [15:43:05]process_json_proto [15:43:05]json parsed OK: [15:43:05]protocol is kg_v1.0 [15:43:05]action value=close_receipt [15:43:05]process_action close_receipt [15:43:05]cmd_close_receipt [15:43:05]MH_GetDate [15:43:05]Write to MH i2c: F0 00 00 42 24 55 [15:43:05]Write i2c OK [15:43:05]MH_I2C_Read... [15:43:05]Read from MH i2c: F0 [15:43:05]MH_I2C_Read... [15:43:05]Read from MH i2c: F0 09 00 [15:43:05]MH_I2C_Read... [15:43:05]Read from MH i2c: F0 09 00 42 24 00 8F FC 72 66 13 9C 7C 64 50 [15:43:05]GetLastDocTimeStamp 1718811712 [15:43:05]current date 1718811791 [15:43:05]FM_GetShiftState [15:43:05]SAM_PROTO_GetShiftState [15:43:05]wFMCommunicate request_size=4 [15:43:05]MH_SAM_APDU [15:43:05]CAPDU: 80 13 01 00 [15:43:05]Write to MH i2c: E2 08 00 43 24 80 13 01 00 00 00 00 00 E4 [15:43:05]Write i2c OK [15:43:05]MH_I2C_Read... [15:43:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:05]Read from MH i2c: E2 [15:43:05]MH_I2C_Read... [15:43:05]Read from MH i2c: E2 0E 00 [15:43:05]MH_I2C_Read... [15:43:05]Read from MH i2c: E2 0E 00 43 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 BA [15:43:05]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:43:05]wFMCommunicate OK [15:43:05]SAM_PROTO_GetShiftState done [15:43:05]FM_GetShiftState done [15:43:05]opened in 1718756813 [15:43:05]opened+sec_in_day 1718843213 [15:43:05]quantity*price = 4900 [15:43:05]sum+1 = 4901 [15:43:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600300077793 Шок Алёнка 20г 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.78 НДС 12% : 9.45 Наличными: 0.00 Безнал.: 89.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 47 19.06.2024 15:43 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34343 ФПД: 267858359294832 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T154311&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34343&fm=267858359294832&tin=02508201610067®Number=0000000000092786&sum=8900 0 [15:43:06]StoreToDocumentArchive [15:43:06]shift 324 fd 34343 [15:43:06]save to /storage/0324/doc_00034343 [15:43:06]save last doc name /storage/0324/doc_00034343 to /storage/kkm_last_doc_name [15:43:06]save OK [15:43:06]Clear old archive folders... [15:43:06]ProcessDocumentItem done err = 0, tmpTLVsize=383 [15:43:06]tlvbuf is B6F57AE0 [15:43:06]SAM_PROTO_ClearQueue [15:43:06]wFMCommunicate request_size=4 [15:43:06]MH_SAM_APDU [15:43:06]CAPDU: 80 09 00 00 [15:43:06]Write to MH i2c: E2 08 00 50 24 80 09 00 00 00 00 00 00 E6 [15:43:06]Write i2c OK [15:43:06]MH_I2C_Read... [15:43:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:43:06]Read from MH i2c: E2 [15:43:06]MH_I2C_Read... [15:43:06]Read from MH i2c: E2 03 00 [15:43:06]MH_I2C_Read... [15:43:06]Read from MH i2c: E2 03 00 50 24 00 90 00 E8 [15:43:06]RAPDU: 90 00 [15:43:06]wFMCommunicate OK [15:43:06]SAM_PROTO_ClearQueue done [15:43:06]KKMCreateOFDPacket [15:43:06]OFDProtocolAddRootSTLVToBuf [15:43:06]FM_MakeSignedData [15:43:06]FM_MakeSignedData [15:43:06]SAM_PROTO_SignData [15:43:06]wFMCommunicate request_size=4 [15:43:06]MH_SAM_APDU [15:43:06]CAPDU: 80 0D 01 02 [15:43:06]Write to MH i2c: E2 08 00 51 24 80 0D 01 02 00 00 00 00 EE [15:43:06]Write i2c OK [15:43:06]MH_I2C_Read... [15:43:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:43:06]Read from MH i2c: E2 [15:43:06]MH_I2C_Read... [15:43:06]Read from MH i2c: E2 03 00 [15:43:06]MH_I2C_Read... [15:43:06]Read from MH i2c: E2 03 00 51 24 00 90 00 E9 [15:43:06]RAPDU: 90 00 [15:43:06]wFMCommunicate OK [15:43:06]wFMCommunicate request_size=255 [15:43:06]MH_SAM_APDU [15:43:06]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 30 30 33 30 30 30 37 37 37 39 33 06 04 18 00 D0 A8 D0 BE D0 BA 20 D0 90 D0 BB D1 91 D0 BD D0 BA D0 B0 20 32 30 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E [15:43:06]Write to MH i2c: E2 02 01 52 24 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 30 30 33 30 30 30 37 37 37 39 33 06 04 18 00 D0 A8 D0 BE D0 BA 20 D0 90 D0 BB D1 91 D0 BD D0 BA D0 B0 20 32 30 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 74 [15:43:06]Write i2c OK [15:43:06]MH_I2C_Read... [15:43:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:07]Read from MH i2c: E2 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 03 00 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 03 00 52 24 00 90 00 EA [15:43:07]RAPDU: 90 00 [15:43:07]wFMCommunicate OK [15:43:07]wFMCommunicate request_size=142 [15:43:07]MH_SAM_APDU [15:43:07]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 8F FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 86 00 00 35 04 06 00 F3 9D A2 5B 1B 70 [15:43:07]Write to MH i2c: E2 91 00 53 24 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 8F FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 86 00 00 35 04 06 00 F3 9D A2 5B 1B 70 00 00 6F [15:43:07]Write i2c OK [15:43:07]MH_I2C_Read... [15:43:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:43:07]Read from MH i2c: E2 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 03 00 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 03 00 53 24 00 90 00 EB [15:43:07]RAPDU: 90 00 [15:43:07]wFMCommunicate OK [15:43:07]wFMCommunicate request_size=4 [15:43:07]MH_SAM_APDU [15:43:07]CAPDU: 80 0D 03 02 [15:43:07]Write to MH i2c: E2 08 00 54 24 80 0D 03 02 00 00 00 00 F3 [15:43:07]Write i2c OK [15:43:07]MH_I2C_Read... [15:43:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:43:07]Read from MH i2c: E2 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 0B 00 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 0B 00 54 24 00 12 26 A8 C3 05 4E 5C 60 90 00 A6 [15:43:07]RAPDU: 12 26 A8 C3 05 4E 5C 60 90 00 [15:43:07]wFMCommunicate OK [15:43:07]SAM_PROTO_SignData done [15:43:07]FM_MakeSignedData done [15:43:07]CreateOFDProtocolMessage [15:43:07]wFMCommunicate request_size=4 [15:43:07]MH_SAM_APDU [15:43:07]CAPDU: 80 11 00 00 [15:43:07]Write to MH i2c: E2 08 00 55 24 80 11 00 00 00 00 00 00 F3 [15:43:07]Write i2c OK [15:43:07]MH_I2C_Read... [15:43:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:07]Read from MH i2c: E2 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 17 00 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: E2 17 00 55 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 48 [15:43:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:43:07]wFMCommunicate OK [15:43:07]CreateOFDProtocolMessage done [15:43:07]OFDSenderStorePacket 34343 [15:43:07]StoreOFDPacket docnum=34343 [15:43:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 93 01 00 00 35 DD 8B 01 27 CB 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 30 30 33 30 30 30 37 37 37 39 33 06 04 18 00 D0 A8 D0 BE D0 BA 20 D0 90 D0 BB D1 91 D0 BD D0 BA D0 B0 20 32 30 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 8F FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 86 00 00 35 04 06 00 F3 9D A2 5B 1B 70 12 26 A8 C3 05 4E 5C 60 [15:43:07]CheckFolder [15:43:07]dirname=/storage/ofd_packets [15:43:07]CheckFolder done [15:43:07]ProducePacketName [15:43:07]name=ofd_packets/00034343 [15:43:07]NVStorageSaveData ofd_packets/00034343 [15:43:07]File name is /storage/ofd_packets/00034343 [15:43:07]Write 433 bytes [15:43:07]NVStorageSaveData done [15:43:07]OFDSenderStorePacket done [15:43:07]KKMCreateOFDPacket done [15:43:07]NVStorageSaveData kkm_last_timestamp [15:43:07]File name is /storage/kkm_last_timestamp [15:43:07]Write 4 bytes [15:43:07]NVStorageSaveData done [15:43:07]ExternCall_PrintAddStr [15:43:07]wPrintStart [15:43:07]Write to MH i2c: 01 00 00 56 24 7A [15:43:07]Write i2c OK [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: 01 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: 01 07 00 [15:43:07]MH_I2C_Read... [15:43:07]Read from MH i2c: 01 07 00 56 24 00 00 00 00 00 FF 0F 8F [15:43:07]RasterBufferAndPrint [15:43:07]line Счет N : (3)184117 [15:43:07]line ИНН: 02508201610067 [15:43:07]line Контрольно-Кассовый Чек [15:43:07]line ПРОДАЖА [15:43:07]line Товар: 46214621 [15:43:07]line Р/ж mentos тутти-фрутти ролл 16г [15:43:07]line 1.000 * 49.00 [15:43:07]line = 49.00 [15:43:07]line НДС 12% НСП 1% [15:43:07]line > о реализуемом товаре [15:43:07]line Товар: 4600300077793 [15:43:07]line Шок Алёнка 20г [15:43:07]line 1.000 * 40.00 [15:43:07]line = 40.00 [15:43:07]line НДС 12% НСП 1% [15:43:07]line > о реализуемом товаре [15:43:07]line ИТОГО: 89.00 [15:43:07]line НСП 1% : 0.78 [15:43:07]line НДС 12% : 9.45 [15:43:07]line Наличными: 0.00 [15:43:07]line Безнал.: 89.00 [15:43:07]line Место: АЗС № 120 "Партнер Нефть" [15:43:07]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:43:07]line СНО: Общий режим [15:43:07]line Чек 47 19.06.2024 15:43 [15:43:07]line Смена: 324 ФФД: 1.0 [15:43:07]line ЗНМ: 0300000172 [15:43:07]line РНМ: 0000000000092786 [15:43:07]line Версия ККМ: 001 [15:43:07]line Платежная система: Бакай Банк [15:43:07]line ФМ: 0000000000875095 [15:43:07]line ФД: 34343 [15:43:07]line ФПД: 267858359294832 [15:43:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T154311&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34343&fm=267858359294832&tin=02508201610067®Number=0000000000092786&sum=8900 [15:43:07]line 0 [15:43:07]written 0, free lines is 4095 [15:43:07]OFD Sender: Processing packet 34343 [packets to send 8, broken 7] [15:43:07]ProducePacketName [15:43:07]name=ofd_packets/00034343 [15:43:07]OFD Sender: To server: pG, [15:43:07]CommunicateWithHost lk.salyk.kg:30040 [15:43:07]ConnectInit lk.salyk.kg [15:43:07]Connected sock=10 [15:43:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 93 01 00 00 35 DD 8B 01 27 CB 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 36 30 30 33 30 30 30 37 37 37 39 33 06 04 18 00 D0 A8 D0 BE D0 BA 20 D0 90 D0 BB D1 91 D0 BD D0 BA D0 B0 20 32 30 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 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 22 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 8F FC 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 27 86 00 00 35 04 06 00 F3 9D A2 5B 1B 70 12 26 A8 C3 05 4E 5C 60 [15:43:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 2A 80 47 00 FF 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 38 37 35 30 39 35 10 04 04 00 27 86 00 00 F4 03 04 00 5C A3 72 66 B6 04 01 00 00 27 61 1E 49 A3 11 F9 34 [15:43:08]CommunicateWithHost err = 0 [15:43:08]CheckOFDResponse [15:43:08]1017 (14) - 77093643461234 [15:43:08]1041 (16) - 0000000000875095 [15:43:08]1040 (4) - 34343 [15:43:08]1012 (4) - 19.06.2024 09:22 [15:43:08]1206 (1) - 0 [15:43:08]OFD Sender: Remove packet 34343 [15:43:08]ProducePacketName [15:43:08]name=ofd_packets/00034343 [15:43:08]NVStorageDeleteData [15:43:08]Write to MH i2c: 01 00 00 87 24 AB [15:43:08]Write i2c OK [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: 01 [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: 01 07 00 [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: 01 07 00 87 24 00 00 00 00 00 6D 0C 2B [15:43:08]RasterBufferAndPrint [15:43:08]line [15:43:08]line [15:43:08]line [15:43:08]line [15:43:08]line [15:43:08]written 0, free lines is 3186 [15:43:08]MH_Cut [15:43:08]Write to MH i2c: D1 01 00 8E 24 01 84 [15:43:08]Write i2c OK [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: D1 [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: D1 01 00 [15:43:08]MH_I2C_Read... [15:43:08]Read from MH i2c: D1 01 00 8E 24 00 83 [15:43:08]Write to MH i2c: 01 00 00 8F 24 B3 [15:43:08]Write i2c OK [15:43:08]MH_I2C_Read... [15:43:08]OFD Sender: No OFD packet to send [15:43:09]*** Cut start [15:43:09]*** Partial cut [15:43:09]*** CUTSNS_PIN = 1 [15:43:09]*** CUTSNS_PIN = 0 [15:43:09]*** Brake cut motor [15:43:09]Read from MH i2c: 01 [15:43:09]MH_I2C_Read... [15:43:09]*** Stop cut motor [15:43:09]*** Cut end [15:43:09]Read from MH i2c: 01 07 00 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: 01 07 00 8F 24 00 00 00 00 00 FF 0F C8 [15:43:09]process_action close_receipt done [15:43:09]requested_data is exist [15:43:09]produce_requested_data [15:43:09]requested_item fm.sn is exist - process it [15:43:09]wFMCommunicate request_size=4 [15:43:09]MH_SAM_APDU [15:43:09]CAPDU: 80 11 00 00 [15:43:09]Write to MH i2c: E2 08 00 90 24 80 11 00 00 00 00 00 00 2E [15:43:09]Write i2c OK [15:43:09]MH_I2C_Read... [15:43:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:43:09]Read from MH i2c: E2 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 17 00 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 17 00 90 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 83 [15:43:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:43:09]wFMCommunicate OK [15:43:09]requested_item fd.num is exist - process it [15:43:09]SAM_PROTO_GetFieldsCounters [15:43:09]wFMCommunicate request_size=4 [15:43:09]MH_SAM_APDU [15:43:09]CAPDU: 80 13 00 00 [15:43:09]Write to MH i2c: E2 08 00 91 24 80 13 00 00 00 00 00 00 31 [15:43:09]Write i2c OK [15:43:09]MH_I2C_Read... [15:43:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:43:09]Read from MH i2c: E2 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 62 00 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 62 00 91 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 27 86 00 00 0E 04 04 00 44 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 DA [15:43:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 27 86 00 00 0E 04 04 00 44 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 [15:43:09]wFMCommunicate OK [15:43:09]SAM_PROTO_GetFieldsCounters done [15:43:09]requested_item shift.num is exist - process it [15:43:09]requested_item shift.opened is exist - process it [15:43:09]req_shift_opened [15:43:09]FM_GetShiftState [15:43:09]SAM_PROTO_GetShiftState [15:43:09]wFMCommunicate request_size=4 [15:43:09]MH_SAM_APDU [15:43:09]CAPDU: 80 13 01 00 [15:43:09]Write to MH i2c: E2 08 00 92 24 80 13 01 00 00 00 00 00 33 [15:43:09]Write i2c OK [15:43:09]MH_I2C_Read... [15:43:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:43:09]Read from MH i2c: E2 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 0E 00 [15:43:09]MH_I2C_Read... [15:43:09]Read from MH i2c: E2 0E 00 92 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 09 [15:43:09]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:43:09]wFMCommunicate OK [15:43:09]SAM_PROTO_GetShiftState done [15:43:09]FM_GetShiftState done [15:43:09]req_shift_opened done [15:43:09]requested_item shift.open_date is exist - process it [15:43:09]req_shift_open_date [15:43:09]req_shift_open_date done [15:43:09]produce_requested_data done [15:43:09]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34343,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:43:09]process_action_free close_receipt [15:43:09]json_value_free [15:43:09]json_value_free done [15:43:09]process_json_proto returns [15:43:09]Send response to host [15:43:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34343,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:43:09]free response buf [15:43:09]execute_script done [15:43:09]execute_script returns [15:43:09]free content buf [15:43:09]Sock 9.Close socket [15:43:09]Sock 9.Thread stoped [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:34]OFD Sender: No OFD packet to send [15:52:39]OFD Sender: No OFD packet to send [15:52:44]OFD Sender: No OFD packet to send [15:52:49]OFD Sender: No OFD packet to send [15:52:54]OFD Sender: No OFD packet to send [15:52:59]OFD Sender: No OFD packet to send [15:53:04]OFD Sender: No OFD packet to send [15:53:09]OFD Sender: No OFD packet to send [15:53:14]OFD Sender: No OFD packet to send [15:53:19]OFD Sender: No OFD packet to send [15:53:24]OFD Sender: No OFD packet to send [15:53:29]OFD Sender: No OFD packet to send [15:53:34]OFD Sender: No OFD packet to send [15:53:39]OFD Sender: No OFD packet to send [15:53:44]OFD Sender: No OFD packet to send [15:53:49]OFD Sender: No OFD packet to send [15:53:54]OFD Sender: No OFD packet to send [15:53:59]OFD Sender: No OFD packet to send [15:54:04]OFD Sender: No OFD packet to send [15:54:09]OFD Sender: No OFD packet to send [15:54:14]OFD Sender: No OFD packet to send [15:54:19]OFD Sender: No OFD packet to send [15:54:24]OFD Sender: No OFD packet to send [15:54:29]OFD Sender: No OFD packet to send [15:54:34]OFD Sender: No OFD packet to send [15:54:39]OFD Sender: No OFD packet to send [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:44]OFD Sender: No OFD packet to send [15:55:49]OFD Sender: No OFD packet to send [15:55:54]OFD Sender: No OFD packet to send [15:55:59]OFD Sender: No OFD packet to send [15:56:04]OFD Sender: No OFD packet to send [15:56:09]OFD Sender: No OFD packet to send [15:56:14]OFD Sender: No OFD packet to send [15:56:19]OFD Sender: No OFD packet to send [15:56:24]OFD Sender: No OFD packet to send [15:56:29]OFD Sender: No OFD packet to send [15:56:34]OFD Sender: No OFD packet to send [15:56:39]OFD Sender: No OFD packet to send [15:56:44]OFD Sender: No OFD packet to send [15:56:49]OFD Sender: No OFD packet to send [15:56:54]OFD Sender: No OFD packet to send [15:56:59]OFD Sender: No OFD packet to send [15:56:59]accept exits with 7 [15:56:59]New connection [15:56:59]New thread 3067424100 created [15:56:59]Thread 3067567460 joined [15:56:59]Waiting for new connection... [15:56:59] Sock 7.Parse request [15:56:59]Sock 7.Check first char [15:56:59]Sock 7.First char is OK [15:56:59]request: POST /json_proto HTTP/1.0 [15:56:59]Method: POST [15:56:59]URL: /json_proto [15:56:59]Method is POST - this is cgi request [15:56:59]url: /json_proto [15:56:59]query_string will be loaded in cgi processing [15:56:59]execute_cgi json_proto POST (null) [15:56:59]execute_cgi path=json_proto method=POST [15:56:59]POST find Content-Length [15:56:59]Host: 172.17.38.134:8080 [15:56:59]Content-Length: 1404 [15:56:59]Content-Type: application/json [15:56:59] [15:56:59]POST finish read [15:56:59]Found Content-Length = 1404 [15:56:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184118", "tax_sys" : 0, "items" : [ { "code": "48743853", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Club Compact Blue", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46196613", "name": "\u0420/\u0436 Orbit XXL white c\u043E\u0447\u043D\u043E\u0435 \u044F\u0431\u043B\u043E\u043A\u043E 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:59]execute_script... [15:56: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)184118", "tax_sys" : 0, "items" : [ { "code": "48743853", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Club Compact Blue", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46196613", "name": "\u0420/\u0436 Orbit XXL white c\u043E\u0447\u043D\u043E\u0435 \u044F\u0431\u043B\u043E\u043A\u043E 20,4\u0433", "price" : 51.00, "quantity" : 1.000, "sum" : 51.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:56:59]POST & json_proto [15:56:59]process_json_proto [15:56:59]json parsed OK: [15:56:59]protocol is kg_v1.0 [15:56:59]action value=close_receipt [15:56:59]process_action close_receipt [15:56:59]cmd_close_receipt [15:56:59]MH_GetDate [15:56:59]Write to MH i2c: F0 00 00 93 24 A6 [15:56:59]Write i2c OK [15:56:59]MH_I2C_Read... [15:56:59]Read from MH i2c: F0 [15:56:59]MH_I2C_Read... [15:56:59]Read from MH i2c: F0 09 00 [15:56:59]MH_I2C_Read... [15:56:59]Read from MH i2c: F0 09 00 93 24 00 D1 FF 72 66 13 9C 7C 64 E6 [15:56:59]GetLastDocTimeStamp 1718811791 [15:56:59]current date 1718812625 [15:56:59]FM_GetShiftState [15:56:59]SAM_PROTO_GetShiftState [15:56:59]wFMCommunicate request_size=4 [15:56:59]MH_SAM_APDU [15:56:59]CAPDU: 80 13 01 00 [15:56:59]Write to MH i2c: E2 08 00 94 24 80 13 01 00 00 00 00 00 35 [15:57:00]Write i2c OK [15:57:00]MH_I2C_Read... [15:57:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:00]Read from MH i2c: E2 [15:57:00]MH_I2C_Read... [15:57:00]Read from MH i2c: E2 0E 00 [15:57:00]MH_I2C_Read... [15:57:00]Read from MH i2c: E2 0E 00 94 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 0B [15:57:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:57:00]wFMCommunicate OK [15:57:00]SAM_PROTO_GetShiftState done [15:57:00]FM_GetShiftState done [15:57:00]opened in 1718756813 [15:57:00]opened+sec_in_day 1718843213 [15:57:00]quantity*price = 9000 [15:57:00]sum+1 = 9001 [15:57:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46196613 Р/ж Orbit XXL white cочное яблоко 20,4г 1.000 * 51.00 = 51.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 315.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 48 19.06.2024 15:57 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34344 ФПД: 7277858764579 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155706&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34344&fm=7277858764579&tin=02508201610067®Number=0000000000092786&sum=31500 0 [15:57:01]StoreToDocumentArchive [15:57:01]shift 324 fd 34344 [15:57:01]save to /storage/0324/doc_00034344 [15:57:01]save last doc name /storage/0324/doc_00034344 to /storage/kkm_last_doc_name [15:57:01]save OK [15:57:01]Clear old archive folders... [15:57:01]ProcessDocumentItem done err = 0, tmpTLVsize=608 [15:57:01]tlvbuf is 01914360 [15:57:01]SAM_PROTO_ClearQueue [15:57:01]wFMCommunicate request_size=4 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 09 00 00 [15:57:01]Write to MH i2c: E2 08 00 A1 24 80 09 00 00 00 00 00 00 37 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 A1 24 00 90 00 39 [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]SAM_PROTO_ClearQueue done [15:57:01]KKMCreateOFDPacket [15:57:01]OFDProtocolAddRootSTLVToBuf [15:57:01]FM_MakeSignedData [15:57:01]FM_MakeSignedData [15:57:01]SAM_PROTO_SignData [15:57:01]wFMCommunicate request_size=4 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 0D 01 02 [15:57:01]Write to MH i2c: E2 08 00 A2 24 80 0D 01 02 00 00 00 00 3F [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 A2 24 00 90 00 3A [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=255 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 0D 02 02 FA 03 00 60 02 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 33 38 35 33 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6C 75 62 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 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 23 04 74 00 8A 04 08 00 34 36 31 39 36 36 31 33 06 04 35 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 63 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 [15:57:01]Write to MH i2c: E2 02 01 A3 24 80 0D 02 02 FA 00 03 00 60 02 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 33 38 35 33 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6C 75 62 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 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 23 04 74 00 8A 04 08 00 34 36 31 39 36 36 31 33 06 04 35 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 63 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 00 00 E8 [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 A3 24 00 90 00 3B [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=255 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 0D 02 02 FA 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 [15:57:01]Write to MH i2c: E2 02 01 A4 24 80 0D 02 02 FA 00 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 00 00 DA [15:57:01]Write i2c OK [15:57:01]MH_I2C_Read... [15:57:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:01]Read from MH i2c: E2 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 [15:57:01]MH_I2C_Read... [15:57:01]Read from MH i2c: E2 03 00 A4 24 00 90 00 3C [15:57:01]RAPDU: 90 00 [15:57:01]wFMCommunicate OK [15:57:01]wFMCommunicate request_size=117 [15:57:01]MH_SAM_APDU [15:57:01]CAPDU: 80 0D 02 02 70 04 06 00 0C 7B 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 D2 FF 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 86 00 00 35 04 06 00 06 9E 82 2F B7 23 [15:57:01]Write to MH i2c: E2 78 00 A5 24 80 0D 02 02 70 00 04 06 00 0C 7B 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 D2 FF 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 86 00 00 35 04 06 00 06 9E 82 2F B7 23 00 00 E1 [15:57:02]Write i2c OK [15:57:02]MH_I2C_Read... [15:57:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:02]Read from MH i2c: E2 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 03 00 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 03 00 A5 24 00 90 00 3D [15:57:02]RAPDU: 90 00 [15:57:02]wFMCommunicate OK [15:57:02]wFMCommunicate request_size=4 [15:57:02]MH_SAM_APDU [15:57:02]CAPDU: 80 0D 03 02 [15:57:02]Write to MH i2c: E2 08 00 A6 24 80 0D 03 02 00 00 00 00 45 [15:57:02]Write i2c OK [15:57:02]MH_I2C_Read... [15:57:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:02]Read from MH i2c: E2 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 0B 00 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 0B 00 A6 24 00 E7 EE C2 D2 50 76 5A D5 90 00 A4 [15:57:02]RAPDU: E7 EE C2 D2 50 76 5A D5 90 00 [15:57:02]wFMCommunicate OK [15:57:02]SAM_PROTO_SignData done [15:57:02]FM_MakeSignedData done [15:57:02]CreateOFDProtocolMessage [15:57:02]wFMCommunicate request_size=4 [15:57:02]MH_SAM_APDU [15:57:02]CAPDU: 80 11 00 00 [15:57:02]Write to MH i2c: E2 08 00 A7 24 80 11 00 00 00 00 00 00 45 [15:57:02]Write i2c OK [15:57:02]MH_I2C_Read... [15:57:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:02]Read from MH i2c: E2 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 17 00 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: E2 17 00 A7 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9A [15:57:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:57:02]wFMCommunicate OK [15:57:02]CreateOFDProtocolMessage done [15:57:02]OFDSenderStorePacket 34344 [15:57:02]StoreOFDPacket docnum=34344 [15:57:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 74 02 00 00 B0 6B 6C 02 62 B8 5A 03 01 00 03 00 60 02 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 33 38 35 33 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6C 75 62 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 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 23 04 74 00 8A 04 08 00 34 36 31 39 36 36 31 33 06 04 35 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 63 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 D2 FF 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 86 00 00 35 04 06 00 06 9E 82 2F B7 23 E7 EE C2 D2 50 76 5A D5 [15:57:02]CheckFolder [15:57:02]dirname=/storage/ofd_packets [15:57:02]CheckFolder done [15:57:02]ProducePacketName [15:57:02]name=ofd_packets/00034344 [15:57:02]NVStorageSaveData ofd_packets/00034344 [15:57:02]File name is /storage/ofd_packets/00034344 [15:57:02]Write 658 bytes [15:57:02]NVStorageSaveData done [15:57:02]OFDSenderStorePacket done [15:57:02]KKMCreateOFDPacket done [15:57:02]NVStorageSaveData kkm_last_timestamp [15:57:02]File name is /storage/kkm_last_timestamp [15:57:02]Write 4 bytes [15:57:02]NVStorageSaveData done [15:57:02]ExternCall_PrintAddStr [15:57:02]wPrintStart [15:57:02]Write to MH i2c: 01 00 00 A8 24 CC [15:57:02]Write i2c OK [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: 01 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: 01 07 00 [15:57:02]MH_I2C_Read... [15:57:02]Read from MH i2c: 01 07 00 A8 24 00 00 00 00 00 FF 0F E1 [15:57:02]RasterBufferAndPrint [15:57:02]line Счет N : (3)184118 [15:57:02]line ИНН: 02508201610067 [15:57:02]line Контрольно-Кассовый Чек [15:57:02]line ПРОДАЖА [15:57:02]line Товар: 48743853 [15:57:02]line Сигареты LD Club Compact Blue [15:57:02]line 1.000 * 90.00 [15:57:02]line = 90.00 [15:57:02]line НДС 12% НСП 1% [15:57:02]line > о реализуемом товаре [15:57:02]line Товар: 46196613 [15:57:02]line Р/ж Orbit XXL white cочное яблоко 20,4г [15:57:02]line 1.000 * 51.00 [15:57:02]line = 51.00 [15:57:02]line НДС 12% НСП 1% [15:57:02]line > о реализуемом товаре [15:57:02]line Товар: 80942726 [15:57:02]line Р/ж mentos мята ролл 16г [15:57:02]line 1.000 * 49.00 [15:57:02]line = 49.00 [15:57:02]line НДС 12% НСП 1% [15:57:02]line > о реализуемом товаре [15:57:02]line Товар: 2000036220012 [15:57:02]line Кофе Капучино XL(GABB TRADE) [15:57:02]line 1.000 * 125.00 [15:57:02]line = 125.00 [15:57:02]line НДС 12% НСП 1% [15:57:02]line > о реализуемом товаре [15:57:02]line ИТОГО: 315.00 [15:57:02]line НСП 1% : 2.79 [15:57:02]line НДС 12% : 33.45 [15:57:02]line Наличными: 315.00 [15:57:02]line Безнал.: 0.00 [15:57:02]line Место: АЗС № 120 "Партнер Нефть" [15:57:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:57:02]line СНО: Общий режим [15:57:02]line Чек 48 19.06.2024 15:57 [15:57:02]line Смена: 324 ФФД: 1.0 [15:57:02]line ЗНМ: 0300000172 [15:57:02]line РНМ: 0000000000092786 [15:57:02]line Версия ККМ: 001 [15:57:02]line ФМ: 0000000000875095 [15:57:02]line ФД: 34344 [15:57:02]line ФПД: 7277858764579 [15:57:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155706&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34344&fm=7277858764579&tin=02508201610067®Number=0000000000092786&sum=31500 [15:57:02]line 0 [15:57:02]OFD Sender: Processing packet 34344 [packets to send 8, broken 7] [15:57:02]ProducePacketName [15:57:02]name=ofd_packets/00034344 [15:57:02]OFD Sender: To server: pG, [15:57:02]CommunicateWithHost lk.salyk.kg:30040 [15:57:02]ConnectInit lk.salyk.kg [15:57:02]written 0, free lines is 4095 [15:57:02]Connected sock=10 [15:57:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 74 02 00 00 B0 6B 6C 02 62 B8 5A 03 01 00 03 00 60 02 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 33 38 35 33 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 43 6C 75 62 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 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 23 04 74 00 8A 04 08 00 34 36 31 39 36 36 31 33 06 04 35 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 77 68 69 74 65 20 63 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 13 00 00 00 00 13 04 06 00 EC 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 0C 7B 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 D2 FF 72 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 86 00 00 35 04 06 00 06 9E 82 2F B7 23 E7 EE C2 D2 50 76 5A D5 [15:57:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 6E FE 47 00 62 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 28 86 00 00 F4 03 04 00 9F A6 72 66 B6 04 01 00 00 65 91 9D C8 99 A4 BD DE [15:57:03]CommunicateWithHost err = 0 [15:57:03]CheckOFDResponse [15:57:03]1017 (14) - 77093643461234 [15:57:03]1041 (16) - 0000000000875095 [15:57:03]1040 (4) - 34344 [15:57:03]1012 (4) - 19.06.2024 09:36 [15:57:03]1206 (1) - 0 [15:57:03]OFD Sender: Remove packet 34344 [15:57:03]ProducePacketName [15:57:03]name=ofd_packets/00034344 [15:57:03]NVStorageDeleteData [15:57:03]Write to MH i2c: 01 00 00 E5 24 09 [15:57:03]Write i2c OK [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: 01 [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: 01 07 00 [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: 01 07 00 E5 24 00 00 00 00 00 C1 0B DC [15:57:03]RasterBufferAndPrint [15:57:03]line [15:57:03]line [15:57:03]line [15:57:03]line [15:57:03]line [15:57:03]written 0, free lines is 3019 [15:57:03]MH_Cut [15:57:03]Write to MH i2c: D1 01 00 EC 24 01 E2 [15:57:03]Write i2c OK [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: D1 [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: D1 01 00 [15:57:03]MH_I2C_Read... [15:57:03]Read from MH i2c: D1 01 00 EC 24 00 E1 [15:57:03]Write to MH i2c: 01 00 00 ED 24 11 [15:57:03]Write i2c OK [15:57:03]MH_I2C_Read... [15:57:03]OFD Sender: No OFD packet to send [15:57:04]*** Cut start [15:57:04]*** Partial cut [15:57:04]*** CUTSNS_PIN = 1 [15:57:04]*** CUTSNS_PIN = 0 [15:57:04]*** Brake cut motor [15:57:04]Read from MH i2c: 01 [15:57:04]MH_I2C_Read... [15:57:04]*** Stop cut motor [15:57:04]*** Cut end [15:57:04]Read from MH i2c: 01 07 00 [15:57:04]MH_I2C_Read... [15:57:04]Read from MH i2c: 01 07 00 ED 24 00 00 00 00 00 FF 0F 26 [15:57:04]process_action close_receipt done [15:57:04]requested_data is exist [15:57:04]produce_requested_data [15:57:04]requested_item fm.sn is exist - process it [15:57:04]wFMCommunicate request_size=4 [15:57:04]MH_SAM_APDU [15:57:04]CAPDU: 80 11 00 00 [15:57:04]Write to MH i2c: E2 08 00 EE 24 80 11 00 00 00 00 00 00 8C [15:57:04]Write i2c OK [15:57:04]MH_I2C_Read... [15:57:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:04]Read from MH i2c: E2 [15:57:04]MH_I2C_Read... [15:57:04]Read from MH i2c: E2 17 00 [15:57:04]MH_I2C_Read... [15:57:04]Read from MH i2c: E2 17 00 EE 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E1 [15:57:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:57:04]wFMCommunicate OK [15:57:04]requested_item fd.num is exist - process it [15:57:04]SAM_PROTO_GetFieldsCounters [15:57:04]wFMCommunicate request_size=4 [15:57:04]MH_SAM_APDU [15:57:04]CAPDU: 80 13 00 00 [15:57:04]Write to MH i2c: E2 08 00 EF 24 80 13 00 00 00 00 00 00 8F [15:57:04]Write i2c OK [15:57:04]MH_I2C_Read... [15:57:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:04]Read from MH i2c: E2 [15:57:04]MH_I2C_Read... [15:57:04]Read from MH i2c: E2 62 00 [15:57:04]MH_I2C_Read... [15:57:04]Read from MH i2c: E2 62 00 EF 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 28 86 00 00 0E 04 04 00 44 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 3C [15:57:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 28 86 00 00 0E 04 04 00 44 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 [15:57:05]wFMCommunicate OK [15:57:05]SAM_PROTO_GetFieldsCounters done [15:57:05]requested_item shift.num is exist - process it [15:57:05]requested_item shift.opened is exist - process it [15:57:05]req_shift_opened [15:57:05]FM_GetShiftState [15:57:05]SAM_PROTO_GetShiftState [15:57:05]wFMCommunicate request_size=4 [15:57:05]MH_SAM_APDU [15:57:05]CAPDU: 80 13 01 00 [15:57:05]Write to MH i2c: E2 08 00 F0 24 80 13 01 00 00 00 00 00 91 [15:57:05]Write i2c OK [15:57:05]MH_I2C_Read... [15:57:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:05]Read from MH i2c: E2 [15:57:05]MH_I2C_Read... [15:57:05]Read from MH i2c: E2 0E 00 [15:57:05]MH_I2C_Read... [15:57:05]Read from MH i2c: E2 0E 00 F0 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 67 [15:57:05]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:57:05]wFMCommunicate OK [15:57:05]SAM_PROTO_GetShiftState done [15:57:05]FM_GetShiftState done [15:57:05]req_shift_opened done [15:57:05]requested_item shift.open_date is exist - process it [15:57:05]req_shift_open_date [15:57:05]req_shift_open_date done [15:57:05]produce_requested_data done [15:57:05]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34344,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:57:05]process_action_free close_receipt [15:57:05]json_value_free [15:57:05]json_value_free done [15:57:05]process_json_proto returns [15:57:05]Send response to host [15:57:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34344,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:57:05]free response buf [15:57:05]execute_script done [15:57:05]execute_script returns [15:57:05]free content buf [15:57:05]Sock 7.Close socket [15:57:05]Sock 7.Thread stoped [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]accept exits with 9 [15:57:58]New connection [15:57:58]New thread 3067567460 created [15:57:58]Thread 3067424100 joined [15:57:58]Waiting for new connection... [15:57:58] Sock 9.Parse request [15:57:58]Sock 9.Check first char [15:57:58]Sock 9.First char is OK [15:57:58]request: POST /json_proto HTTP/1.0 [15:57:58]Method: POST [15:57:58]URL: /json_proto [15:57:58]Method is POST - this is cgi request [15:57:58]url: /json_proto [15:57:58]query_string will be loaded in cgi processing [15:57:58]execute_cgi json_proto POST (null) [15:57:58]execute_cgi path=json_proto method=POST [15:57:58]POST find Content-Length [15:57:58]Host: 172.17.38.134:8080 [15:57:58]Content-Length: 803 [15:57:58]Content-Type: application/json [15:57:58] [15:57:58]POST finish read [15:57:58]Found Content-Length = 803 [15:57:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184119", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:58]execute_script... [15:57: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)184119", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:58]POST & json_proto [15:57:58]process_json_proto [15:57:58]json parsed OK: [15:57:58]protocol is kg_v1.0 [15:57:58]action value=close_receipt [15:57:58]process_action close_receipt [15:57:58]cmd_close_receipt [15:57:58]MH_GetDate [15:57:58]Write to MH i2c: F0 00 00 F1 24 04 [15:57:58]Write i2c OK [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: F0 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: F0 09 00 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: F0 09 00 F1 24 00 0C 00 73 66 13 9C 7C 64 81 [15:57:58]GetLastDocTimeStamp 1718812626 [15:57:58]current date 1718812684 [15:57:58]FM_GetShiftState [15:57:58]SAM_PROTO_GetShiftState [15:57:58]wFMCommunicate request_size=4 [15:57:58]MH_SAM_APDU [15:57:58]CAPDU: 80 13 01 00 [15:57:58]Write to MH i2c: E2 08 00 F2 24 80 13 01 00 00 00 00 00 93 [15:57:58]Write i2c OK [15:57:58]MH_I2C_Read... [15:57:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:58]Read from MH i2c: E2 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: E2 0E 00 [15:57:58]MH_I2C_Read... [15:57:58]Read from MH i2c: E2 0E 00 F2 24 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 69 [15:57:58]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:57:58]wFMCommunicate OK [15:57:58]SAM_PROTO_GetShiftState done [15:57:58]FM_GetShiftState done [15:57:58]opened in 1718756813 [15:57:58]opened+sec_in_day 1718843213 [15:57:58]quantity*price = 4500 [15:57:58]sum+1 = 4501 [15:57:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 49 19.06.2024 15:58 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34345 ФПД: 10644655629644 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155804&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34345&fm=10644655629644&tin=02508201610067®Number=0000000000092786&sum=4500 0 [15:57:59]StoreToDocumentArchive [15:57:59]shift 324 fd 34345 [15:57:59]save to /storage/0324/doc_00034345 [15:57:59]save last doc name /storage/0324/doc_00034345 to /storage/kkm_last_doc_name [15:57:59]save OK [15:57:59]Clear old archive folders... [15:57:59]ProcessDocumentItem done err = 0, tmpTLVsize=273 [15:57:59]tlvbuf is 0190B420 [15:57:59]SAM_PROTO_ClearQueue [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 09 00 00 [15:57:59]Write to MH i2c: E2 08 00 FF 24 80 09 00 00 00 00 00 00 95 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 FF 24 00 90 00 97 [15:57:59]RAPDU: 90 00 [15:57:59]wFMCommunicate OK [15:57:59]SAM_PROTO_ClearQueue done [15:57:59]KKMCreateOFDPacket [15:57:59]OFDProtocolAddRootSTLVToBuf [15:57:59]FM_MakeSignedData [15:57:59]FM_MakeSignedData [15:57:59]SAM_PROTO_SignData [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 0D 01 02 [15:57:59]Write to MH i2c: E2 08 00 00 25 80 0D 01 02 00 00 00 00 9E [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 00 25 00 90 00 99 [15:57:59]RAPDU: 90 00 [15:57:59]wFMCommunicate OK [15:57:59]wFMCommunicate request_size=255 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0C 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 [15:57:59]Write to MH i2c: E2 02 01 01 25 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0C 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 00 00 02 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 01 25 00 90 00 9A [15:57:59]RAPDU: 90 00 [15:57:59]wFMCommunicate OK [15:57:59]wFMCommunicate request_size=32 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 30 39 35 10 04 04 00 29 86 00 00 35 04 06 00 09 AE 66 EA E5 4C [15:57:59]Write to MH i2c: E2 23 00 02 25 80 0D 02 02 1B 00 30 30 30 38 37 35 30 39 35 10 04 04 00 29 86 00 00 35 04 06 00 09 AE 66 EA E5 4C 00 00 E7 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 03 00 02 25 00 90 00 9B [15:57:59]RAPDU: 90 00 [15:57:59]wFMCommunicate OK [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 0D 03 02 [15:57:59]Write to MH i2c: E2 08 00 03 25 80 0D 03 02 00 00 00 00 A3 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 0B 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 0B 00 03 25 00 61 31 61 80 4F 61 A4 71 90 00 DC [15:57:59]RAPDU: 61 31 61 80 4F 61 A4 71 90 00 [15:57:59]wFMCommunicate OK [15:57:59]SAM_PROTO_SignData done [15:57:59]FM_MakeSignedData done [15:57:59]CreateOFDProtocolMessage [15:57:59]wFMCommunicate request_size=4 [15:57:59]MH_SAM_APDU [15:57:59]CAPDU: 80 11 00 00 [15:57:59]Write to MH i2c: E2 08 00 04 25 80 11 00 00 00 00 00 00 A3 [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:59]Read from MH i2c: E2 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 17 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: E2 17 00 04 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F8 [15:57:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:57:59]wFMCommunicate OK [15:57:59]CreateOFDProtocolMessage done [15:57:59]OFDSenderStorePacket 34345 [15:57:59]StoreOFDPacket docnum=34345 [15:57:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 DF DE 1D 01 46 2D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0C 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 86 00 00 35 04 06 00 09 AE 66 EA E5 4C 61 31 61 80 4F 61 A4 71 [15:57:59]CheckFolder [15:57:59]dirname=/storage/ofd_packets [15:57:59]CheckFolder done [15:57:59]ProducePacketName [15:57:59]name=ofd_packets/00034345 [15:57:59]NVStorageSaveData ofd_packets/00034345 [15:57:59]File name is /storage/ofd_packets/00034345 [15:57:59]Write 323 bytes [15:57:59]NVStorageSaveData done [15:57:59]OFDSenderStorePacket done [15:57:59]KKMCreateOFDPacket done [15:57:59]NVStorageSaveData kkm_last_timestamp [15:57:59]File name is /storage/kkm_last_timestamp [15:57:59]Write 4 bytes [15:57:59]NVStorageSaveData done [15:57:59]ExternCall_PrintAddStr [15:57:59]wPrintStart [15:57:59]Write to MH i2c: 01 00 00 05 25 2A [15:57:59]Write i2c OK [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: 01 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: 01 07 00 [15:57:59]MH_I2C_Read... [15:57:59]Read from MH i2c: 01 07 00 05 25 00 00 00 00 00 FF 0F 3F [15:57:59]RasterBufferAndPrint [15:57:59]line Счет N : (3)184119 [15:57:59]line ИНН: 02508201610067 [15:57:59]line Контрольно-Кассовый Чек [15:57:59]line ПРОДАЖА [15:57:59]line Товар: 46116482 [15:57:59]line Жев Orbit ягодный микс [15:57:59]line 1.000 * 45.00 [15:57:59]line = 45.00 [15:57:59]line НДС 12% НСП 1% [15:57:59]line > о реализуемом товаре [15:57:59]line ИТОГО: 45.00 [15:57:59]line НСП 1% : 0.40 [15:57:59]line НДС 12% : 4.78 [15:57:59]line Наличными: 0.00 [15:57:59]line Безнал.: 45.00 [15:57:59]line Место: АЗС № 120 "Партнер Нефть" [15:57:59]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:57:59]line СНО: Общий режим [15:57:59]line Чек 49 19.06.2024 15:58 [15:57:59]line Смена: 324 ФФД: 1.0 [15:57:59]line ЗНМ: 0300000172 [15:57:59]line РНМ: 0000000000092786 [15:57:59]line Версия ККМ: 001 [15:58:00]line Платежная система: O! деньги [15:58:00]line ФМ: 0000000000875095 [15:58:00]line ФД: 34345 [15:58:00]line ФПД: 10644655629644 [15:58:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155804&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34345&fm=10644655629644&tin=02508201610067®Number=0000000000092786&sum=4500 [15:58:00]line 0 [15:58:00]OFD Sender: Processing packet 34345 [packets to send 8, broken 7] [15:58:00]ProducePacketName [15:58:00]name=ofd_packets/00034345 [15:58:00]OFD Sender: To server: pG, [15:58:00]CommunicateWithHost lk.salyk.kg:30040 [15:58:00]ConnectInit lk.salyk.kg [15:58:00]written 0, free lines is 4095 [15:58:00]Connected sock=10 [15:58:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 DF DE 1D 01 46 2D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 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 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 0C 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 86 00 00 35 04 06 00 09 AE 66 EA E5 4C 61 31 61 80 4F 61 A4 71 [15:58:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 68 BF 47 00 8C E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 29 86 00 00 F4 03 04 00 D8 A6 72 66 B6 04 01 00 00 9D F3 AD C3 99 CB 37 70 [15:58:00]CommunicateWithHost err = 0 [15:58:00]CheckOFDResponse [15:58:00]1017 (14) - 77093643461234 [15:58:00]1041 (16) - 0000000000875095 [15:58:00]1040 (4) - 34345 [15:58:00]1012 (4) - 19.06.2024 09:37 [15:58:00]1206 (1) - 0 [15:58:00]OFD Sender: Remove packet 34345 [15:58:00]ProducePacketName [15:58:00]name=ofd_packets/00034345 [15:58:00]NVStorageDeleteData [15:58:00]Write to MH i2c: 01 00 00 2F 25 54 [15:58:00]Write i2c OK [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: 01 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: 01 07 00 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: 01 07 00 2F 25 00 00 00 00 00 E3 0C 4A [15:58:00]RasterBufferAndPrint [15:58:00]line [15:58:00]line [15:58:00]line [15:58:00]line [15:58:00]line [15:58:00]written 0, free lines is 3305 [15:58:00]MH_Cut [15:58:00]Write to MH i2c: D1 01 00 36 25 01 2D [15:58:00]Write i2c OK [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: D1 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: D1 01 00 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: D1 01 00 36 25 00 2C [15:58:00]Write to MH i2c: 01 00 00 37 25 5C [15:58:00]Write i2c OK [15:58:00]MH_I2C_Read... [15:58:01]OFD Sender: No OFD packet to send [15:58:01]*** Cut start [15:58:01]*** Partial cut [15:58:01]*** CUTSNS_PIN = 1 [15:58:01]*** CUTSNS_PIN = 0 [15:58:01]*** Brake cut motor [15:58:02]Read from MH i2c: 01 [15:58:02]MH_I2C_Read... [15:58:02]*** Stop cut motor [15:58:02]*** Cut end [15:58:02]Read from MH i2c: 01 07 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 07 00 37 25 00 00 00 00 00 FF 0F 71 [15:58:02]process_action close_receipt done [15:58:02]requested_data is exist [15:58:02]produce_requested_data [15:58:02]requested_item fm.sn is exist - process it [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 11 00 00 [15:58:02]Write to MH i2c: E2 08 00 38 25 80 11 00 00 00 00 00 00 D7 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:02]Read from MH i2c: E2 17 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 17 00 38 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 2C [15:58:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:58:02]wFMCommunicate OK [15:58:02]requested_item fd.num is exist - process it [15:58:02]SAM_PROTO_GetFieldsCounters [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 13 00 00 [15:58:02]Write to MH i2c: E2 08 00 39 25 80 13 00 00 00 00 00 00 DA [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 62 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 62 00 39 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 29 86 00 00 0E 04 04 00 44 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 8B [15:58:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 29 86 00 00 0E 04 04 00 44 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 [15:58:02]wFMCommunicate OK [15:58:02]SAM_PROTO_GetFieldsCounters done [15:58:02]requested_item shift.num is exist - process it [15:58:02]requested_item shift.opened is exist - process it [15:58:02]req_shift_opened [15:58:02]FM_GetShiftState [15:58:02]SAM_PROTO_GetShiftState [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 13 01 00 [15:58:02]Write to MH i2c: E2 08 00 3A 25 80 13 01 00 00 00 00 00 DC [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 0E 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 0E 00 3A 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B2 [15:58:02]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:58:02]wFMCommunicate OK [15:58:02]SAM_PROTO_GetShiftState done [15:58:02]FM_GetShiftState done [15:58:02]req_shift_opened done [15:58:02]requested_item shift.open_date is exist - process it [15:58:02]req_shift_open_date [15:58:02]req_shift_open_date done [15:58:02]produce_requested_data done [15:58:02]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34345,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:58:02]process_action_free close_receipt [15:58:02]json_value_free [15:58:02]json_value_free done [15:58:02]process_json_proto returns [15:58:02]Send response to host [15:58:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34345,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:58:02]free response buf [15:58:02]execute_script done [15:58:02]execute_script returns [15:58:02]free content buf [15:58:02]Sock 9.Close socket [15:58:02]Sock 9.Thread stoped [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:34]accept exits with 7 [15:58:34]New connection [15:58:34]New thread 3067424100 created [15:58:34]Thread 3067567460 joined [15:58:34]Waiting for new connection... [15:58:34] Sock 7.Parse request [15:58:34]Sock 7.Check first char [15:58:34]Sock 7.First char is OK [15:58:34]request: POST /json_proto HTTP/1.0 [15:58:34]Method: POST [15:58:34]URL: /json_proto [15:58:34]Method is POST - this is cgi request [15:58:34]url: /json_proto [15:58:34]query_string will be loaded in cgi processing [15:58:34]execute_cgi json_proto POST (null) [15:58:34]execute_cgi path=json_proto method=POST [15:58:34]POST find Content-Length [15:58:34]Host: 172.17.38.134:8080 [15:58:34]Content-Length: 894 [15:58:34]Content-Type: application/json [15:58:34] [15:58:34]POST finish read [15:58:34]Found Content-Length = 894 [15:58:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184120", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:34]execute_script... [15:58: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)184120", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 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" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:34]POST & json_proto [15:58:34]process_json_proto [15:58:34]json parsed OK: [15:58:34]protocol is kg_v1.0 [15:58:34]action value=close_receipt [15:58:34]process_action close_receipt [15:58:34]cmd_close_receipt [15:58:34]MH_GetDate [15:58:34]Write to MH i2c: F0 00 00 3B 25 4F [15:58:34]Write i2c OK [15:58:34]MH_I2C_Read... [15:58:34]Read from MH i2c: F0 [15:58:34]MH_I2C_Read... [15:58:34]Read from MH i2c: F0 09 00 [15:58:34]MH_I2C_Read... [15:58:34]Read from MH i2c: F0 09 00 3B 25 00 30 00 73 66 13 9C 7C 64 F0 [15:58:34]GetLastDocTimeStamp 1718812684 [15:58:34]current date 1718812720 [15:58:34]FM_GetShiftState [15:58:34]SAM_PROTO_GetShiftState [15:58:34]wFMCommunicate request_size=4 [15:58:34]MH_SAM_APDU [15:58:34]CAPDU: 80 13 01 00 [15:58:34]Write to MH i2c: E2 08 00 3C 25 80 13 01 00 00 00 00 00 DE [15:58:34]Write i2c OK [15:58:34]MH_I2C_Read... [15:58:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:34]Read from MH i2c: E2 [15:58:34]MH_I2C_Read... [15:58:34]Read from MH i2c: E2 0E 00 [15:58:34]MH_I2C_Read... [15:58:34]Read from MH i2c: E2 0E 00 3C 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B4 [15:58:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:58:34]wFMCommunicate OK [15:58:34]SAM_PROTO_GetShiftState done [15:58:34]FM_GetShiftState done [15:58:34]opened in 1718756813 [15:58:34]opened+sec_in_day 1718843213 [15:58:34]quantity*price = 5000 [15:58:34]sum+1 = 5001 [15:58:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.10 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 50 19.06.2024 15:58 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34346 ФПД: 146261682328369 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155840&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34346&fm=146261682328369&tin=02508201610067®Number=0000000000092786&sum=12500 0 [15:58:35]StoreToDocumentArchive [15:58:35]shift 324 fd 34346 [15:58:35]save to /storage/0324/doc_00034346 [15:58:35]save last doc name /storage/0324/doc_00034346 to /storage/kkm_last_doc_name [15:58:35]save OK [15:58:35]Clear old archive folders... [15:58:35]ProcessDocumentItem done err = 0, tmpTLVsize=372 [15:58:35]tlvbuf is B6F3E7A0 [15:58:35]SAM_PROTO_ClearQueue [15:58:35]wFMCommunicate request_size=4 [15:58:35]MH_SAM_APDU [15:58:35]CAPDU: 80 09 00 00 [15:58:35]Write to MH i2c: E2 08 00 49 25 80 09 00 00 00 00 00 00 E0 [15:58:35]Write i2c OK [15:58:35]MH_I2C_Read... [15:58:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:58:35]Read from MH i2c: E2 [15:58:35]MH_I2C_Read... [15:58:35]Read from MH i2c: E2 03 00 [15:58:35]MH_I2C_Read... [15:58:35]Read from MH i2c: E2 03 00 49 25 00 90 00 E2 [15:58:35]RAPDU: 90 00 [15:58:35]wFMCommunicate OK [15:58:35]SAM_PROTO_ClearQueue done [15:58:35]KKMCreateOFDPacket [15:58:35]OFDProtocolAddRootSTLVToBuf [15:58:35]FM_MakeSignedData [15:58:35]FM_MakeSignedData [15:58:35]SAM_PROTO_SignData [15:58:35]wFMCommunicate request_size=4 [15:58:35]MH_SAM_APDU [15:58:35]CAPDU: 80 0D 01 02 [15:58:35]Write to MH i2c: E2 08 00 4A 25 80 0D 01 02 00 00 00 00 E8 [15:58:35]Write i2c OK [15:58:35]MH_I2C_Read... [15:58:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:58:35]Read from MH i2c: E2 [15:58:35]MH_I2C_Read... [15:58:35]Read from MH i2c: E2 03 00 [15:58:35]MH_I2C_Read... [15:58:35]Read from MH i2c: E2 03 00 4A 25 00 90 00 E3 [15:58:35]RAPDU: 90 00 [15:58:35]wFMCommunicate OK [15:58:35]wFMCommunicate request_size=255 [15:58:35]MH_SAM_APDU [15:58:35]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 [15:58:35]Write to MH i2c: E2 02 01 4B 25 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 00 00 93 [15:58:35]Write i2c OK [15:58:35]MH_I2C_Read... [15:58:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:36]Read from MH i2c: E2 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 03 00 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 03 00 4B 25 00 90 00 E4 [15:58:36]RAPDU: 90 00 [15:58:36]wFMCommunicate OK [15:58:36]wFMCommunicate request_size=131 [15:58:36]MH_SAM_APDU [15:58:36]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 30 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 86 00 00 35 04 06 00 85 06 33 9E 93 31 [15:58:36]Write to MH i2c: E2 86 00 4C 25 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 30 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 86 00 00 35 04 06 00 85 06 33 9E 93 31 00 00 B0 [15:58:36]Write i2c OK [15:58:36]MH_I2C_Read... [15:58:36]OFD Sender: No OFD packet to send [15:58:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:36]Read from MH i2c: E2 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 03 00 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 03 00 4C 25 00 90 00 E5 [15:58:36]RAPDU: 90 00 [15:58:36]wFMCommunicate OK [15:58:36]wFMCommunicate request_size=4 [15:58:36]MH_SAM_APDU [15:58:36]CAPDU: 80 0D 03 02 [15:58:36]Write to MH i2c: E2 08 00 4D 25 80 0D 03 02 00 00 00 00 ED [15:58:36]Write i2c OK [15:58:36]MH_I2C_Read... [15:58:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:58:36]Read from MH i2c: E2 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 0B 00 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 0B 00 4D 25 00 CA 1A 6C 98 99 CF 2E 15 90 00 81 [15:58:36]RAPDU: CA 1A 6C 98 99 CF 2E 15 90 00 [15:58:36]wFMCommunicate OK [15:58:36]SAM_PROTO_SignData done [15:58:36]FM_MakeSignedData done [15:58:36]CreateOFDProtocolMessage [15:58:36]wFMCommunicate request_size=4 [15:58:36]MH_SAM_APDU [15:58:36]CAPDU: 80 11 00 00 [15:58:36]Write to MH i2c: E2 08 00 4E 25 80 11 00 00 00 00 00 00 ED [15:58:36]Write i2c OK [15:58:36]MH_I2C_Read... [15:58:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:36]Read from MH i2c: E2 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 17 00 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: E2 17 00 4E 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 42 [15:58:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:58:36]wFMCommunicate OK [15:58:36]CreateOFDProtocolMessage done [15:58:36]OFDSenderStorePacket 34346 [15:58:36]StoreOFDPacket docnum=34346 [15:58:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 88 01 00 00 FF DE 80 01 24 75 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 30 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 86 00 00 35 04 06 00 85 06 33 9E 93 31 CA 1A 6C 98 99 CF 2E 15 [15:58:36]CheckFolder [15:58:36]dirname=/storage/ofd_packets [15:58:36]CheckFolder done [15:58:36]ProducePacketName [15:58:36]name=ofd_packets/00034346 [15:58:36]NVStorageSaveData ofd_packets/00034346 [15:58:36]File name is /storage/ofd_packets/00034346 [15:58:36]Write 422 bytes [15:58:36]NVStorageSaveData done [15:58:36]OFDSenderStorePacket done [15:58:36]KKMCreateOFDPacket done [15:58:36]NVStorageSaveData kkm_last_timestamp [15:58:36]File name is /storage/kkm_last_timestamp [15:58:36]Write 4 bytes [15:58:36]NVStorageSaveData done [15:58:36]ExternCall_PrintAddStr [15:58:36]wPrintStart [15:58:36]Write to MH i2c: 01 00 00 4F 25 74 [15:58:36]Write i2c OK [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: 01 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: 01 07 00 [15:58:36]MH_I2C_Read... [15:58:36]Read from MH i2c: 01 07 00 4F 25 00 00 00 00 00 FF 0F 89 [15:58:36]RasterBufferAndPrint [15:58:36]line Счет N : (3)184120 [15:58:36]line ИНН: 02508201610067 [15:58:36]line Контрольно-Кассовый Чек [15:58:36]line ПРОДАЖА [15:58:36]line Товар: 4700000160181 [15:58:36]line Вода Байтик 1л [15:58:36]line 1.000 * 50.00 [15:58:36]line = 50.00 [15:58:36]line НДС 12% НСП 1% [15:58:36]line > о реализуемом товаре [15:58:36]line Товар: 54491472 [15:58:36]line Напиток Кока-Кола 0,5л [15:58:36]line 1.000 * 75.00 [15:58:36]line = 75.00 [15:58:36]line НДС 12% НСП 1% [15:58:36]line > о реализуемом товаре [15:58:36]line ИТОГО: 125.00 [15:58:36]line НСП 1% : 1.10 [15:58:36]line НДС 12% : 13.27 [15:58:36]line Наличными: 125.00 [15:58:36]line Безнал.: 0.00 [15:58:36]line Место: АЗС № 120 "Партнер Нефть" [15:58:36]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:58:36]line СНО: Общий режим [15:58:36]line Чек 50 19.06.2024 15:58 [15:58:36]line Смена: 324 ФФД: 1.0 [15:58:36]line ЗНМ: 0300000172 [15:58:36]line РНМ: 0000000000092786 [15:58:36]line Версия ККМ: 001 [15:58:36]line ФМ: 0000000000875095 [15:58:36]line ФД: 34346 [15:58:36]line ФПД: 146261682328369 [15:58:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155840&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34346&fm=146261682328369&tin=02508201610067®Number=0000000000092786&sum=12500 [15:58:36]OFD Sender: Processing packet 34346 [packets to send 8, broken 7] [15:58:36]ProducePacketName [15:58:36]name=ofd_packets/00034346 [15:58:36]OFD Sender: To server: pG, [15:58:36]CommunicateWithHost lk.salyk.kg:30040 [15:58:36]ConnectInit lk.salyk.kg [15:58:36]line 0 [15:58:36]written 0, free lines is 4095 [15:58:36]Connected sock=10 [15:58:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 88 01 00 00 FF DE 80 01 24 75 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 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 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 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 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 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 30 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 86 00 00 35 04 06 00 85 06 33 9E 93 31 CA 1A 6C 98 99 CF 2E 15 [15:58:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 73 76 47 00 55 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2A 86 00 00 F4 03 04 00 FD A6 72 66 B6 04 01 00 00 8B DA 75 64 7E 4E 31 75 [15:58:37]CommunicateWithHost err = 0 [15:58:37]CheckOFDResponse [15:58:37]1017 (14) - 77093643461234 [15:58:37]1041 (16) - 0000000000875095 [15:58:37]1040 (4) - 34346 [15:58:37]1012 (4) - 19.06.2024 09:38 [15:58:37]1206 (1) - 0 [15:58:37]OFD Sender: Remove packet 34346 [15:58:37]ProducePacketName [15:58:37]name=ofd_packets/00034346 [15:58:37]NVStorageDeleteData [15:58:37]Write to MH i2c: 01 00 00 7D 25 A2 [15:58:37]Write i2c OK [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: 01 [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: 01 07 00 [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: 01 07 00 7D 25 00 00 00 00 00 A5 0C 5A [15:58:37]RasterBufferAndPrint [15:58:37]line [15:58:37]line [15:58:37]line [15:58:37]line [15:58:37]line [15:58:37]written 0, free lines is 3242 [15:58:37]MH_Cut [15:58:37]Write to MH i2c: D1 01 00 84 25 01 7B [15:58:37]Write i2c OK [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: D1 [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: D1 01 00 [15:58:37]MH_I2C_Read... [15:58:37]Read from MH i2c: D1 01 00 84 25 00 7A [15:58:37]Write to MH i2c: 01 00 00 85 25 AA [15:58:37]Write i2c OK [15:58:37]MH_I2C_Read... [15:58:37]OFD Sender: No OFD packet to send [15:58:37]*** Cut start [15:58:37]*** Partial cut [15:58:37]*** CUTSNS_PIN = 1 [15:58:38]*** CUTSNS_PIN = 0 [15:58:38]*** Brake cut motor [15:58:38]Read from MH i2c: 01 [15:58:38]MH_I2C_Read... [15:58:38]*** Stop cut motor [15:58:38]*** Cut end [15:58:38]Read from MH i2c: 01 07 00 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: 01 07 00 85 25 00 00 00 00 00 FF 0F BF [15:58:38]process_action close_receipt done [15:58:38]requested_data is exist [15:58:38]produce_requested_data [15:58:38]requested_item fm.sn is exist - process it [15:58:38]wFMCommunicate request_size=4 [15:58:38]MH_SAM_APDU [15:58:38]CAPDU: 80 11 00 00 [15:58:38]Write to MH i2c: E2 08 00 86 25 80 11 00 00 00 00 00 00 25 [15:58:38]Write i2c OK [15:58:38]MH_I2C_Read... [15:58:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:38]Read from MH i2c: E2 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 17 00 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 17 00 86 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 7A [15:58:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:58:38]wFMCommunicate OK [15:58:38]requested_item fd.num is exist - process it [15:58:38]SAM_PROTO_GetFieldsCounters [15:58:38]wFMCommunicate request_size=4 [15:58:38]MH_SAM_APDU [15:58:38]CAPDU: 80 13 00 00 [15:58:38]Write to MH i2c: E2 08 00 87 25 80 13 00 00 00 00 00 00 28 [15:58:38]Write i2c OK [15:58:38]MH_I2C_Read... [15:58:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:58:38]Read from MH i2c: E2 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 62 00 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 62 00 87 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2A 86 00 00 0E 04 04 00 44 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 DD [15:58:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2A 86 00 00 0E 04 04 00 44 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 [15:58:38]wFMCommunicate OK [15:58:38]SAM_PROTO_GetFieldsCounters done [15:58:38]requested_item shift.num is exist - process it [15:58:38]requested_item shift.opened is exist - process it [15:58:38]req_shift_opened [15:58:38]FM_GetShiftState [15:58:38]SAM_PROTO_GetShiftState [15:58:38]wFMCommunicate request_size=4 [15:58:38]MH_SAM_APDU [15:58:38]CAPDU: 80 13 01 00 [15:58:38]Write to MH i2c: E2 08 00 88 25 80 13 01 00 00 00 00 00 2A [15:58:38]Write i2c OK [15:58:38]MH_I2C_Read... [15:58:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:38]Read from MH i2c: E2 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 0E 00 [15:58:38]MH_I2C_Read... [15:58:38]Read from MH i2c: E2 0E 00 88 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 00 [15:58:38]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:58:38]wFMCommunicate OK [15:58:38]SAM_PROTO_GetShiftState done [15:58:38]FM_GetShiftState done [15:58:38]req_shift_opened done [15:58:38]requested_item shift.open_date is exist - process it [15:58:38]req_shift_open_date [15:58:38]req_shift_open_date done [15:58:38]produce_requested_data done [15:58:38]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34346,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:58:38]process_action_free close_receipt [15:58:38]json_value_free [15:58:38]json_value_free done [15:58:38]process_json_proto returns [15:58:38]Send response to host [15:58:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34346,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:58:38]free response buf [15:58:38]execute_script done [15:58:38]execute_script returns [15:58:38]free content buf [15:58:38]Sock 7.Close socket [15:58:38]Sock 7.Thread stoped [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]accept exits with 9 [15:58:57]New connection [15:58:57]New thread 3067567460 created [15:58:57]Thread 3067424100 joined [15:58:57]Waiting for new connection... [15:58:57] Sock 9.Parse request [15:58:57]Sock 9.Check first char [15:58:57]Sock 9.First char is OK [15:58:57]request: POST /json_proto HTTP/1.0 [15:58:57]Method: POST [15:58:57]URL: /json_proto [15:58:57]Method is POST - this is cgi request [15:58:57]url: /json_proto [15:58:57]query_string will be loaded in cgi processing [15:58:57]execute_cgi json_proto POST (null) [15:58:57]execute_cgi path=json_proto method=POST [15:58:57]POST find Content-Length [15:58:57]Host: 172.17.38.134:8080 [15:58:57]Content-Length: 677 [15:58:57]Content-Type: application/json [15:58:57] [15:58:57]POST finish read [15:58:57]Found Content-Length = 677 [15:58:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672997", "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.40, "quantity" : 6.030, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:57]execute_script... [15:58:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)672997", "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.40, "quantity" : 6.030, "sum" : 400.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:57]POST & json_proto [15:58:57]process_json_proto [15:58:57]json parsed OK: [15:58:57]protocol is kg_v1.0 [15:58:57]action value=close_receipt [15:58:57]process_action close_receipt [15:58:57]cmd_close_receipt [15:58:57]MH_GetDate [15:58:57]Write to MH i2c: F0 00 00 89 25 9D [15:58:57]Write i2c OK [15:58:57]MH_I2C_Read... [15:58:57]Read from MH i2c: F0 [15:58:57]MH_I2C_Read... [15:58:57]Read from MH i2c: F0 09 00 [15:58:57]MH_I2C_Read... [15:58:57]Read from MH i2c: F0 09 00 89 25 00 47 00 73 66 13 9C 7C 64 55 [15:58:57]GetLastDocTimeStamp 1718812720 [15:58:57]current date 1718812743 [15:58:57]FM_GetShiftState [15:58:57]SAM_PROTO_GetShiftState [15:58:57]wFMCommunicate request_size=4 [15:58:57]MH_SAM_APDU [15:58:57]CAPDU: 80 13 01 00 [15:58:57]Write to MH i2c: E2 08 00 8A 25 80 13 01 00 00 00 00 00 2C [15:58:57]Write i2c OK [15:58:57]MH_I2C_Read... [15:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:57]Read from MH i2c: E2 [15:58:57]MH_I2C_Read... [15:58:57]Read from MH i2c: E2 0E 00 [15:58:57]MH_I2C_Read... [15:58:57]Read from MH i2c: E2 0E 00 8A 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 02 [15:58:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:58:57]wFMCommunicate OK [15:58:57]SAM_PROTO_GetShiftState done [15:58:57]FM_GetShiftState done [15:58:57]opened in 1718756813 [15:58:57]opened+sec_in_day 1718843213 [15:58:57]quantity*price = 40039 [15:58:57]sum+1 = 40040 [15:58:57]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.39 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.52 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 51 19.06.2024 15:59 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34347 ФПД: 66106041105520 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155903&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34347&fm=66106041105520&tin=02508201610067®Number=0000000000092786&sum=40000 [15:58:58]StoreToDocumentArchive [15:58:58]shift 324 fd 34347 [15:58:58]save to /storage/0324/doc_00034347 [15:58:58]save last doc name /storage/0324/doc_00034347 to /storage/kkm_last_doc_name [15:58:58]save OK [15:58:58]Clear old archive folders... [15:58:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:58:58]tlvbuf is 0190DA20 [15:58:58]SAM_PROTO_ClearQueue [15:58:58]wFMCommunicate request_size=4 [15:58:58]MH_SAM_APDU [15:58:58]CAPDU: 80 09 00 00 [15:58:58]Write to MH i2c: E2 08 00 97 25 80 09 00 00 00 00 00 00 2E [15:58:58]Write i2c OK [15:58:58]MH_I2C_Read... [15:58:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:58:58]Read from MH i2c: E2 [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 03 00 [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 03 00 97 25 00 90 00 30 [15:58:58]RAPDU: 90 00 [15:58:58]wFMCommunicate OK [15:58:58]SAM_PROTO_ClearQueue done [15:58:58]KKMCreateOFDPacket [15:58:58]OFDProtocolAddRootSTLVToBuf [15:58:58]FM_MakeSignedData [15:58:58]FM_MakeSignedData [15:58:58]SAM_PROTO_SignData [15:58:58]wFMCommunicate request_size=4 [15:58:58]MH_SAM_APDU [15:58:58]CAPDU: 80 0D 01 02 [15:58:58]Write to MH i2c: E2 08 00 98 25 80 0D 01 02 00 00 00 00 36 [15:58:58]Write i2c OK [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 [15:58:58]MH_I2C_Read... [15:58:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:58:58]Read from MH i2c: E2 03 00 [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 03 00 98 25 00 90 00 31 [15:58:58]RAPDU: 90 00 [15:58:58]wFMCommunicate OK [15:58:58]wFMCommunicate request_size=255 [15:58:58]MH_SAM_APDU [15:58:58]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 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 47 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 86 00 00 35 04 06 00 3C [15:58:58]Write to MH i2c: E2 02 01 99 25 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 47 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 86 00 00 35 04 06 00 3C 00 00 46 [15:58:58]Write i2c OK [15:58:58]MH_I2C_Read... [15:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:58]Read from MH i2c: E2 [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 03 00 [15:58:58]MH_I2C_Read... [15:58:58]Read from MH i2c: E2 03 00 99 25 00 90 00 32 [15:58:58]RAPDU: 90 00 [15:58:58]wFMCommunicate OK [15:58:58]wFMCommunicate request_size=10 [15:58:58]MH_SAM_APDU [15:58:58]CAPDU: 80 0D 02 02 05 1F 83 18 FC 70 [15:58:58]Write to MH i2c: E2 0D 00 9A 25 80 0D 02 02 05 00 1F 83 18 FC 70 00 00 69 [15:58:58]Write i2c OK [15:58:58]MH_I2C_Read... [15:58:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:59]Read from MH i2c: E2 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 03 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 03 00 9A 25 00 90 00 33 [15:58:59]RAPDU: 90 00 [15:58:59]wFMCommunicate OK [15:58:59]wFMCommunicate request_size=4 [15:58:59]MH_SAM_APDU [15:58:59]CAPDU: 80 0D 03 02 [15:58:59]Write to MH i2c: E2 08 00 9B 25 80 0D 03 02 00 00 00 00 3B [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:58:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:58:59]Read from MH i2c: E2 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 0B 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 0B 00 9B 25 00 6D E5 3D 2B 90 82 C6 2B 90 00 F9 [15:58:59]RAPDU: 6D E5 3D 2B 90 82 C6 2B 90 00 [15:58:59]wFMCommunicate OK [15:58:59]SAM_PROTO_SignData done [15:58:59]FM_MakeSignedData done [15:58:59]CreateOFDProtocolMessage [15:58:59]wFMCommunicate request_size=4 [15:58:59]MH_SAM_APDU [15:58:59]CAPDU: 80 11 00 00 [15:58:59]Write to MH i2c: E2 08 00 9C 25 80 11 00 00 00 00 00 00 3B [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:58:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:59]Read from MH i2c: E2 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 17 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: E2 17 00 9C 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 90 [15:58:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:58:59]wFMCommunicate OK [15:58:59]CreateOFDProtocolMessage done [15:58:59]OFDSenderStorePacket 34347 [15:58:59]StoreOFDPacket docnum=34347 [15:58:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 C7 92 07 01 56 7C 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 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 47 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 86 00 00 35 04 06 00 3C 1F 83 18 FC 70 6D E5 3D 2B 90 82 C6 2B [15:58:59]CheckFolder [15:58:59]dirname=/storage/ofd_packets [15:58:59]CheckFolder done [15:58:59]ProducePacketName [15:58:59]name=ofd_packets/00034347 [15:58:59]NVStorageSaveData ofd_packets/00034347 [15:58:59]File name is /storage/ofd_packets/00034347 [15:58:59]Write 301 bytes [15:58:59]NVStorageSaveData done [15:58:59]OFDSenderStorePacket done [15:58:59]KKMCreateOFDPacket done [15:58:59]NVStorageSaveData kkm_last_timestamp [15:58:59]File name is /storage/kkm_last_timestamp [15:58:59]Write 4 bytes [15:58:59]NVStorageSaveData done [15:58:59]ExternCall_PrintAddStr [15:58:59]wPrintStart [15:58:59]Write to MH i2c: 01 00 00 9D 25 C2 [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 07 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 07 00 9D 25 00 00 00 00 00 FF 0F D7 [15:58:59]RasterBufferAndPrint [15:58:59]line Счет N : (1)672997 [15:58:59]line ИНН: 02508201610067 [15:58:59]line Контрольно-Кассовый Чек [15:58:59]line ПРОДАЖА [15:58:59]line ТРК (МРК, ГНК) : 42 [15:58:59]line Товар: 2710124130 [15:58:59]line Аи-92-К-5 [15:58:59]line 6.030 * 66.40 [15:58:59]line = 400.39 [15:58:59]line НДС 12% НСП 1% [15:58:59]line > о реализуемом товаре [15:58:59]line ОКРУГЛЕНИЕ: -0.39 [15:58:59]line ИТОГО: 400.00 [15:58:59]line Внесено: 400.00 [15:58:59]line СДАЧА: 0.00 [15:58:59]line НСП 1% : 3.54 [15:58:59]line НДС 12% : 42.52 [15:58:59]line Наличными: 400.00 [15:58:59]line Безнал.: 0.00 [15:58:59]line Место: АЗС № 120 "Партнер Нефть" [15:58:59]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:58:59]line СНО: Общий режим [15:58:59]line Чек 51 19.06.2024 15:59 [15:58:59]line Смена: 324 ФФД: 1.0 [15:58:59]line ЗНМ: 0300000172 [15:58:59]line РНМ: 0000000000092786 [15:58:59]line Версия ККМ: 001 [15:58:59]line ФМ: 0000000000875095 [15:58:59]line ФД: 34347 [15:58:59]line ФПД: 66106041105520 [15:58:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155903&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34347&fm=66106041105520&tin=02508201610067®Number=0000000000092786&sum=40000 [15:58:59]OFD Sender: Processing packet 34347 [packets to send 8, broken 7] [15:58:59]ProducePacketName [15:58:59]name=ofd_packets/00034347 [15:58:59]OFD Sender: To server: pG, [15:58:59]CommunicateWithHost lk.salyk.kg:30040 [15:58:59]ConnectInit lk.salyk.kg [15:58:59]written 0, free lines is 4095 [15:58:59]Connected sock=10 [15:58:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0F 01 00 00 C7 92 07 01 56 7C 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 8E 17 00 00 00 00 00 37 04 06 00 F0 19 00 00 00 00 13 04 06 00 67 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 47 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2B 86 00 00 35 04 06 00 3C 1F 83 18 FC 70 6D E5 3D 2B 90 82 C6 2B [15:58:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B5 D9 47 00 A7 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 38 37 35 30 39 35 10 04 04 00 2B 86 00 00 F4 03 04 00 13 A7 72 66 B6 04 01 00 00 DB 1C 9F 5E F9 34 5D 52 [15:58:59]CommunicateWithHost err = 0 [15:58:59]CheckOFDResponse [15:58:59]1017 (14) - 77093643461234 [15:58:59]1041 (16) - 0000000000875095 [15:58:59]1040 (4) - 34347 [15:58:59]1012 (4) - 19.06.2024 09:38 [15:58:59]1206 (1) - 0 [15:58:59]OFD Sender: Remove packet 34347 [15:58:59]ProducePacketName [15:58:59]name=ofd_packets/00034347 [15:58:59]NVStorageDeleteData [15:58:59]Write to MH i2c: 01 00 00 C8 25 ED [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 07 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: 01 07 00 C8 25 00 00 00 00 00 DA 0C DA [15:58:59]RasterBufferAndPrint [15:58:59]line [15:58:59]line [15:58:59]line [15:58:59]line [15:58:59]line [15:58:59]written 0, free lines is 3298 [15:58:59]MH_Cut [15:58:59]Write to MH i2c: D1 01 00 CF 25 01 C6 [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: D1 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: D1 01 00 [15:58:59]MH_I2C_Read... [15:58:59]Read from MH i2c: D1 01 00 CF 25 00 C5 [15:58:59]Write to MH i2c: 01 00 00 D0 25 F5 [15:58:59]Write i2c OK [15:58:59]MH_I2C_Read... [15:59:00]OFD Sender: No OFD packet to send [15:59:00]*** Cut start [15:59:00]*** Partial cut [15:59:00]*** CUTSNS_PIN = 1 [15:59:00]*** CUTSNS_PIN = 0 [15:59:00]*** Brake cut motor [15:59:01]Read from MH i2c: 01 [15:59:01]MH_I2C_Read... [15:59:01]*** Stop cut motor [15:59:01]*** Cut end [15:59:01]Read from MH i2c: 01 07 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: 01 07 00 D0 25 00 00 00 00 00 FF 0F 0A [15:59:01]process_action close_receipt done [15:59:01]requested_data is exist [15:59:01]produce_requested_data [15:59:01]requested_item fm.sn is exist - process it [15:59:01]wFMCommunicate request_size=4 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 11 00 00 [15:59:01]Write to MH i2c: E2 08 00 D1 25 80 11 00 00 00 00 00 00 70 [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:01]Read from MH i2c: E2 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 17 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 17 00 D1 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C5 [15:59:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:59:01]wFMCommunicate OK [15:59:01]requested_item fd.num is exist - process it [15:59:01]SAM_PROTO_GetFieldsCounters [15:59:01]wFMCommunicate request_size=4 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 13 00 00 [15:59:01]Write to MH i2c: E2 08 00 D2 25 80 13 00 00 00 00 00 00 73 [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:01]Read from MH i2c: E2 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 62 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 62 00 D2 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2B 86 00 00 0E 04 04 00 44 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 2C [15:59:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2B 86 00 00 0E 04 04 00 44 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 [15:59:01]wFMCommunicate OK [15:59:01]SAM_PROTO_GetFieldsCounters done [15:59:01]requested_item shift.num is exist - process it [15:59:01]requested_item shift.opened is exist - process it [15:59:01]req_shift_opened [15:59:01]FM_GetShiftState [15:59:01]SAM_PROTO_GetShiftState [15:59:01]wFMCommunicate request_size=4 [15:59:01]MH_SAM_APDU [15:59:01]CAPDU: 80 13 01 00 [15:59:01]Write to MH i2c: E2 08 00 D3 25 80 13 01 00 00 00 00 00 75 [15:59:01]Write i2c OK [15:59:01]MH_I2C_Read... [15:59:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:01]Read from MH i2c: E2 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 0E 00 [15:59:01]MH_I2C_Read... [15:59:01]Read from MH i2c: E2 0E 00 D3 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 4B [15:59:01]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:59:01]wFMCommunicate OK [15:59:01]SAM_PROTO_GetShiftState done [15:59:01]FM_GetShiftState done [15:59:01]req_shift_opened done [15:59:01]requested_item shift.open_date is exist - process it [15:59:01]req_shift_open_date [15:59:01]req_shift_open_date done [15:59:01]produce_requested_data done [15:59:01]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34347,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:59:01]process_action_free close_receipt [15:59:01]json_value_free [15:59:01]json_value_free done [15:59:01]process_json_proto returns [15:59:01]Send response to host [15:59:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34347,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:59:01]free response buf [15:59:01]execute_script done [15:59:01]execute_script returns [15:59:01]free content buf [15:59:01]Sock 9.Close socket [15:59:01]Sock 9.Thread stoped [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:43]accept exits with 7 [15:59:43]New connection [15:59:43]New thread 3067424100 created [15:59:43]Thread 3067567460 joined [15:59:43]Waiting for new connection... [15:59:43] Sock 7.Parse request [15:59:43]Sock 7.Check first char [15:59:43]Sock 7.First char is OK [15:59:43]request: POST /json_proto HTTP/1.0 [15:59:43]Method: POST [15:59:43]URL: /json_proto [15:59:43]Method is POST - this is cgi request [15:59:43]url: /json_proto [15:59:43]query_string will be loaded in cgi processing [15:59:43]execute_cgi json_proto POST (null) [15:59:43]execute_cgi path=json_proto method=POST [15:59:43]POST find Content-Length [15:59:43]Host: 172.17.38.134:8080 [15:59:43]Content-Length: 892 [15:59:43]Content-Type: application/json [15:59:43] [15:59:43]POST finish read [15:59:43]Found Content-Length = 892 [15:59:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184121", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:43]execute_script... [15:59:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184121", "tax_sys" : 0, "items" : [ { "code": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:43]POST & json_proto [15:59:43]process_json_proto [15:59:43]json parsed OK: [15:59:43]protocol is kg_v1.0 [15:59:43]action value=close_receipt [15:59:43]process_action close_receipt [15:59:43]cmd_close_receipt [15:59:43]MH_GetDate [15:59:43]Write to MH i2c: F0 00 00 D4 25 E8 [15:59:43]Write i2c OK [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 09 00 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: F0 09 00 D4 25 00 75 00 73 66 13 9C 7C 64 CE [15:59:43]GetLastDocTimeStamp 1718812743 [15:59:43]current date 1718812789 [15:59:43]FM_GetShiftState [15:59:43]SAM_PROTO_GetShiftState [15:59:43]wFMCommunicate request_size=4 [15:59:43]MH_SAM_APDU [15:59:43]CAPDU: 80 13 01 00 [15:59:43]Write to MH i2c: E2 08 00 D5 25 80 13 01 00 00 00 00 00 77 [15:59:43]Write i2c OK [15:59:43]MH_I2C_Read... [15:59:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:43]Read from MH i2c: E2 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: E2 0E 00 [15:59:43]MH_I2C_Read... [15:59:43]Read from MH i2c: E2 0E 00 D5 25 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 4D [15:59:43]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:59:43]wFMCommunicate OK [15:59:43]SAM_PROTO_GetShiftState done [15:59:43]FM_GetShiftState done [15:59:43]opened in 1718756813 [15:59:43]opened+sec_in_day 1718843213 [15:59:43]quantity*price = 10000 [15:59:43]sum+1 = 10001 [15:59:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.72 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 52 19.06.2024 15:59 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34348 ФПД: 99169968723684 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155949&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34348&fm=99169968723684&tin=02508201610067®Number=0000000000092786&sum=19500 0 [15:59:44]StoreToDocumentArchive [15:59:44]shift 324 fd 34348 [15:59:44]save to /storage/0324/doc_00034348 [15:59:44]save last doc name /storage/0324/doc_00034348 to /storage/kkm_last_doc_name [15:59:44]save OK [15:59:44]Clear old archive folders... [15:59:44]ProcessDocumentItem done err = 0, tmpTLVsize=381 [15:59:44]tlvbuf is B6F57A70 [15:59:44]SAM_PROTO_ClearQueue [15:59:44]wFMCommunicate request_size=4 [15:59:44]MH_SAM_APDU [15:59:44]CAPDU: 80 09 00 00 [15:59:44]Write to MH i2c: E2 08 00 E2 25 80 09 00 00 00 00 00 00 79 [15:59:44]Write i2c OK [15:59:44]MH_I2C_Read... [15:59:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:44]Read from MH i2c: E2 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 E2 25 00 90 00 7B [15:59:44]RAPDU: 90 00 [15:59:44]wFMCommunicate OK [15:59:44]SAM_PROTO_ClearQueue done [15:59:44]KKMCreateOFDPacket [15:59:44]OFDProtocolAddRootSTLVToBuf [15:59:44]FM_MakeSignedData [15:59:44]FM_MakeSignedData [15:59:44]SAM_PROTO_SignData [15:59:44]wFMCommunicate request_size=4 [15:59:44]MH_SAM_APDU [15:59:44]CAPDU: 80 0D 01 02 [15:59:44]Write to MH i2c: E2 08 00 E3 25 80 0D 01 02 00 00 00 00 81 [15:59:44]Write i2c OK [15:59:44]MH_I2C_Read... [15:59:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:44]Read from MH i2c: E2 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 E3 25 00 90 00 7C [15:59:44]RAPDU: 90 00 [15:59:44]wFMCommunicate OK [15:59:44]wFMCommunicate request_size=255 [15:59:44]MH_SAM_APDU [15:59:44]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 [15:59:44]Write to MH i2c: E2 02 01 E4 25 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 3B [15:59:44]Write i2c OK [15:59:44]MH_I2C_Read... [15:59:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:44]Read from MH i2c: E2 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 [15:59:44]MH_I2C_Read... [15:59:44]Read from MH i2c: E2 03 00 E4 25 00 90 00 7D [15:59:44]RAPDU: 90 00 [15:59:44]wFMCommunicate OK [15:59:44]wFMCommunicate request_size=140 [15:59:44]MH_SAM_APDU [15:59:44]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 75 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 86 00 00 35 04 06 00 5A 31 CE C2 16 E4 [15:59:44]Write to MH i2c: E2 8F 00 E5 25 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 75 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 86 00 00 35 04 06 00 5A 31 CE C2 16 E4 00 00 ED [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 03 00 E5 25 00 90 00 7E [15:59:45]RAPDU: 90 00 [15:59:45]wFMCommunicate OK [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 0D 03 02 [15:59:45]Write to MH i2c: E2 08 00 E6 25 80 0D 03 02 00 00 00 00 86 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 0B 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 0B 00 E6 25 00 C4 CE 30 16 9E 0C B6 CB 90 00 8A [15:59:45]RAPDU: C4 CE 30 16 9E 0C B6 CB 90 00 [15:59:45]wFMCommunicate OK [15:59:45]SAM_PROTO_SignData done [15:59:45]FM_MakeSignedData done [15:59:45]CreateOFDProtocolMessage [15:59:45]wFMCommunicate request_size=4 [15:59:45]MH_SAM_APDU [15:59:45]CAPDU: 80 11 00 00 [15:59:45]Write to MH i2c: E2 08 00 E7 25 80 11 00 00 00 00 00 00 86 [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:45]Read from MH i2c: E2 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 17 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: E2 17 00 E7 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DB [15:59:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:59:45]wFMCommunicate OK [15:59:45]CreateOFDProtocolMessage done [15:59:45]OFDSenderStorePacket 34348 [15:59:45]StoreOFDPacket docnum=34348 [15:59:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 91 01 00 00 6F CB 89 01 73 99 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 75 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 86 00 00 35 04 06 00 5A 31 CE C2 16 E4 C4 CE 30 16 9E 0C B6 CB [15:59:45]CheckFolder [15:59:45]dirname=/storage/ofd_packets [15:59:45]CheckFolder done [15:59:45]ProducePacketName [15:59:45]name=ofd_packets/00034348 [15:59:45]NVStorageSaveData ofd_packets/00034348 [15:59:45]File name is /storage/ofd_packets/00034348 [15:59:45]Write 431 bytes [15:59:45]NVStorageSaveData done [15:59:45]OFDSenderStorePacket done [15:59:45]KKMCreateOFDPacket done [15:59:45]NVStorageSaveData kkm_last_timestamp [15:59:45]File name is /storage/kkm_last_timestamp [15:59:45]Write 4 bytes [15:59:45]NVStorageSaveData done [15:59:45]ExternCall_PrintAddStr [15:59:45]wPrintStart [15:59:45]Write to MH i2c: 01 00 00 E8 25 0D [15:59:45]Write i2c OK [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 07 00 [15:59:45]MH_I2C_Read... [15:59:45]Read from MH i2c: 01 07 00 E8 25 00 00 00 00 00 FF 0F 22 [15:59:45]RasterBufferAndPrint [15:59:45]line Счет N : (3)184121 [15:59:45]line ИНН: 02508201610067 [15:59:45]line Контрольно-Кассовый Чек [15:59:45]line ПРОДАЖА [15:59:45]line Товар: 4700000160181 [15:59:45]line Вода Байтик 1л [15:59:45]line 2.000 * 50.00 [15:59:45]line = 100.00 [15:59:45]line НДС 12% НСП 1% [15:59:45]line > о реализуемом товаре [15:59:45]line Товар: 2000036190018 [15:59:45]line Кофе Американо XL(GABB TRADE) [15:59:45]line 1.000 * 95.00 [15:59:45]line = 95.00 [15:59:45]line НДС 12% НСП 1% [15:59:45]line > о реализуемом товаре [15:59:45]line ИТОГО: 195.00 [15:59:45]line НСП 1% : 1.72 [15:59:45]line НДС 12% : 20.71 [15:59:45]line Наличными: 195.00 [15:59:45]line Безнал.: 0.00 [15:59:45]line Место: АЗС № 120 "Партнер Нефть" [15:59:45]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [15:59:45]line СНО: Общий режим [15:59:45]line Чек 52 19.06.2024 15:59 [15:59:45]line Смена: 324 ФФД: 1.0 [15:59:45]line ЗНМ: 0300000172 [15:59:45]line РНМ: 0000000000092786 [15:59:45]line Версия ККМ: 001 [15:59:45]line ФМ: 0000000000875095 [15:59:45]line ФД: 34348 [15:59:45]line ФПД: 99169968723684 [15:59:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T155949&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34348&fm=99169968723684&tin=02508201610067®Number=0000000000092786&sum=19500 [15:59:45]line 0 [15:59:45]OFD Sender: Processing packet 34348 [packets to send 8, broken 7] [15:59:45]ProducePacketName [15:59:45]name=ofd_packets/00034348 [15:59:45]OFD Sender: To server: pG, [15:59:45]CommunicateWithHost lk.salyk.kg:30040 [15:59:45]ConnectInit lk.salyk.kg [15:59:45]written 0, free lines is 4095 [15:59:45]Connected sock=10 [15:59:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 91 01 00 00 6F CB 89 01 73 99 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 75 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 86 00 00 35 04 06 00 5A 31 CE C2 16 E4 C4 CE 30 16 9E 0C B6 CB [15:59:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 8C 8F 47 00 BD 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2C 86 00 00 F4 03 04 00 42 A7 72 66 B6 04 01 00 00 58 48 59 C4 2A 1F 25 C3 [15:59:46]CommunicateWithHost err = 0 [15:59:46]CheckOFDResponse [15:59:46]1017 (14) - 77093643461234 [15:59:46]1041 (16) - 0000000000875095 [15:59:46]1040 (4) - 34348 [15:59:46]1012 (4) - 19.06.2024 09:39 [15:59:46]1206 (1) - 0 [15:59:46]OFD Sender: Remove packet 34348 [15:59:46]ProducePacketName [15:59:46]name=ofd_packets/00034348 [15:59:46]NVStorageDeleteData [15:59:46]Write to MH i2c: 01 00 00 17 26 3D [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 07 00 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: 01 07 00 17 26 00 00 00 00 00 9B 0C EB [15:59:46]RasterBufferAndPrint [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]line [15:59:46]written 0, free lines is 3236 [15:59:46]MH_Cut [15:59:46]Write to MH i2c: D1 01 00 1E 26 01 16 [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 01 00 [15:59:46]MH_I2C_Read... [15:59:46]Read from MH i2c: D1 01 00 1E 26 00 15 [15:59:46]Write to MH i2c: 01 00 00 1F 26 45 [15:59:46]Write i2c OK [15:59:46]MH_I2C_Read... [15:59:46]OFD Sender: No OFD packet to send [15:59:46]*** Cut start [15:59:46]*** Partial cut [15:59:46]*** CUTSNS_PIN = 1 [15:59:46]*** CUTSNS_PIN = 0 [15:59:47]*** Brake cut motor [15:59:47]Read from MH i2c: 01 [15:59:47]MH_I2C_Read... [15:59:47]*** Stop cut motor [15:59:47]*** Cut end [15:59:47]Read from MH i2c: 01 07 00 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: 01 07 00 1F 26 00 00 00 00 00 FF 0F 5A [15:59:47]process_action close_receipt done [15:59:47]requested_data is exist [15:59:47]produce_requested_data [15:59:47]requested_item fm.sn is exist - process it [15:59:47]wFMCommunicate request_size=4 [15:59:47]MH_SAM_APDU [15:59:47]CAPDU: 80 11 00 00 [15:59:47]Write to MH i2c: E2 08 00 20 26 80 11 00 00 00 00 00 00 C0 [15:59:47]Write i2c OK [15:59:47]MH_I2C_Read... [15:59:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:47]Read from MH i2c: E2 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 17 00 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 17 00 20 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 15 [15:59:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [15:59:47]wFMCommunicate OK [15:59:47]requested_item fd.num is exist - process it [15:59:47]SAM_PROTO_GetFieldsCounters [15:59:47]wFMCommunicate request_size=4 [15:59:47]MH_SAM_APDU [15:59:47]CAPDU: 80 13 00 00 [15:59:47]Write to MH i2c: E2 08 00 21 26 80 13 00 00 00 00 00 00 C3 [15:59:47]Write i2c OK [15:59:47]MH_I2C_Read... [15:59:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:47]Read from MH i2c: E2 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 62 00 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 62 00 21 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2C 86 00 00 0E 04 04 00 44 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 80 [15:59:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2C 86 00 00 0E 04 04 00 44 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 [15:59:47]wFMCommunicate OK [15:59:47]SAM_PROTO_GetFieldsCounters done [15:59:47]requested_item shift.num is exist - process it [15:59:47]requested_item shift.opened is exist - process it [15:59:47]req_shift_opened [15:59:47]FM_GetShiftState [15:59:47]SAM_PROTO_GetShiftState [15:59:47]wFMCommunicate request_size=4 [15:59:47]MH_SAM_APDU [15:59:47]CAPDU: 80 13 01 00 [15:59:47]Write to MH i2c: E2 08 00 22 26 80 13 01 00 00 00 00 00 C5 [15:59:47]Write i2c OK [15:59:47]MH_I2C_Read... [15:59:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:47]Read from MH i2c: E2 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 0E 00 [15:59:47]MH_I2C_Read... [15:59:47]Read from MH i2c: E2 0E 00 22 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 9B [15:59:47]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [15:59:47]wFMCommunicate OK [15:59:47]SAM_PROTO_GetShiftState done [15:59:47]FM_GetShiftState done [15:59:47]req_shift_opened done [15:59:47]requested_item shift.open_date is exist - process it [15:59:47]req_shift_open_date [15:59:47]req_shift_open_date done [15:59:47]produce_requested_data done [15:59:47]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34348,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [15:59:47]process_action_free close_receipt [15:59:47]json_value_free [15:59:47]json_value_free done [15:59:47]process_json_proto returns [15:59:47]Send response to host [15:59:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34348,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [15:59:47]free response buf [15:59:47]execute_script done [15:59:47]execute_script returns [15:59:47]free content buf [15:59:47]Sock 7.Close socket [15:59:47]Sock 7.Thread stoped [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:02]accept exits with 9 [16:00:02]New connection [16:00:02]New thread 3067567460 created [16:00:02]Thread 3067424100 joined [16:00:02]Waiting for new connection... [16:00:02] Sock 9.Parse request [16:00:02]Sock 9.Check first char [16:00:02]Sock 9.First char is OK [16:00:02]request: POST /json_proto HTTP/1.0 [16:00:02]Method: POST [16:00:02]URL: /json_proto [16:00:02]Method is POST - this is cgi request [16:00:02]url: /json_proto [16:00:02]query_string will be loaded in cgi processing [16:00:02]execute_cgi json_proto POST (null) [16:00:02]execute_cgi path=json_proto method=POST [16:00:02]POST find Content-Length [16:00:02]Host: 172.17.38.134:8080 [16:00:02]Content-Length: 646 [16:00:02]Content-Type: application/json [16:00:02] [16:00:02]POST finish read [16:00:02]Found Content-Length = 646 [16:00:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184122", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:02]execute_script... [16:00:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184122", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:02]POST & json_proto [16:00:02]process_json_proto [16:00:02]json parsed OK: [16:00:02]protocol is kg_v1.0 [16:00:02]action value=close_receipt [16:00:02]process_action close_receipt [16:00:02]cmd_close_receipt [16:00:02]MH_GetDate [16:00:02]Write to MH i2c: F0 00 00 23 26 38 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: F0 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: F0 09 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: F0 09 00 23 26 00 88 00 73 66 13 9C 7C 64 31 [16:00:02]GetLastDocTimeStamp 1718812789 [16:00:02]current date 1718812808 [16:00:02]FM_GetShiftState [16:00:02]SAM_PROTO_GetShiftState [16:00:02]wFMCommunicate request_size=4 [16:00:02]MH_SAM_APDU [16:00:02]CAPDU: 80 13 01 00 [16:00:02]Write to MH i2c: E2 08 00 24 26 80 13 01 00 00 00 00 00 C7 [16:00:02]Write i2c OK [16:00:02]MH_I2C_Read... [16:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:02]Read from MH i2c: E2 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 0E 00 [16:00:02]MH_I2C_Read... [16:00:02]Read from MH i2c: E2 0E 00 24 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 9D [16:00:02]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:00:02]wFMCommunicate OK [16:00:02]SAM_PROTO_GetShiftState done [16:00:02]FM_GetShiftState done [16:00:02]opened in 1718756813 [16:00:02]opened+sec_in_day 1718843213 [16:00:02]quantity*price = 12500 [16:00:02]sum+1 = 12501 [16:00:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 53 19.06.2024 16:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34349 ФПД: 156925445874810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34349&fm=156925445874810&tin=02508201610067®Number=0000000000092786&sum=12500 0 [16:00:03]StoreToDocumentArchive [16:00:03]shift 324 fd 34349 [16:00:03]save to /storage/0324/doc_00034349 [16:00:03]save last doc name /storage/0324/doc_00034349 to /storage/kkm_last_doc_name [16:00:03]save OK [16:00:03]Clear old archive folders... [16:00:03]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:00:03]tlvbuf is 018E9420 [16:00:03]SAM_PROTO_ClearQueue [16:00:03]wFMCommunicate request_size=4 [16:00:03]MH_SAM_APDU [16:00:03]CAPDU: 80 09 00 00 [16:00:03]Write to MH i2c: E2 08 00 31 26 80 09 00 00 00 00 00 00 C9 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:03]Read from MH i2c: E2 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 31 26 00 90 00 CB [16:00:03]RAPDU: 90 00 [16:00:03]wFMCommunicate OK [16:00:03]SAM_PROTO_ClearQueue done [16:00:03]KKMCreateOFDPacket [16:00:03]OFDProtocolAddRootSTLVToBuf [16:00:03]FM_MakeSignedData [16:00:03]FM_MakeSignedData [16:00:03]SAM_PROTO_SignData [16:00:03]wFMCommunicate request_size=4 [16:00:03]MH_SAM_APDU [16:00:03]CAPDU: 80 0D 01 02 [16:00:03]Write to MH i2c: E2 08 00 32 26 80 0D 01 02 00 00 00 00 D1 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:03]Read from MH i2c: E2 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 32 26 00 90 00 CC [16:00:03]RAPDU: 90 00 [16:00:03]wFMCommunicate OK [16:00:03]wFMCommunicate request_size=255 [16:00:03]MH_SAM_APDU [16:00:03]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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 88 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 [16:00:03]Write to MH i2c: E2 02 01 33 26 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 88 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 00 00 B1 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:03]Read from MH i2c: E2 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 33 26 00 90 00 CD [16:00:03]RAPDU: 90 00 [16:00:03]wFMCommunicate OK [16:00:03]wFMCommunicate request_size=41 [16:00:03]MH_SAM_APDU [16:00:03]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 86 00 00 35 04 06 00 8E B9 0D 75 24 7A [16:00:03]Write to MH i2c: E2 2C 00 34 26 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 86 00 00 35 04 06 00 8E B9 0D 75 24 7A 00 00 BF [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:03]Read from MH i2c: E2 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 03 00 34 26 00 90 00 CE [16:00:03]RAPDU: 90 00 [16:00:03]wFMCommunicate OK [16:00:03]wFMCommunicate request_size=4 [16:00:03]MH_SAM_APDU [16:00:03]CAPDU: 80 0D 03 02 [16:00:03]Write to MH i2c: E2 08 00 35 26 80 0D 03 02 00 00 00 00 D6 [16:00:03]Write i2c OK [16:00:03]MH_I2C_Read... [16:00:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:03]Read from MH i2c: E2 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 0B 00 [16:00:03]MH_I2C_Read... [16:00:03]Read from MH i2c: E2 0B 00 35 26 00 56 1A 7F 97 99 D5 F6 2E 90 00 EF [16:00:04]RAPDU: 56 1A 7F 97 99 D5 F6 2E 90 00 [16:00:04]wFMCommunicate OK [16:00:04]SAM_PROTO_SignData done [16:00:04]FM_MakeSignedData done [16:00:04]CreateOFDProtocolMessage [16:00:04]wFMCommunicate request_size=4 [16:00:04]MH_SAM_APDU [16:00:04]CAPDU: 80 11 00 00 [16:00:04]Write to MH i2c: E2 08 00 36 26 80 11 00 00 00 00 00 00 D6 [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:04]Read from MH i2c: E2 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: E2 17 00 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: E2 17 00 36 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 2B [16:00:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:04]wFMCommunicate OK [16:00:04]CreateOFDProtocolMessage done [16:00:04]OFDSenderStorePacket 34349 [16:00:04]StoreOFDPacket docnum=34349 [16:00:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 30 D8 26 01 B2 58 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 88 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 86 00 00 35 04 06 00 8E B9 0D 75 24 7A 56 1A 7F 97 99 D5 F6 2E [16:00:04]CheckFolder [16:00:04]dirname=/storage/ofd_packets [16:00:04]CheckFolder done [16:00:04]ProducePacketName [16:00:04]name=ofd_packets/00034349 [16:00:04]NVStorageSaveData ofd_packets/00034349 [16:00:04]File name is /storage/ofd_packets/00034349 [16:00:04]Write 332 bytes [16:00:04]NVStorageSaveData done [16:00:04]OFDSenderStorePacket done [16:00:04]KKMCreateOFDPacket done [16:00:04]NVStorageSaveData kkm_last_timestamp [16:00:04]File name is /storage/kkm_last_timestamp [16:00:04]Write 4 bytes [16:00:04]NVStorageSaveData done [16:00:04]ExternCall_PrintAddStr [16:00:04]wPrintStart [16:00:04]Write to MH i2c: 01 00 00 37 26 5D [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 07 00 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 07 00 37 26 00 00 00 00 00 FF 0F 72 [16:00:04]RasterBufferAndPrint [16:00:04]line Счет N : (3)184122 [16:00:04]line ИНН: 02508201610067 [16:00:04]line Контрольно-Кассовый Чек [16:00:04]line ПРОДАЖА [16:00:04]line Товар: 2000036220012 [16:00:04]line Кофе Капучино XL(GABB TRADE) [16:00:04]line 1.000 * 125.00 [16:00:04]line = 125.00 [16:00:04]line НДС 12% НСП 1% [16:00:04]line > о реализуемом товаре [16:00:04]line ИТОГО: 125.00 [16:00:04]line НСП 1% : 1.11 [16:00:04]line НДС 12% : 13.27 [16:00:04]line Наличными: 125.00 [16:00:04]line Безнал.: 0.00 [16:00:04]line Место: АЗС № 120 "Партнер Нефть" [16:00:04]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:00:04]line СНО: Общий режим [16:00:04]line Чек 53 19.06.2024 16:00 [16:00:04]line Смена: 324 ФФД: 1.0 [16:00:04]line ЗНМ: 0300000172 [16:00:04]line РНМ: 0000000000092786 [16:00:04]line Версия ККМ: 001 [16:00:04]line ФМ: 0000000000875095 [16:00:04]line ФД: 34349 [16:00:04]line ФПД: 156925445874810 [16:00:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160008&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34349&fm=156925445874810&tin=02508201610067®Number=0000000000092786&sum=12500 [16:00:04]line 0 [16:00:04]OFD Sender: Processing packet 34349 [packets to send 8, broken 7] [16:00:04]ProducePacketName [16:00:04]name=ofd_packets/00034349 [16:00:04]OFD Sender: To server: pG, [16:00:04]CommunicateWithHost lk.salyk.kg:30040 [16:00:04]ConnectInit lk.salyk.kg [16:00:04]written 0, free lines is 4095 [16:00:04]Connected sock=10 [16:00:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 30 D8 26 01 B2 58 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 88 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 86 00 00 35 04 06 00 8E B9 0D 75 24 7A 56 1A 7F 97 99 D5 F6 2E [16:00:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 81 9F 47 00 0E BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2D 86 00 00 F4 03 04 00 54 A7 72 66 B6 04 01 00 00 52 0D 82 60 79 F1 87 49 [16:00:04]CommunicateWithHost err = 0 [16:00:04]CheckOFDResponse [16:00:04]1017 (14) - 77093643461234 [16:00:04]1041 (16) - 0000000000875095 [16:00:04]1040 (4) - 34349 [16:00:04]1012 (4) - 19.06.2024 09:39 [16:00:04]1206 (1) - 0 [16:00:04]OFD Sender: Remove packet 34349 [16:00:04]ProducePacketName [16:00:04]name=ofd_packets/00034349 [16:00:04]NVStorageDeleteData [16:00:04]Write to MH i2c: 01 00 00 60 26 86 [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 07 00 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: 01 07 00 60 26 00 00 00 00 00 F2 0C 8B [16:00:04]RasterBufferAndPrint [16:00:04]line [16:00:04]line [16:00:04]line [16:00:04]line [16:00:04]line [16:00:04]written 0, free lines is 3320 [16:00:04]MH_Cut [16:00:04]Write to MH i2c: D1 01 00 67 26 01 5F [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: D1 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: D1 01 00 [16:00:04]MH_I2C_Read... [16:00:04]Read from MH i2c: D1 01 00 67 26 00 5E [16:00:04]Write to MH i2c: 01 00 00 68 26 8E [16:00:04]Write i2c OK [16:00:04]MH_I2C_Read... [16:00:05]OFD Sender: No OFD packet to send [16:00:05]*** Cut start [16:00:05]*** Partial cut [16:00:05]*** CUTSNS_PIN = 1 [16:00:05]*** CUTSNS_PIN = 0 [16:00:05]*** Brake cut motor [16:00:06]Read from MH i2c: 01 [16:00:06]MH_I2C_Read... [16:00:06]*** Stop cut motor [16:00:06]*** Cut end [16:00:06]Read from MH i2c: 01 07 00 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: 01 07 00 68 26 00 00 00 00 00 FF 0F A3 [16:00:06]process_action close_receipt done [16:00:06]requested_data is exist [16:00:06]produce_requested_data [16:00:06]requested_item fm.sn is exist - process it [16:00:06]wFMCommunicate request_size=4 [16:00:06]MH_SAM_APDU [16:00:06]CAPDU: 80 11 00 00 [16:00:06]Write to MH i2c: E2 08 00 69 26 80 11 00 00 00 00 00 00 09 [16:00:06]Write i2c OK [16:00:06]MH_I2C_Read... [16:00:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:06]Read from MH i2c: E2 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 17 00 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 17 00 69 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5E [16:00:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:06]wFMCommunicate OK [16:00:06]requested_item fd.num is exist - process it [16:00:06]SAM_PROTO_GetFieldsCounters [16:00:06]wFMCommunicate request_size=4 [16:00:06]MH_SAM_APDU [16:00:06]CAPDU: 80 13 00 00 [16:00:06]Write to MH i2c: E2 08 00 6A 26 80 13 00 00 00 00 00 00 0C [16:00:06]Write i2c OK [16:00:06]MH_I2C_Read... [16:00:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:06]Read from MH i2c: E2 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 62 00 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 62 00 6A 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2D 86 00 00 0E 04 04 00 44 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 CD [16:00:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2D 86 00 00 0E 04 04 00 44 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 [16:00:06]wFMCommunicate OK [16:00:06]SAM_PROTO_GetFieldsCounters done [16:00:06]requested_item shift.num is exist - process it [16:00:06]requested_item shift.opened is exist - process it [16:00:06]req_shift_opened [16:00:06]FM_GetShiftState [16:00:06]SAM_PROTO_GetShiftState [16:00:06]wFMCommunicate request_size=4 [16:00:06]MH_SAM_APDU [16:00:06]CAPDU: 80 13 01 00 [16:00:06]Write to MH i2c: E2 08 00 6B 26 80 13 01 00 00 00 00 00 0E [16:00:06]Write i2c OK [16:00:06]MH_I2C_Read... [16:00:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:06]Read from MH i2c: E2 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 0E 00 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: E2 0E 00 6B 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 E4 [16:00:06]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:00:06]wFMCommunicate OK [16:00:06]SAM_PROTO_GetShiftState done [16:00:06]FM_GetShiftState done [16:00:06]req_shift_opened done [16:00:06]requested_item shift.open_date is exist - process it [16:00:06]req_shift_open_date [16:00:06]req_shift_open_date done [16:00:06]produce_requested_data done [16:00:06]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34349,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:00:06]process_action_free close_receipt [16:00:06]json_value_free [16:00:06]json_value_free done [16:00:06]process_json_proto returns [16:00:06]Send response to host [16:00:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34349,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:00:06]free response buf [16:00:06]execute_script done [16:00:06]execute_script returns [16:00:06]free content buf [16:00:06]Sock 9.Close socket [16:00:06]Sock 9.Thread stoped [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:53]accept exits with 7 [16:00:53]New connection [16:00:53]New thread 3067424100 created [16:00:53]Thread 3067567460 joined [16:00:53]Waiting for new connection... [16:00:53] Sock 7.Parse request [16:00:53]Sock 7.Check first char [16:00:53]Sock 7.First char is OK [16:00:53]request: POST /json_proto HTTP/1.0 [16:00:53]Method: POST [16:00:53]URL: /json_proto [16:00:53]Method is POST - this is cgi request [16:00:53]url: /json_proto [16:00:53]query_string will be loaded in cgi processing [16:00:53]execute_cgi json_proto POST (null) [16:00:53]execute_cgi path=json_proto method=POST [16:00:53]POST find Content-Length [16:00:53]Host: 172.17.38.134:8080 [16:00:53]Content-Length: 683 [16:00:53]Content-Type: application/json [16:00:53] [16:00:53]POST finish read [16:00:53]Found Content-Length = 683 [16:00:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184123", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:53]execute_script... [16:00:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184123", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:53]POST & json_proto [16:00:53]process_json_proto [16:00:53]json parsed OK: [16:00:53]protocol is kg_v1.0 [16:00:53]action value=close_receipt [16:00:53]process_action close_receipt [16:00:53]cmd_close_receipt [16:00:53]MH_GetDate [16:00:53]Write to MH i2c: F0 00 00 6C 26 81 [16:00:53]Write i2c OK [16:00:53]MH_I2C_Read... [16:00:53]Read from MH i2c: F0 [16:00:53]MH_I2C_Read... [16:00:53]Read from MH i2c: F0 09 00 [16:00:53]MH_I2C_Read... [16:00:53]Read from MH i2c: F0 09 00 6C 26 00 BB 00 73 66 13 9C 7C 64 AD [16:00:53]GetLastDocTimeStamp 1718812808 [16:00:53]current date 1718812859 [16:00:53]FM_GetShiftState [16:00:53]SAM_PROTO_GetShiftState [16:00:53]wFMCommunicate request_size=4 [16:00:53]MH_SAM_APDU [16:00:53]CAPDU: 80 13 01 00 [16:00:53]Write to MH i2c: E2 08 00 6D 26 80 13 01 00 00 00 00 00 10 [16:00:53]Write i2c OK [16:00:53]MH_I2C_Read... [16:00:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:53]Read from MH i2c: E2 [16:00:53]MH_I2C_Read... [16:00:53]Read from MH i2c: E2 0E 00 [16:00:53]MH_I2C_Read... [16:00:53]Read from MH i2c: E2 0E 00 6D 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 E6 [16:00:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:00:53]wFMCommunicate OK [16:00:53]SAM_PROTO_GetShiftState done [16:00:53]FM_GetShiftState done [16:00:53]opened in 1718756813 [16:00:53]opened+sec_in_day 1718843213 [16:00:53]quantity*price = 10000 [16:00:53]sum+1 = 10001 [16:00:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 54 19.06.2024 16:00 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34350 ФПД: 38974885421641 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160059&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34350&fm=38974885421641&tin=02508201610067®Number=0000000000092786&sum=10000 0 [16:00:54]StoreToDocumentArchive [16:00:54]shift 324 fd 34350 [16:00:54]save to /storage/0324/doc_00034350 [16:00:54]save last doc name /storage/0324/doc_00034350 to /storage/kkm_last_doc_name [16:00:54]save OK [16:00:54]Clear old archive folders... [16:00:54]ProcessDocumentItem done err = 0, tmpTLVsize=291 [16:00:54]tlvbuf is 01905730 [16:00:54]SAM_PROTO_ClearQueue [16:00:54]wFMCommunicate request_size=4 [16:00:54]MH_SAM_APDU [16:00:54]CAPDU: 80 09 00 00 [16:00:54]Write to MH i2c: E2 08 00 7A 26 80 09 00 00 00 00 00 00 12 [16:00:54]Write i2c OK [16:00:54]MH_I2C_Read... [16:00:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:54]Read from MH i2c: E2 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 7A 26 00 90 00 14 [16:00:54]RAPDU: 90 00 [16:00:54]wFMCommunicate OK [16:00:54]SAM_PROTO_ClearQueue done [16:00:54]KKMCreateOFDPacket [16:00:54]OFDProtocolAddRootSTLVToBuf [16:00:54]FM_MakeSignedData [16:00:54]FM_MakeSignedData [16:00:54]SAM_PROTO_SignData [16:00:54]wFMCommunicate request_size=4 [16:00:54]MH_SAM_APDU [16:00:54]CAPDU: 80 0D 01 02 [16:00:54]Write to MH i2c: E2 08 00 7B 26 80 0D 01 02 00 00 00 00 1A [16:00:54]Write i2c OK [16:00:54]MH_I2C_Read... [16:00:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:54]Read from MH i2c: E2 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 7B 26 00 90 00 15 [16:00:54]RAPDU: 90 00 [16:00:54]wFMCommunicate OK [16:00:54]wFMCommunicate request_size=255 [16:00:54]MH_SAM_APDU [16:00:54]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 BB 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [16:00:54]Write to MH i2c: E2 02 01 7C 26 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 BB 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 4D [16:00:54]Write i2c OK [16:00:54]MH_I2C_Read... [16:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:54]Read from MH i2c: E2 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 [16:00:54]MH_I2C_Read... [16:00:54]Read from MH i2c: E2 03 00 7C 26 00 90 00 16 [16:00:54]RAPDU: 90 00 [16:00:54]wFMCommunicate OK [16:00:54]wFMCommunicate request_size=50 [16:00:54]MH_SAM_APDU [16:00:54]CAPDU: 80 0D 02 02 2D 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 86 00 00 35 04 06 00 23 72 8C 33 62 49 [16:00:54]Write to MH i2c: E2 35 00 7D 26 80 0D 02 02 2D 00 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 86 00 00 35 04 06 00 23 72 8C 33 62 49 00 00 38 [16:00:54]Write i2c OK [16:00:54]MH_I2C_Read... [16:00:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:55]Read from MH i2c: E2 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 03 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 03 00 7D 26 00 90 00 17 [16:00:55]RAPDU: 90 00 [16:00:55]wFMCommunicate OK [16:00:55]wFMCommunicate request_size=4 [16:00:55]MH_SAM_APDU [16:00:55]CAPDU: 80 0D 03 02 [16:00:55]Write to MH i2c: E2 08 00 7E 26 80 0D 03 02 00 00 00 00 1F [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:55]Read from MH i2c: E2 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 0B 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 0B 00 7E 26 00 86 1C 5A 9F 1A 24 CF 42 90 00 0A [16:00:55]RAPDU: 86 1C 5A 9F 1A 24 CF 42 90 00 [16:00:55]wFMCommunicate OK [16:00:55]SAM_PROTO_SignData done [16:00:55]FM_MakeSignedData done [16:00:55]CreateOFDProtocolMessage [16:00:55]wFMCommunicate request_size=4 [16:00:55]MH_SAM_APDU [16:00:55]CAPDU: 80 11 00 00 [16:00:55]Write to MH i2c: E2 08 00 7F 26 80 11 00 00 00 00 00 00 1F [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:55]Read from MH i2c: E2 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 17 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: E2 17 00 7F 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 74 [16:00:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:55]wFMCommunicate OK [16:00:55]CreateOFDProtocolMessage done [16:00:55]OFDSenderStorePacket 34350 [16:00:55]StoreOFDPacket docnum=34350 [16:00:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 37 01 00 00 EE 91 2F 01 AA 01 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 BB 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 86 00 00 35 04 06 00 23 72 8C 33 62 49 86 1C 5A 9F 1A 24 CF 42 [16:00:55]CheckFolder [16:00:55]dirname=/storage/ofd_packets [16:00:55]CheckFolder done [16:00:55]ProducePacketName [16:00:55]name=ofd_packets/00034350 [16:00:55]NVStorageSaveData ofd_packets/00034350 [16:00:55]File name is /storage/ofd_packets/00034350 [16:00:55]Write 341 bytes [16:00:55]NVStorageSaveData done [16:00:55]OFDSenderStorePacket done [16:00:55]KKMCreateOFDPacket done [16:00:55]NVStorageSaveData kkm_last_timestamp [16:00:55]File name is /storage/kkm_last_timestamp [16:00:55]Write 4 bytes [16:00:55]OFD Sender: Processing packet 34350 [packets to send 8, broken 7] [16:00:55]ProducePacketName [16:00:55]name=ofd_packets/00034350 [16:00:55]OFD Sender: To server: pG, [16:00:55]CommunicateWithHost lk.salyk.kg:30040 [16:00:55]ConnectInit lk.salyk.kg [16:00:55]NVStorageSaveData done [16:00:55]ExternCall_PrintAddStr [16:00:55]wPrintStart [16:00:55]Write to MH i2c: 01 00 00 80 26 A6 [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 07 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 07 00 80 26 00 00 00 00 00 FF 0F BB [16:00:55]RasterBufferAndPrint [16:00:55]line Счет N : (3)184123 [16:00:55]line ИНН: 02508201610067 [16:00:55]line Контрольно-Кассовый Чек [16:00:55]line ПРОДАЖА [16:00:55]line Товар: 4870002328398 [16:00:55]line Вода ASU пит н.газ мята ПЭТ 1л [16:00:55]line 1.000 * 100.00 [16:00:55]line = 100.00 [16:00:55]line НДС 12% НСП 1% [16:00:55]line > о реализуемом товаре [16:00:55]line ИТОГО: 100.00 [16:00:55]line НСП 1% : 0.88 [16:00:55]line НДС 12% : 10.62 [16:00:55]line Наличными: 100.00 [16:00:55]line Безнал.: 0.00 [16:00:55]line Место: АЗС № 120 "Партнер Нефть" [16:00:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:00:55]line СНО: Общий режим [16:00:55]line Чек 54 19.06.2024 16:00 [16:00:55]line Смена: 324 ФФД: 1.0 [16:00:55]line ЗНМ: 0300000172 [16:00:55]line РНМ: 0000000000092786 [16:00:55]line Версия ККМ: 001 [16:00:55]line ФМ: 0000000000875095 [16:00:55]line ФД: 34350 [16:00:55]line ФПД: 38974885421641 [16:00:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160059&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34350&fm=38974885421641&tin=02508201610067®Number=0000000000092786&sum=10000 [16:00:55]line 0 [16:00:55]Connected sock=11 [16:00:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 37 01 00 00 EE 91 2F 01 AA 01 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 BB 00 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2E 86 00 00 35 04 06 00 23 72 8C 33 62 49 86 1C 5A 9F 1A 24 CF 42 [16:00:55]written 0, free lines is 4095 [16:00:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F2 02 47 00 8F 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 38 37 35 30 39 35 10 04 04 00 2E 86 00 00 F4 03 04 00 87 A7 72 66 B6 04 01 00 00 02 8A 8A 60 A3 EE EF 5C [16:00:55]CommunicateWithHost err = 0 [16:00:55]CheckOFDResponse [16:00:55]1017 (14) - 77093643461234 [16:00:55]1041 (16) - 0000000000875095 [16:00:55]1040 (4) - 34350 [16:00:55]1012 (4) - 19.06.2024 09:40 [16:00:55]1206 (1) - 0 [16:00:55]OFD Sender: Remove packet 34350 [16:00:55]ProducePacketName [16:00:55]name=ofd_packets/00034350 [16:00:55]NVStorageDeleteData [16:00:55]Write to MH i2c: 01 00 00 A9 26 CF [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 07 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: 01 07 00 A9 26 00 00 00 00 00 F2 0C D4 [16:00:55]RasterBufferAndPrint [16:00:55]line [16:00:55]line [16:00:55]line [16:00:55]line [16:00:55]line [16:00:55]written 0, free lines is 3324 [16:00:55]MH_Cut [16:00:55]Write to MH i2c: D1 01 00 B0 26 01 A8 [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: D1 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: D1 01 00 [16:00:55]MH_I2C_Read... [16:00:55]Read from MH i2c: D1 01 00 B0 26 00 A7 [16:00:55]Write to MH i2c: 01 00 00 B1 26 D7 [16:00:55]Write i2c OK [16:00:55]MH_I2C_Read... [16:00:56]OFD Sender: No OFD packet to send [16:00:56]*** Cut start [16:00:56]*** Partial cut [16:00:56]*** CUTSNS_PIN = 1 [16:00:56]*** CUTSNS_PIN = 0 [16:00:56]*** Brake cut motor [16:00:57]Read from MH i2c: 01 [16:00:57]MH_I2C_Read... [16:00:57]*** Stop cut motor [16:00:57]*** Cut end [16:00:57]Read from MH i2c: 01 07 00 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: 01 07 00 B1 26 00 00 00 00 00 FF 0F EC [16:00:57]process_action close_receipt done [16:00:57]requested_data is exist [16:00:57]produce_requested_data [16:00:57]requested_item fm.sn is exist - process it [16:00:57]wFMCommunicate request_size=4 [16:00:57]MH_SAM_APDU [16:00:57]CAPDU: 80 11 00 00 [16:00:57]Write to MH i2c: E2 08 00 B2 26 80 11 00 00 00 00 00 00 52 [16:00:57]Write i2c OK [16:00:57]MH_I2C_Read... [16:00:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:57]Read from MH i2c: E2 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 17 00 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 17 00 B2 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A7 [16:00:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:00:57]wFMCommunicate OK [16:00:57]requested_item fd.num is exist - process it [16:00:57]SAM_PROTO_GetFieldsCounters [16:00:57]wFMCommunicate request_size=4 [16:00:57]MH_SAM_APDU [16:00:57]CAPDU: 80 13 00 00 [16:00:57]Write to MH i2c: E2 08 00 B3 26 80 13 00 00 00 00 00 00 55 [16:00:57]Write i2c OK [16:00:57]MH_I2C_Read... [16:00:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:57]Read from MH i2c: E2 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 62 00 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 62 00 B3 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2E 86 00 00 0E 04 04 00 44 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 1A [16:00:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2E 86 00 00 0E 04 04 00 44 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 [16:00:57]wFMCommunicate OK [16:00:57]SAM_PROTO_GetFieldsCounters done [16:00:57]requested_item shift.num is exist - process it [16:00:57]requested_item shift.opened is exist - process it [16:00:57]req_shift_opened [16:00:57]FM_GetShiftState [16:00:57]SAM_PROTO_GetShiftState [16:00:57]wFMCommunicate request_size=4 [16:00:57]MH_SAM_APDU [16:00:57]CAPDU: 80 13 01 00 [16:00:57]Write to MH i2c: E2 08 00 B4 26 80 13 01 00 00 00 00 00 57 [16:00:57]Write i2c OK [16:00:57]MH_I2C_Read... [16:00:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:57]Read from MH i2c: E2 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 0E 00 [16:00:57]MH_I2C_Read... [16:00:57]Read from MH i2c: E2 0E 00 B4 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 2D [16:00:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:00:57]wFMCommunicate OK [16:00:57]SAM_PROTO_GetShiftState done [16:00:57]FM_GetShiftState done [16:00:57]req_shift_opened done [16:00:57]requested_item shift.open_date is exist - process it [16:00:57]req_shift_open_date [16:00:57]req_shift_open_date done [16:00:57]produce_requested_data done [16:00:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34350,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:00:57]process_action_free close_receipt [16:00:57]json_value_free [16:00:57]json_value_free done [16:00:57]process_json_proto returns [16:00:57]Send response to host [16:00:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34350,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:00:57]free response buf [16:00:57]execute_script done [16:00:57]execute_script returns [16:00:57]free content buf [16:00:57]Sock 7.Close socket [16:00:57]Sock 7.Thread stoped [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:55]accept exits with 9 [16:02:55]New connection [16:02:55]New thread 3067567460 created [16:02:55]Thread 3067424100 joined [16:02:55]Waiting for new connection... [16:02:55] Sock 9.Parse request [16:02:55]Sock 9.Check first char [16:02:55]Sock 9.First char is OK [16:02:55]request: POST /json_proto HTTP/1.0 [16:02:55]Method: POST [16:02:55]URL: /json_proto [16:02:55]Method is POST - this is cgi request [16:02:55]url: /json_proto [16:02:55]query_string will be loaded in cgi processing [16:02:55]execute_cgi json_proto POST (null) [16:02:55]execute_cgi path=json_proto method=POST [16:02:55]POST find Content-Length [16:02:55]Host: 172.17.38.134:8080 [16:02:55]Content-Length: 649 [16:02:55]Content-Type: application/json [16:02:55] [16:02:55]POST finish read [16:02:55]Found Content-Length = 649 [16:02:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184124", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "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" ] } } [16:02:55]execute_script... [16:02: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)184124", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "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" ] } } [16:02:55]POST & json_proto [16:02:55]process_json_proto [16:02:55]json parsed OK: [16:02:55]protocol is kg_v1.0 [16:02:55]action value=close_receipt [16:02:55]process_action close_receipt [16:02:55]cmd_close_receipt [16:02:55]MH_GetDate [16:02:55]Write to MH i2c: F0 00 00 B5 26 CA [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 09 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: F0 09 00 B5 26 00 35 01 73 66 13 9C 7C 64 71 [16:02:55]GetLastDocTimeStamp 1718812859 [16:02:55]current date 1718812981 [16:02:55]FM_GetShiftState [16:02:55]SAM_PROTO_GetShiftState [16:02:55]wFMCommunicate request_size=4 [16:02:55]MH_SAM_APDU [16:02:55]CAPDU: 80 13 01 00 [16:02:55]Write to MH i2c: E2 08 00 B6 26 80 13 01 00 00 00 00 00 59 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0E 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0E 00 B6 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 2F [16:02:55]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:02:55]wFMCommunicate OK [16:02:55]SAM_PROTO_GetShiftState done [16:02:55]FM_GetShiftState done [16:02:55]opened in 1718756813 [16:02:55]opened+sec_in_day 1718843213 [16:02:55]quantity*price = 9500 [16:02:55]sum+1 = 9501 [16:02:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 55 19.06.2024 16:03 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34351 ФПД: 175180100714601 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160301&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34351&fm=175180100714601&tin=02508201610067®Number=0000000000092786&sum=9500 0 [16:02:56]StoreToDocumentArchive [16:02:56]shift 324 fd 34351 [16:02:56]save to /storage/0324/doc_00034351 [16:02:56]save last doc name /storage/0324/doc_00034351 to /storage/kkm_last_doc_name [16:02:56]save OK [16:02:56]Clear old archive folders... [16:02:56]ProcessDocumentItem done err = 0, tmpTLVsize=284 [16:02:56]tlvbuf is 0199BC90 [16:02:56]SAM_PROTO_ClearQueue [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 09 00 00 [16:02:56]Write to MH i2c: E2 08 00 C3 26 80 09 00 00 00 00 00 00 5B [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 C3 26 00 90 00 5D [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]SAM_PROTO_ClearQueue done [16:02:56]KKMCreateOFDPacket [16:02:56]OFDProtocolAddRootSTLVToBuf [16:02:56]FM_MakeSignedData [16:02:56]FM_MakeSignedData [16:02:56]SAM_PROTO_SignData [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 01 02 [16:02:56]Write to MH i2c: E2 08 00 C4 26 80 0D 01 02 00 00 00 00 63 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 C4 26 00 90 00 5E [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=255 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 37 00 00 00 F4 03 04 00 35 01 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [16:02:56]Write to MH i2c: E2 02 01 C5 26 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 37 00 00 00 F4 03 04 00 35 01 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 30 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 C5 26 00 90 00 5F [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=43 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 86 00 00 35 04 06 00 9F 53 4B AC C0 69 [16:02:56]Write to MH i2c: E2 2E 00 C6 26 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 86 00 00 35 04 06 00 9F 53 4B AC C0 69 00 00 17 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:56]Read from MH i2c: E2 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: E2 03 00 C6 26 00 90 00 60 [16:02:56]RAPDU: 90 00 [16:02:56]wFMCommunicate OK [16:02:56]wFMCommunicate request_size=4 [16:02:56]MH_SAM_APDU [16:02:56]CAPDU: 80 0D 03 02 [16:02:56]Write to MH i2c: E2 08 00 C7 26 80 0D 03 02 00 00 00 00 68 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 0B 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 0B 00 C7 26 00 68 E0 CB B4 42 56 2C 9C 90 00 90 [16:02:57]RAPDU: 68 E0 CB B4 42 56 2C 9C 90 00 [16:02:57]wFMCommunicate OK [16:02:57]SAM_PROTO_SignData done [16:02:57]FM_MakeSignedData done [16:02:57]CreateOFDProtocolMessage [16:02:57]wFMCommunicate request_size=4 [16:02:57]MH_SAM_APDU [16:02:57]CAPDU: 80 11 00 00 [16:02:57]Write to MH i2c: E2 08 00 C8 26 80 11 00 00 00 00 00 00 68 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 C8 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BD [16:02:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:02:57]wFMCommunicate OK [16:02:57]CreateOFDProtocolMessage done [16:02:57]OFDSenderStorePacket 34351 [16:02:57]StoreOFDPacket docnum=34351 [16:02:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 1C 23 28 01 6A 2C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 37 00 00 00 F4 03 04 00 35 01 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 86 00 00 35 04 06 00 9F 53 4B AC C0 69 68 E0 CB B4 42 56 2C 9C [16:02:57]CheckFolder [16:02:57]dirname=/storage/ofd_packets [16:02:57]CheckFolder done [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00034351 [16:02:57]NVStorageSaveData ofd_packets/00034351 [16:02:57]File name is /storage/ofd_packets/00034351 [16:02:57]Write 334 bytes [16:02:57]NVStorageSaveData done [16:02:57]OFDSenderStorePacket done [16:02:57]KKMCreateOFDPacket done [16:02:57]NVStorageSaveData kkm_last_timestamp [16:02:57]File name is /storage/kkm_last_timestamp [16:02:57]Write 4 bytes [16:02:57]NVStorageSaveData done [16:02:57]ExternCall_PrintAddStr [16:02:57]wPrintStart [16:02:57]Write to MH i2c: 01 00 00 C9 26 EF [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 C9 26 00 00 00 00 00 FF 0F 04 [16:02:57]RasterBufferAndPrint [16:02:57]line Счет N : (3)184124 [16:02:57]line ИНН: 02508201610067 [16:02:57]line Контрольно-Кассовый Чек [16:02:57]line ПРОДАЖА [16:02:57]line Товар: 2000036190018 [16:02:57]line Кофе Американо XL(GABB TRADE) [16:02:57]line 1.000 * 95.00 [16:02:57]line = 95.00 [16:02:57]line НДС 12% НСП 1% [16:02:57]line > о реализуемом товаре [16:02:57]line ИТОГО: 95.00 [16:02:57]line НСП 1% : 0.84 [16:02:57]line НДС 12% : 10.09 [16:02:57]line Наличными: 95.00 [16:02:57]line Безнал.: 0.00 [16:02:57]line Место: АЗС № 120 "Партнер Нефть" [16:02:57]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:02:57]line СНО: Общий режим [16:02:57]line Чек 55 19.06.2024 16:03 [16:02:57]line Смена: 324 ФФД: 1.0 [16:02:57]line ЗНМ: 0300000172 [16:02:57]line РНМ: 0000000000092786 [16:02:57]line Версия ККМ: 001 [16:02:57]line ФМ: 0000000000875095 [16:02:57]line ФД: 34351 [16:02:57]line ФПД: 175180100714601 [16:02:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T160301&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34351&fm=175180100714601&tin=02508201610067®Number=0000000000092786&sum=9500 [16:02:57]line 0 [16:02:57]OFD Sender: Processing packet 34351 [packets to send 8, broken 7] [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00034351 [16:02:57]OFD Sender: To server: pG, [16:02:57]CommunicateWithHost lk.salyk.kg:30040 [16:02:57]ConnectInit lk.salyk.kg [16:02:57]written 0, free lines is 4095 [16:02:57]Connected sock=10 [16:02:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 1C 23 28 01 6A 2C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 37 00 00 00 F4 03 04 00 35 01 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 86 00 00 35 04 06 00 9F 53 4B AC C0 69 68 E0 CB B4 42 56 2C 9C [16:02:57]Write to MH i2c: 01 00 00 F2 26 18 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 F2 26 00 00 00 00 00 FB 0C 26 [16:02:57]RasterBufferAndPrint [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]line [16:02:57]written 0, free lines is 3329 [16:02:57]MH_Cut [16:02:57]Write to MH i2c: D1 01 00 F9 26 01 F1 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 01 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: D1 01 00 F9 26 00 F0 [16:02:57]Write to MH i2c: 01 00 00 FA 26 20 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 6A 3F 47 00 6B B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 2F 86 00 00 F4 03 04 00 02 A8 72 66 B6 04 01 00 00 22 C5 F4 C1 50 A7 FF E6 [16:02:57]CommunicateWithHost err = 0 [16:02:57]CheckOFDResponse [16:02:57]1017 (14) - 77093643461234 [16:02:57]1041 (16) - 0000000000875095 [16:02:57]1040 (4) - 34351 [16:02:57]1012 (4) - 19.06.2024 09:42 [16:02:57]1206 (1) - 0 [16:02:57]OFD Sender: Remove packet 34351 [16:02:57]ProducePacketName [16:02:57]name=ofd_packets/00034351 [16:02:57]NVStorageDeleteData [16:02:58]OFD Sender: No OFD packet to send [16:02:58]*** Cut start [16:02:58]*** Partial cut [16:02:58]*** CUTSNS_PIN = 1 [16:02:58]*** CUTSNS_PIN = 0 [16:02:58]*** Brake cut motor [16:02:59]Read from MH i2c: 01 [16:02:59]MH_I2C_Read... [16:02:59]*** Stop cut motor [16:02:59]*** Cut end [16:02:59]Read from MH i2c: 01 07 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: 01 07 00 FA 26 00 00 00 00 00 FF 0F 35 [16:02:59]process_action close_receipt done [16:02:59]requested_data is exist [16:02:59]produce_requested_data [16:02:59]requested_item fm.sn is exist - process it [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 11 00 00 [16:02:59]Write to MH i2c: E2 08 00 FB 26 80 11 00 00 00 00 00 00 9B [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 17 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 17 00 FB 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F0 [16:02:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:02:59]wFMCommunicate OK [16:02:59]requested_item fd.num is exist - process it [16:02:59]SAM_PROTO_GetFieldsCounters [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 13 00 00 [16:02:59]Write to MH i2c: E2 08 00 FC 26 80 13 00 00 00 00 00 00 9E [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 62 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 62 00 FC 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2F 86 00 00 0E 04 04 00 44 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 67 [16:02:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 2F 86 00 00 0E 04 04 00 44 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 [16:02:59]wFMCommunicate OK [16:02:59]SAM_PROTO_GetFieldsCounters done [16:02:59]requested_item shift.num is exist - process it [16:02:59]requested_item shift.opened is exist - process it [16:02:59]req_shift_opened [16:02:59]FM_GetShiftState [16:02:59]SAM_PROTO_GetShiftState [16:02:59]wFMCommunicate request_size=4 [16:02:59]MH_SAM_APDU [16:02:59]CAPDU: 80 13 01 00 [16:02:59]Write to MH i2c: E2 08 00 FD 26 80 13 01 00 00 00 00 00 A0 [16:02:59]Write i2c OK [16:02:59]MH_I2C_Read... [16:02:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:59]Read from MH i2c: E2 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 0E 00 [16:02:59]MH_I2C_Read... [16:02:59]Read from MH i2c: E2 0E 00 FD 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 76 [16:02:59]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:02:59]wFMCommunicate OK [16:02:59]SAM_PROTO_GetShiftState done [16:02:59]FM_GetShiftState done [16:02:59]req_shift_opened done [16:02:59]requested_item shift.open_date is exist - process it [16:02:59]req_shift_open_date [16:02:59]req_shift_open_date done [16:02:59]produce_requested_data done [16:02:59]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34351,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:02:59]process_action_free close_receipt [16:02:59]json_value_free [16:02:59]json_value_free done [16:02:59]process_json_proto returns [16:02:59]Send response to host [16:02:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34351,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:02:59]free response buf [16:02:59]execute_script done [16:02:59]execute_script returns [16:02:59]free content buf [16:02:59]Sock 9.Close socket [16:02:59]Sock 9.Thread stoped [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:31]accept exits with 7 [16:10:31]New connection [16:10:31]New thread 3067424100 created [16:10:31]Thread 3067567460 joined [16:10:31]Waiting for new connection... [16:10:31] Sock 7.Parse request [16:10:31]Sock 7.Check first char [16:10:31]Sock 7.First char is OK [16:10:31]request: POST /json_proto HTTP/1.0 [16:10:31]Method: POST [16:10:31]URL: /json_proto [16:10:31]Method is POST - this is cgi request [16:10:31]url: /json_proto [16:10:31]query_string will be loaded in cgi processing [16:10:31]execute_cgi json_proto POST (null) [16:10:31]execute_cgi path=json_proto method=POST [16:10:31]POST find Content-Length [16:10:31]Host: 172.17.38.134:8080 [16:10:31]Content-Length: 1460 [16:10:31]Content-Type: application/json [16:10:31] [16:10:31]POST finish read [16:10:31]Found Content-Length = 1460 [16:10:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184125", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 341.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:10:31]execute_script... [16:10: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)184125", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 341.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:10:31]POST & json_proto [16:10:31]process_json_proto [16:10:31]json parsed OK: [16:10:31]protocol is kg_v1.0 [16:10:31]action value=close_receipt [16:10:31]process_action close_receipt [16:10:31]cmd_close_receipt [16:10:31]MH_GetDate [16:10:31]Write to MH i2c: F0 00 00 FE 26 13 [16:10:31]Write i2c OK [16:10:31]MH_I2C_Read... [16:10:31]Read from MH i2c: F0 [16:10:31]MH_I2C_Read... [16:10:31]Read from MH i2c: F0 09 00 [16:10:31]MH_I2C_Read... [16:10:31]Read from MH i2c: F0 09 00 FE 26 00 FD 02 73 66 13 9C 7C 64 83 [16:10:31]GetLastDocTimeStamp 1718812981 [16:10:31]current date 1718813437 [16:10:31]FM_GetShiftState [16:10:31]SAM_PROTO_GetShiftState [16:10:31]wFMCommunicate request_size=4 [16:10:31]MH_SAM_APDU [16:10:31]CAPDU: 80 13 01 00 [16:10:31]Write to MH i2c: E2 08 00 FF 26 80 13 01 00 00 00 00 00 A2 [16:10:31]Write i2c OK [16:10:31]MH_I2C_Read... [16:10:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:31]Read from MH i2c: E2 [16:10:31]MH_I2C_Read... [16:10:31]Read from MH i2c: E2 0E 00 [16:10:31]MH_I2C_Read... [16:10:31]Read from MH i2c: E2 0E 00 FF 26 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 78 [16:10:31]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:10:31]wFMCommunicate OK [16:10:31]SAM_PROTO_GetShiftState done [16:10:31]FM_GetShiftState done [16:10:31]opened in 1718756813 [16:10:31]opened+sec_in_day 1718843213 [16:10:31]quantity*price = 12000 [16:10:31]sum+1 = 12001 [16:10:31]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 3.000 * 7.00 = 21.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 341.00 НСП 1% : 3.02 НДС 12% : 36.21 Наличными: 341.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 56 19.06.2024 16:10 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34352 ФПД: 44781674451641 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161037&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34352&fm=44781674451641&tin=02508201610067®Number=0000000000092786&sum=34100 0 [16:10:32]StoreToDocumentArchive [16:10:32]shift 324 fd 34352 [16:10:32]save to /storage/0324/doc_00034352 [16:10:32]save last doc name /storage/0324/doc_00034352 to /storage/kkm_last_doc_name [16:10:32]save OK [16:10:32]Clear old archive folders... [16:10:32]ProcessDocumentItem done err = 0, tmpTLVsize=611 [16:10:32]tlvbuf is B6E3E6A0 [16:10:32]SAM_PROTO_ClearQueue [16:10:32]wFMCommunicate request_size=4 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 09 00 00 [16:10:32]Write to MH i2c: E2 08 00 0C 27 80 09 00 00 00 00 00 00 A5 [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:10:32]Read from MH i2c: E2 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 0C 27 00 90 00 A7 [16:10:32]RAPDU: 90 00 [16:10:32]wFMCommunicate OK [16:10:32]SAM_PROTO_ClearQueue done [16:10:32]KKMCreateOFDPacket [16:10:32]OFDProtocolAddRootSTLVToBuf [16:10:32]FM_MakeSignedData [16:10:32]FM_MakeSignedData [16:10:32]SAM_PROTO_SignData [16:10:32]wFMCommunicate request_size=4 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 0D 01 02 [16:10:32]Write to MH i2c: E2 08 00 0D 27 80 0D 01 02 00 00 00 00 AD [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:10:32]Read from MH i2c: E2 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 0D 27 00 90 00 A8 [16:10:32]RAPDU: 90 00 [16:10:32]wFMCommunicate OK [16:10:32]wFMCommunicate request_size=255 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 0D 02 02 FA 03 00 63 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 [16:10:32]Write to MH i2c: E2 02 01 0E 27 80 0D 02 02 FA 00 03 00 63 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 00 00 0B [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:10:32]Read from MH i2c: E2 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 [16:10:32]MH_I2C_Read... [16:10:32]Read from MH i2c: E2 03 00 0E 27 00 90 00 A9 [16:10:32]RAPDU: 90 00 [16:10:32]wFMCommunicate OK [16:10:32]wFMCommunicate request_size=255 [16:10:32]MH_SAM_APDU [16:10:32]CAPDU: 80 0D 02 02 FA 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 0E 00 00 [16:10:32]Write to MH i2c: E2 02 01 0F 27 80 0D 02 02 FA 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 0E 00 00 00 00 E2 [16:10:32]Write i2c OK [16:10:32]MH_I2C_Read... [16:10:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:10:33]Read from MH i2c: E2 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 03 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 03 00 0F 27 00 90 00 AA [16:10:33]RAPDU: 90 00 [16:10:33]wFMCommunicate OK [16:10:33]wFMCommunicate request_size=120 [16:10:33]MH_SAM_APDU [16:10:33]CAPDU: 80 0D 02 02 73 00 00 07 04 06 00 34 85 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 FD 02 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 86 00 00 35 04 06 00 28 BA 8B CC 52 B9 [16:10:33]Write to MH i2c: E2 7B 00 10 27 80 0D 02 02 73 00 00 00 07 04 06 00 34 85 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 FD 02 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 86 00 00 35 04 06 00 28 BA 8B CC 52 B9 00 00 E2 [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:10:33]Read from MH i2c: E2 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 03 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 03 00 10 27 00 90 00 AB [16:10:33]RAPDU: 90 00 [16:10:33]wFMCommunicate OK [16:10:33]wFMCommunicate request_size=4 [16:10:33]MH_SAM_APDU [16:10:33]CAPDU: 80 0D 03 02 [16:10:33]Write to MH i2c: E2 08 00 11 27 80 0D 03 02 00 00 00 00 B3 [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:10:33]Read from MH i2c: E2 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 0B 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 0B 00 11 27 00 91 A1 97 30 9C FA 73 7F 90 00 35 [16:10:33]RAPDU: 91 A1 97 30 9C FA 73 7F 90 00 [16:10:33]wFMCommunicate OK [16:10:33]SAM_PROTO_SignData done [16:10:33]FM_MakeSignedData done [16:10:33]CreateOFDProtocolMessage [16:10:33]wFMCommunicate request_size=4 [16:10:33]MH_SAM_APDU [16:10:33]CAPDU: 80 11 00 00 [16:10:33]Write to MH i2c: E2 08 00 12 27 80 11 00 00 00 00 00 00 B3 [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:10:33]Read from MH i2c: E2 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 17 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: E2 17 00 12 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 08 [16:10:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:10:33]wFMCommunicate OK [16:10:33]CreateOFDProtocolMessage done [16:10:33]OFDSenderStorePacket 34352 [16:10:33]StoreOFDPacket docnum=34352 [16:10:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 77 02 00 00 B1 63 6F 02 83 C6 5A 03 01 00 03 00 63 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 0E 00 00 00 00 07 04 06 00 34 85 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 FD 02 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 86 00 00 35 04 06 00 28 BA 8B CC 52 B9 91 A1 97 30 9C FA 73 7F [16:10:33]CheckFolder [16:10:33]dirname=/storage/ofd_packets [16:10:33]CheckFolder done [16:10:33]ProducePacketName [16:10:33]name=ofd_packets/00034352 [16:10:33]NVStorageSaveData ofd_packets/00034352 [16:10:33]File name is /storage/ofd_packets/00034352 [16:10:33]Write 661 bytes [16:10:33]NVStorageSaveData done [16:10:33]OFDSenderStorePacket done [16:10:33]KKMCreateOFDPacket done [16:10:33]NVStorageSaveData kkm_last_timestamp [16:10:33]File name is /storage/kkm_last_timestamp [16:10:33]Write 4 bytes [16:10:33]NVStorageSaveData done [16:10:33]ExternCall_PrintAddStr [16:10:33]wPrintStart [16:10:33]Write to MH i2c: 01 00 00 13 27 3A [16:10:33]Write i2c OK [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: 01 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: 01 07 00 [16:10:33]MH_I2C_Read... [16:10:33]Read from MH i2c: 01 07 00 13 27 00 00 00 00 00 FF 0F 4F [16:10:33]RasterBufferAndPrint [16:10:33]line Счет N : (3)184125 [16:10:33]line ИНН: 02508201610067 [16:10:33]line Контрольно-Кассовый Чек [16:10:33]line ПРОДАЖА [16:10:33]line Товар: 5449000189318 [16:10:33]line Холодный чай Fuse лимон 1л [16:10:33]line 1.000 * 120.00 [16:10:33]line = 120.00 [16:10:33]line НДС 12% НСП 1% [16:10:33]line > о реализуемом товаре [16:10:33]line Товар: 4700000310043 [16:10:33]line Вода Жалалабат 27 1л [16:10:33]line 1.000 * 60.00 [16:10:33]line = 60.00 [16:10:33]line НДС 12% НСП 1% [16:10:33]line > о реализуемом товаре [16:10:33]line Товар: 48743570 [16:10:33]line Сигареты Winston XStyle Blue [16:10:33]line 1.000 * 140.00 [16:10:33]line = 140.00 [16:10:33]line НДС 12% НСП 1% [16:10:33]line > о реализуемом товаре [16:10:33]line Товар: 2000053020015 [16:10:33]line Бумажные стаканы 250мл 1шт [16:10:33]line 3.000 * 7.00 [16:10:33]line = 21.00 [16:10:33]line НДС 12% НСП 1% [16:10:33]line > о реализуемом товаре [16:10:33]line ИТОГО: 341.00 [16:10:33]line НСП 1% : 3.02 [16:10:33]line НДС 12% : 36.21 [16:10:33]line Наличными: 341.00 [16:10:33]line Безнал.: 0.00 [16:10:33]line Место: АЗС № 120 "Партнер Нефть" [16:10:33]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:10:33]line СНО: Общий режим [16:10:33]line Чек 56 19.06.2024 16:10 [16:10:33]line Смена: 324 ФФД: 1.0 [16:10:33]line ЗНМ: 0300000172 [16:10:33]line РНМ: 0000000000092786 [16:10:33]line Версия ККМ: 001 [16:10:33]line ФМ: 0000000000875095 [16:10:33]line ФД: 34352 [16:10:33]line ФПД: 44781674451641 [16:10:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161037&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34352&fm=44781674451641&tin=02508201610067®Number=0000000000092786&sum=34100 [16:10:33]line 0 [16:10:33]OFD Sender: Processing packet 34352 [packets to send 8, broken 7] [16:10:33]ProducePacketName [16:10:33]name=ofd_packets/00034352 [16:10:33]OFD Sender: To server: pG, [16:10:33]CommunicateWithHost lk.salyk.kg:30040 [16:10:33]ConnectInit lk.salyk.kg [16:10:33]written 0, free lines is 4095 [16:10:33]Connected sock=10 [16:10:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 77 02 00 00 B1 63 6F 02 83 C6 5A 03 01 00 03 00 63 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 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 BB D0 B8 D0 BC D0 BE D0 BD 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 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 85 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 0E 00 00 00 00 07 04 06 00 34 85 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 FD 02 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 86 00 00 35 04 06 00 28 BA 8B CC 52 B9 91 A1 97 30 9C FA 73 7F [16:10:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 12 66 47 00 8C 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 30 86 00 00 F4 03 04 00 CA A9 72 66 B6 04 01 00 00 03 84 65 3C E9 54 A0 E9 [16:10:34]CommunicateWithHost err = 0 [16:10:34]CheckOFDResponse [16:10:34]1017 (14) - 77093643461234 [16:10:34]1041 (16) - 0000000000875095 [16:10:34]1040 (4) - 34352 [16:10:34]1012 (4) - 19.06.2024 09:50 [16:10:34]1206 (1) - 0 [16:10:34]OFD Sender: Remove packet 34352 [16:10:34]ProducePacketName [16:10:34]name=ofd_packets/00034352 [16:10:34]NVStorageDeleteData [16:10:34]Write to MH i2c: 01 00 00 4E 27 75 [16:10:34]Write i2c OK [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: 01 [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: 01 07 00 [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: 01 07 00 4E 27 00 00 00 00 00 D3 0B 5A [16:10:34]RasterBufferAndPrint [16:10:34]line [16:10:34]line [16:10:34]line [16:10:34]line [16:10:34]line [16:10:34]written 0, free lines is 3035 [16:10:34]MH_Cut [16:10:34]Write to MH i2c: D1 01 00 55 27 01 4E [16:10:34]Write i2c OK [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: D1 [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: D1 01 00 [16:10:34]MH_I2C_Read... [16:10:34]Read from MH i2c: D1 01 00 55 27 00 4D [16:10:34]Write to MH i2c: 01 00 00 56 27 7D [16:10:34]Write i2c OK [16:10:34]MH_I2C_Read... [16:10:34]OFD Sender: No OFD packet to send [16:10:35]*** Cut start [16:10:35]*** Partial cut [16:10:35]*** CUTSNS_PIN = 1 [16:10:35]*** CUTSNS_PIN = 0 [16:10:35]*** Brake cut motor [16:10:35]Read from MH i2c: 01 [16:10:35]MH_I2C_Read... [16:10:35]*** Stop cut motor [16:10:35]*** Cut end [16:10:35]Read from MH i2c: 01 07 00 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: 01 07 00 56 27 00 00 00 00 00 FF 0F 92 [16:10:35]process_action close_receipt done [16:10:35]requested_data is exist [16:10:35]produce_requested_data [16:10:35]requested_item fm.sn is exist - process it [16:10:35]wFMCommunicate request_size=4 [16:10:35]MH_SAM_APDU [16:10:35]CAPDU: 80 11 00 00 [16:10:35]Write to MH i2c: E2 08 00 57 27 80 11 00 00 00 00 00 00 F8 [16:10:35]Write i2c OK [16:10:35]MH_I2C_Read... [16:10:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:10:35]Read from MH i2c: E2 [16:10:35]MH_I2C_Read... [16:10:35]Read from MH i2c: E2 17 00 [16:10:35]MH_I2C_Read... [16:10:36]Read from MH i2c: E2 17 00 57 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4D [16:10:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:10:36]wFMCommunicate OK [16:10:36]requested_item fd.num is exist - process it [16:10:36]SAM_PROTO_GetFieldsCounters [16:10:36]wFMCommunicate request_size=4 [16:10:36]MH_SAM_APDU [16:10:36]CAPDU: 80 13 00 00 [16:10:36]Write to MH i2c: E2 08 00 58 27 80 13 00 00 00 00 00 00 FB [16:10:36]Write i2c OK [16:10:36]MH_I2C_Read... [16:10:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:10:36]Read from MH i2c: E2 [16:10:36]MH_I2C_Read... [16:10:36]Read from MH i2c: E2 62 00 [16:10:36]MH_I2C_Read... [16:10:36]Read from MH i2c: E2 62 00 58 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 30 86 00 00 0E 04 04 00 44 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 C8 [16:10:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 30 86 00 00 0E 04 04 00 44 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 [16:10:36]wFMCommunicate OK [16:10:36]SAM_PROTO_GetFieldsCounters done [16:10:36]requested_item shift.num is exist - process it [16:10:36]requested_item shift.opened is exist - process it [16:10:36]req_shift_opened [16:10:36]FM_GetShiftState [16:10:36]SAM_PROTO_GetShiftState [16:10:36]wFMCommunicate request_size=4 [16:10:36]MH_SAM_APDU [16:10:36]CAPDU: 80 13 01 00 [16:10:36]Write to MH i2c: E2 08 00 59 27 80 13 01 00 00 00 00 00 FD [16:10:36]Write i2c OK [16:10:36]MH_I2C_Read... [16:10:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:10:36]Read from MH i2c: E2 [16:10:36]MH_I2C_Read... [16:10:36]Read from MH i2c: E2 0E 00 [16:10:36]MH_I2C_Read... [16:10:36]Read from MH i2c: E2 0E 00 59 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D3 [16:10:36]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:10:36]wFMCommunicate OK [16:10:36]SAM_PROTO_GetShiftState done [16:10:36]FM_GetShiftState done [16:10:36]req_shift_opened done [16:10:36]requested_item shift.open_date is exist - process it [16:10:36]req_shift_open_date [16:10:36]req_shift_open_date done [16:10:36]produce_requested_data done [16:10:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34352,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:10:36]process_action_free close_receipt [16:10:36]json_value_free [16:10:36]json_value_free done [16:10:36]process_json_proto returns [16:10:36]Send response to host [16:10:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34352,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:10:36]free response buf [16:10:36]execute_script done [16:10:36]execute_script returns [16:10:36]free content buf [16:10:36]Sock 7.Close socket [16:10:36]Sock 7.Thread stoped [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:09]OFD Sender: No OFD packet to send [16:12:14]OFD Sender: No OFD packet to send [16:12:19]OFD Sender: No OFD packet to send [16:12:24]OFD Sender: No OFD packet to send [16:12:29]OFD Sender: No OFD packet to send [16:12:30]accept exits with 9 [16:12:30]New connection [16:12:30]New thread 3067567460 created [16:12:30]Thread 3067424100 joined [16:12:30]Waiting for new connection... [16:12:30] Sock 9.Parse request [16:12:30]Sock 9.Check first char [16:12:30]Sock 9.First char is OK [16:12:30]request: POST /json_proto HTTP/1.0 [16:12:30]Method: POST [16:12:30]URL: /json_proto [16:12:30]Method is POST - this is cgi request [16:12:30]url: /json_proto [16:12:30]query_string will be loaded in cgi processing [16:12:30]execute_cgi json_proto POST (null) [16:12:30]execute_cgi path=json_proto method=POST [16:12:30]POST find Content-Length [16:12:30]Host: 172.17.38.134:8080 [16:12:30]Content-Length: 630 [16:12:30]Content-Type: application/json [16:12:30] [16:12:30]POST finish read [16:12:30]Found Content-Length = 630 [16:12:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184126", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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" ] } } [16:12:30]execute_script... [16:12: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)184126", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\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" ] } } [16:12:30]POST & json_proto [16:12:30]process_json_proto [16:12:30]json parsed OK: [16:12:30]protocol is kg_v1.0 [16:12:30]action value=close_receipt [16:12:30]process_action close_receipt [16:12:30]cmd_close_receipt [16:12:30]MH_GetDate [16:12:30]Write to MH i2c: F0 00 00 5A 27 70 [16:12:30]Write i2c OK [16:12:30]MH_I2C_Read... [16:12:30]Read from MH i2c: F0 [16:12:30]MH_I2C_Read... [16:12:30]Read from MH i2c: F0 09 00 [16:12:30]MH_I2C_Read... [16:12:30]Read from MH i2c: F0 09 00 5A 27 00 74 03 73 66 13 9C 7C 64 58 [16:12:30]GetLastDocTimeStamp 1718813437 [16:12:30]current date 1718813556 [16:12:30]FM_GetShiftState [16:12:30]SAM_PROTO_GetShiftState [16:12:30]wFMCommunicate request_size=4 [16:12:30]MH_SAM_APDU [16:12:30]CAPDU: 80 13 01 00 [16:12:30]Write to MH i2c: E2 08 00 5B 27 80 13 01 00 00 00 00 00 FF [16:12:30]Write i2c OK [16:12:30]MH_I2C_Read... [16:12:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:30]Read from MH i2c: E2 [16:12:30]MH_I2C_Read... [16:12:30]Read from MH i2c: E2 0E 00 [16:12:30]MH_I2C_Read... [16:12:30]Read from MH i2c: E2 0E 00 5B 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D5 [16:12:30]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:12:30]wFMCommunicate OK [16:12:30]SAM_PROTO_GetShiftState done [16:12:30]FM_GetShiftState done [16:12:30]opened in 1718756813 [16:12:30]opened+sec_in_day 1718843213 [16:12:30]quantity*price = 5000 [16:12:30]sum+1 = 5001 [16:12:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 57 19.06.2024 16:12 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34353 ФПД: 245294655435535 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161236&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34353&fm=245294655435535&tin=02508201610067®Number=0000000000092786&sum=5000 0 [16:12:31]StoreToDocumentArchive [16:12:31]shift 324 fd 34353 [16:12:31]save to /storage/0324/doc_00034353 [16:12:31]save last doc name /storage/0324/doc_00034353 to /storage/kkm_last_doc_name [16:12:31]save OK [16:12:31]Clear old archive folders... [16:12:31]ProcessDocumentItem done err = 0, tmpTLVsize=269 [16:12:31]tlvbuf is 019055F0 [16:12:31]SAM_PROTO_ClearQueue [16:12:31]wFMCommunicate request_size=4 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 09 00 00 [16:12:31]Write to MH i2c: E2 08 00 68 27 80 09 00 00 00 00 00 00 01 [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:12:31]Read from MH i2c: E2 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 68 27 00 90 00 03 [16:12:31]RAPDU: 90 00 [16:12:31]wFMCommunicate OK [16:12:31]SAM_PROTO_ClearQueue done [16:12:31]KKMCreateOFDPacket [16:12:31]OFDProtocolAddRootSTLVToBuf [16:12:31]FM_MakeSignedData [16:12:31]FM_MakeSignedData [16:12:31]SAM_PROTO_SignData [16:12:31]wFMCommunicate request_size=4 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 0D 01 02 [16:12:31]Write to MH i2c: E2 08 00 69 27 80 0D 01 02 00 00 00 00 09 [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:12:31]Read from MH i2c: E2 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 69 27 00 90 00 04 [16:12:31]RAPDU: 90 00 [16:12:31]wFMCommunicate OK [16:12:31]wFMCommunicate request_size=255 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 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 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 39 00 00 00 F4 03 04 00 74 03 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [16:12:31]Write to MH i2c: E2 02 01 6A 27 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 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 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 39 00 00 00 F4 03 04 00 74 03 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 02 [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:31]Read from MH i2c: E2 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 6A 27 00 90 00 05 [16:12:31]RAPDU: 90 00 [16:12:31]wFMCommunicate OK [16:12:31]wFMCommunicate request_size=28 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 0D 02 02 17 37 35 30 39 35 10 04 04 00 31 86 00 00 35 04 06 00 DF 18 1C CD 73 0F [16:12:31]Write to MH i2c: E2 1F 00 6B 27 80 0D 02 02 17 00 37 35 30 39 35 10 04 04 00 31 86 00 00 35 04 06 00 DF 18 1C CD 73 0F 00 00 B4 [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:12:31]Read from MH i2c: E2 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 03 00 6B 27 00 90 00 06 [16:12:31]RAPDU: 90 00 [16:12:31]wFMCommunicate OK [16:12:31]wFMCommunicate request_size=4 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 0D 03 02 [16:12:31]Write to MH i2c: E2 08 00 6C 27 80 0D 03 02 00 00 00 00 0E [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:12:31]Read from MH i2c: E2 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 0B 00 [16:12:31]MH_I2C_Read... [16:12:31]Read from MH i2c: E2 0B 00 6C 27 00 F7 E4 08 03 B9 86 D1 71 90 00 76 [16:12:31]RAPDU: F7 E4 08 03 B9 86 D1 71 90 00 [16:12:31]wFMCommunicate OK [16:12:31]SAM_PROTO_SignData done [16:12:31]FM_MakeSignedData done [16:12:31]CreateOFDProtocolMessage [16:12:31]wFMCommunicate request_size=4 [16:12:31]MH_SAM_APDU [16:12:31]CAPDU: 80 11 00 00 [16:12:31]Write to MH i2c: E2 08 00 6D 27 80 11 00 00 00 00 00 00 0E [16:12:31]Write i2c OK [16:12:31]MH_I2C_Read... [16:12:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:32]Read from MH i2c: E2 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: E2 17 00 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: E2 17 00 6D 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 63 [16:12:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:12:32]wFMCommunicate OK [16:12:32]CreateOFDProtocolMessage done [16:12:32]OFDSenderStorePacket 34353 [16:12:32]StoreOFDPacket docnum=34353 [16:12:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 21 01 00 00 72 56 19 01 3E 54 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 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 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 39 00 00 00 F4 03 04 00 74 03 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 86 00 00 35 04 06 00 DF 18 1C CD 73 0F F7 E4 08 03 B9 86 D1 71 [16:12:32]CheckFolder [16:12:32]dirname=/storage/ofd_packets [16:12:32]CheckFolder done [16:12:32]ProducePacketName [16:12:32]name=ofd_packets/00034353 [16:12:32]NVStorageSaveData ofd_packets/00034353 [16:12:32]File name is /storage/ofd_packets/00034353 [16:12:32]Write 319 bytes [16:12:32]NVStorageSaveData done [16:12:32]OFDSenderStorePacket done [16:12:32]KKMCreateOFDPacket done [16:12:32]NVStorageSaveData kkm_last_timestamp [16:12:32]File name is /storage/kkm_last_timestamp [16:12:32]Write 4 bytes [16:12:32]NVStorageSaveData done [16:12:32]OFD Sender: Processing packet 34353 [packets to send 8, broken 7] [16:12:32]ProducePacketName [16:12:32]name=ofd_packets/00034353 [16:12:32]OFD Sender: To server: pG, [16:12:32]CommunicateWithHost lk.salyk.kg:30040 [16:12:32]ConnectInit lk.salyk.kg [16:12:32]ExternCall_PrintAddStr [16:12:32]wPrintStart [16:12:32]Write to MH i2c: 01 00 00 6E 27 95 [16:12:32]Write i2c OK [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 07 00 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 07 00 6E 27 00 00 00 00 00 FF 0F AA [16:12:32]RasterBufferAndPrint [16:12:32]line Счет N : (3)184126 [16:12:32]line ИНН: 02508201610067 [16:12:32]line Контрольно-Кассовый Чек [16:12:32]line ПРОДАЖА [16:12:32]line Товар: 5449000066473 [16:12:32]line Вода Бонаква 1л [16:12:32]line 1.000 * 50.00 [16:12:32]line = 50.00 [16:12:32]line НДС 12% НСП 1% [16:12:32]line > о реализуемом товаре [16:12:32]line ИТОГО: 50.00 [16:12:32]line НСП 1% : 0.44 [16:12:32]line НДС 12% : 5.31 [16:12:32]line Наличными: 50.00 [16:12:32]line Безнал.: 0.00 [16:12:32]line Место: АЗС № 120 "Партнер Нефть" [16:12:32]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:12:32]line СНО: Общий режим [16:12:32]line Чек 57 19.06.2024 16:12 [16:12:32]line Смена: 324 ФФД: 1.0 [16:12:32]line ЗНМ: 0300000172 [16:12:32]line РНМ: 0000000000092786 [16:12:32]line Версия ККМ: 001 [16:12:32]line ФМ: 0000000000875095 [16:12:32]line ФД: 34353 [16:12:32]line ФПД: 245294655435535 [16:12:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161236&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34353&fm=245294655435535&tin=02508201610067®Number=0000000000092786&sum=5000 [16:12:32]line 0 [16:12:32]Connected sock=11 [16:12:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 21 01 00 00 72 56 19 01 3E 54 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 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 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 39 00 00 00 F4 03 04 00 74 03 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 31 86 00 00 35 04 06 00 DF 18 1C CD 73 0F F7 E4 08 03 B9 86 D1 71 [16:12:32]written 0, free lines is 4095 [16:12:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3B 83 47 00 9F 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 38 37 35 30 39 35 10 04 04 00 31 86 00 00 F4 03 04 00 40 AA 72 66 B6 04 01 00 00 2B DC 57 F7 92 20 06 4C [16:12:32]CommunicateWithHost err = 0 [16:12:32]CheckOFDResponse [16:12:32]1017 (14) - 77093643461234 [16:12:32]1041 (16) - 0000000000875095 [16:12:32]1040 (4) - 34353 [16:12:32]1012 (4) - 19.06.2024 09:52 [16:12:32]1206 (1) - 0 [16:12:32]OFD Sender: Remove packet 34353 [16:12:32]ProducePacketName [16:12:32]name=ofd_packets/00034353 [16:12:32]NVStorageDeleteData [16:12:32]Write to MH i2c: 01 00 00 96 27 BD [16:12:32]Write i2c OK [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 07 00 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: 01 07 00 96 27 00 00 00 00 00 F6 0C C6 [16:12:32]RasterBufferAndPrint [16:12:32]line [16:12:32]line [16:12:32]line [16:12:32]line [16:12:32]line [16:12:32]written 0, free lines is 3325 [16:12:32]MH_Cut [16:12:32]Write to MH i2c: D1 01 00 9D 27 01 96 [16:12:32]Write i2c OK [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: D1 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: D1 01 00 [16:12:32]MH_I2C_Read... [16:12:32]Read from MH i2c: D1 01 00 9D 27 00 95 [16:12:32]Write to MH i2c: 01 00 00 9E 27 C5 [16:12:32]Write i2c OK [16:12:32]MH_I2C_Read... [16:12:33]OFD Sender: No OFD packet to send [16:12:33]*** Cut start [16:12:33]*** Partial cut [16:12:33]*** CUTSNS_PIN = 1 [16:12:33]*** CUTSNS_PIN = 0 [16:12:33]*** Brake cut motor [16:12:34]Read from MH i2c: 01 [16:12:34]MH_I2C_Read... [16:12:34]*** Stop cut motor [16:12:34]*** Cut end [16:12:34]Read from MH i2c: 01 07 00 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: 01 07 00 9E 27 00 00 00 00 00 FF 0F DA [16:12:34]process_action close_receipt done [16:12:34]requested_data is exist [16:12:34]produce_requested_data [16:12:34]requested_item fm.sn is exist - process it [16:12:34]wFMCommunicate request_size=4 [16:12:34]MH_SAM_APDU [16:12:34]CAPDU: 80 11 00 00 [16:12:34]Write to MH i2c: E2 08 00 9F 27 80 11 00 00 00 00 00 00 40 [16:12:34]Write i2c OK [16:12:34]MH_I2C_Read... [16:12:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:34]Read from MH i2c: E2 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 17 00 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 17 00 9F 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 95 [16:12:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:12:34]wFMCommunicate OK [16:12:34]requested_item fd.num is exist - process it [16:12:34]SAM_PROTO_GetFieldsCounters [16:12:34]wFMCommunicate request_size=4 [16:12:34]MH_SAM_APDU [16:12:34]CAPDU: 80 13 00 00 [16:12:34]Write to MH i2c: E2 08 00 A0 27 80 13 00 00 00 00 00 00 43 [16:12:34]Write i2c OK [16:12:34]MH_I2C_Read... [16:12:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:12:34]Read from MH i2c: E2 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 62 00 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 62 00 A0 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 31 86 00 00 0E 04 04 00 44 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 14 [16:12:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 31 86 00 00 0E 04 04 00 44 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 [16:12:34]wFMCommunicate OK [16:12:34]SAM_PROTO_GetFieldsCounters done [16:12:34]requested_item shift.num is exist - process it [16:12:34]requested_item shift.opened is exist - process it [16:12:34]req_shift_opened [16:12:34]FM_GetShiftState [16:12:34]SAM_PROTO_GetShiftState [16:12:34]wFMCommunicate request_size=4 [16:12:34]MH_SAM_APDU [16:12:34]CAPDU: 80 13 01 00 [16:12:34]Write to MH i2c: E2 08 00 A1 27 80 13 01 00 00 00 00 00 45 [16:12:34]Write i2c OK [16:12:34]MH_I2C_Read... [16:12:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:34]Read from MH i2c: E2 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 0E 00 [16:12:34]MH_I2C_Read... [16:12:34]Read from MH i2c: E2 0E 00 A1 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1B [16:12:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:12:34]wFMCommunicate OK [16:12:34]SAM_PROTO_GetShiftState done [16:12:34]FM_GetShiftState done [16:12:34]req_shift_opened done [16:12:34]requested_item shift.open_date is exist - process it [16:12:34]req_shift_open_date [16:12:34]req_shift_open_date done [16:12:34]produce_requested_data done [16:12:34]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34353,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:12:34]process_action_free close_receipt [16:12:34]json_value_free [16:12:34]json_value_free done [16:12:34]process_json_proto returns [16:12:34]Send response to host [16:12:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34353,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:12:34]free response buf [16:12:34]execute_script done [16:12:34]execute_script returns [16:12:34]free content buf [16:12:34]Sock 9.Close socket [16:12:34]Sock 9.Thread stoped [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:41]accept exits with 10 [16:15:41]New connection [16:15:41]New thread 3067424100 created [16:15:41]Thread 3067567460 joined [16:15:41]Waiting for new connection... [16:15:41] Sock 10.Parse request [16:15:41]Sock 10.Check first char [16:15:41]Sock 10.First char is OK [16:15:41]request: POST /json_proto HTTP/1.0 [16:15:41]Method: POST [16:15:41]URL: /json_proto [16:15:41]Method is POST - this is cgi request [16:15:41]url: /json_proto [16:15:41]query_string will be loaded in cgi processing [16:15:41]execute_cgi json_proto POST (null) [16:15:41]execute_cgi path=json_proto method=POST [16:15:41]POST find Content-Length [16:15:41]Host: 172.17.38.134:8080 [16:15:41]Content-Length: 665 [16:15:41]Content-Type: application/json [16:15:41] [16:15:41]POST finish read [16:15:41]Found Content-Length = 665 [16:15:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184127", "tax_sys" : 0, "items" : [ { "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:41]execute_script... [16:15:41]execute_script path=json_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)184127", "tax_sys" : 0, "items" : [ { "code": "4600452021101", "name": "\u0413\u043E\u0440\u044C\u043A\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Bitter 90\u0433", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:15:41]POST & json_proto [16:15:41]process_json_proto [16:15:41]json parsed OK: [16:15:41]protocol is kg_v1.0 [16:15:41]action value=close_receipt [16:15:41]process_action close_receipt [16:15:41]cmd_close_receipt [16:15:41]MH_GetDate [16:15:41]Write to MH i2c: F0 00 00 A2 27 B8 [16:15:41]Write i2c OK [16:15:41]MH_I2C_Read... [16:15:41]Read from MH i2c: F0 [16:15:41]MH_I2C_Read... [16:15:41]Read from MH i2c: F0 09 00 [16:15:41]MH_I2C_Read... [16:15:41]Read from MH i2c: F0 09 00 A2 27 00 33 04 73 66 13 9C 7C 64 60 [16:15:41]GetLastDocTimeStamp 1718813556 [16:15:41]current date 1718813747 [16:15:41]FM_GetShiftState [16:15:41]SAM_PROTO_GetShiftState [16:15:41]wFMCommunicate request_size=4 [16:15:41]MH_SAM_APDU [16:15:41]CAPDU: 80 13 01 00 [16:15:41]Write to MH i2c: E2 08 00 A3 27 80 13 01 00 00 00 00 00 47 [16:15:41]Write i2c OK [16:15:41]MH_I2C_Read... [16:15:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:41]Read from MH i2c: E2 [16:15:41]MH_I2C_Read... [16:15:41]Read from MH i2c: E2 0E 00 [16:15:41]MH_I2C_Read... [16:15:41]Read from MH i2c: E2 0E 00 A3 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1D [16:15:41]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:15:41]wFMCommunicate OK [16:15:41]SAM_PROTO_GetShiftState done [16:15:41]FM_GetShiftState done [16:15:41]opened in 1718756813 [16:15:41]opened+sec_in_day 1718843213 [16:15:41]quantity*price = 13500 [16:15:41]sum+1 = 13501 [16:15:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 58 19.06.2024 16:15 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34354 ФПД: 86740850373617 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161547&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34354&fm=86740850373617&tin=02508201610067®Number=0000000000092786&sum=13500 0 [16:15:42]StoreToDocumentArchive [16:15:42]shift 324 fd 34354 [16:15:42]save to /storage/0324/doc_00034354 [16:15:42]save last doc name /storage/0324/doc_00034354 to /storage/kkm_last_doc_name [16:15:42]save OK [16:15:42]Clear old archive folders... [16:15:42]ProcessDocumentItem done err = 0, tmpTLVsize=289 [16:15:42]tlvbuf is B6F3E0F0 [16:15:42]SAM_PROTO_ClearQueue [16:15:42]wFMCommunicate request_size=4 [16:15:42]MH_SAM_APDU [16:15:42]CAPDU: 80 09 00 00 [16:15:42]Write to MH i2c: E2 08 00 B0 27 80 09 00 00 00 00 00 00 49 [16:15:42]Write i2c OK [16:15:42]MH_I2C_Read... [16:15:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:15:42]Read from MH i2c: E2 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 B0 27 00 90 00 4B [16:15:42]RAPDU: 90 00 [16:15:42]wFMCommunicate OK [16:15:42]SAM_PROTO_ClearQueue done [16:15:42]KKMCreateOFDPacket [16:15:42]OFDProtocolAddRootSTLVToBuf [16:15:42]FM_MakeSignedData [16:15:42]FM_MakeSignedData [16:15:42]SAM_PROTO_SignData [16:15:42]wFMCommunicate request_size=4 [16:15:42]MH_SAM_APDU [16:15:42]CAPDU: 80 0D 01 02 [16:15:42]Write to MH i2c: E2 08 00 B1 27 80 0D 01 02 00 00 00 00 51 [16:15:42]Write i2c OK [16:15:42]MH_I2C_Read... [16:15:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:15:42]Read from MH i2c: E2 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 B1 27 00 90 00 4C [16:15:42]RAPDU: 90 00 [16:15:42]wFMCommunicate OK [16:15:42]wFMCommunicate request_size=255 [16:15:42]MH_SAM_APDU [16:15:42]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 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 33 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [16:15:42]Write to MH i2c: E2 02 01 B2 27 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 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 33 04 73 66 0E 04 04 00 44 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 14 [16:15:42]Write i2c OK [16:15:42]MH_I2C_Read... [16:15:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:42]Read from MH i2c: E2 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 B2 27 00 90 00 4D [16:15:42]RAPDU: 90 00 [16:15:42]wFMCommunicate OK [16:15:42]wFMCommunicate request_size=48 [16:15:42]MH_SAM_APDU [16:15:42]CAPDU: 80 0D 02 02 2B 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 86 00 00 35 04 06 00 4E E3 ED 92 F3 F1 [16:15:42]Write to MH i2c: E2 33 00 B3 27 80 0D 02 02 2B 00 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 86 00 00 35 04 06 00 4E E3 ED 92 F3 F1 00 00 A4 [16:15:42]Write i2c OK [16:15:42]MH_I2C_Read... [16:15:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:15:42]Read from MH i2c: E2 [16:15:42]MH_I2C_Read... [16:15:42]Read from MH i2c: E2 03 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 03 00 B3 27 00 90 00 4E [16:15:43]RAPDU: 90 00 [16:15:43]wFMCommunicate OK [16:15:43]wFMCommunicate request_size=4 [16:15:43]MH_SAM_APDU [16:15:43]CAPDU: 80 0D 03 02 [16:15:43]Write to MH i2c: E2 08 00 B4 27 80 0D 03 02 00 00 00 00 56 [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:15:43]Read from MH i2c: E2 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 0B 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 0B 00 B4 27 00 16 D2 04 19 D3 BD 4C F0 90 00 28 [16:15:43]RAPDU: 16 D2 04 19 D3 BD 4C F0 90 00 [16:15:43]wFMCommunicate OK [16:15:43]SAM_PROTO_SignData done [16:15:43]FM_MakeSignedData done [16:15:43]CreateOFDProtocolMessage [16:15:43]wFMCommunicate request_size=4 [16:15:43]MH_SAM_APDU [16:15:43]CAPDU: 80 11 00 00 [16:15:43]Write to MH i2c: E2 08 00 B5 27 80 11 00 00 00 00 00 00 56 [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:43]Read from MH i2c: E2 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 17 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: E2 17 00 B5 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 AB [16:15:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:15:43]wFMCommunicate OK [16:15:43]CreateOFDProtocolMessage done [16:15:43]OFDSenderStorePacket 34354 [16:15:43]StoreOFDPacket docnum=34354 [16:15:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 01 00 00 13 A1 2D 01 56 A7 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 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 33 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 86 00 00 35 04 06 00 4E E3 ED 92 F3 F1 16 D2 04 19 D3 BD 4C F0 [16:15:43]CheckFolder [16:15:43]dirname=/storage/ofd_packets [16:15:43]CheckFolder done [16:15:43]ProducePacketName [16:15:43]name=ofd_packets/00034354 [16:15:43]NVStorageSaveData ofd_packets/00034354 [16:15:43]File name is /storage/ofd_packets/00034354 [16:15:43]Write 339 bytes [16:15:43]NVStorageSaveData done [16:15:43]OFDSenderStorePacket done [16:15:43]KKMCreateOFDPacket done [16:15:43]NVStorageSaveData kkm_last_timestamp [16:15:43]File name is /storage/kkm_last_timestamp [16:15:43]Write 4 bytes [16:15:43]NVStorageSaveData done [16:15:43]ExternCall_PrintAddStr [16:15:43]wPrintStart [16:15:43]Write to MH i2c: 01 00 00 B6 27 DD [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 07 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 07 00 B6 27 00 00 00 00 00 FF 0F F2 [16:15:43]RasterBufferAndPrint [16:15:43]line Счет N : (3)184127 [16:15:43]line ИНН: 02508201610067 [16:15:43]line Контрольно-Кассовый Чек [16:15:43]line ПРОДАЖА [16:15:43]line Товар: 4600452021101 [16:15:43]line Горький шоколад OZera Bitter 90г [16:15:43]line 1.000 * 135.00 [16:15:43]line = 135.00 [16:15:43]line НДС 12% НСП 1% [16:15:43]line > о реализуемом товаре [16:15:43]line ИТОГО: 135.00 [16:15:43]line НСП 1% : 1.19 [16:15:43]line НДС 12% : 14.34 [16:15:43]line Наличными: 135.00 [16:15:43]line Безнал.: 0.00 [16:15:43]line Место: АЗС № 120 "Партнер Нефть" [16:15:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:15:43]line СНО: Общий режим [16:15:43]line Чек 58 19.06.2024 16:15 [16:15:43]line Смена: 324 ФФД: 1.0 [16:15:43]line ЗНМ: 0300000172 [16:15:43]line РНМ: 0000000000092786 [16:15:43]line Версия ККМ: 001 [16:15:43]line ФМ: 0000000000875095 [16:15:43]line ФД: 34354 [16:15:43]line ФПД: 86740850373617 [16:15:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161547&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34354&fm=86740850373617&tin=02508201610067®Number=0000000000092786&sum=13500 [16:15:43]line 0 [16:15:43]OFD Sender: Processing packet 34354 [packets to send 8, broken 7] [16:15:43]ProducePacketName [16:15:43]name=ofd_packets/00034354 [16:15:43]OFD Sender: To server: pG, [16:15:43]CommunicateWithHost lk.salyk.kg:30040 [16:15:43]ConnectInit lk.salyk.kg [16:15:43]written 0, free lines is 4095 [16:15:43]Connected sock=9 [16:15:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 01 00 00 13 A1 2D 01 56 A7 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 31 30 31 06 04 2F 00 D0 93 D0 BE D1 80 D1 8C D0 BA D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 42 69 74 74 65 72 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 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 33 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 86 00 00 35 04 06 00 4E E3 ED 92 F3 F1 16 D2 04 19 D3 BD 4C F0 [16:15:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 38 26 47 00 6C 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 32 86 00 00 F4 03 04 00 FF AA 72 66 B6 04 01 00 00 57 61 1E 3F 38 4B 09 2B [16:15:43]CommunicateWithHost err = 0 [16:15:43]CheckOFDResponse [16:15:43]1017 (14) - 77093643461234 [16:15:43]1041 (16) - 0000000000875095 [16:15:43]1040 (4) - 34354 [16:15:43]1012 (4) - 19.06.2024 09:55 [16:15:43]1206 (1) - 0 [16:15:43]OFD Sender: Remove packet 34354 [16:15:43]ProducePacketName [16:15:43]name=ofd_packets/00034354 [16:15:43]NVStorageDeleteData [16:15:43]Write to MH i2c: 01 00 00 DF 27 06 [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 07 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: 01 07 00 DF 27 00 00 00 00 00 D0 0C E9 [16:15:43]RasterBufferAndPrint [16:15:43]line [16:15:43]line [16:15:43]line [16:15:43]line [16:15:43]line [16:15:43]written 0, free lines is 3287 [16:15:43]MH_Cut [16:15:43]Write to MH i2c: D1 01 00 E6 27 01 DF [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: D1 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: D1 01 00 [16:15:43]MH_I2C_Read... [16:15:43]Read from MH i2c: D1 01 00 E6 27 00 DE [16:15:43]Write to MH i2c: 01 00 00 E7 27 0E [16:15:43]Write i2c OK [16:15:43]MH_I2C_Read... [16:15:44]OFD Sender: No OFD packet to send [16:15:44]*** Cut start [16:15:44]*** Partial cut [16:15:44]*** CUTSNS_PIN = 1 [16:15:44]*** CUTSNS_PIN = 0 [16:15:44]*** Brake cut motor [16:15:45]Read from MH i2c: 01 [16:15:45]MH_I2C_Read... [16:15:45]*** Stop cut motor [16:15:45]*** Cut end [16:15:45]Read from MH i2c: 01 07 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: 01 07 00 E7 27 00 00 00 00 00 FF 0F 23 [16:15:45]process_action close_receipt done [16:15:45]requested_data is exist [16:15:45]produce_requested_data [16:15:45]requested_item fm.sn is exist - process it [16:15:45]wFMCommunicate request_size=4 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 11 00 00 [16:15:45]Write to MH i2c: E2 08 00 E8 27 80 11 00 00 00 00 00 00 89 [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 17 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 17 00 E8 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DE [16:15:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:15:45]wFMCommunicate OK [16:15:45]requested_item fd.num is exist - process it [16:15:45]SAM_PROTO_GetFieldsCounters [16:15:45]wFMCommunicate request_size=4 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 13 00 00 [16:15:45]Write to MH i2c: E2 08 00 E9 27 80 13 00 00 00 00 00 00 8C [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 62 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 62 00 E9 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 32 86 00 00 0E 04 04 00 44 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 61 [16:15:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 32 86 00 00 0E 04 04 00 44 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 [16:15:45]wFMCommunicate OK [16:15:45]SAM_PROTO_GetFieldsCounters done [16:15:45]requested_item shift.num is exist - process it [16:15:45]requested_item shift.opened is exist - process it [16:15:45]req_shift_opened [16:15:45]FM_GetShiftState [16:15:45]SAM_PROTO_GetShiftState [16:15:45]wFMCommunicate request_size=4 [16:15:45]MH_SAM_APDU [16:15:45]CAPDU: 80 13 01 00 [16:15:45]Write to MH i2c: E2 08 00 EA 27 80 13 01 00 00 00 00 00 8E [16:15:45]Write i2c OK [16:15:45]MH_I2C_Read... [16:15:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:15:45]Read from MH i2c: E2 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 0E 00 [16:15:45]MH_I2C_Read... [16:15:45]Read from MH i2c: E2 0E 00 EA 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 64 [16:15:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:15:45]wFMCommunicate OK [16:15:45]SAM_PROTO_GetShiftState done [16:15:45]FM_GetShiftState done [16:15:45]req_shift_opened done [16:15:45]requested_item shift.open_date is exist - process it [16:15:45]req_shift_open_date [16:15:45]req_shift_open_date done [16:15:45]produce_requested_data done [16:15:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34354,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:15:45]process_action_free close_receipt [16:15:45]json_value_free [16:15:45]json_value_free done [16:15:45]process_json_proto returns [16:15:45]Send response to host [16:15:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34354,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:15:45]free response buf [16:15:45]execute_script done [16:15:45]execute_script returns [16:15:45]free content buf [16:15:45]Sock 10.Close socket [16:15:45]Sock 10.Thread stoped [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:53]accept exits with 7 [16:16:53]New connection [16:16:53]New thread 3067567460 created [16:16:53]Thread 3067424100 joined [16:16:53]Waiting for new connection... [16:16:53] Sock 7.Parse request [16:16:53]Sock 7.Check first char [16:16:53]Sock 7.First char is OK [16:16:53]request: POST /json_proto HTTP/1.0 [16:16:53]Method: POST [16:16:53]URL: /json_proto [16:16:53]Method is POST - this is cgi request [16:16:53]url: /json_proto [16:16:53]query_string will be loaded in cgi processing [16:16:53]execute_cgi json_proto POST (null) [16:16:53]execute_cgi path=json_proto method=POST [16:16:53]POST find Content-Length [16:16:53]Host: 172.17.38.134:8080 [16:16:53]Content-Length: 910 [16:16:53]Content-Type: application/json [16:16:53] [16:16:53]POST finish read [16:16:53]Found Content-Length = 910 [16:16:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184128", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:53]execute_script... [16:16:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184128", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:16:53]POST & json_proto [16:16:53]process_json_proto [16:16:53]json parsed OK: [16:16:53]protocol is kg_v1.0 [16:16:53]action value=close_receipt [16:16:53]process_action close_receipt [16:16:53]cmd_close_receipt [16:16:53]MH_GetDate [16:16:53]Write to MH i2c: F0 00 00 EB 27 01 [16:16:53]Write i2c OK [16:16:53]MH_I2C_Read... [16:16:53]Read from MH i2c: F0 [16:16:53]MH_I2C_Read... [16:16:53]Read from MH i2c: F0 09 00 [16:16:53]MH_I2C_Read... [16:16:53]Read from MH i2c: F0 09 00 EB 27 00 7B 04 73 66 13 9C 7C 64 F1 [16:16:53]GetLastDocTimeStamp 1718813747 [16:16:53]current date 1718813819 [16:16:53]FM_GetShiftState [16:16:53]SAM_PROTO_GetShiftState [16:16:53]wFMCommunicate request_size=4 [16:16:53]MH_SAM_APDU [16:16:53]CAPDU: 80 13 01 00 [16:16:53]Write to MH i2c: E2 08 00 EC 27 80 13 01 00 00 00 00 00 90 [16:16:53]Write i2c OK [16:16:53]MH_I2C_Read... [16:16:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:53]Read from MH i2c: E2 [16:16:53]MH_I2C_Read... [16:16:53]Read from MH i2c: E2 0E 00 [16:16:53]MH_I2C_Read... [16:16:53]Read from MH i2c: E2 0E 00 EC 27 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 66 [16:16:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:16:53]wFMCommunicate OK [16:16:53]SAM_PROTO_GetShiftState done [16:16:53]FM_GetShiftState done [16:16:53]opened in 1718756813 [16:16:53]opened+sec_in_day 1718843213 [16:16:53]quantity*price = 12500 [16:16:53]sum+1 = 12501 [16:16:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.23 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 59 19.06.2024 16:16 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34355 ФПД: 11350028660315 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161659&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34355&fm=11350028660315&tin=02508201610067®Number=0000000000092786&sum=20000 0 [16:16:54]StoreToDocumentArchive [16:16:54]shift 324 fd 34355 [16:16:54]save to /storage/0324/doc_00034355 [16:16:54]save last doc name /storage/0324/doc_00034355 to /storage/kkm_last_doc_name [16:16:54]save OK [16:16:54]Clear old archive folders... [16:16:54]ProcessDocumentItem done err = 0, tmpTLVsize=394 [16:16:54]tlvbuf is 01981D60 [16:16:54]SAM_PROTO_ClearQueue [16:16:54]wFMCommunicate request_size=4 [16:16:54]MH_SAM_APDU [16:16:54]CAPDU: 80 09 00 00 [16:16:54]Write to MH i2c: E2 08 00 F9 27 80 09 00 00 00 00 00 00 92 [16:16:54]Write i2c OK [16:16:54]MH_I2C_Read... [16:16:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:16:54]Read from MH i2c: E2 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 F9 27 00 90 00 94 [16:16:54]RAPDU: 90 00 [16:16:54]wFMCommunicate OK [16:16:54]SAM_PROTO_ClearQueue done [16:16:54]KKMCreateOFDPacket [16:16:54]OFDProtocolAddRootSTLVToBuf [16:16:54]FM_MakeSignedData [16:16:54]FM_MakeSignedData [16:16:54]SAM_PROTO_SignData [16:16:54]wFMCommunicate request_size=4 [16:16:54]MH_SAM_APDU [16:16:54]CAPDU: 80 0D 01 02 [16:16:54]Write to MH i2c: E2 08 00 FA 27 80 0D 01 02 00 00 00 00 9A [16:16:54]Write i2c OK [16:16:54]MH_I2C_Read... [16:16:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:16:54]Read from MH i2c: E2 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 FA 27 00 90 00 95 [16:16:54]RAPDU: 90 00 [16:16:54]wFMCommunicate OK [16:16:54]wFMCommunicate request_size=255 [16:16:54]MH_SAM_APDU [16:16:54]CAPDU: 80 0D 02 02 FA 03 00 8A 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 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 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F [16:16:54]Write to MH i2c: E2 02 01 FB 27 80 0D 02 02 FA 00 03 00 8A 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 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 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 60 [16:16:54]Write i2c OK [16:16:54]MH_I2C_Read... [16:16:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:54]Read from MH i2c: E2 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 [16:16:54]MH_I2C_Read... [16:16:54]Read from MH i2c: E2 03 00 FB 27 00 90 00 96 [16:16:54]RAPDU: 90 00 [16:16:54]wFMCommunicate OK [16:16:54]wFMCommunicate request_size=153 [16:16:54]MH_SAM_APDU [16:16:54]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7B 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 86 00 00 35 04 06 00 0A 52 A2 6D 2E 5B [16:16:54]Write to MH i2c: E2 9C 00 FC 27 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7B 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 86 00 00 35 04 06 00 0A 52 A2 6D 2E 5B 00 00 ED [16:16:54]Write i2c OK [16:16:54]MH_I2C_Read... [16:16:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:16:55]Read from MH i2c: E2 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 03 00 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 03 00 FC 27 00 90 00 97 [16:16:55]RAPDU: 90 00 [16:16:55]wFMCommunicate OK [16:16:55]wFMCommunicate request_size=4 [16:16:55]MH_SAM_APDU [16:16:55]CAPDU: 80 0D 03 02 [16:16:55]Write to MH i2c: E2 08 00 FD 27 80 0D 03 02 00 00 00 00 9F [16:16:55]Write i2c OK [16:16:55]MH_I2C_Read... [16:16:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:16:55]Read from MH i2c: E2 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 0B 00 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 0B 00 FD 27 00 C5 8F D6 9C D5 29 6D 3C 90 00 0D [16:16:55]RAPDU: C5 8F D6 9C D5 29 6D 3C 90 00 [16:16:55]wFMCommunicate OK [16:16:55]SAM_PROTO_SignData done [16:16:55]FM_MakeSignedData done [16:16:55]CreateOFDProtocolMessage [16:16:55]wFMCommunicate request_size=4 [16:16:55]MH_SAM_APDU [16:16:55]CAPDU: 80 11 00 00 [16:16:55]Write to MH i2c: E2 08 00 FE 27 80 11 00 00 00 00 00 00 9F [16:16:55]Write i2c OK [16:16:55]MH_I2C_Read... [16:16:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:55]Read from MH i2c: E2 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 17 00 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: E2 17 00 FE 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F4 [16:16:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:16:55]wFMCommunicate OK [16:16:55]CreateOFDProtocolMessage done [16:16:55]OFDSenderStorePacket 34355 [16:16:55]StoreOFDPacket docnum=34355 [16:16:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9E 01 00 00 78 23 96 01 89 51 5A 03 01 00 03 00 8A 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 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 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7B 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 86 00 00 35 04 06 00 0A 52 A2 6D 2E 5B C5 8F D6 9C D5 29 6D 3C [16:16:55]CheckFolder [16:16:55]dirname=/storage/ofd_packets [16:16:55]CheckFolder done [16:16:55]ProducePacketName [16:16:55]name=ofd_packets/00034355 [16:16:55]NVStorageSaveData ofd_packets/00034355 [16:16:55]File name is /storage/ofd_packets/00034355 [16:16:55]Write 444 bytes [16:16:55]NVStorageSaveData done [16:16:55]OFDSenderStorePacket done [16:16:55]KKMCreateOFDPacket done [16:16:55]NVStorageSaveData kkm_last_timestamp [16:16:55]File name is /storage/kkm_last_timestamp [16:16:55]Write 4 bytes [16:16:55]NVStorageSaveData done [16:16:55]ExternCall_PrintAddStr [16:16:55]wPrintStart [16:16:55]Write to MH i2c: 01 00 00 FF 27 26 [16:16:55]Write i2c OK [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: 01 [16:16:55]MH_I2C_Read... [16:16:55]Read from MH i2c: 01 07 00 [16:16:55]MH_I2C_Read... [16:16:55]OFD Sender: Processing packet 34355 [packets to send 8, broken 7] [16:16:55]ProducePacketName [16:16:55]name=ofd_packets/00034355 [16:16:55]Read from MH i2c: OFD Sender: To server: pG, [16:16:55]01 CommunicateWithHost lk.salyk.kg:30040 [16:16:55]07 ConnectInit lk.salyk.kg [16:16:55]00 FF 27 00 00 00 00 00 FF 0F 3B [16:16:55]RasterBufferAndPrint [16:16:55]line Счет N : (3)184128 [16:16:55]line ИНН: 02508201610067 [16:16:55]line Контрольно-Кассовый Чек [16:16:55]line ПРОДАЖА [16:16:55]line Товар: 2000036220012 [16:16:55]line Кофе Капучино XL(GABB TRADE) [16:16:55]line 1.000 * 125.00 [16:16:55]line = 125.00 [16:16:55]line НДС 12% НСП 1% [16:16:55]line > о реализуемом товаре [16:16:55]line Товар: 2000034730018 [16:16:55]line Кофе Американо (GABB TRADE) [16:16:55]line 1.000 * 75.00 [16:16:55]line = 75.00 [16:16:55]line НДС 12% НСП 1% [16:16:55]line > о реализуемом товаре [16:16:55]line ИТОГО: 200.00 [16:16:55]line НСП 1% : 1.77 [16:16:55]line НДС 12% : 21.23 [16:16:55]line Наличными: 200.00 [16:16:55]line Безнал.: 0.00 [16:16:55]line Место: АЗС № 120 "Партнер Нефть" [16:16:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:16:55]line СНО: Общий режим [16:16:55]line Чек 59 19.06.2024 16:16 [16:16:55]line Смена: 324 ФФД: 1.0 [16:16:55]line ЗНМ: 0300000172 [16:16:55]line РНМ: 0000000000092786 [16:16:55]line Версия ККМ: 001 [16:16:55]line ФМ: 0000000000875095 [16:16:55]line ФД: 34355 [16:16:55]line ФПД: 11350028660315 [16:16:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161659&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34355&fm=11350028660315&tin=02508201610067®Number=0000000000092786&sum=20000 [16:16:55]line 0 [16:16:55]written 0, free lines is 4095 [16:16:55]Connected sock=10 [16:16:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9E 01 00 00 78 23 96 01 89 51 5A 03 01 00 03 00 8A 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 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 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 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 7B 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 86 00 00 35 04 06 00 0A 52 A2 6D 2E 5B C5 8F D6 9C D5 29 6D 3C [16:16:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D7 44 47 00 F4 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 33 86 00 00 F4 03 04 00 48 AB 72 66 B6 04 01 00 00 0F DB A9 18 AB 84 86 4A [16:16:55]CommunicateWithHost err = 0 [16:16:55]CheckOFDResponse [16:16:55]1017 (14) - 77093643461234 [16:16:55]1041 (16) - 0000000000875095 [16:16:55]1040 (4) - 34355 [16:16:55]1012 (4) - 19.06.2024 09:56 [16:16:55]1206 (1) - 0 [16:16:55]OFD Sender: Remove packet 34355 [16:16:55]ProducePacketName [16:16:55]name=ofd_packets/00034355 [16:16:55]NVStorageDeleteData [16:16:56]Write to MH i2c: 01 00 00 2F 28 57 [16:16:56]Write i2c OK [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: 01 [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: 01 07 00 [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: 01 07 00 2F 28 00 00 00 00 00 99 0C 03 [16:16:56]RasterBufferAndPrint [16:16:56]line [16:16:56]line [16:16:56]line [16:16:56]line [16:16:56]line [16:16:56]written 0, free lines is 3231 [16:16:56]MH_Cut [16:16:56]Write to MH i2c: D1 01 00 36 28 01 30 [16:16:56]Write i2c OK [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: D1 [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: D1 01 00 [16:16:56]MH_I2C_Read... [16:16:56]Read from MH i2c: D1 01 00 36 28 00 2F [16:16:56]Write to MH i2c: 01 00 00 37 28 5F [16:16:56]Write i2c OK [16:16:56]MH_I2C_Read... [16:16:56]OFD Sender: No OFD packet to send [16:16:56]*** Cut start [16:16:56]*** Partial cut [16:16:56]*** CUTSNS_PIN = 1 [16:16:56]*** CUTSNS_PIN = 0 [16:16:57]*** Brake cut motor [16:16:57]Read from MH i2c: 01 [16:16:57]MH_I2C_Read... [16:16:57]*** Stop cut motor [16:16:57]*** Cut end [16:16:57]Read from MH i2c: 01 07 00 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: 01 07 00 37 28 00 00 00 00 00 FF 0F 74 [16:16:57]process_action close_receipt done [16:16:57]requested_data is exist [16:16:57]produce_requested_data [16:16:57]requested_item fm.sn is exist - process it [16:16:57]wFMCommunicate request_size=4 [16:16:57]MH_SAM_APDU [16:16:57]CAPDU: 80 11 00 00 [16:16:57]Write to MH i2c: E2 08 00 38 28 80 11 00 00 00 00 00 00 DA [16:16:57]Write i2c OK [16:16:57]MH_I2C_Read... [16:16:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:16:57]Read from MH i2c: E2 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 17 00 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 17 00 38 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 2F [16:16:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:16:57]wFMCommunicate OK [16:16:57]requested_item fd.num is exist - process it [16:16:57]SAM_PROTO_GetFieldsCounters [16:16:57]wFMCommunicate request_size=4 [16:16:57]MH_SAM_APDU [16:16:57]CAPDU: 80 13 00 00 [16:16:57]Write to MH i2c: E2 08 00 39 28 80 13 00 00 00 00 00 00 DD [16:16:57]Write i2c OK [16:16:57]MH_I2C_Read... [16:16:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:16:57]Read from MH i2c: E2 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 62 00 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 62 00 39 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 33 86 00 00 0E 04 04 00 44 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 B6 [16:16:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 33 86 00 00 0E 04 04 00 44 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 [16:16:57]wFMCommunicate OK [16:16:57]SAM_PROTO_GetFieldsCounters done [16:16:57]requested_item shift.num is exist - process it [16:16:57]requested_item shift.opened is exist - process it [16:16:57]req_shift_opened [16:16:57]FM_GetShiftState [16:16:57]SAM_PROTO_GetShiftState [16:16:57]wFMCommunicate request_size=4 [16:16:57]MH_SAM_APDU [16:16:57]CAPDU: 80 13 01 00 [16:16:57]Write to MH i2c: E2 08 00 3A 28 80 13 01 00 00 00 00 00 DF [16:16:57]Write i2c OK [16:16:57]MH_I2C_Read... [16:16:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:16:57]Read from MH i2c: E2 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 0E 00 [16:16:57]MH_I2C_Read... [16:16:57]Read from MH i2c: E2 0E 00 3A 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B5 [16:16:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:16:57]wFMCommunicate OK [16:16:57]SAM_PROTO_GetShiftState done [16:16:57]FM_GetShiftState done [16:16:57]req_shift_opened done [16:16:57]requested_item shift.open_date is exist - process it [16:16:57]req_shift_open_date [16:16:57]req_shift_open_date done [16:16:57]produce_requested_data done [16:16:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34355,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:16:57]process_action_free close_receipt [16:16:57]json_value_free [16:16:57]json_value_free done [16:16:57]process_json_proto returns [16:16:57]Send response to host [16:16:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34355,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:16:57]free response buf [16:16:57]execute_script done [16:16:57]execute_script returns [16:16:57]free content buf [16:16:57]Sock 7.Close socket [16:16:57]Sock 7.Thread stoped [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:32]accept exits with 9 [16:17:32]New connection [16:17:32]New thread 3067424100 created [16:17:32]Thread 3067567460 joined [16:17:32]Waiting for new connection... [16:17:32] Sock 9.Parse request [16:17:32]Sock 9.Check first char [16:17:32]Sock 9.First char is OK [16:17:32]request: POST /json_proto HTTP/1.0 [16:17:32]Method: POST [16:17:32]URL: /json_proto [16:17:32]Method is POST - this is cgi request [16:17:32]url: /json_proto [16:17:32]query_string will be loaded in cgi processing [16:17:32]execute_cgi json_proto POST (null) [16:17:32]execute_cgi path=json_proto method=POST [16:17:32]POST find Content-Length [16:17:32]Host: 172.17.38.134:8080 [16:17:32]Content-Length: 622 [16:17:32]Content-Type: application/json [16:17:32] [16:17:32]POST finish read [16:17:32]Found Content-Length = 622 [16:17:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184129", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:17:32]execute_script... [16: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)184129", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 2.000, "sum" : 302.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 302.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:17:32]POST & json_proto [16:17:32]process_json_proto [16:17:32]json parsed OK: [16:17:32]protocol is kg_v1.0 [16:17:32]action value=close_receipt [16:17:32]process_action close_receipt [16:17:32]cmd_close_receipt [16:17:32]MH_GetDate [16:17:32]Write to MH i2c: F0 00 00 3B 28 52 [16:17:32]Write i2c OK [16:17:32]MH_I2C_Read... [16:17:32]Read from MH i2c: F0 [16:17:32]MH_I2C_Read... [16:17:32]Read from MH i2c: F0 09 00 [16:17:32]MH_I2C_Read... [16:17:32]Read from MH i2c: F0 09 00 3B 28 00 A2 04 73 66 13 9C 7C 64 69 [16:17:32]GetLastDocTimeStamp 1718813819 [16:17:32]current date 1718813858 [16:17:32]FM_GetShiftState [16:17:32]SAM_PROTO_GetShiftState [16:17:32]wFMCommunicate request_size=4 [16:17:32]MH_SAM_APDU [16:17:32]CAPDU: 80 13 01 00 [16:17:32]Write to MH i2c: E2 08 00 3C 28 80 13 01 00 00 00 00 00 E1 [16:17:32]Write i2c OK [16:17:32]MH_I2C_Read... [16:17:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:17:32]Read from MH i2c: E2 [16:17:32]MH_I2C_Read... [16:17:32]Read from MH i2c: E2 0E 00 [16:17:32]MH_I2C_Read... [16:17:32]Read from MH i2c: E2 0E 00 3C 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B7 [16:17:32]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:17:32]wFMCommunicate OK [16:17:32]SAM_PROTO_GetShiftState done [16:17:32]FM_GetShiftState done [16:17:32]opened in 1718756813 [16:17:32]opened+sec_in_day 1718843213 [16:17:32]quantity*price = 30200 [16:17:32]sum+1 = 30201 [16:17:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 302.00 НСП 1% : 2.67 НДС 12% : 32.07 Наличными: 302.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 60 19.06.2024 16:17 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34356 ФПД: 116317738104817 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161738&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34356&fm=116317738104817&tin=02508201610067®Number=0000000000092786&sum=30200 0 [16:17:33]StoreToDocumentArchive [16:17:33]shift 324 fd 34356 [16:17:33]save to /storage/0324/doc_00034356 [16:17:33]save last doc name /storage/0324/doc_00034356 to /storage/kkm_last_doc_name [16:17:33]save OK [16:17:33]Clear old archive folders... [16:17:33]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:17:33]tlvbuf is 01929100 [16:17:33]SAM_PROTO_ClearQueue [16:17:33]wFMCommunicate request_size=4 [16:17:33]MH_SAM_APDU [16:17:33]CAPDU: 80 09 00 00 [16:17:33]Write to MH i2c: E2 08 00 49 28 80 09 00 00 00 00 00 00 E3 [16:17:33]Write i2c OK [16:17:33]MH_I2C_Read... [16:17:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:17:33]Read from MH i2c: E2 [16:17:33]MH_I2C_Read... [16:17:33]Read from MH i2c: E2 03 00 [16:17:33]MH_I2C_Read... [16:17:33]Read from MH i2c: E2 03 00 49 28 00 90 00 E5 [16:17:33]RAPDU: 90 00 [16:17:33]wFMCommunicate OK [16:17:33]SAM_PROTO_ClearQueue done [16:17:33]KKMCreateOFDPacket [16:17:33]OFDProtocolAddRootSTLVToBuf [16:17:33]FM_MakeSignedData [16:17:33]FM_MakeSignedData [16:17:33]SAM_PROTO_SignData [16:17:33]wFMCommunicate request_size=4 [16:17:33]MH_SAM_APDU [16:17:33]CAPDU: 80 0D 01 02 [16:17:33]Write to MH i2c: E2 08 00 4A 28 80 0D 01 02 00 00 00 00 EB [16:17:33]Write i2c OK [16:17:33]MH_I2C_Read... [16:17:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:17:33]Read from MH i2c: E2 [16:17:33]MH_I2C_Read... [16:17:33]Read from MH i2c: E2 03 00 [16:17:33]MH_I2C_Read... [16:17:33]Read from MH i2c: E2 03 00 4A 28 00 90 00 E6 [16:17:33]RAPDU: 90 00 [16:17:33]wFMCommunicate OK [16:17:33]wFMCommunicate request_size=255 [16:17:33]MH_SAM_APDU [16:17:33]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 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 3C 00 00 00 F4 03 04 00 A2 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 [16:17:33]Write to MH i2c: E2 02 01 4B 28 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 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 3C 00 00 00 F4 03 04 00 A2 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 00 00 1C [16:17:33]Write i2c OK [16:17:33]MH_I2C_Read... [16:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:17:34]Read from MH i2c: E2 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 03 00 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 03 00 4B 28 00 90 00 E7 [16:17:34]RAPDU: 90 00 [16:17:34]wFMCommunicate OK [16:17:34]wFMCommunicate request_size=33 [16:17:34]MH_SAM_APDU [16:17:34]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 86 00 00 35 04 06 00 69 CA 55 75 F7 F1 [16:17:34]Write to MH i2c: E2 24 00 4C 28 80 0D 02 02 1C 00 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 86 00 00 35 04 06 00 69 CA 55 75 F7 F1 00 00 1E [16:17:34]Write i2c OK [16:17:34]MH_I2C_Read... [16:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:17:34]Read from MH i2c: E2 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 03 00 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 03 00 4C 28 00 90 00 E8 [16:17:34]RAPDU: 90 00 [16:17:34]wFMCommunicate OK [16:17:34]wFMCommunicate request_size=4 [16:17:34]MH_SAM_APDU [16:17:34]CAPDU: 80 0D 03 02 [16:17:34]Write to MH i2c: E2 08 00 4D 28 80 0D 03 02 00 00 00 00 F0 [16:17:34]Write i2c OK [16:17:34]MH_I2C_Read... [16:17:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:17:34]Read from MH i2c: E2 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 0B 00 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 0B 00 4D 28 00 69 2A E4 17 93 C6 F5 9D 90 00 6A [16:17:34]RAPDU: 69 2A E4 17 93 C6 F5 9D 90 00 [16:17:34]wFMCommunicate OK [16:17:34]SAM_PROTO_SignData done [16:17:34]FM_MakeSignedData done [16:17:34]CreateOFDProtocolMessage [16:17:34]wFMCommunicate request_size=4 [16:17:34]MH_SAM_APDU [16:17:34]CAPDU: 80 11 00 00 [16:17:34]Write to MH i2c: E2 08 00 4E 28 80 11 00 00 00 00 00 00 F0 [16:17:34]Write i2c OK [16:17:34]MH_I2C_Read... [16:17:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:17:34]Read from MH i2c: E2 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 17 00 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: E2 17 00 4E 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 45 [16:17:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:17:34]wFMCommunicate OK [16:17:34]CreateOFDProtocolMessage done [16:17:34]OFDSenderStorePacket 34356 [16:17:34]StoreOFDPacket docnum=34356 [16:17:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 D3 4B 1E 01 F3 A2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 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 3C 00 00 00 F4 03 04 00 A2 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 86 00 00 35 04 06 00 69 CA 55 75 F7 F1 69 2A E4 17 93 C6 F5 9D [16:17:34]CheckFolder [16:17:34]dirname=/storage/ofd_packets [16:17:34]CheckFolder done [16:17:34]ProducePacketName [16:17:34]name=ofd_packets/00034356 [16:17:34]NVStorageSaveData ofd_packets/00034356 [16:17:34]File name is /storage/ofd_packets/00034356 [16:17:34]Write 324 bytes [16:17:34]NVStorageSaveData done [16:17:34]OFDSenderStorePacket done [16:17:34]KKMCreateOFDPacket done [16:17:34]NVStorageSaveData kkm_last_timestamp [16:17:34]File name is /storage/kkm_last_timestamp [16:17:34]Write 4 bytes [16:17:34]NVStorageSaveData done [16:17:34]ExternCall_PrintAddStr [16:17:34]wPrintStart [16:17:34]Write to MH i2c: 01 00 00 4F 28 77 [16:17:34]Write i2c OK [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: 01 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: 01 07 00 [16:17:34]MH_I2C_Read... [16:17:34]Read from MH i2c: 01 07 00 4F 28 00 00 00 00 00 FF 0F 8C [16:17:34]RasterBufferAndPrint [16:17:34]line Счет N : (3)184129 [16:17:34]line ИНН: 02508201610067 [16:17:34]line Контрольно-Кассовый Чек [16:17:34]line ПРОДАЖА [16:17:34]line Товар: 48741958 [16:17:34]line Сигареты Parliament Aqua Blue [16:17:34]line 2.000 * 151.00 [16:17:34]line = 302.00 [16:17:34]line НДС 12% НСП 1% [16:17:34]line > о реализуемом товаре [16:17:34]line ИТОГО: 302.00 [16:17:34]line НСП 1% : 2.67 [16:17:34]line НДС 12% : 32.07 [16:17:34]line Наличными: 302.00 [16:17:34]line Безнал.: 0.00 [16:17:34]line Место: АЗС № 120 "Партнер Нефть" [16:17:34]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:17:34]line СНО: Общий режим [16:17:34]line Чек 60 19.06.2024 16:17 [16:17:34]line Смена: 324 ФФД: 1.0 [16:17:34]line ЗНМ: 0300000172 [16:17:34]line РНМ: 0000000000092786 [16:17:34]line Версия ККМ: 001 [16:17:34]line ФМ: 0000000000875095 [16:17:34]line ФД: 34356 [16:17:34]line ФПД: 116317738104817 [16:17:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161738&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34356&fm=116317738104817&tin=02508201610067®Number=0000000000092786&sum=30200 [16:17:34]line 0 [16:17:34]OFD Sender: Processing packet 34356 [packets to send 8, broken 7] [16:17:34]ProducePacketName [16:17:34]name=ofd_packets/00034356 [16:17:34]OFD Sender: To server: pG, [16:17:34]CommunicateWithHost lk.salyk.kg:30040 [16:17:34]ConnectInit lk.salyk.kg [16:17:34]written 0, free lines is 4095 [16:17:34]Connected sock=10 [16:17:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 D3 4B 1E 01 F3 A2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 F8 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 0C 00 00 00 00 07 04 06 00 F8 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 3C 00 00 00 F4 03 04 00 A2 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 86 00 00 35 04 06 00 69 CA 55 75 F7 F1 69 2A E4 17 93 C6 F5 9D [16:17:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 04 E3 47 00 2C 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 34 86 00 00 F4 03 04 00 6F AB 72 66 B6 04 01 00 00 AC ED FC D7 C3 A9 3D 8E [16:17:35]CommunicateWithHost err = 0 [16:17:35]CheckOFDResponse [16:17:35]1017 (14) - 77093643461234 [16:17:35]1041 (16) - 0000000000875095 [16:17:35]1040 (4) - 34356 [16:17:35]1012 (4) - 19.06.2024 09:57 [16:17:35]1206 (1) - 0 [16:17:35]OFD Sender: Remove packet 34356 [16:17:35]ProducePacketName [16:17:35]name=ofd_packets/00034356 [16:17:35]NVStorageDeleteData [16:17:35]Write to MH i2c: 01 00 00 78 28 A0 [16:17:35]Write i2c OK [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: 01 [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: 01 07 00 [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: 01 07 00 78 28 00 00 00 00 00 EA 0C 9D [16:17:35]RasterBufferAndPrint [16:17:35]line [16:17:35]line [16:17:35]line [16:17:35]line [16:17:35]line [16:17:35]written 0, free lines is 3315 [16:17:35]MH_Cut [16:17:35]Write to MH i2c: D1 01 00 7F 28 01 79 [16:17:35]Write i2c OK [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: D1 [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: D1 01 00 [16:17:35]MH_I2C_Read... [16:17:35]Read from MH i2c: D1 01 00 7F 28 00 78 [16:17:35]Write to MH i2c: 01 00 00 80 28 A8 [16:17:35]Write i2c OK [16:17:35]MH_I2C_Read... [16:17:35]OFD Sender: No OFD packet to send [16:17:35]*** Cut start [16:17:35]*** Partial cut [16:17:35]*** CUTSNS_PIN = 1 [16:17:35]*** CUTSNS_PIN = 0 [16:17:36]*** Brake cut motor [16:17:36]Read from MH i2c: 01 [16:17:36]MH_I2C_Read... [16:17:36]*** Stop cut motor [16:17:36]*** Cut end [16:17:36]Read from MH i2c: 01 07 00 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: 01 07 00 80 28 00 00 00 00 00 FF 0F BD [16:17:36]process_action close_receipt done [16:17:36]requested_data is exist [16:17:36]produce_requested_data [16:17:36]requested_item fm.sn is exist - process it [16:17:36]wFMCommunicate request_size=4 [16:17:36]MH_SAM_APDU [16:17:36]CAPDU: 80 11 00 00 [16:17:36]Write to MH i2c: E2 08 00 81 28 80 11 00 00 00 00 00 00 23 [16:17:36]Write i2c OK [16:17:36]MH_I2C_Read... [16:17:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:17:36]Read from MH i2c: E2 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 17 00 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 17 00 81 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 78 [16:17:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:17:36]wFMCommunicate OK [16:17:36]requested_item fd.num is exist - process it [16:17:36]SAM_PROTO_GetFieldsCounters [16:17:36]wFMCommunicate request_size=4 [16:17:36]MH_SAM_APDU [16:17:36]CAPDU: 80 13 00 00 [16:17:36]Write to MH i2c: E2 08 00 82 28 80 13 00 00 00 00 00 00 26 [16:17:36]Write i2c OK [16:17:36]MH_I2C_Read... [16:17:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:17:36]Read from MH i2c: E2 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 62 00 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 62 00 82 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 34 86 00 00 0E 04 04 00 44 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 03 [16:17:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 34 86 00 00 0E 04 04 00 44 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 [16:17:36]wFMCommunicate OK [16:17:36]SAM_PROTO_GetFieldsCounters done [16:17:36]requested_item shift.num is exist - process it [16:17:36]requested_item shift.opened is exist - process it [16:17:36]req_shift_opened [16:17:36]FM_GetShiftState [16:17:36]SAM_PROTO_GetShiftState [16:17:36]wFMCommunicate request_size=4 [16:17:36]MH_SAM_APDU [16:17:36]CAPDU: 80 13 01 00 [16:17:36]Write to MH i2c: E2 08 00 83 28 80 13 01 00 00 00 00 00 28 [16:17:36]Write i2c OK [16:17:36]MH_I2C_Read... [16:17:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:17:36]Read from MH i2c: E2 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 0E 00 [16:17:36]MH_I2C_Read... [16:17:36]Read from MH i2c: E2 0E 00 83 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 FE [16:17:36]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:17:36]wFMCommunicate OK [16:17:36]SAM_PROTO_GetShiftState done [16:17:36]FM_GetShiftState done [16:17:36]req_shift_opened done [16:17:36]requested_item shift.open_date is exist - process it [16:17:36]req_shift_open_date [16:17:36]req_shift_open_date done [16:17:36]produce_requested_data done [16:17:36]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34356,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:17:36]process_action_free close_receipt [16:17:36]json_value_free [16:17:36]json_value_free done [16:17:36]process_json_proto returns [16:17:36]Send response to host [16:17:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34356,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:17:36]free response buf [16:17:36]execute_script done [16:17:36]execute_script returns [16:17:36]free content buf [16:17:36]Sock 9.Close socket [16:17:36]Sock 9.Thread stoped [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]accept exits with 7 [16:18:30]New connection [16:18:30]New thread 3067567460 created [16:18:30]Thread 3067424100 joined [16:18:30]Waiting for new connection... [16:18:30] Sock 7.Parse request [16:18:30]Sock 7.Check first char [16:18:30]Sock 7.First char is OK [16:18:30]request: POST /json_proto HTTP/1.0 [16:18:30]Method: POST [16:18:30]URL: /json_proto [16:18:30]Method is POST - this is cgi request [16:18:30]url: /json_proto [16:18:30]query_string will be loaded in cgi processing [16:18:30]execute_cgi json_proto POST (null) [16:18:30]execute_cgi path=json_proto method=POST [16:18:30]POST find Content-Length [16:18:30]Host: 172.17.38.134:8080 [16:18:30]Content-Length: 646 [16:18:30]Content-Type: application/json [16:18:30] [16:18:30]POST finish read [16:18:30]Found Content-Length = 646 [16:18:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184130", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:18:30]execute_script... [16:18: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)184130", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:18:30]POST & json_proto [16:18:30]process_json_proto [16:18:30]json parsed OK: [16:18:30]protocol is kg_v1.0 [16:18:30]action value=close_receipt [16:18:30]process_action close_receipt [16:18:30]cmd_close_receipt [16:18:30]MH_GetDate [16:18:30]Write to MH i2c: F0 00 00 84 28 9B [16:18:30]Write i2c OK [16:18:30]MH_I2C_Read... [16:18:30]Read from MH i2c: F0 [16:18:30]MH_I2C_Read... [16:18:30]Read from MH i2c: F0 09 00 [16:18:30]MH_I2C_Read... [16:18:30]Read from MH i2c: F0 09 00 84 28 00 DC 04 73 66 13 9C 7C 64 EC [16:18:30]GetLastDocTimeStamp 1718813858 [16:18:30]current date 1718813916 [16:18:30]FM_GetShiftState [16:18:30]SAM_PROTO_GetShiftState [16:18:30]wFMCommunicate request_size=4 [16:18:30]MH_SAM_APDU [16:18:30]CAPDU: 80 13 01 00 [16:18:30]Write to MH i2c: E2 08 00 85 28 80 13 01 00 00 00 00 00 2A [16:18:30]Write i2c OK [16:18:30]MH_I2C_Read... [16:18:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:18:30]Read from MH i2c: E2 [16:18:30]MH_I2C_Read... [16:18:30]Read from MH i2c: E2 0E 00 [16:18:30]MH_I2C_Read... [16:18:30]Read from MH i2c: E2 0E 00 85 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 00 [16:18:30]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:18:30]wFMCommunicate OK [16:18:30]SAM_PROTO_GetShiftState done [16:18:30]FM_GetShiftState done [16:18:30]opened in 1718756813 [16:18:30]opened+sec_in_day 1718843213 [16:18:30]quantity*price = 12500 [16:18:30]sum+1 = 12501 [16:18:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 61 19.06.2024 16:18 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34357 ФПД: 125775801469007 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161836&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34357&fm=125775801469007&tin=02508201610067®Number=0000000000092786&sum=12500 0 [16:18:31]StoreToDocumentArchive [16:18:31]shift 324 fd 34357 [16:18:31]save to /storage/0324/doc_00034357 [16:18:31]save last doc name /storage/0324/doc_00034357 to /storage/kkm_last_doc_name [16:18:31]save OK [16:18:31]Clear old archive folders... [16:18:31]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:18:31]tlvbuf is 019283D0 [16:18:31]SAM_PROTO_ClearQueue [16:18:31]wFMCommunicate request_size=4 [16:18:31]MH_SAM_APDU [16:18:31]CAPDU: 80 09 00 00 [16:18:31]Write to MH i2c: E2 08 00 92 28 80 09 00 00 00 00 00 00 2C [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 92 28 00 90 00 2E [16:18:31]RAPDU: 90 00 [16:18:31]wFMCommunicate OK [16:18:31]SAM_PROTO_ClearQueue done [16:18:31]KKMCreateOFDPacket [16:18:31]OFDProtocolAddRootSTLVToBuf [16:18:31]FM_MakeSignedData [16:18:31]FM_MakeSignedData [16:18:31]SAM_PROTO_SignData [16:18:31]wFMCommunicate request_size=4 [16:18:31]MH_SAM_APDU [16:18:31]CAPDU: 80 0D 01 02 [16:18:31]Write to MH i2c: E2 08 00 93 28 80 0D 01 02 00 00 00 00 34 [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 93 28 00 90 00 2F [16:18:31]RAPDU: 90 00 [16:18:31]wFMCommunicate OK [16:18:31]wFMCommunicate request_size=255 [16:18:31]MH_SAM_APDU [16:18:31]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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 DC 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 [16:18:31]Write to MH i2c: E2 02 01 94 28 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 DC 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 00 00 74 [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 94 28 00 90 00 30 [16:18:31]RAPDU: 90 00 [16:18:31]wFMCommunicate OK [16:18:31]wFMCommunicate request_size=41 [16:18:31]MH_SAM_APDU [16:18:31]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 86 00 00 35 04 06 00 72 64 75 F7 C8 4F [16:18:31]Write to MH i2c: E2 2C 00 95 28 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 86 00 00 35 04 06 00 72 64 75 F7 C8 4F 00 00 1C [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 03 00 95 28 00 90 00 31 [16:18:31]RAPDU: 90 00 [16:18:31]wFMCommunicate OK [16:18:31]wFMCommunicate request_size=4 [16:18:31]MH_SAM_APDU [16:18:31]CAPDU: 80 0D 03 02 [16:18:31]Write to MH i2c: E2 08 00 96 28 80 0D 03 02 00 00 00 00 39 [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 0B 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 0B 00 96 28 00 A3 DA A8 FB DA 29 63 8A 90 00 4A [16:18:31]RAPDU: A3 DA A8 FB DA 29 63 8A 90 00 [16:18:31]wFMCommunicate OK [16:18:31]SAM_PROTO_SignData done [16:18:31]FM_MakeSignedData done [16:18:31]CreateOFDProtocolMessage [16:18:31]wFMCommunicate request_size=4 [16:18:31]MH_SAM_APDU [16:18:31]CAPDU: 80 11 00 00 [16:18:31]Write to MH i2c: E2 08 00 97 28 80 11 00 00 00 00 00 00 39 [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:18:31]Read from MH i2c: E2 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 17 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: E2 17 00 97 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8E [16:18:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:18:31]wFMCommunicate OK [16:18:31]CreateOFDProtocolMessage done [16:18:31]OFDSenderStorePacket 34357 [16:18:31]StoreOFDPacket docnum=34357 [16:18:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 29 62 26 01 70 39 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 DC 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 86 00 00 35 04 06 00 72 64 75 F7 C8 4F A3 DA A8 FB DA 29 63 8A [16:18:31]CheckFolder [16:18:31]dirname=/storage/ofd_packets [16:18:31]CheckFolder done [16:18:31]ProducePacketName [16:18:31]name=ofd_packets/00034357 [16:18:31]NVStorageSaveData ofd_packets/00034357 [16:18:31]File name is /storage/ofd_packets/00034357 [16:18:31]Write 332 bytes [16:18:31]NVStorageSaveData done [16:18:31]OFDSenderStorePacket done [16:18:31]KKMCreateOFDPacket done [16:18:31]NVStorageSaveData kkm_last_timestamp [16:18:31]File name is /storage/kkm_last_timestamp [16:18:31]Write 4 bytes [16:18:31]NVStorageSaveData done [16:18:31]ExternCall_PrintAddStr [16:18:31]wPrintStart [16:18:31]Write to MH i2c: 01 00 00 98 28 C0 [16:18:31]Write i2c OK [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: 01 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: 01 07 00 [16:18:31]MH_I2C_Read... [16:18:31]Read from MH i2c: 01 07 00 98 28 00 00 00 00 00 FF 0F D5 [16:18:31]RasterBufferAndPrint [16:18:31]line Счет N : (3)184130 [16:18:31]line ИНН: 02508201610067 [16:18:31]line Контрольно-Кассовый Чек [16:18:31]line ПРОДАЖА [16:18:31]line Товар: 2000036220012 [16:18:31]line Кофе Капучино XL(GABB TRADE) [16:18:31]line 1.000 * 125.00 [16:18:31]line = 125.00 [16:18:31]line НДС 12% НСП 1% [16:18:31]line > о реализуемом товаре [16:18:31]line ИТОГО: 125.00 [16:18:31]line НСП 1% : 1.11 [16:18:31]line НДС 12% : 13.27 [16:18:31]line Наличными: 125.00 [16:18:31]line Безнал.: 0.00 [16:18:31]line Место: АЗС № 120 "Партнер Нефть" [16:18:31]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:18:31]line СНО: Общий режим [16:18:31]line Чек 61 19.06.2024 16:18 [16:18:31]line Смена: 324 ФФД: 1.0 [16:18:31]line ЗНМ: 0300000172 [16:18:31]line РНМ: 0000000000092786 [16:18:31]line Версия ККМ: 001 [16:18:31]line ФМ: 0000000000875095 [16:18:31]line ФД: 34357 [16:18:31]line ФПД: 125775801469007 [16:18:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T161836&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34357&fm=125775801469007&tin=02508201610067®Number=0000000000092786&sum=12500 [16:18:32]line 0 [16:18:32]OFD Sender: Processing packet 34357 [packets to send 8, broken 7] [16:18:32]ProducePacketName [16:18:32]name=ofd_packets/00034357 [16:18:32]OFD Sender: To server: pG, [16:18:32]CommunicateWithHost lk.salyk.kg:30040 [16:18:32]ConnectInit lk.salyk.kg [16:18:32]written 0, free lines is 4095 [16:18:32]Connected sock=10 [16:18:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2E 01 00 00 29 62 26 01 70 39 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 DC 04 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 86 00 00 35 04 06 00 72 64 75 F7 C8 4F A3 DA A8 FB DA 29 63 8A [16:18:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 93 B7 47 00 22 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 35 86 00 00 F4 03 04 00 A8 AB 72 66 B6 04 01 00 00 23 41 CE 66 B1 65 2F 44 [16:18:32]CommunicateWithHost err = 0 [16:18:32]CheckOFDResponse [16:18:32]1017 (14) - 77093643461234 [16:18:32]1041 (16) - 0000000000875095 [16:18:32]1040 (4) - 34357 [16:18:32]1012 (4) - 19.06.2024 09:58 [16:18:32]1206 (1) - 0 [16:18:32]OFD Sender: Remove packet 34357 [16:18:32]ProducePacketName [16:18:32]name=ofd_packets/00034357 [16:18:32]NVStorageDeleteData [16:18:32]Write to MH i2c: 01 00 00 C1 28 E9 [16:18:32]Write i2c OK [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: 01 [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: 01 07 00 [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: 01 07 00 C1 28 00 00 00 00 00 FC 0C F8 [16:18:32]RasterBufferAndPrint [16:18:32]line [16:18:32]line [16:18:32]line [16:18:32]line [16:18:32]line [16:18:32]written 0, free lines is 3330 [16:18:32]MH_Cut [16:18:32]Write to MH i2c: D1 01 00 C8 28 01 C2 [16:18:32]Write i2c OK [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: D1 [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: D1 01 00 [16:18:32]MH_I2C_Read... [16:18:32]Read from MH i2c: D1 01 00 C8 28 00 C1 [16:18:32]Write to MH i2c: 01 00 00 C9 28 F1 [16:18:32]Write i2c OK [16:18:32]MH_I2C_Read... [16:18:33]OFD Sender: No OFD packet to send [16:18:33]*** Cut start [16:18:33]*** Partial cut [16:18:33]*** CUTSNS_PIN = 1 [16:18:33]*** CUTSNS_PIN = 0 [16:18:33]*** Brake cut motor [16:18:33]Read from MH i2c: 01 [16:18:33]MH_I2C_Read... [16:18:33]*** Stop cut motor [16:18:33]*** Cut end [16:18:33]Read from MH i2c: 01 07 00 [16:18:33]MH_I2C_Read... [16:18:33]Read from MH i2c: 01 07 00 C9 28 00 00 00 00 00 FF 0F 06 [16:18:33]process_action close_receipt done [16:18:33]requested_data is exist [16:18:33]produce_requested_data [16:18:33]requested_item fm.sn is exist - process it [16:18:33]wFMCommunicate request_size=4 [16:18:33]MH_SAM_APDU [16:18:33]CAPDU: 80 11 00 00 [16:18:33]Write to MH i2c: E2 08 00 CA 28 80 11 00 00 00 00 00 00 6C [16:18:33]Write i2c OK [16:18:33]MH_I2C_Read... [16:18:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:18:34]Read from MH i2c: E2 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 17 00 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 17 00 CA 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C1 [16:18:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:18:34]wFMCommunicate OK [16:18:34]requested_item fd.num is exist - process it [16:18:34]SAM_PROTO_GetFieldsCounters [16:18:34]wFMCommunicate request_size=4 [16:18:34]MH_SAM_APDU [16:18:34]CAPDU: 80 13 00 00 [16:18:34]Write to MH i2c: E2 08 00 CB 28 80 13 00 00 00 00 00 00 6F [16:18:34]Write i2c OK [16:18:34]MH_I2C_Read... [16:18:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:18:34]Read from MH i2c: E2 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 62 00 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 62 00 CB 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 35 86 00 00 0E 04 04 00 44 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 50 [16:18:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 35 86 00 00 0E 04 04 00 44 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 [16:18:34]wFMCommunicate OK [16:18:34]SAM_PROTO_GetFieldsCounters done [16:18:34]requested_item shift.num is exist - process it [16:18:34]requested_item shift.opened is exist - process it [16:18:34]req_shift_opened [16:18:34]FM_GetShiftState [16:18:34]SAM_PROTO_GetShiftState [16:18:34]wFMCommunicate request_size=4 [16:18:34]MH_SAM_APDU [16:18:34]CAPDU: 80 13 01 00 [16:18:34]Write to MH i2c: E2 08 00 CC 28 80 13 01 00 00 00 00 00 71 [16:18:34]Write i2c OK [16:18:34]MH_I2C_Read... [16:18:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:18:34]Read from MH i2c: E2 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 0E 00 [16:18:34]MH_I2C_Read... [16:18:34]Read from MH i2c: E2 0E 00 CC 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 47 [16:18:34]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:18:34]wFMCommunicate OK [16:18:34]SAM_PROTO_GetShiftState done [16:18:34]FM_GetShiftState done [16:18:34]req_shift_opened done [16:18:34]requested_item shift.open_date is exist - process it [16:18:34]req_shift_open_date [16:18:34]req_shift_open_date done [16:18:34]produce_requested_data done [16:18:34]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34357,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:18:34]process_action_free close_receipt [16:18:34]json_value_free [16:18:34]json_value_free done [16:18:34]process_json_proto returns [16:18:34]Send response to host [16:18:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34357,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:18:34]free response buf [16:18:34]execute_script done [16:18:34]execute_script returns [16:18:34]free content buf [16:18:34]Sock 7.Close socket [16:18:34]Sock 7.Thread stoped [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:12]accept exits with 9 [16:36:12]New connection [16:36:12]New thread 3067424100 created [16:36:12]Thread 3067567460 joined [16:36:12]Waiting for new connection... [16:36:12] Sock 9.Parse request [16:36:12]Sock 9.Check first char [16:36:12]Sock 9.First char is OK [16:36:12]request: POST /json_proto HTTP/1.0 [16:36:12]Method: POST [16:36:12]URL: /json_proto [16:36:12]Method is POST - this is cgi request [16:36:12]url: /json_proto [16:36:12]query_string will be loaded in cgi processing [16:36:12]execute_cgi json_proto POST (null) [16:36:12]execute_cgi path=json_proto method=POST [16:36:12]POST find Content-Length [16:36:12]Host: 172.17.38.134:8080 [16:36:12]Content-Length: 1685 [16:36:12]Content-Type: application/json [16:36:12] [16:36:12]POST finish read [16:36:12]Found Content-Length = 1685 [16:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184131", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 571.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:36:12]execute_script... [16:36: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)184131", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 571.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:36:12]POST & json_proto [16:36:12]process_json_proto [16:36:13]json parsed OK: [16:36:13]protocol is kg_v1.0 [16:36:13]action value=close_receipt [16:36:13]process_action close_receipt [16:36:13]cmd_close_receipt [16:36:13]MH_GetDate [16:36:13]Write to MH i2c: F0 00 00 CD 28 E4 [16:36:13]Write i2c OK [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: F0 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: F0 09 00 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: F0 09 00 CD 28 00 03 09 73 66 13 9C 7C 64 61 [16:36:13]GetLastDocTimeStamp 1718813916 [16:36:13]current date 1718814979 [16:36:13]FM_GetShiftState [16:36:13]SAM_PROTO_GetShiftState [16:36:13]wFMCommunicate request_size=4 [16:36:13]MH_SAM_APDU [16:36:13]CAPDU: 80 13 01 00 [16:36:13]Write to MH i2c: E2 08 00 CE 28 80 13 01 00 00 00 00 00 73 [16:36:13]Write i2c OK [16:36:13]MH_I2C_Read... [16:36:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:36:13]Read from MH i2c: E2 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: E2 0E 00 [16:36:13]MH_I2C_Read... [16:36:13]Read from MH i2c: E2 0E 00 CE 28 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 49 [16:36:13]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:36:13]wFMCommunicate OK [16:36:13]SAM_PROTO_GetShiftState done [16:36:13]FM_GetShiftState done [16:36:13]opened in 1718756813 [16:36:13]opened+sec_in_day 1718843213 [16:36:13]quantity*price = 12500 [16:36:13]sum+1 = 12501 [16:36:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091607 Сигареты ESSE Exchange 2.000 * 138.00 = 276.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000481972 Напиток энерг Nitro грейпфрут-маракуйя 0 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 571.00 НСП 1% : 5.05 НДС 12% : 60.63 Наличными: 0.00 Безнал.: 571.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 62 19.06.2024 16:36 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34358 ФПД: 165854237956363 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T163619&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34358&fm=165854237956363&tin=02508201610067®Number=0000000000092786&sum=57100 0 [16:36:14]StoreToDocumentArchive [16:36:14]shift 324 fd 34358 [16:36:14]save to /storage/0324/doc_00034358 [16:36:14]save last doc name /storage/0324/doc_00034358 to /storage/kkm_last_doc_name [16:36:14]save OK [16:36:14]Clear old archive folders... [16:36:14]ProcessDocumentItem done err = 0, tmpTLVsize=630 [16:36:14]tlvbuf is 01914A50 [16:36:14]SAM_PROTO_ClearQueue [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 09 00 00 [16:36:14]Write to MH i2c: E2 08 00 DB 28 80 09 00 00 00 00 00 00 75 [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 DB 28 00 90 00 77 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]SAM_PROTO_ClearQueue done [16:36:14]KKMCreateOFDPacket [16:36:14]OFDProtocolAddRootSTLVToBuf [16:36:14]FM_MakeSignedData [16:36:14]FM_MakeSignedData [16:36:14]SAM_PROTO_SignData [16:36:14]wFMCommunicate request_size=4 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 01 02 [16:36:14]Write to MH i2c: E2 08 00 DC 28 80 0D 01 02 00 00 00 00 7D [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 DC 28 00 90 00 78 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]wFMCommunicate request_size=255 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 02 02 FA 03 00 76 02 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 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 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 [16:36:14]Write to MH i2c: E2 02 01 DD 28 80 0D 02 02 FA 00 03 00 76 02 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 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 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 00 00 FA [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:14]Read from MH i2c: E2 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 [16:36:14]MH_I2C_Read... [16:36:14]Read from MH i2c: E2 03 00 DD 28 00 90 00 79 [16:36:14]RAPDU: 90 00 [16:36:14]wFMCommunicate OK [16:36:14]wFMCommunicate request_size=255 [16:36:14]MH_SAM_APDU [16:36:14]CAPDU: 80 0D 02 02 FA 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 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 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 [16:36:14]Write to MH i2c: E2 02 01 DE 28 80 0D 02 02 FA 00 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 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 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 00 00 BA [16:36:14]Write i2c OK [16:36:14]MH_I2C_Read... [16:36:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:15]Read from MH i2c: E2 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 03 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 03 00 DE 28 00 90 00 7A [16:36:15]RAPDU: 90 00 [16:36:15]wFMCommunicate OK [16:36:15]wFMCommunicate request_size=139 [16:36:15]MH_SAM_APDU [16:36:15]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C DF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 03 09 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 86 00 00 35 04 06 00 96 D7 F2 F0 19 0B [16:36:15]Write to MH i2c: E2 8E 00 DF 28 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C DF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 03 09 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 86 00 00 35 04 06 00 96 D7 F2 F0 19 0B 00 00 0B [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:36:15]Read from MH i2c: E2 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 03 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 03 00 DF 28 00 90 00 7B [16:36:15]RAPDU: 90 00 [16:36:15]wFMCommunicate OK [16:36:15]wFMCommunicate request_size=4 [16:36:15]MH_SAM_APDU [16:36:15]CAPDU: 80 0D 03 02 [16:36:15]Write to MH i2c: E2 08 00 E0 28 80 0D 03 02 00 00 00 00 83 [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:36:15]Read from MH i2c: E2 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 0B 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 0B 00 E0 28 00 A9 E9 BE 4C 4A B9 23 26 90 00 6C [16:36:15]RAPDU: A9 E9 BE 4C 4A B9 23 26 90 00 [16:36:15]wFMCommunicate OK [16:36:15]SAM_PROTO_SignData done [16:36:15]FM_MakeSignedData done [16:36:15]CreateOFDProtocolMessage [16:36:15]wFMCommunicate request_size=4 [16:36:15]MH_SAM_APDU [16:36:15]CAPDU: 80 11 00 00 [16:36:15]Write to MH i2c: E2 08 00 E1 28 80 11 00 00 00 00 00 00 83 [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:15]Read from MH i2c: E2 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 17 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: E2 17 00 E1 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D8 [16:36:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:36:15]wFMCommunicate OK [16:36:15]CreateOFDProtocolMessage done [16:36:15]OFDSenderStorePacket 34358 [16:36:15]StoreOFDPacket docnum=34358 [16:36:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 8A 02 00 00 E5 14 82 02 A8 D4 5A 03 01 00 03 00 76 02 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 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 35 34 34 39 31 34 37 32 06 04 26 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 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 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C DF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 03 09 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 86 00 00 35 04 06 00 96 D7 F2 F0 19 0B A9 E9 BE 4C 4A B9 23 26 [16:36:15]CheckFolder [16:36:15]dirname=/storage/ofd_packets [16:36:15]CheckFolder done [16:36:15]ProducePacketName [16:36:15]name=ofd_packets/00034358 [16:36:15]NVStorageSaveData ofd_packets/00034358 [16:36:15]File name is /storage/ofd_packets/00034358 [16:36:15]Write 680 bytes [16:36:15]NVStorageSaveData done [16:36:15]OFDSenderStorePacket done [16:36:15]KKMCreateOFDPacket done [16:36:15]NVStorageSaveData kkm_last_timestamp [16:36:15]File name is /storage/kkm_last_timestamp [16:36:15]Write 4 bytes [16:36:15]NVStorageSaveData done [16:36:15]ExternCall_PrintAddStr [16:36:15]wPrintStart [16:36:15]Write to MH i2c: 01 00 00 E2 28 0A [16:36:15]Write i2c OK [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 07 00 [16:36:15]MH_I2C_Read... [16:36:15]Read from MH i2c: 01 07 00 E2 28 00 00 00 00 00 FF 0F 1F [16:36:15]RasterBufferAndPrint [16:36:15]line Счет N : (3)184131 [16:36:15]line ИНН: 02508201610067 [16:36:15]line Контрольно-Кассовый Чек [16:36:15]line ПРОДАЖА [16:36:15]line Товар: 2000036220012 [16:36:15]line Кофе Капучино XL(GABB TRADE) [16:36:15]line 1.000 * 125.00 [16:36:15]line = 125.00 [16:36:15]line НДС 12% НСП 1% [16:36:15]line > о реализуемом товаре [16:36:15]line Товар: 4640030091607 [16:36:15]line Сигареты ESSE Exchange [16:36:15]line 2.000 * 138.00 [16:36:15]line = 276.00 [16:36:15]line НДС 12% НСП 1% [16:36:15]line > о реализуемом товаре [16:36:15]line Товар: 54491472 [16:36:15]line Напиток Кока-Кола 0,5л [16:36:15]line 1.000 * 75.00 [16:36:15]line = 75.00 [16:36:15]line НДС 12% НСП 1% [16:36:15]line > о реализуемом товаре [16:36:15]line Товар: 4700000481972 [16:36:15]line Напиток энерг Nitro грейпфрут-маракуйя 0 [16:36:15]line 1.000 * 95.00 [16:36:15]line = 95.00 [16:36:15]line НДС 12% НСП 1% [16:36:15]line > о реализуемом товаре [16:36:15]line ИТОГО: 571.00 [16:36:15]line НСП 1% : 5.05 [16:36:15]line НДС 12% : 60.63 [16:36:15]line Наличными: 0.00 [16:36:15]line Безнал.: 571.00 [16:36:15]line Место: АЗС № 120 "Партнер Нефть" [16:36:15]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [16:36:15]line СНО: Общий режим [16:36:15]line Чек 62 19.06.2024 16:36 [16:36:15]line Смена: 324 ФФД: 1.0 [16:36:15]line ЗНМ: 0300000172 [16:36:15]line РНМ: 0000000000092786 [16:36:15]line Версия ККМ: 001 [16:36:15]line Платежная система: Бакай Банк [16:36:15]line ФМ: 0000000000875095 [16:36:15]line ФД: 34358 [16:36:15]line ФПД: 165854237956363 [16:36:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T163619&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34358&fm=165854237956363&tin=02508201610067®Number=0000000000092786&sum=57100 [16:36:15]line 0 [16:36:15]OFD Sender: Processing packet 34358 [packets to send 8, broken 7] [16:36:15]ProducePacketName [16:36:15]name=ofd_packets/00034358 [16:36:15]OFD Sender: To server: pG, [16:36:15]CommunicateWithHost lk.salyk.kg:30040 [16:36:15]ConnectInit lk.salyk.kg [16:36:15]written 0, free lines is 4095 [16:36:15]Connected sock=10 [16:36:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 8A 02 00 00 E5 14 82 02 A8 D4 5A 03 01 00 03 00 76 02 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 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 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 35 34 34 39 31 34 37 32 06 04 26 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 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 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 0C DF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C DF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 03 09 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 86 00 00 35 04 06 00 96 D7 F2 F0 19 0B A9 E9 BE 4C 4A B9 23 26 [16:36:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 D7 AA 47 00 D5 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 36 86 00 00 F4 03 04 00 D0 AF 72 66 B6 04 01 00 00 6A D8 1F DA 20 45 26 E3 [16:36:16]CommunicateWithHost err = 0 [16:36:16]CheckOFDResponse [16:36:16]1017 (14) - 77093643461234 [16:36:16]1041 (16) - 0000000000875095 [16:36:16]1040 (4) - 34358 [16:36:16]1012 (4) - 19.06.2024 10:15 [16:36:16]1206 (1) - 0 [16:36:16]OFD Sender: Remove packet 34358 [16:36:16]ProducePacketName [16:36:16]name=ofd_packets/00034358 [16:36:16]NVStorageDeleteData [16:36:16]Write to MH i2c: 01 00 00 20 29 49 [16:36:16]Write i2c OK [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: 01 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: 01 07 00 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: 01 07 00 20 29 00 00 00 00 00 D4 0B 2F [16:36:16]RasterBufferAndPrint [16:36:16]line [16:36:16]line [16:36:16]line [16:36:16]line [16:36:16]line [16:36:16]written 0, free lines is 3035 [16:36:16]MH_Cut [16:36:16]Write to MH i2c: D1 01 00 27 29 01 22 [16:36:16]Write i2c OK [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: D1 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: D1 01 00 [16:36:16]MH_I2C_Read... [16:36:16]Read from MH i2c: D1 01 00 27 29 00 21 [16:36:16]Write to MH i2c: 01 00 00 28 29 51 [16:36:16]Write i2c OK [16:36:16]MH_I2C_Read... [16:36:16]OFD Sender: No OFD packet to send [16:36:17]*** Cut start [16:36:17]*** Partial cut [16:36:17]*** CUTSNS_PIN = 1 [16:36:17]*** CUTSNS_PIN = 0 [16:36:17]*** Brake cut motor [16:36:17]Read from MH i2c: 01 [16:36:17]MH_I2C_Read... [16:36:17]*** Stop cut motor [16:36:17]*** Cut end [16:36:17]Read from MH i2c: 01 07 00 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: 01 07 00 28 29 00 00 00 00 00 FF 0F 66 [16:36:17]process_action close_receipt done [16:36:17]requested_data is exist [16:36:17]produce_requested_data [16:36:17]requested_item fm.sn is exist - process it [16:36:17]wFMCommunicate request_size=4 [16:36:17]MH_SAM_APDU [16:36:17]CAPDU: 80 11 00 00 [16:36:17]Write to MH i2c: E2 08 00 29 29 80 11 00 00 00 00 00 00 CC [16:36:17]Write i2c OK [16:36:17]MH_I2C_Read... [16:36:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:36:17]Read from MH i2c: E2 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 17 00 [16:36:17]MH_I2C_Read... [16:36:17]Read from MH i2c: E2 17 00 29 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 21 [16:36:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [16:36:17]wFMCommunicate OK [16:36:17]requested_item fd.num is exist - process it [16:36:17]SAM_PROTO_GetFieldsCounters [16:36:17]wFMCommunicate request_size=4 [16:36:17]MH_SAM_APDU [16:36:17]CAPDU: 80 13 00 00 [16:36:17]Write to MH i2c: E2 08 00 2A 29 80 13 00 00 00 00 00 00 CF [16:36:17]Write i2c OK [16:36:17]MH_I2C_Read... [16:36:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:36:18]Read from MH i2c: E2 [16:36:18]MH_I2C_Read... [16:36:18]Read from MH i2c: E2 62 00 [16:36:18]MH_I2C_Read... [16:36:18]Read from MH i2c: E2 62 00 2A 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 36 86 00 00 0E 04 04 00 44 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 B4 [16:36:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 36 86 00 00 0E 04 04 00 44 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 [16:36:18]wFMCommunicate OK [16:36:18]SAM_PROTO_GetFieldsCounters done [16:36:18]requested_item shift.num is exist - process it [16:36:18]requested_item shift.opened is exist - process it [16:36:18]req_shift_opened [16:36:18]FM_GetShiftState [16:36:18]SAM_PROTO_GetShiftState [16:36:18]wFMCommunicate request_size=4 [16:36:18]MH_SAM_APDU [16:36:18]CAPDU: 80 13 01 00 [16:36:18]Write to MH i2c: E2 08 00 2B 29 80 13 01 00 00 00 00 00 D1 [16:36:18]Write i2c OK [16:36:18]MH_I2C_Read... [16:36:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:36:18]Read from MH i2c: E2 [16:36:18]MH_I2C_Read... [16:36:18]Read from MH i2c: E2 0E 00 [16:36:18]MH_I2C_Read... [16:36:18]Read from MH i2c: E2 0E 00 2B 29 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 A7 [16:36:18]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [16:36:18]wFMCommunicate OK [16:36:18]SAM_PROTO_GetShiftState done [16:36:18]FM_GetShiftState done [16:36:18]req_shift_opened done [16:36:18]requested_item shift.open_date is exist - process it [16:36:18]req_shift_open_date [16:36:18]req_shift_open_date done [16:36:18]produce_requested_data done [16:36:18]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34358,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [16:36:18]process_action_free close_receipt [16:36:18]json_value_free [16:36:18]json_value_free done [16:36:18]process_json_proto returns [16:36:18]Send response to host [16:36:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34358,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [16:36:18]free response buf [16:36:18]execute_script done [16:36:18]execute_script returns [16:36:18]free content buf [16:36:18]Sock 9.Close socket [16:36:18]Sock 9.Thread stoped [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:46]OFD Sender: No OFD packet to send [16:42:51]OFD Sender: No OFD packet to send [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]OFD Sender: No OFD packet to send [16:49:57]OFD Sender: No OFD packet to send [16:50:02]OFD Sender: No OFD packet to send [16:50:07]OFD Sender: No OFD packet to send [16:50:12]OFD Sender: No OFD packet to send [16:50:17]OFD Sender: No OFD packet to send [16:50:22]OFD Sender: No OFD packet to send [16:50:27]OFD Sender: No OFD packet to send [16:50:32]OFD Sender: No OFD packet to send [16:50:37]OFD Sender: No OFD packet to send [16:50:42]OFD Sender: No OFD packet to send [16:50:47]OFD Sender: No OFD packet to send [16:50:52]OFD Sender: No OFD packet to send [16:50:57]OFD Sender: No OFD packet to send [16:51:02]OFD Sender: No OFD packet to send [16:51:07]OFD Sender: No OFD packet to send [16:51:12]OFD Sender: No OFD packet to send [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:12]OFD Sender: No OFD packet to send [16:52:17]OFD Sender: No OFD packet to send [16:52:22]OFD Sender: No OFD packet to send [16:52:27]OFD Sender: No OFD packet to send [16:52:32]OFD Sender: No OFD packet to send [16:52:37]OFD Sender: No OFD packet to send [16:52:42]OFD Sender: No OFD packet to send [16:52:47]OFD Sender: No OFD packet to send [16:52:52]OFD Sender: No OFD packet to send [16:52:57]OFD Sender: No OFD packet to send [16:53:02]OFD Sender: No OFD packet to send [16:53:07]OFD Sender: No OFD packet to send [16:53:12]OFD Sender: No OFD packet to send [16:53:17]OFD Sender: No OFD packet to send [16:53:22]OFD Sender: No OFD packet to send [16:53:27]OFD Sender: No OFD packet to send [16:53:32]OFD Sender: No OFD packet to send [16:53:37]OFD Sender: No OFD packet to send [16:53:42]OFD Sender: No OFD packet to send [16:53:47]OFD Sender: No OFD packet to send [16:53:52]OFD Sender: No OFD packet to send [16:53:57]OFD Sender: No OFD packet to send [16:54:02]OFD Sender: No OFD packet to send [16:54:07]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:12]OFD Sender: No OFD packet to send [16:55:17]OFD Sender: No OFD packet to send [16:55:22]OFD Sender: No OFD packet to send [16:55:27]OFD Sender: No OFD packet to send [16:55:32]OFD Sender: No OFD packet to send [16:55:37]OFD Sender: No OFD packet to send [16:55:42]OFD Sender: No OFD packet to send [16:55:47]OFD Sender: No OFD packet to send [16:55:52]OFD Sender: No OFD packet to send [16:55:57]OFD Sender: No OFD packet to send [16:56:02]OFD Sender: No OFD packet to send [16:56:07]OFD Sender: No OFD packet to send [16:56:12]OFD Sender: No OFD packet to send [16:56:17]OFD Sender: No OFD packet to send [16:56:22]OFD Sender: No OFD packet to send [16:56:27]OFD Sender: No OFD packet to send [16:56:32]OFD Sender: No OFD packet to send [16:56:37]OFD Sender: No OFD packet to send [16:56:42]OFD Sender: No OFD packet to send [16:56:47]OFD Sender: No OFD packet to send [16:56:52]OFD Sender: No OFD packet to send [16:56:57]OFD Sender: No OFD packet to send [16:57:02]OFD Sender: No OFD packet to send [16:57:07]OFD Sender: No OFD packet to send [16:57:12]OFD Sender: No OFD packet to send [16:57:17]OFD Sender: No OFD packet to send [16:57:22]OFD Sender: No OFD packet to send [16:57:27]OFD Sender: No OFD packet to send [16:57:32]OFD Sender: No OFD packet to send [16:57:37]OFD Sender: No OFD packet to send [16:57:42]OFD Sender: No OFD packet to send [16:57:47]OFD Sender: No OFD packet to send [16:57:52]OFD Sender: No OFD packet to send [16:57:57]OFD Sender: No OFD packet to send [16:58:02]OFD Sender: No OFD packet to send [16:58:07]OFD Sender: No OFD packet to send [16:58:12]OFD Sender: No OFD packet to send [16:58:17]OFD Sender: No OFD packet to send [16:58:22]OFD Sender: No OFD packet to send [16:58:27]OFD Sender: No OFD packet to send [16:58:32]OFD Sender: No OFD packet to send [16:58:37]OFD Sender: No OFD packet to send [16:58:42]OFD Sender: No OFD packet to send [16:58:47]OFD Sender: No OFD packet to send [16:58:52]OFD Sender: No OFD packet to send [16:58:57]OFD Sender: No OFD packet to send [16:59:02]OFD Sender: No OFD packet to send [16:59:07]OFD Sender: No OFD packet to send [16:59:12]OFD Sender: No OFD packet to send [16:59:17]OFD Sender: No OFD packet to send [16:59:22]OFD Sender: No OFD packet to send [16:59:27]OFD Sender: No OFD packet to send [16:59:32]OFD Sender: No OFD packet to send [16:59:37]OFD Sender: No OFD packet to send [16:59:42]OFD Sender: No OFD packet to send [16:59:47]OFD Sender: No OFD packet to send [16:59:52]OFD Sender: No OFD packet to send [16:59:57]OFD Sender: No OFD packet to send [17:00:02]OFD Sender: No OFD packet to send [17:00:07]OFD Sender: No OFD packet to send [17:00:12]OFD Sender: No OFD packet to send [17:00:17]OFD Sender: No OFD packet to send [17:00:22]OFD Sender: No OFD packet to send [17:00:27]OFD Sender: No OFD packet to send [17:00:32]OFD Sender: No OFD packet to send [17:00:37]OFD Sender: No OFD packet to send [17:00:42]OFD Sender: No OFD packet to send [17:00:47]OFD Sender: No OFD packet to send [17:00:52]OFD Sender: No OFD packet to send [17:00:57]OFD Sender: No OFD packet to send [17:01:02]OFD Sender: No OFD packet to send [17:01:07]OFD Sender: No OFD packet to send [17:01:12]OFD Sender: No OFD packet to send [17:01:17]OFD Sender: No OFD packet to send [17:01:22]OFD Sender: No OFD packet to send [17:01:27]OFD Sender: No OFD packet to send [17:01:32]OFD Sender: No OFD packet to send [17:01:37]OFD Sender: No OFD packet to send [17:01:42]OFD Sender: No OFD packet to send [17:01:47]OFD Sender: No OFD packet to send [17:01:52]OFD Sender: No OFD packet to send [17:01:57]OFD Sender: No OFD packet to send [17:02:02]OFD Sender: No OFD packet to send [17:02:07]OFD Sender: No OFD packet to send [17:02:12]OFD Sender: No OFD packet to send [17:02:17]OFD Sender: No OFD packet to send [17:02:22]OFD Sender: No OFD packet to send [17:02:27]OFD Sender: No OFD packet to send [17:02:32]OFD Sender: No OFD packet to send [17:02:37]OFD Sender: No OFD packet to send [17:02:42]OFD Sender: No OFD packet to send [17:02:47]OFD Sender: No OFD packet to send [17:02:52]OFD Sender: No OFD packet to send [17:02:57]OFD Sender: No OFD packet to send [17:03:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [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:16]accept exits with 7 [17:15:16]New connection [17:15:16]New thread 3067567460 created [17:15:16]Thread 3067424100 joined [17:15:16]Waiting for new connection... [17:15:16] Sock 7.Parse request [17:15:16]Sock 7.Check first char [17:15:16]Sock 7.First char is OK [17:15:16]request: POST /json_proto HTTP/1.0 [17:15:16]Method: POST [17:15:16]URL: /json_proto [17:15:16]Method is POST - this is cgi request [17:15:16]url: /json_proto [17:15:16]query_string will be loaded in cgi processing [17:15:16]execute_cgi json_proto POST (null) [17:15:16]execute_cgi path=json_proto method=POST [17:15:16]POST find Content-Length [17:15:16]Host: 172.17.38.134:8080 [17:15:16]Content-Length: 663 [17:15:16]Content-Type: application/json [17:15:16] [17:15:16]POST finish read [17:15:16]Found Content-Length = 663 [17:15:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184132", "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" : 180.00, "quantity" : 1.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" ] } } [17:15:16]execute_script... [17:15:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184132", "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" : 180.00, "quantity" : 1.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" ] } } [17:15:16]POST & json_proto [17:15:16]process_json_proto [17:15:16]json parsed OK: [17:15:16]protocol is kg_v1.0 [17:15:16]action value=close_receipt [17:15:16]process_action close_receipt [17:15:16]cmd_close_receipt [17:15:16]MH_GetDate [17:15:16]Write to MH i2c: F0 00 00 2C 29 44 [17:15:16]Write i2c OK [17:15:16]MH_I2C_Read... [17:15:16]Read from MH i2c: F0 [17:15:16]MH_I2C_Read... [17:15:16]Read from MH i2c: F0 09 00 [17:15:16]MH_I2C_Read... [17:15:16]Read from MH i2c: F0 09 00 2C 29 00 2A 12 73 66 13 9C 7C 64 F1 [17:15:16]GetLastDocTimeStamp 1718814979 [17:15:16]current date 1718817322 [17:15:16]FM_GetShiftState [17:15:16]SAM_PROTO_GetShiftState [17:15:16]wFMCommunicate request_size=4 [17:15:16]MH_SAM_APDU [17:15:16]CAPDU: 80 13 01 00 [17:15:16]Write to MH i2c: E2 08 00 2D 29 80 13 01 00 00 00 00 00 D3 [17:15:16]Write i2c OK [17:15:16]MH_I2C_Read... [17:15:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:16]Read from MH i2c: E2 [17:15:16]MH_I2C_Read... [17:15:16]Read from MH i2c: E2 0E 00 [17:15:16]MH_I2C_Read... [17:15:16]Read from MH i2c: E2 0E 00 2D 29 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 A9 [17:15:16]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:15:16]wFMCommunicate OK [17:15:16]SAM_PROTO_GetShiftState done [17:15:16]FM_GetShiftState done [17:15:16]opened in 1718756813 [17:15:16]opened+sec_in_day 1718843213 [17:15:16]quantity*price = 18000 [17:15:16]sum+1 = 18001 [17:15:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 63 19.06.2024 17:15 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34359 ФПД: 134086134293501 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T171522&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34359&fm=134086134293501&tin=02508201610067®Number=0000000000092786&sum=18000 0 [17:15:17]StoreToDocumentArchive [17:15:17]shift 324 fd 34359 [17:15:17]save to /storage/0324/doc_00034359 [17:15:17]save last doc name /storage/0324/doc_00034359 to /storage/kkm_last_doc_name [17:15:17]save OK [17:15:17]Clear old archive folders... [17:15:17]ProcessDocumentItem done err = 0, tmpTLVsize=287 [17:15:17]tlvbuf is 01981DF0 [17:15:17]SAM_PROTO_ClearQueue [17:15:17]wFMCommunicate request_size=4 [17:15:17]MH_SAM_APDU [17:15:17]CAPDU: 80 09 00 00 [17:15:17]Write to MH i2c: E2 08 00 3A 29 80 09 00 00 00 00 00 00 D5 [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 3A 29 00 90 00 D7 [17:15:17]RAPDU: 90 00 [17:15:17]wFMCommunicate OK [17:15:17]SAM_PROTO_ClearQueue done [17:15:17]KKMCreateOFDPacket [17:15:17]OFDProtocolAddRootSTLVToBuf [17:15:17]FM_MakeSignedData [17:15:17]FM_MakeSignedData [17:15:17]SAM_PROTO_SignData [17:15:17]wFMCommunicate request_size=4 [17:15:17]MH_SAM_APDU [17:15:17]CAPDU: 80 0D 01 02 [17:15:17]Write to MH i2c: E2 08 00 3B 29 80 0D 01 02 00 00 00 00 DD [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 3B 29 00 90 00 D8 [17:15:17]RAPDU: 90 00 [17:15:17]wFMCommunicate OK [17:15:17]wFMCommunicate request_size=255 [17:15:17]MH_SAM_APDU [17:15:17]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 50 46 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 3F 00 00 00 F4 03 04 00 2A 12 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [17:15:17]Write to MH i2c: E2 02 01 3C 29 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 50 46 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 3F 00 00 00 F4 03 04 00 2A 12 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 1C [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 3C 29 00 90 00 D9 [17:15:17]RAPDU: 90 00 [17:15:17]wFMCommunicate OK [17:15:17]wFMCommunicate request_size=46 [17:15:17]MH_SAM_APDU [17:15:17]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 86 00 00 35 04 06 00 79 F3 5C 67 63 FD [17:15:17]Write to MH i2c: E2 31 00 3D 29 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 86 00 00 35 04 06 00 79 F3 5C 67 63 FD 00 00 C1 [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 03 00 3D 29 00 90 00 DA [17:15:17]RAPDU: 90 00 [17:15:17]wFMCommunicate OK [17:15:17]wFMCommunicate request_size=4 [17:15:17]MH_SAM_APDU [17:15:17]CAPDU: 80 0D 03 02 [17:15:17]Write to MH i2c: E2 08 00 3E 29 80 0D 03 02 00 00 00 00 E2 [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 0B 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 0B 00 3E 29 00 0F 9E B4 09 8C 0E 9A D9 90 00 5A [17:15:17]RAPDU: 0F 9E B4 09 8C 0E 9A D9 90 00 [17:15:17]wFMCommunicate OK [17:15:17]SAM_PROTO_SignData done [17:15:17]FM_MakeSignedData done [17:15:17]CreateOFDProtocolMessage [17:15:17]wFMCommunicate request_size=4 [17:15:17]MH_SAM_APDU [17:15:17]CAPDU: 80 11 00 00 [17:15:17]Write to MH i2c: E2 08 00 3F 29 80 11 00 00 00 00 00 00 E2 [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:17]Read from MH i2c: E2 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 17 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: E2 17 00 3F 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 37 [17:15:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:15:17]wFMCommunicate OK [17:15:17]CreateOFDProtocolMessage done [17:15:17]OFDSenderStorePacket 34359 [17:15:17]StoreOFDPacket docnum=34359 [17:15:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 DD 1E 2B 01 8D 5F 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 50 46 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 3F 00 00 00 F4 03 04 00 2A 12 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 86 00 00 35 04 06 00 79 F3 5C 67 63 FD 0F 9E B4 09 8C 0E 9A D9 [17:15:17]CheckFolder [17:15:17]dirname=/storage/ofd_packets [17:15:17]CheckFolder done [17:15:17]ProducePacketName [17:15:17]name=ofd_packets/00034359 [17:15:17]NVStorageSaveData ofd_packets/00034359 [17:15:17]File name is /storage/ofd_packets/00034359 [17:15:17]Write 337 bytes [17:15:17]NVStorageSaveData done [17:15:17]OFDSenderStorePacket done [17:15:17]KKMCreateOFDPacket done [17:15:17]NVStorageSaveData kkm_last_timestamp [17:15:17]File name is /storage/kkm_last_timestamp [17:15:17]Write 4 bytes [17:15:17]NVStorageSaveData done [17:15:17]ExternCall_PrintAddStr [17:15:17]wPrintStart [17:15:17]Write to MH i2c: 01 00 00 40 29 69 [17:15:17]Write i2c OK [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: 01 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: 01 07 00 [17:15:17]MH_I2C_Read... [17:15:17]Read from MH i2c: 01 07 00 40 29 00 00 00 00 00 FF 0F 7E [17:15:17]RasterBufferAndPrint [17:15:17]line Счет N : (3)184132 [17:15:17]line ИНН: 02508201610067 [17:15:17]line Контрольно-Кассовый Чек [17:15:17]line ПРОДАЖА [17:15:17]line Товар: 5449000176448 [17:15:17]line Сок Piko Pulpy апельсин ПЭТ 1л [17:15:17]line 1.000 * 180.00 [17:15:17]line = 180.00 [17:15:17]line НДС 12% НСП 1% [17:15:17]line > о реализуемом товаре [17:15:17]line ИТОГО: 180.00 [17:15:17]line НСП 1% : 1.59 [17:15:17]line НДС 12% : 19.11 [17:15:17]line Наличными: 180.00 [17:15:17]line Безнал.: 0.00 [17:15:17]line Место: АЗС № 120 "Партнер Нефть" [17:15:17]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:15:17]line СНО: Общий режим [17:15:17]line Чек 63 19.06.2024 17:15 [17:15:17]line Смена: 324 ФФД: 1.0 [17:15:17]line ЗНМ: 0300000172 [17:15:17]line РНМ: 0000000000092786 [17:15:17]line Версия ККМ: 001 [17:15:17]line ФМ: 0000000000875095 [17:15:17]line ФД: 34359 [17:15:18]line ФПД: 134086134293501 [17:15:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T171522&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34359&fm=134086134293501&tin=02508201610067®Number=0000000000092786&sum=18000 [17:15:18]line 0 [17:15:18]OFD Sender: Processing packet 34359 [packets to send 8, broken 7] [17:15:18]ProducePacketName [17:15:18]name=ofd_packets/00034359 [17:15:18]OFD Sender: To server: pG, [17:15:18]CommunicateWithHost lk.salyk.kg:30040 [17:15:18]ConnectInit lk.salyk.kg [17:15:18]written 0, free lines is 4095 [17:15:18]Connected sock=10 [17:15:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 DD 1E 2B 01 8D 5F 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 50 46 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 3F 00 00 00 F4 03 04 00 2A 12 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 86 00 00 35 04 06 00 79 F3 5C 67 63 FD 0F 9E B4 09 8C 0E 9A D9 [17:15:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 CE 29 47 00 CD 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 37 86 00 00 F4 03 04 00 F6 B8 72 66 B6 04 01 00 00 6D 68 2C D1 89 2C C3 5C [17:15:18]CommunicateWithHost err = 0 [17:15:18]CheckOFDResponse [17:15:18]1017 (14) - 77093643461234 [17:15:18]1041 (16) - 0000000000875095 [17:15:18]1040 (4) - 34359 [17:15:18]1012 (4) - 19.06.2024 10:54 [17:15:18]1206 (1) - 0 [17:15:18]OFD Sender: Remove packet 34359 [17:15:18]ProducePacketName [17:15:18]name=ofd_packets/00034359 [17:15:18]NVStorageDeleteData [17:15:18]Write to MH i2c: 01 00 00 69 29 92 [17:15:18]Write i2c OK [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: 01 [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: 01 07 00 [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: 01 07 00 69 29 00 00 00 00 00 EB 0C 90 [17:15:18]RasterBufferAndPrint [17:15:18]line [17:15:18]line [17:15:18]line [17:15:18]line [17:15:18]line [17:15:18]written 0, free lines is 3314 [17:15:18]MH_Cut [17:15:18]Write to MH i2c: D1 01 00 70 29 01 6B [17:15:18]Write i2c OK [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: D1 [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: D1 01 00 [17:15:18]MH_I2C_Read... [17:15:18]Read from MH i2c: D1 01 00 70 29 00 6A [17:15:18]Write to MH i2c: 01 00 00 71 29 9A [17:15:18]Write i2c OK [17:15:18]MH_I2C_Read... [17:15:19]OFD Sender: No OFD packet to send [17:15:19]*** Cut start [17:15:19]*** Partial cut [17:15:19]*** CUTSNS_PIN = 1 [17:15:19]*** CUTSNS_PIN = 0 [17:15:19]*** Brake cut motor [17:15:19]Read from MH i2c: 01 [17:15:19]MH_I2C_Read... [17:15:19]*** Stop cut motor [17:15:19]*** Cut end [17:15:19]Read from MH i2c: 01 07 00 [17:15:19]MH_I2C_Read... [17:15:19]Read from MH i2c: 01 07 00 71 29 00 00 00 00 00 FF 0F AF [17:15:19]process_action close_receipt done [17:15:19]requested_data is exist [17:15:19]produce_requested_data [17:15:19]requested_item fm.sn is exist - process it [17:15:19]wFMCommunicate request_size=4 [17:15:19]MH_SAM_APDU [17:15:19]CAPDU: 80 11 00 00 [17:15:19]Write to MH i2c: E2 08 00 72 29 80 11 00 00 00 00 00 00 15 [17:15:19]Write i2c OK [17:15:19]MH_I2C_Read... [17:15:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:19]Read from MH i2c: E2 [17:15:19]MH_I2C_Read... [17:15:19]Read from MH i2c: E2 17 00 [17:15:19]MH_I2C_Read... [17:15:19]Read from MH i2c: E2 17 00 72 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6A [17:15:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:15:19]wFMCommunicate OK [17:15:19]requested_item fd.num is exist - process it [17:15:19]SAM_PROTO_GetFieldsCounters [17:15:19]wFMCommunicate request_size=4 [17:15:19]MH_SAM_APDU [17:15:19]CAPDU: 80 13 00 00 [17:15:19]Write to MH i2c: E2 08 00 73 29 80 13 00 00 00 00 00 00 18 [17:15:19]Write i2c OK [17:15:19]MH_I2C_Read... [17:15:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:15:20]Read from MH i2c: E2 [17:15:20]MH_I2C_Read... [17:15:20]Read from MH i2c: E2 62 00 [17:15:20]MH_I2C_Read... [17:15:20]Read from MH i2c: E2 62 00 73 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 37 86 00 00 0E 04 04 00 44 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 01 [17:15:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 37 86 00 00 0E 04 04 00 44 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 [17:15:20]wFMCommunicate OK [17:15:20]SAM_PROTO_GetFieldsCounters done [17:15:20]requested_item shift.num is exist - process it [17:15:20]requested_item shift.opened is exist - process it [17:15:20]req_shift_opened [17:15:20]FM_GetShiftState [17:15:20]SAM_PROTO_GetShiftState [17:15:20]wFMCommunicate request_size=4 [17:15:20]MH_SAM_APDU [17:15:20]CAPDU: 80 13 01 00 [17:15:20]Write to MH i2c: E2 08 00 74 29 80 13 01 00 00 00 00 00 1A [17:15:20]Write i2c OK [17:15:20]MH_I2C_Read... [17:15:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:20]Read from MH i2c: E2 [17:15:20]MH_I2C_Read... [17:15:20]Read from MH i2c: E2 0E 00 [17:15:20]MH_I2C_Read... [17:15:20]Read from MH i2c: E2 0E 00 74 29 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F0 [17:15:20]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:15:20]wFMCommunicate OK [17:15:20]SAM_PROTO_GetShiftState done [17:15:20]FM_GetShiftState done [17:15:20]req_shift_opened done [17:15:20]requested_item shift.open_date is exist - process it [17:15:20]req_shift_open_date [17:15:20]req_shift_open_date done [17:15:20]produce_requested_data done [17:15:20]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34359,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:15:20]process_action_free close_receipt [17:15:20]json_value_free [17:15:20]json_value_free done [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 AA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 4F [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: *** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]A0 *** [00:00:10]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 54000000005725AA (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: 32931529+1685888019=1718819548 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [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 AA FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 50 [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 DC 1A 73 66 13 9C 7C 64 5D [17:52:28]Current date/time: 19.06.2024 17:52 [17:52:28]FM_Init [17:52:28]wFMConnect [17:52:28]MH_SAM_On [17:52:28]Write to MH i2c: E0 00 00 08 00 E7 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_init finished! [17:52:28]*** atr: [17:52:28]*** 0F 3B D5 18 FF 81 91 FE [17:52:28]*** 1F C3 80 73 C8 21 10 0A [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]*** 00 00 00 00 00 00 00 00 [17:52:28]Read from MH i2c: E0 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E0 10 00 [17:52:28]MH_I2C_Read... [17:52:28]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 [17:52:28]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [17:52:28]wFMCommunicate request_size=10 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [17:52:28]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [17:52:28]RAPDU: 90 00 [17:52:28]wFMCommunicate OK [17:52:28]wFMCommunicate request_size=4 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 80 11 00 00 [17:52:28]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 17 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D9 [17:52:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:28]wFMCommunicate OK [17:52:28]Detected FM SN is 0000000000875095 [17:52:28]Stored FM SN is 0000000000875095 [17:52:28]wFMCommunicate request_size=9 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 80 16 00 00 04 D3 93 00 00 [17:52:28]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 D3 93 00 00 00 00 F8 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [17:52:28]RAPDU: 90 00 [17:52:28]wFMCommunicate OK [17:52:28]FM PIN OK [17:52:28]wFMCommunicate request_size=8 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 80 14 04 00 03 02 00 01 [17:52:28]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [17:52:28]RAPDU: 90 00 [17:52:28]wFMCommunicate OK [17:52:28]wFMCommunicate request_size=13 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [17:52:28]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 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [17:52:28]RAPDU: 90 00 [17:52:28]wFMCommunicate OK [17:52:28]wFMCommunicate request_size=4 [17:52:28]MH_SAM_APDU [17:52:28]CAPDU: 80 11 00 00 [17:52:28]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:28]Read from MH i2c: E2 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 17 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DD [17:52:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:28]wFMCommunicate OK [17:52:28]DocumentArchiveInit [17:52:28]Start Httpd... [17:52:28]Httpd thread 3067448676 created [17:52:28]Write to MH i2c: 01 00 00 0F 00 0F [17:52:28]Write i2c OK [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: 01 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: 01 07 00 [17:52:28]MH_I2C_Read... [17:52:28]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [17:52:28]MH Int Process started [17:52:28]Allocated Socket 8 [17:52:28]Bind OK [17:52:28]Listen OK [17:52:28]httpd running on port 8080 [17:52:28]Waiting for new connection... [17:52:28]OFD Sender: Processing packet 34360 [packets to send 8, broken 7] [17:52:28]ProducePacketName [17:52:28]name=ofd_packets/00034360 [17:52:28]OFD Sender: To server: pG, [17:52:28]CommunicateWithHost lk.salyk.kg:30040 [17:52:28]ConnectInit lk.salyk.kg [17:52:28]Connected sock=7 [17:52:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 4D 11 2B 01 7B 3A 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 78 05 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 37 12 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 38 86 00 00 35 04 06 00 F8 77 0F 8E CF D3 E8 56 23 21 00 41 19 5D [17:52:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 CC 8E 47 00 FA 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 38 37 35 30 39 35 10 04 04 00 38 86 00 00 F4 03 04 00 A7 C1 72 66 B6 04 01 00 00 73 6B BA B9 9D C7 37 DC [17:52:28]CommunicateWithHost err = 0 [17:52:28]CheckOFDResponse [17:52:28]1017 (14) - 77093643461234 [17:52:28]1041 (16) - 0000000000875095 [17:52:28]1040 (4) - 34360 [17:52:28]1012 (4) - 19.06.2024 11:31 [17:52:28]1206 (1) - 0 [17:52:28]OFD Sender: Remove packet 34360 [17:52:28]ProducePacketName [17:52:28]name=ofd_packets/00034360 [17:52:28]NVStorageDeleteData [17:52:29]OFD Sender: No OFD packet to send [17:52:30]accept exits with 9 [17:52:30]New connection [17:52:30]New thread 3067161956 created [17:52:30]Waiting for new connection... [17:52:30] Sock 9.Parse request [17:52:30]Sock 9.Check first char [17:52:30]Sock 9.First char is OK [17:52:30]request: POST /json_proto HTTP/1.0 [17:52:30]Method: POST [17:52:30]URL: /json_proto [17:52:30]Method is POST - this is cgi request [17:52:30]url: /json_proto [17:52:30]query_string will be loaded in cgi processing [17:52:30]execute_cgi json_proto POST (null) [17:52:30]execute_cgi path=json_proto method=POST [17:52:30]POST find Content-Length [17:52:30]Host: 172.17.38.134:8080 [17:52:30]Content-Length: 215 [17:52:30]Content-Type: application/json [17:52:30] [17:52:30]POST finish read [17:52:30]Found Content-Length = 215 [17:52:30]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" ] } } [17:52:30]execute_script... [17:52:30]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" ] } } [17:52:30]POST & json_proto [17:52:30]process_json_proto [17:52:30]json parsed OK: [17:52:30]protocol is kg_v1.0 [17:52:30]action value=get_value [17:52:30]process_action get_value [17:52:30]cmd_get_value [17:52:30]process_action get_value done [17:52:30]requested_data is exist [17:52:30]produce_requested_data [17:52:30]requested_item kkm.sn is exist - process it [17:52:30]requested_item kkm.ver is exist - process it [17:52:30]requested_item fm.sn is exist - process it [17:52:30]wFMCommunicate request_size=4 [17:52:30]MH_SAM_APDU [17:52:30]CAPDU: 80 11 00 00 [17:52:30]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [17:52:30]Write i2c OK [17:52:30]MH_I2C_Read... [17:52:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:30]Read from MH i2c: E2 [17:52:30]MH_I2C_Read... [17:52:30]Read from MH i2c: E2 17 00 [17:52:30]MH_I2C_Read... [17:52:30]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DF [17:52:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:30]wFMCommunicate OK [17:52:30]requested_item fd.num is exist - process it [17:52:30]SAM_PROTO_GetFieldsCounters [17:52:30]wFMCommunicate request_size=4 [17:52:30]MH_SAM_APDU [17:52:30]CAPDU: 80 13 00 00 [17:52:30]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [17:52:30]Write i2c OK [17:52:30]MH_I2C_Read... [17:52:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:30]Read from MH i2c: E2 [17:52:30]MH_I2C_Read... [17:52:30]Read from MH i2c: E2 62 00 [17:52:30]MH_I2C_Read... [17:52:30]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 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 38 86 00 00 0E 04 04 00 44 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 7A [17:52:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 38 86 00 00 0E 04 04 00 44 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 [17:52:30]wFMCommunicate OK [17:52:30]SAM_PROTO_GetFieldsCounters done [17:52:30]requested_item shift.num is exist - process it [17:52:30]requested_item shift.opened is exist - process it [17:52:30]req_shift_opened [17:52:30]FM_GetShiftState [17:52:30]SAM_PROTO_GetShiftState [17:52:30]wFMCommunicate request_size=4 [17:52:30]MH_SAM_APDU [17:52:30]CAPDU: 80 13 01 00 [17:52:30]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [17:52:30]Write i2c OK [17:52:30]MH_I2C_Read... [17:52:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:30]Read from MH i2c: E2 [17:52:30]MH_I2C_Read... [17:52:30]Read from MH i2c: E2 0E 00 [17:52:30]MH_I2C_Read... [17:52:30]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 65 [17:52:30]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:30]wFMCommunicate OK [17:52:30]SAM_PROTO_GetShiftState done [17:52:30]FM_GetShiftState done [17:52:30]req_shift_opened done [17:52:30]requested_item shift.open_date is exist - process it [17:52:30]req_shift_open_date [17:52:30]req_shift_open_date done [17:52:30]produce_requested_data done [17:52:30]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34360,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:52:30]process_action_free get_value [17:52:30]json_value_free [17:52:30]json_value_free done [17:52:30]process_json_proto returns [17:52:30]Send response to host [17:52:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34360,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [17:52:30]free response buf [17:52:30]execute_script done [17:52:30]execute_script returns [17:52:30]free content buf [17:52:30]Sock 9.Close socket [17:52:30]Sock 9.Thread stoped [17:52:30]accept exits with 7 [17:52:30]New connection [17:52:30]New thread 3067018596 created [17:52:30]Thread 3067161956 joined [17:52:30]Waiting for new connection... [17:52:30] Sock 7.Parse request [17:52:30]Sock 7.Check first char [17:52:30]Sock 7.First char is OK [17:52:30]request: POST /json_proto HTTP/1.0 [17:52:30]Method: POST [17:52:30]URL: /json_proto [17:52:30]Method is POST - this is cgi request [17:52:30]url: /json_proto [17:52:30]query_string will be loaded in cgi processing [17:52:30]execute_cgi json_proto POST (null) [17:52:30]execute_cgi path=json_proto method=POST [17:52:30]POST find Content-Length [17:52:30]Host: 172.17.38.134:8080 [17:52:30]Content-Length: 331 [17:52:30]Content-Type: application/json [17:52:30] [17:52:30]POST finish read [17:52:30]Found Content-Length = 331 [17:52:30]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" ] } } [17:52:30]execute_script... [17:52:30]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" ] } } [17:52:30]POST & json_proto [17:52:30]process_json_proto [17:52:30]json parsed OK: [17:52:30]protocol is kg_v1.0 [17:52:30]action value=get_value [17:52:30]process_action get_value [17:52:30]cmd_get_value [17:52:30]process_action get_value done [17:52:30]requested_data is exist [17:52:30]produce_requested_data [17:52:30]requested_item fm.sale.total is exist - process it [17:52:30]SAM_PROTO_GetFMData [17:52:30]wFMCommunicate request_size=4 [17:52:30]MH_SAM_APDU [17:52:30]CAPDU: 80 13 03 00 [17:52:30]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [17:52:30]Write i2c OK [17:52:30]MH_I2C_Read... [17:52:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:52:31]Read from MH i2c: E2 [17:52:31]MH_I2C_Read... [17:52:31]Read from MH i2c: E2 FD 00 [17:52:31]MH_I2C_Read... [17:52:31]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 B0 83 00 00 69 04 A0 00 6F 04 04 00 BC 82 00 00 B1 04 04 00 2A 86 4F 50 70 04 04 00 58 29 DF 44 72 04 04 00 D2 5C 70 0B 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 7F 68 87 08 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 26 E4 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 80 [17:52:31]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 B0 83 00 00 69 04 A0 00 6F 04 04 00 BC 82 00 00 B1 04 04 00 2A 86 4F 50 70 04 04 00 58 29 DF 44 72 04 04 00 D2 5C 70 0B 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 7F 68 87 08 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 26 E4 B5 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [17:52:31]wFMCommunicate OK [17:52:31]wFMCommunicate request_size=4 [17:52:31]MH_SAM_APDU [17:52:31]CAPDU: 80 17 00 00 [17:52:31]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [17:52:31]Write i2c OK [17:52:31]MH_I2C_Read... [17:52:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:31]Read from MH i2c: E2 [17:52:31]MH_I2C_Read... [17:52:31]Read from MH i2c: E2 FD 00 [17:52:31]MH_I2C_Read... [17:52:31]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 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 49 [17:52:31]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:52:31]wFMCommunicate OK [17:52:31]wFMCommunicate request_size=4 [17:52:31]MH_SAM_APDU [17:52:31]CAPDU: 80 17 00 00 [17:52:31]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [17:52:31]Write i2c OK [17:52:31]MH_I2C_Read... [17:52:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:31]Read from MH i2c: E2 [17:52:31]MH_I2C_Read... [17:52:31]Read from MH i2c: E2 FD 00 [17:52:31]MH_I2C_Read... [17:52:31]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 [17:52:31]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 [17:52:31]wFMCommunicate OK [17:52:31]wFMCommunicate request_size=4 [17:52:31]MH_SAM_APDU [17:52:31]CAPDU: 80 17 00 00 [17:52:31]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [17:52:31]Write i2c OK [17:52:31]MH_I2C_Read... [17:52:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:32]Read from MH i2c: E2 [17:52:32]MH_I2C_Read... [17:52:32]Read from MH i2c: E2 FD 00 [17:52:32]MH_I2C_Read... [17:52:32]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 [17:52: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 [17:52:32]wFMCommunicate OK [17:52:32]wFMCommunicate request_size=4 [17:52:32]MH_SAM_APDU [17:52:32]CAPDU: 80 17 00 00 [17:52:32]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [17:52:32]Write i2c OK [17:52:32]MH_I2C_Read... [17:52:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [17:52:32]Read from MH i2c: E2 [17:52:32]MH_I2C_Read... [17:52:32]Read from MH i2c: E2 E1 00 [17:52:32]MH_I2C_Read... [17:52:32]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 [17:52:32]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 [17:52:32]wFMCommunicate OK [17:52:32]SAM_PROTO_GetFMData done [17:52:32]requested_item fm.sale_refund.total is exist - process it [17:52:32]requested_item fm.buy.total is exist - process it [17:52:32]requested_item shift.sale.total is exist - process it [17:52:32]SAM_PROTO_GetShiftData [17:52:32]wFMCommunicate request_size=4 [17:52:32]MH_SAM_APDU [17:52:32]CAPDU: 80 13 02 00 [17:52:32]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [17:52:32]Write i2c OK [17:52:32]MH_I2C_Read... [17:52:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:52:32]Read from MH i2c: E2 [17:52:32]MH_I2C_Read... [17:52:32]Read from MH i2c: E2 FD 00 [17:52:32]MH_I2C_Read... [17:52:32]Read from MH i2c: E2 FD 00 18 00 00 B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7E DE 2C 70 04 03 00 80 6A 1A 72 04 03 00 FE 73 12 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 FB C3 04 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 A0 65 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 2C [17:52:32]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 7E DE 2C 70 04 03 00 80 6A 1A 72 04 03 00 FE 73 12 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 FB C3 04 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 A0 65 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [17:52:32]wFMCommunicate OK [17:52:32]wFMCommunicate request_size=4 [17:52:32]MH_SAM_APDU [17:52:32]CAPDU: 80 17 00 00 [17:52:32]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [17:52:32]Write i2c OK [17:52:32]MH_I2C_Read... [17:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:33]Read from MH i2c: E2 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 19 00 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 DD [17:52:33]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [17:52:33]wFMCommunicate OK [17:52:33]wFMCommunicate request_size=4 [17:52:33]MH_SAM_APDU [17:52:33]CAPDU: 80 17 00 00 [17:52:33]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [17:52:33]Write i2c OK [17:52:33]MH_I2C_Read... [17:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:33]Read from MH i2c: E2 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 1A 00 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5A [17:52:33]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:52:33]wFMCommunicate OK [17:52:33]wFMCommunicate request_size=4 [17:52:33]MH_SAM_APDU [17:52:33]CAPDU: 80 17 00 00 [17:52:33]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [17:52:33]Write i2c OK [17:52:33]MH_I2C_Read... [17:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:52:33]Read from MH i2c: E2 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 [17:52:33]MH_I2C_Read... [17:52:33]Read from MH i2c: E2 FD 00 1B 00 00 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 90 00 0A [17:52:33]RAPDU: 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 90 00 [17:52:33]wFMCommunicate OK [17:52:33]wFMCommunicate request_size=4 [17:52:33]MH_SAM_APDU [17:52:33]CAPDU: 80 17 00 00 [17:52:33]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [17:52:33]Write i2c OK [17:52:33]MH_I2C_Read... [17:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [17:52:34]Read from MH i2c: E2 [17:52:34]MH_I2C_Read... [17:52:34]Read from MH i2c: E2 D3 00 [17:52:34]MH_I2C_Read... [17:52:34]Read from MH i2c: E2 D3 00 1C 00 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 89 [17:52:34]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:52:34]wFMCommunicate OK [17:52:34]SAM_PROTO_GetShiftData done [17:52:34]requested_item shift.sale.total_cash is exist - process it [17:52:34]requested_item shift.sale_refund.total is exist - process it [17:52:34]requested_item shift.sale_refund.total_cash is exist - process it [17:52:34]requested_item shift.buy.total is exist - process it [17:52:34]requested_item shift.buy.total_cash is exist - process it [17:52:34]produce_requested_data done [17:52:34]produce_requested_data return {"fm.sale.total":13473889.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":29405.42,"shift.sale.total_cash":17312.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [17:52:34]process_action_free get_value [17:52:34]json_value_free [17:52:34]json_value_free done [17:52:34]process_json_proto returns [17:52:34]Send response to host [17:52:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13473889.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":29405.42,"shift.sale.total_cash":17312.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [17:52:34]free response buf [17:52:34]execute_script done [17:52:34]execute_script returns [17:52:34]free content buf [17:52:34]Sock 7.Close socket [17:52:34]Sock 7.Thread stoped [17:52:34]OFD Sender: No OFD packet to send [17:52:35]accept exits with 9 [17:52:35]New connection [17:52:35]New thread 3067161956 created [17:52:35]Thread 3067018596 joined [17:52:35]Waiting for new connection... [17:52:35] Sock 9.Parse request [17:52:35]Sock 9.Check first char [17:52:35]Sock 9.First char is OK [17:52:35]request: POST /json_proto HTTP/1.0 [17:52:35]Method: POST [17:52:35]URL: /json_proto [17:52:35]Method is POST - this is cgi request [17:52:35]url: /json_proto [17:52:35]query_string will be loaded in cgi processing [17:52:35]execute_cgi json_proto POST (null) [17:52:35]execute_cgi path=json_proto method=POST [17:52:35]POST find Content-Length [17:52:35]Host: 172.17.38.134:8080 [17:52:35]Content-Length: 689 [17:52:35]Content-Type: application/json [17:52:35] [17:52:35]POST finish read [17:52:35]Found Content-Length = 689 [17:52:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184134", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:35]execute_script... [17:52: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)184134", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:35]POST & json_proto [17:52:35]process_json_proto [17:52:35]json parsed OK: [17:52:35]protocol is kg_v1.0 [17:52:35]action value=close_receipt [17:52:35]process_action close_receipt [17:52:35]cmd_close_receipt [17:52:35]MH_GetDate [17:52:35]Write to MH i2c: F0 00 00 1D 00 0C [17:52:35]Write i2c OK [17:52:35]MH_I2C_Read... [17:52:35]Read from MH i2c: F0 [17:52:35]MH_I2C_Read... [17:52:35]Read from MH i2c: F0 09 00 [17:52:35]MH_I2C_Read... [17:52:35]Read from MH i2c: F0 09 00 1D 00 00 E4 1A 73 66 13 9C 7C 64 7B [17:52:35]GetLastDocTimeStamp 1718817335 [17:52:35]current date 1718819556 [17:52:35]FM_GetShiftState [17:52:35]SAM_PROTO_GetShiftState [17:52:35]wFMCommunicate request_size=4 [17:52:35]MH_SAM_APDU [17:52:35]CAPDU: 80 13 01 00 [17:52:35]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [17:52:35]Write i2c OK [17:52:35]MH_I2C_Read... [17:52:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:35]Read from MH i2c: E2 [17:52:35]MH_I2C_Read... [17:52:35]Read from MH i2c: E2 0E 00 [17:52:35]MH_I2C_Read... [17:52:35]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 71 [17:52:35]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:35]wFMCommunicate OK [17:52:35]SAM_PROTO_GetShiftState done [17:52:35]FM_GetShiftState done [17:52:35]opened in 1718756813 [17:52:35]opened+sec_in_day 1718843213 [17:52:35]quantity*price = 10000 [17:52:35]sum+1 = 10001 [17:52:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 65 19.06.2024 17:52 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34361 ФПД: 101182378660022 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175236&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34361&fm=101182378660022&tin=02508201610067®Number=0000000000092786&sum=10000 0 [17:52:36]StoreToDocumentArchive [17:52:36]shift 324 fd 34361 [17:52:36]save to /storage/0324/doc_00034361 [17:52:36]save last doc name /storage/0324/doc_00034361 to /storage/kkm_last_doc_name [17:52:36]save OK [17:52:36]Clear old archive folders... [17:52:36]ProcessDocumentItem done err = 0, tmpTLVsize=293 [17:52:36]tlvbuf is 003C9BD0 [17:52:36]SAM_PROTO_ClearQueue [17:52:36]wFMCommunicate request_size=4 [17:52:36]MH_SAM_APDU [17:52:36]CAPDU: 80 09 00 00 [17:52:36]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [17:52:36]Write i2c OK [17:52:36]MH_I2C_Read... [17:52:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:52:36]Read from MH i2c: E2 [17:52:36]MH_I2C_Read... [17:52:36]Read from MH i2c: E2 03 00 [17:52:36]MH_I2C_Read... [17:52:36]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [17:52:36]RAPDU: 90 00 [17:52:36]wFMCommunicate OK [17:52:36]SAM_PROTO_ClearQueue done [17:52:36]KKMCreateOFDPacket [17:52:36]OFDProtocolAddRootSTLVToBuf [17:52:36]FM_MakeSignedData [17:52:36]FM_MakeSignedData [17:52:36]SAM_PROTO_SignData [17:52:36]wFMCommunicate request_size=4 [17:52:36]MH_SAM_APDU [17:52:36]CAPDU: 80 0D 01 02 [17:52:36]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [17:52:36]Write i2c OK [17:52:36]MH_I2C_Read... [17:52:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:52:36]Read from MH i2c: E2 [17:52:36]MH_I2C_Read... [17:52:36]Read from MH i2c: E2 03 00 [17:52:36]MH_I2C_Read... [17:52:36]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [17:52:36]RAPDU: 90 00 [17:52:36]wFMCommunicate OK [17:52:36]wFMCommunicate request_size=255 [17:52:36]MH_SAM_APDU [17:52:36]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E4 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [17:52:37]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E4 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BB [17:52:37]Write i2c OK [17:52:37]MH_I2C_Read... [17:52:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:37]Read from MH i2c: E2 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 03 00 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [17:52:37]RAPDU: 90 00 [17:52:37]wFMCommunicate OK [17:52:37]wFMCommunicate request_size=52 [17:52:37]MH_SAM_APDU [17:52:37]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 86 00 00 35 04 06 00 5C 06 5B BC D0 B6 [17:52:37]Write to MH i2c: E2 37 00 2E 00 80 0D 02 02 2F 00 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 86 00 00 35 04 06 00 5C 06 5B BC D0 B6 00 00 32 [17:52:37]Write i2c OK [17:52:37]MH_I2C_Read... [17:52:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:37]Read from MH i2c: E2 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 03 00 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [17:52:37]RAPDU: 90 00 [17:52:37]wFMCommunicate OK [17:52:37]wFMCommunicate request_size=4 [17:52:37]MH_SAM_APDU [17:52:37]CAPDU: 80 0D 03 02 [17:52:37]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [17:52:37]Write i2c OK [17:52:37]MH_I2C_Read... [17:52:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:52:37]Read from MH i2c: E2 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 0B 00 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 0B 00 2F 00 00 A3 85 C5 BD FA CA 13 55 90 00 81 [17:52:37]RAPDU: A3 85 C5 BD FA CA 13 55 90 00 [17:52:37]wFMCommunicate OK [17:52:37]SAM_PROTO_SignData done [17:52:37]FM_MakeSignedData done [17:52:37]CreateOFDProtocolMessage [17:52:37]wFMCommunicate request_size=4 [17:52:37]MH_SAM_APDU [17:52:37]CAPDU: 80 11 00 00 [17:52:37]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [17:52:37]Write i2c OK [17:52:37]MH_I2C_Read... [17:52:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:37]Read from MH i2c: E2 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 17 00 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FF [17:52:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:37]wFMCommunicate OK [17:52:37]CreateOFDProtocolMessage done [17:52:37]OFDSenderStorePacket 34361 [17:52:37]StoreOFDPacket docnum=34361 [17:52:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 99 E7 31 01 5D 0F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E4 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 86 00 00 35 04 06 00 5C 06 5B BC D0 B6 A3 85 C5 BD FA CA 13 55 [17:52:37]CheckFolder [17:52:37]dirname=/storage/ofd_packets [17:52:37]CheckFolder done [17:52:37]ProducePacketName [17:52:37]name=ofd_packets/00034361 [17:52:37]NVStorageSaveData ofd_packets/00034361 [17:52:37]File name is /storage/ofd_packets/00034361 [17:52:37]Write 343 bytes [17:52:37]NVStorageSaveData done [17:52:37]OFDSenderStorePacket done [17:52:37]KKMCreateOFDPacket done [17:52:37]NVStorageSaveData kkm_last_timestamp [17:52:37]File name is /storage/kkm_last_timestamp [17:52:37]Write 4 bytes [17:52:37]NVStorageSaveData done [17:52:37]ExternCall_PrintAddStr [17:52:37]wPrintStart [17:52:37]Write to MH i2c: 01 00 00 31 00 31 [17:52:37]Write i2c OK [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: 01 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: 01 07 00 [17:52:37]MH_I2C_Read... [17:52:37]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [17:52:37]RasterBufferAndPrint [17:52:37]line Счет N : (3)184134 [17:52:37]line ИНН: 02508201610067 [17:52:37]line Контрольно-Кассовый Чек [17:52:37]line ПРОДАЖА [17:52:37]line Товар: 4870002326172 [17:52:37]line Вода ASU пит н.газ лимон ПЭТ 1л [17:52:37]line 1.000 * 100.00 [17:52:37]line = 100.00 [17:52:37]line НДС 12% НСП 1% [17:52:37]line > о реализуемом товаре [17:52:37]line ИТОГО: 100.00 [17:52:37]line НСП 1% : 0.88 [17:52:37]line НДС 12% : 10.62 [17:52:37]line Наличными: 100.00 [17:52:37]line Безнал.: 0.00 [17:52:37]line Место: АЗС № 120 "Партнер Нефть" [17:52:37]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:52:37]line СНО: Общий режим [17:52:37]line Чек 65 19.06.2024 17:52 [17:52:37]line Смена: 324 ФФД: 1.0 [17:52:37]line ЗНМ: 0300000172 [17:52:37]line РНМ: 0000000000092786 [17:52:37]line Версия ККМ: 001 [17:52:37]line ФМ: 0000000000875095 [17:52:37]line ФД: 34361 [17:52:37]line ФПД: 101182378660022 [17:52:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175236&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34361&fm=101182378660022&tin=02508201610067®Number=0000000000092786&sum=10000 [17:52:37]line 0 [17:52:37]written 0, free lines is 4095 [17:52:37]OFD Sender: Processing packet 34361 [packets to send 8, broken 7] [17:52:37]ProducePacketName [17:52:37]name=ofd_packets/00034361 [17:52:37]OFD Sender: To server: pG, [17:52:37]CommunicateWithHost lk.salyk.kg:30040 [17:52:37]ConnectInit lk.salyk.kg [17:52:37]Connected sock=11 [17:52:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 99 E7 31 01 5D 0F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 E4 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 86 00 00 35 04 06 00 5C 06 5B BC D0 B6 A3 85 C5 BD FA CA 13 55 [17:52:38]Write to MH i2c: 01 00 00 5A 00 5A [17:52:38]Write i2c OK [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: 01 [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: 01 07 00 [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 EE 0C 5B [17:52:38]RasterBufferAndPrint [17:52:38]line [17:52:38]line [17:52:38]line [17:52:38]line [17:52:38]line [17:52:38]written 0, free lines is 3332 [17:52:38]MH_Cut [17:52:38]Write to MH i2c: D1 01 00 61 00 01 33 [17:52:38]Write i2c OK [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: D1 [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: D1 01 00 [17:52:38]MH_I2C_Read... [17:52:38]Read from MH i2c: D1 01 00 61 00 00 32 [17:52:38]Write to MH i2c: 01 00 00 62 00 62 [17:52:38]Write i2c OK [17:52:38]MH_I2C_Read... [17:52:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 32 3E 47 00 C5 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 39 86 00 00 F4 03 04 00 B0 C1 72 66 B6 04 01 00 00 F4 AD BF C1 25 91 43 DA [17:52:38]CommunicateWithHost err = 0 [17:52:38]CheckOFDResponse [17:52:38]1017 (14) - 77093643461234 [17:52:38]1041 (16) - 0000000000875095 [17:52:38]1040 (4) - 34361 [17:52:38]1012 (4) - 19.06.2024 11:32 [17:52:38]1206 (1) - 0 [17:52:38]OFD Sender: Remove packet 34361 [17:52:38]ProducePacketName [17:52:38]name=ofd_packets/00034361 [17:52:38]NVStorageDeleteData [17:52:38]*** Cut start [17:52:38]*** Partial cut [17:52:38]*** CUTSNS_PIN = 1 [17:52:38]OFD Sender: No OFD packet to send [17:52:38]*** CUTSNS_PIN = 0 [17:52:39]*** Brake cut motor [17:52:39]Read from MH i2c: 01 [17:52:39]MH_I2C_Read... [17:52:39]*** Stop cut motor [17:52:39]*** Cut end [17:52:39]Read from MH i2c: 01 07 00 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [17:52:39]process_action close_receipt done [17:52:39]requested_data is exist [17:52:39]produce_requested_data [17:52:39]requested_item fm.sn is exist - process it [17:52:39]wFMCommunicate request_size=4 [17:52:39]MH_SAM_APDU [17:52:39]CAPDU: 80 11 00 00 [17:52:39]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [17:52:39]Write i2c OK [17:52:39]MH_I2C_Read... [17:52:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:39]Read from MH i2c: E2 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 17 00 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 32 [17:52:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:39]wFMCommunicate OK [17:52:39]requested_item fd.num is exist - process it [17:52:39]SAM_PROTO_GetFieldsCounters [17:52:39]wFMCommunicate request_size=4 [17:52:39]MH_SAM_APDU [17:52:39]CAPDU: 80 13 00 00 [17:52:39]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [17:52:39]Write i2c OK [17:52:39]MH_I2C_Read... [17:52:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:39]Read from MH i2c: E2 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 62 00 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 39 86 00 00 0E 04 04 00 44 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 D1 [17:52:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 39 86 00 00 0E 04 04 00 44 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 [17:52:39]wFMCommunicate OK [17:52:39]SAM_PROTO_GetFieldsCounters done [17:52:39]requested_item shift.num is exist - process it [17:52:39]requested_item shift.opened is exist - process it [17:52:39]req_shift_opened [17:52:39]FM_GetShiftState [17:52:39]SAM_PROTO_GetShiftState [17:52:39]wFMCommunicate request_size=4 [17:52:39]MH_SAM_APDU [17:52:39]CAPDU: 80 13 01 00 [17:52:39]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [17:52:39]Write i2c OK [17:52:39]MH_I2C_Read... [17:52:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:39]Read from MH i2c: E2 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 0E 00 [17:52:39]MH_I2C_Read... [17:52:39]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B8 [17:52:39]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:39]wFMCommunicate OK [17:52:39]SAM_PROTO_GetShiftState done [17:52:39]FM_GetShiftState done [17:52:39]req_shift_opened done [17:52:39]requested_item shift.open_date is exist - process it [17:52:39]req_shift_open_date [17:52:39]req_shift_open_date done [17:52:39]produce_requested_data done [17:52:39]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34361,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:52:39]process_action_free close_receipt [17:52:39]json_value_free [17:52:39]json_value_free done [17:52:39]process_json_proto returns [17:52:39]Send response to host [17:52:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34361,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [17:52:39]free response buf [17:52:39]execute_script done [17:52:39]execute_script returns [17:52:39]free content buf [17:52:39]Sock 9.Close socket [17:52:39]Sock 9.Thread stoped [17:52:40]accept exits with 7 [17:52:40]New connection [17:52:40]New thread 3067018596 created [17:52:40]Thread 3067161956 joined [17:52:40]Waiting for new connection... [17:52:40] Sock 7.Parse request [17:52:40]Sock 7.Check first char [17:52:40]Sock 7.First char is OK [17:52:40]request: POST /json_proto HTTP/1.0 [17:52:40]Method: POST [17:52:40]URL: /json_proto [17:52:40]Method is POST - this is cgi request [17:52:40]url: /json_proto [17:52:40]query_string will be loaded in cgi processing [17:52:40]execute_cgi json_proto POST (null) [17:52:40]execute_cgi path=json_proto method=POST [17:52:40]POST find Content-Length [17:52:40]Host: 172.17.38.134:8080 [17:52:40]Content-Length: 637 [17:52:40]Content-Type: application/json [17:52:40] [17:52:40]POST finish read [17:52:40]Found Content-Length = 637 [17:52:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184135", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" ] } } [17:52:40]execute_script... [17:52: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)184135", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" ] } } [17:52:40]POST & json_proto [17:52:40]process_json_proto [17:52:40]json parsed OK: [17:52:40]protocol is kg_v1.0 [17:52:40]action value=close_receipt [17:52:40]process_action close_receipt [17:52:40]cmd_close_receipt [17:52:40]MH_GetDate [17:52:40]Write to MH i2c: F0 00 00 66 00 55 [17:52:40]Write i2c OK [17:52:40]MH_I2C_Read... [17:52:40]Read from MH i2c: F0 [17:52:40]MH_I2C_Read... [17:52:40]Read from MH i2c: F0 09 00 [17:52:40]MH_I2C_Read... [17:52:40]Read from MH i2c: F0 09 00 66 00 00 E9 1A 73 66 13 9C 7C 64 C9 [17:52:40]GetLastDocTimeStamp 1718819556 [17:52:40]current date 1718819561 [17:52:40]FM_GetShiftState [17:52:40]SAM_PROTO_GetShiftState [17:52:40]wFMCommunicate request_size=4 [17:52:40]MH_SAM_APDU [17:52:40]CAPDU: 80 13 01 00 [17:52:40]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [17:52:40]Write i2c OK [17:52:40]MH_I2C_Read... [17:52:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:40]Read from MH i2c: E2 [17:52:40]MH_I2C_Read... [17:52:40]Read from MH i2c: E2 0E 00 [17:52:40]MH_I2C_Read... [17:52:40]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 BA [17:52:40]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:40]wFMCommunicate OK [17:52:40]SAM_PROTO_GetShiftState done [17:52:40]FM_GetShiftState done [17:52:40]opened in 1718756813 [17:52:40]opened+sec_in_day 1718843213 [17:52:40]quantity*price = 5000 [17:52:40]sum+1 = 5001 [17:52:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 66 19.06.2024 17:52 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34362 ФПД: 165108782950022 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175241&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34362&fm=165108782950022&tin=02508201610067®Number=0000000000092786&sum=5000 0 [17:52:42]StoreToDocumentArchive [17:52:42]shift 324 fd 34362 [17:52:42]save to /storage/0324/doc_00034362 [17:52:42]save last doc name /storage/0324/doc_00034362 to /storage/kkm_last_doc_name [17:52:42]save OK [17:52:42]Clear old archive folders... [17:52:42]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:52:42]tlvbuf is 003C9AA0 [17:52:42]SAM_PROTO_ClearQueue [17:52:42]wFMCommunicate request_size=4 [17:52:42]MH_SAM_APDU [17:52:42]CAPDU: 80 09 00 00 [17:52:42]Write to MH i2c: E2 08 00 74 00 80 09 00 00 00 00 00 00 E6 [17:52:42]Write i2c OK [17:52:42]MH_I2C_Read... [17:52:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:52:42]Read from MH i2c: E2 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [17:52:42]RAPDU: 90 00 [17:52:42]wFMCommunicate OK [17:52:42]SAM_PROTO_ClearQueue done [17:52:42]KKMCreateOFDPacket [17:52:42]OFDProtocolAddRootSTLVToBuf [17:52:42]FM_MakeSignedData [17:52:42]FM_MakeSignedData [17:52:42]SAM_PROTO_SignData [17:52:42]wFMCommunicate request_size=4 [17:52:42]MH_SAM_APDU [17:52:42]CAPDU: 80 0D 01 02 [17:52:42]Write to MH i2c: E2 08 00 75 00 80 0D 01 02 00 00 00 00 EE [17:52:42]Write i2c OK [17:52:42]MH_I2C_Read... [17:52:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:52:42]Read from MH i2c: E2 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [17:52:42]RAPDU: 90 00 [17:52:42]wFMCommunicate OK [17:52:42]wFMCommunicate request_size=255 [17:52:42]MH_SAM_APDU [17:52:42]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 42 00 00 00 F4 03 04 00 E9 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 [17:52:42]Write to MH i2c: E2 02 01 76 00 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 42 00 00 00 F4 03 04 00 E9 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A5 [17:52:42]Write i2c OK [17:52:42]MH_I2C_Read... [17:52:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:42]Read from MH i2c: E2 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 [17:52:42]MH_I2C_Read... [17:52:42]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [17:52:42]RAPDU: 90 00 [17:52:42]wFMCommunicate OK [17:52:42]wFMCommunicate request_size=31 [17:52:42]MH_SAM_APDU [17:52:42]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 30 39 35 10 04 04 00 3A 86 00 00 35 04 06 00 96 2A 62 5B 66 86 [17:52:42]Write to MH i2c: E2 22 00 77 00 80 0D 02 02 1A 00 30 30 38 37 35 30 39 35 10 04 04 00 3A 86 00 00 35 04 06 00 96 2A 62 5B 66 86 00 00 47 [17:52:42]Write i2c OK [17:52:42]MH_I2C_Read... [17:52:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:43]Read from MH i2c: E2 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 03 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [17:52:43]RAPDU: 90 00 [17:52:43]wFMCommunicate OK [17:52:43]wFMCommunicate request_size=4 [17:52:43]MH_SAM_APDU [17:52:43]CAPDU: 80 0D 03 02 [17:52:43]Write to MH i2c: E2 08 00 78 00 80 0D 03 02 00 00 00 00 F3 [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:52:43]Read from MH i2c: E2 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 0B 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 0B 00 78 00 00 CE F2 C9 58 61 E1 71 F5 90 00 7D [17:52:43]RAPDU: CE F2 C9 58 61 E1 71 F5 90 00 [17:52:43]wFMCommunicate OK [17:52:43]SAM_PROTO_SignData done [17:52:43]FM_MakeSignedData done [17:52:43]CreateOFDProtocolMessage [17:52:43]wFMCommunicate request_size=4 [17:52:43]MH_SAM_APDU [17:52:43]CAPDU: 80 11 00 00 [17:52:43]Write to MH i2c: E2 08 00 79 00 80 11 00 00 00 00 00 00 F3 [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:43]Read from MH i2c: E2 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 17 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: E2 17 00 79 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 48 [17:52:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:43]wFMCommunicate OK [17:52:43]CreateOFDProtocolMessage done [17:52:43]OFDSenderStorePacket 34362 [17:52:43]StoreOFDPacket docnum=34362 [17:52:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 D6 3D 1C 01 2D E6 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 42 00 00 00 F4 03 04 00 E9 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 86 00 00 35 04 06 00 96 2A 62 5B 66 86 CE F2 C9 58 61 E1 71 F5 [17:52:43]CheckFolder [17:52:43]dirname=/storage/ofd_packets [17:52:43]CheckFolder done [17:52:43]ProducePacketName [17:52:43]name=ofd_packets/00034362 [17:52:43]NVStorageSaveData ofd_packets/00034362 [17:52:43]File name is /storage/ofd_packets/00034362 [17:52:43]Write 322 bytes [17:52:43]NVStorageSaveData done [17:52:43]OFDSenderStorePacket done [17:52:43]KKMCreateOFDPacket done [17:52:43]NVStorageSaveData kkm_last_timestamp [17:52:43]File name is /storage/kkm_last_timestamp [17:52:43]Write 4 bytes [17:52:43]NVStorageSaveData done [17:52:43]ExternCall_PrintAddStr [17:52:43]wPrintStart [17:52:43]Write to MH i2c: 01 00 00 7A 00 7A [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 07 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 07 00 7A 00 00 00 00 00 00 FF 0F 8F [17:52:43]RasterBufferAndPrint [17:52:43]line Счет N : (3)184135 [17:52:43]line ИНН: 02508201610067 [17:52:43]line Контрольно-Кассовый Чек [17:52:43]line ПРОДАЖА [17:52:43]line Товар: 4700000160051 [17:52:43]line Вода Ыссык Ата 1л [17:52:43]line 1.000 * 50.00 [17:52:43]line = 50.00 [17:52:43]line НДС 12% НСП 1% [17:52:43]line > о реализуемом товаре [17:52:43]line ИТОГО: 50.00 [17:52:43]line НСП 1% : 0.44 [17:52:43]line НДС 12% : 5.31 [17:52:43]line Наличными: 50.00 [17:52:43]line Безнал.: 0.00 [17:52:43]line Место: АЗС № 120 "Партнер Нефть" [17:52:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:52:43]line СНО: Общий режим [17:52:43]line Чек 66 19.06.2024 17:52 [17:52:43]line Смена: 324 ФФД: 1.0 [17:52:43]line ЗНМ: 0300000172 [17:52:43]line РНМ: 0000000000092786 [17:52:43]line Версия ККМ: 001 [17:52:43]line ФМ: 0000000000875095 [17:52:43]line ФД: 34362 [17:52:43]line ФПД: 165108782950022 [17:52:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175241&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34362&fm=165108782950022&tin=02508201610067®Number=0000000000092786&sum=5000 [17:52:43]line 0 [17:52:43]OFD Sender: Processing packet 34362 [packets to send 8, broken 7] [17:52:43]ProducePacketName [17:52:43]name=ofd_packets/00034362 [17:52:43]OFD Sender: To server: pG, [17:52:43]CommunicateWithHost lk.salyk.kg:30040 [17:52:43]ConnectInit lk.salyk.kg [17:52:43]written 0, free lines is 4095 [17:52:43]Connected sock=11 [17:52:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 D6 3D 1C 01 2D E6 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 42 00 00 00 F4 03 04 00 E9 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 86 00 00 35 04 06 00 96 2A 62 5B 66 86 CE F2 C9 58 61 E1 71 F5 [17:52:43]Write to MH i2c: 01 00 00 A2 00 A2 [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 07 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 05 0D BB [17:52:43]RasterBufferAndPrint [17:52:43]line [17:52:43]line [17:52:43]line [17:52:43]line [17:52:43]line [17:52:43]written 0, free lines is 3362 [17:52:43]MH_Cut [17:52:43]Write to MH i2c: D1 01 00 A9 00 01 7B [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: D1 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: D1 01 00 [17:52:43]MH_I2C_Read... [17:52:43]Read from MH i2c: D1 01 00 A9 00 00 7A [17:52:43]Write to MH i2c: 01 00 00 AA 00 AA [17:52:43]Write i2c OK [17:52:43]MH_I2C_Read... [17:52:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 B0 BF 47 00 7B C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3A 86 00 00 F4 03 04 00 B6 C1 72 66 B6 04 01 00 00 27 A1 F3 13 B0 64 7E EF [17:52:43]CommunicateWithHost err = 0 [17:52:43]CheckOFDResponse [17:52:43]1017 (14) - 77093643461234 [17:52:43]1041 (16) - 0000000000875095 [17:52:43]1040 (4) - 34362 [17:52:43]1012 (4) - 19.06.2024 11:32 [17:52:43]1206 (1) - 0 [17:52:43]OFD Sender: Remove packet 34362 [17:52:43]ProducePacketName [17:52:43]name=ofd_packets/00034362 [17:52:43]NVStorageDeleteData [17:52:44]OFD Sender: No OFD packet to send [17:52:44]*** Cut start [17:52:44]*** Partial cut [17:52:44]*** CUTSNS_PIN = 1 [17:52:44]*** CUTSNS_PIN = 0 [17:52:44]*** Brake cut motor [17:52:44]Read from MH i2c: 01 [17:52:45]MH_I2C_Read... [17:52:45]*** Stop cut motor [17:52:45]*** Cut end [17:52:45]Read from MH i2c: 01 07 00 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [17:52:45]process_action close_receipt done [17:52:45]requested_data is exist [17:52:45]produce_requested_data [17:52:45]requested_item fm.sn is exist - process it [17:52:45]wFMCommunicate request_size=4 [17:52:45]MH_SAM_APDU [17:52:45]CAPDU: 80 11 00 00 [17:52:45]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [17:52:45]Write i2c OK [17:52:45]MH_I2C_Read... [17:52:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:45]Read from MH i2c: E2 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 17 00 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 7A [17:52:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:45]wFMCommunicate OK [17:52:45]requested_item fd.num is exist - process it [17:52:45]SAM_PROTO_GetFieldsCounters [17:52:45]wFMCommunicate request_size=4 [17:52:45]MH_SAM_APDU [17:52:45]CAPDU: 80 13 00 00 [17:52:45]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [17:52:45]Write i2c OK [17:52:45]MH_I2C_Read... [17:52:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:45]Read from MH i2c: E2 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 62 00 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3A 86 00 00 0E 04 04 00 44 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 1D [17:52:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3A 86 00 00 0E 04 04 00 44 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 [17:52:45]wFMCommunicate OK [17:52:45]SAM_PROTO_GetFieldsCounters done [17:52:45]requested_item shift.num is exist - process it [17:52:45]requested_item shift.opened is exist - process it [17:52:45]req_shift_opened [17:52:45]FM_GetShiftState [17:52:45]SAM_PROTO_GetShiftState [17:52:45]wFMCommunicate request_size=4 [17:52:45]MH_SAM_APDU [17:52:45]CAPDU: 80 13 01 00 [17:52:45]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [17:52:45]Write i2c OK [17:52:45]MH_I2C_Read... [17:52:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:45]Read from MH i2c: E2 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 0E 00 [17:52:45]MH_I2C_Read... [17:52:45]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 00 [17:52:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:45]wFMCommunicate OK [17:52:45]SAM_PROTO_GetShiftState done [17:52:45]FM_GetShiftState done [17:52:45]req_shift_opened done [17:52:45]requested_item shift.open_date is exist - process it [17:52:45]req_shift_open_date [17:52:45]req_shift_open_date done [17:52:45]produce_requested_data done [17:52:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34362,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:52:45]process_action_free close_receipt [17:52:45]json_value_free [17:52:45]json_value_free done [17:52:45]process_json_proto returns [17:52:45]Send response to host [17:52:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34362,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [17:52:45]free response buf [17:52:45]execute_script done [17:52:45]execute_script returns [17:52:45]free content buf [17:52:45]Sock 7.Close socket [17:52:45]Sock 7.Thread stoped [17:52:46]accept exits with 9 [17:52:46]New connection [17:52:46]New thread 3067161956 created [17:52:46]Thread 3067018596 joined [17:52:46]Waiting for new connection... [17:52:46] Sock 9.Parse request [17:52:46]Sock 9.Check first char [17:52:46]Sock 9.First char is OK [17:52:46]request: POST /json_proto HTTP/1.0 [17:52:46]Method: POST [17:52:46]URL: /json_proto [17:52:46]Method is POST - this is cgi request [17:52:46]url: /json_proto [17:52:46]query_string will be loaded in cgi processing [17:52:46]execute_cgi json_proto POST (null) [17:52:46]execute_cgi path=json_proto method=POST [17:52:46]POST find Content-Length [17:52:46]Host: 172.17.38.134:8080 [17:52:46]Content-Length: 622 [17:52:46]Content-Type: application/json [17:52:46] [17:52:46]POST finish read [17:52:46]Found Content-Length = 622 [17:52:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184136", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:46]execute_script... [17:52: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)184136", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:46]POST & json_proto [17:52:46]process_json_proto [17:52:46]json parsed OK: [17:52:46]protocol is kg_v1.0 [17:52:46]action value=close_receipt [17:52:46]process_action close_receipt [17:52:46]cmd_close_receipt [17:52:46]MH_GetDate [17:52:46]Write to MH i2c: F0 00 00 AE 00 9D [17:52:46]Write i2c OK [17:52:46]MH_I2C_Read... [17:52:46]Read from MH i2c: F0 [17:52:46]MH_I2C_Read... [17:52:46]Read from MH i2c: F0 09 00 [17:52:46]MH_I2C_Read... [17:52:46]Read from MH i2c: F0 09 00 AE 00 00 EF 1A 73 66 13 9C 7C 64 17 [17:52:46]GetLastDocTimeStamp 1718819561 [17:52:46]current date 1718819567 [17:52:46]FM_GetShiftState [17:52:46]SAM_PROTO_GetShiftState [17:52:46]wFMCommunicate request_size=4 [17:52:46]MH_SAM_APDU [17:52:46]CAPDU: 80 13 01 00 [17:52:46]Write to MH i2c: E2 08 00 AF 00 80 13 01 00 00 00 00 00 2C [17:52:46]Write i2c OK [17:52:46]MH_I2C_Read... [17:52:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:46]Read from MH i2c: E2 [17:52:46]MH_I2C_Read... [17:52:46]Read from MH i2c: E2 0E 00 [17:52:46]MH_I2C_Read... [17:52:46]Read from MH i2c: E2 0E 00 AF 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 02 [17:52:46]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:46]wFMCommunicate OK [17:52:46]SAM_PROTO_GetShiftState done [17:52:46]FM_GetShiftState done [17:52:46]opened in 1718756813 [17:52:46]opened+sec_in_day 1718843213 [17:52:46]quantity*price = 13800 [17:52:46]sum+1 = 13801 [17:52:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 67 19.06.2024 17:52 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34363 ФПД: 164734744382231 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175247&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34363&fm=164734744382231&tin=02508201610067®Number=0000000000092786&sum=13800 0 [17:52:48]StoreToDocumentArchive [17:52:48]shift 324 fd 34363 [17:52:48]save to /storage/0324/doc_00034363 [17:52:48]save last doc name /storage/0324/doc_00034363 to /storage/kkm_last_doc_name [17:52:48]save OK [17:52:48]Clear old archive folders... [17:52:48]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:52:48]tlvbuf is 00405750 [17:52:48]SAM_PROTO_ClearQueue [17:52:48]wFMCommunicate request_size=4 [17:52:48]MH_SAM_APDU [17:52:48]CAPDU: 80 09 00 00 [17:52:48]Write to MH i2c: E2 08 00 BC 00 80 09 00 00 00 00 00 00 2E [17:52:48]Write i2c OK [17:52:48]MH_I2C_Read... [17:52:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:52:48]Read from MH i2c: E2 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [17:52:48]RAPDU: 90 00 [17:52:48]wFMCommunicate OK [17:52:48]SAM_PROTO_ClearQueue done [17:52:48]KKMCreateOFDPacket [17:52:48]OFDProtocolAddRootSTLVToBuf [17:52:48]FM_MakeSignedData [17:52:48]FM_MakeSignedData [17:52:48]SAM_PROTO_SignData [17:52:48]wFMCommunicate request_size=4 [17:52:48]MH_SAM_APDU [17:52:48]CAPDU: 80 0D 01 02 [17:52:48]Write to MH i2c: E2 08 00 BD 00 80 0D 01 02 00 00 00 00 36 [17:52:48]Write i2c OK [17:52:48]MH_I2C_Read... [17:52:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:52:48]Read from MH i2c: E2 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [17:52:48]RAPDU: 90 00 [17:52:48]wFMCommunicate OK [17:52:48]wFMCommunicate request_size=255 [17:52:48]MH_SAM_APDU [17:52:48]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 EF 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 [17:52:48]Write to MH i2c: E2 02 01 BE 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 EF 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 00 00 E4 [17:52:48]Write i2c OK [17:52:48]MH_I2C_Read... [17:52:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:48]Read from MH i2c: E2 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [17:52:48]RAPDU: 90 00 [17:52:48]wFMCommunicate OK [17:52:48]wFMCommunicate request_size=33 [17:52:48]MH_SAM_APDU [17:52:48]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 86 00 00 35 04 06 00 95 D3 4B EB CB 17 [17:52:48]Write to MH i2c: E2 24 00 BF 00 80 0D 02 02 1C 00 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 86 00 00 35 04 06 00 95 D3 4B EB CB 17 00 00 0B [17:52:48]Write i2c OK [17:52:48]MH_I2C_Read... [17:52:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:48]Read from MH i2c: E2 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 [17:52:48]MH_I2C_Read... [17:52:48]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [17:52:48]RAPDU: 90 00 [17:52:48]wFMCommunicate OK [17:52:48]wFMCommunicate request_size=4 [17:52:48]MH_SAM_APDU [17:52:48]CAPDU: 80 0D 03 02 [17:52:48]Write to MH i2c: E2 08 00 C0 00 80 0D 03 02 00 00 00 00 3B [17:52:48]Write i2c OK [17:52:48]MH_I2C_Read... [17:52:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:52:48]Read from MH i2c: E2 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: E2 0B 00 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: E2 0B 00 C0 00 00 68 ED 1A E8 A6 74 F1 3D 90 00 DB [17:52:49]RAPDU: 68 ED 1A E8 A6 74 F1 3D 90 00 [17:52:49]wFMCommunicate OK [17:52:49]SAM_PROTO_SignData done [17:52:49]FM_MakeSignedData done [17:52:49]CreateOFDProtocolMessage [17:52:49]wFMCommunicate request_size=4 [17:52:49]MH_SAM_APDU [17:52:49]CAPDU: 80 11 00 00 [17:52:49]Write to MH i2c: E2 08 00 C1 00 80 11 00 00 00 00 00 00 3B [17:52:49]Write i2c OK [17:52:49]MH_I2C_Read... [17:52:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:49]Read from MH i2c: E2 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: E2 17 00 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: E2 17 00 C1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 90 [17:52:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:49]wFMCommunicate OK [17:52:49]CreateOFDProtocolMessage done [17:52:49]OFDSenderStorePacket 34363 [17:52:49]StoreOFDPacket docnum=34363 [17:52:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 74 10 1E 01 FE CF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 EF 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 86 00 00 35 04 06 00 95 D3 4B EB CB 17 68 ED 1A E8 A6 74 F1 3D [17:52:49]CheckFolder [17:52:49]dirname=/storage/ofd_packets [17:52:49]CheckFolder done [17:52:49]ProducePacketName [17:52:49]name=ofd_packets/00034363 [17:52:49]NVStorageSaveData ofd_packets/00034363 [17:52:49]File name is /storage/ofd_packets/00034363 [17:52:49]Write 324 bytes [17:52:49]NVStorageSaveData done [17:52:49]OFDSenderStorePacket done [17:52:49]KKMCreateOFDPacket done [17:52:49]NVStorageSaveData kkm_last_timestamp [17:52:49]File name is /storage/kkm_last_timestamp [17:52:49]Write 4 bytes [17:52:49]NVStorageSaveData done [17:52:49]ExternCall_PrintAddStr [17:52:49]wPrintStart [17:52:49]Write to MH i2c: 01 00 00 C2 00 C2 [17:52:49]Write i2c OK [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 07 00 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 07 00 C2 00 00 00 00 00 00 FF 0F D7 [17:52:49]RasterBufferAndPrint [17:52:49]line Счет N : (3)184136 [17:52:49]line ИНН: 02508201610067 [17:52:49]line Контрольно-Кассовый Чек [17:52:49]line ПРОДАЖА [17:52:49]line Товар: 4640030091645 [17:52:49]line Сигареты ESSE Exchange M [17:52:49]line 1.000 * 138.00 [17:52:49]line = 138.00 [17:52:49]line НДС 12% НСП 1% [17:52:49]line > о реализуемом товаре [17:52:49]line ИТОГО: 138.00 [17:52:49]line НСП 1% : 1.22 [17:52:49]line НДС 12% : 14.65 [17:52:49]line Наличными: 138.00 [17:52:49]line Безнал.: 0.00 [17:52:49]line Место: АЗС № 120 "Партнер Нефть" [17:52:49]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:52:49]line СНО: Общий режим [17:52:49]line Чек 67 19.06.2024 17:52 [17:52:49]line Смена: 324 ФФД: 1.0 [17:52:49]line ЗНМ: 0300000172 [17:52:49]line РНМ: 0000000000092786 [17:52:49]line Версия ККМ: 001 [17:52:49]line ФМ: 0000000000875095 [17:52:49]line ФД: 34363 [17:52:49]line ФПД: 164734744382231 [17:52:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175247&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34363&fm=164734744382231&tin=02508201610067®Number=0000000000092786&sum=13800 [17:52:49]line 0 [17:52:49]written 0, free lines is 4095 [17:52:49]OFD Sender: Processing packet 34363 [packets to send 8, broken 7] [17:52:49]ProducePacketName [17:52:49]name=ofd_packets/00034363 [17:52:49]OFD Sender: To server: pG, [17:52:49]CommunicateWithHost lk.salyk.kg:30040 [17:52:49]ConnectInit lk.salyk.kg [17:52:49]Connected sock=10 [17:52:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 26 01 00 00 74 10 1E 01 FE CF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 EF 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3B 86 00 00 35 04 06 00 95 D3 4B EB CB 17 68 ED 1A E8 A6 74 F1 3D [17:52:49]Write to MH i2c: 01 00 00 EA 00 EA [17:52:49]Write i2c OK [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 07 00 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: 01 07 00 EA 00 00 00 00 00 00 14 0D 12 [17:52:49]RasterBufferAndPrint [17:52:49]line [17:52:49]line [17:52:49]line [17:52:49]line [17:52:49]line [17:52:49]written 0, free lines is 3379 [17:52:49]MH_Cut [17:52:49]Write to MH i2c: D1 01 00 F1 00 01 C3 [17:52:49]Write i2c OK [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: D1 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: D1 01 00 [17:52:49]MH_I2C_Read... [17:52:49]Read from MH i2c: D1 01 00 F1 00 00 C2 [17:52:49]Write to MH i2c: 01 00 00 F2 00 F2 [17:52:49]Write i2c OK [17:52:49]MH_I2C_Read... [17:52:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 EB 00 47 00 A2 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 38 37 35 30 39 35 10 04 04 00 3B 86 00 00 F4 03 04 00 BC C1 72 66 B6 04 01 00 00 2A 00 00 24 BC C4 BF 3C [17:52:49]CommunicateWithHost err = 0 [17:52:49]CheckOFDResponse [17:52:49]1017 (14) - 77093643461234 [17:52:49]1041 (16) - 0000000000875095 [17:52:49]1040 (4) - 34363 [17:52:49]1012 (4) - 19.06.2024 11:32 [17:52:49]1206 (1) - 0 [17:52:49]OFD Sender: Remove packet 34363 [17:52:49]ProducePacketName [17:52:49]name=ofd_packets/00034363 [17:52:49]NVStorageDeleteData [17:52:50]*** Cut start [17:52:50]*** Partial cut [17:52:50]*** CUTSNS_PIN = 1 [17:52:50]OFD Sender: No OFD packet to send [17:52:50]*** CUTSNS_PIN = 0 [17:52:50]*** Brake cut motor [17:52:50]Read from MH i2c: 01 [17:52:50]MH_I2C_Read... [17:52:50]*** Stop cut motor [17:52:50]*** Cut end [17:52:50]Read from MH i2c: 01 07 00 [17:52:50]MH_I2C_Read... [17:52:50]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 FF 0F 07 [17:52:50]process_action close_receipt done [17:52:50]requested_data is exist [17:52:50]produce_requested_data [17:52:50]requested_item fm.sn is exist - process it [17:52:50]wFMCommunicate request_size=4 [17:52:50]MH_SAM_APDU [17:52:50]CAPDU: 80 11 00 00 [17:52:50]Write to MH i2c: E2 08 00 F3 00 80 11 00 00 00 00 00 00 6D [17:52:50]Write i2c OK [17:52:50]MH_I2C_Read... [17:52:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:50]Read from MH i2c: E2 [17:52:50]MH_I2C_Read... [17:52:50]Read from MH i2c: E2 17 00 [17:52:50]MH_I2C_Read... [17:52:50]Read from MH i2c: E2 17 00 F3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C2 [17:52:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:51]wFMCommunicate OK [17:52:51]requested_item fd.num is exist - process it [17:52:51]SAM_PROTO_GetFieldsCounters [17:52:51]wFMCommunicate request_size=4 [17:52:51]MH_SAM_APDU [17:52:51]CAPDU: 80 13 00 00 [17:52:51]Write to MH i2c: E2 08 00 F4 00 80 13 00 00 00 00 00 00 70 [17:52:51]Write i2c OK [17:52:51]MH_I2C_Read... [17:52:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:51]Read from MH i2c: E2 [17:52:51]MH_I2C_Read... [17:52:51]Read from MH i2c: E2 62 00 [17:52:51]MH_I2C_Read... [17:52:51]Read from MH i2c: E2 62 00 F4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3B 86 00 00 0E 04 04 00 44 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 69 [17:52:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3B 86 00 00 0E 04 04 00 44 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 [17:52:51]wFMCommunicate OK [17:52:51]SAM_PROTO_GetFieldsCounters done [17:52:51]requested_item shift.num is exist - process it [17:52:51]requested_item shift.opened is exist - process it [17:52:51]req_shift_opened [17:52:51]FM_GetShiftState [17:52:51]SAM_PROTO_GetShiftState [17:52:51]wFMCommunicate request_size=4 [17:52:51]MH_SAM_APDU [17:52:51]CAPDU: 80 13 01 00 [17:52:51]Write to MH i2c: E2 08 00 F5 00 80 13 01 00 00 00 00 00 72 [17:52:51]Write i2c OK [17:52:51]MH_I2C_Read... [17:52:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:51]Read from MH i2c: E2 [17:52:51]MH_I2C_Read... [17:52:51]Read from MH i2c: E2 0E 00 [17:52:51]MH_I2C_Read... [17:52:51]Read from MH i2c: E2 0E 00 F5 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 48 [17:52:51]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:51]wFMCommunicate OK [17:52:51]SAM_PROTO_GetShiftState done [17:52:51]FM_GetShiftState done [17:52:51]req_shift_opened done [17:52:51]requested_item shift.open_date is exist - process it [17:52:51]req_shift_open_date [17:52:51]req_shift_open_date done [17:52:51]produce_requested_data done [17:52:51]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34363,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:52:51]process_action_free close_receipt [17:52:51]json_value_free [17:52:51]json_value_free done [17:52:51]process_json_proto returns [17:52:51]Send response to host [17:52:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34363,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [17:52:51]free response buf [17:52:51]execute_script done [17:52:51]execute_script returns [17:52:51]free content buf [17:52:51]Sock 9.Close socket [17:52:51]Sock 9.Thread stoped [17:52:52]accept exits with 7 [17:52:52]New connection [17:52:52]New thread 3067018596 created [17:52:52]Thread 3067161956 joined [17:52:52]Waiting for new connection... [17:52:52] Sock 7.Parse request [17:52:52]Sock 7.Check first char [17:52:52]Sock 7.First char is OK [17:52:52]request: POST /json_proto HTTP/1.0 [17:52:52]Method: POST [17:52:52]URL: /json_proto [17:52:52]Method is POST - this is cgi request [17:52:52]url: /json_proto [17:52:52]query_string will be loaded in cgi processing [17:52:52]execute_cgi json_proto POST (null) [17:52:52]execute_cgi path=json_proto method=POST [17:52:52]POST find Content-Length [17:52:52]Host: 172.17.38.134:8080 [17:52:52]Content-Length: 720 [17:52:52]Content-Type: application/json [17:52:52] [17:52:52]POST finish read [17:52:52]Found Content-Length = 720 [17:52:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184137", "tax_sys" : 0, "items" : [ { "code": "9780225379418", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 5000\u0441", "price" : 5000.00, "quantity" : 3.000, "sum" : 15000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:52]execute_script... [17:52: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)184137", "tax_sys" : 0, "items" : [ { "code": "9780225379418", "name": "\u041F\u043E\u0434\u0430\u0440\u043E\u0447\u043D\u0430\u044F \u0442\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430 5000\u0441", "price" : 5000.00, "quantity" : 3.000, "sum" : 15000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15000.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:52]POST & json_proto [17:52:52]process_json_proto [17:52:52]json parsed OK: [17:52:52]protocol is kg_v1.0 [17:52:52]action value=close_receipt [17:52:52]process_action close_receipt [17:52:52]cmd_close_receipt [17:52:52]MH_GetDate [17:52:52]Write to MH i2c: F0 00 00 F6 00 E5 [17:52:52]Write i2c OK [17:52:52]MH_I2C_Read... [17:52:52]Read from MH i2c: F0 [17:52:52]MH_I2C_Read... [17:52:52]Read from MH i2c: F0 09 00 [17:52:52]MH_I2C_Read... [17:52:52]Read from MH i2c: F0 09 00 F6 00 00 F5 1A 73 66 13 9C 7C 64 65 [17:52:52]GetLastDocTimeStamp 1718819567 [17:52:52]current date 1718819573 [17:52:52]FM_GetShiftState [17:52:52]SAM_PROTO_GetShiftState [17:52:52]wFMCommunicate request_size=4 [17:52:52]MH_SAM_APDU [17:52:52]CAPDU: 80 13 01 00 [17:52:52]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [17:52:52]Write i2c OK [17:52:52]MH_I2C_Read... [17:52:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:52]Read from MH i2c: E2 [17:52:52]MH_I2C_Read... [17:52:52]Read from MH i2c: E2 0E 00 [17:52:52]MH_I2C_Read... [17:52:52]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 4A [17:52:52]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:52]wFMCommunicate OK [17:52:52]SAM_PROTO_GetShiftState done [17:52:52]FM_GetShiftState done [17:52:52]opened in 1718756813 [17:52:52]opened+sec_in_day 1718843213 [17:52:52]quantity*price = 1500000 [17:52:52]sum+1 = 1500001 [17:52:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15000.00 НСП 1% : 132.74 НДС 12% : 1592.92 Наличными: 15000.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 68 19.06.2024 17:52 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34364 ФПД: 162107476464914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175253&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34364&fm=162107476464914&tin=02508201610067®Number=0000000000092786&sum=1500000 0 [17:52:54]StoreToDocumentArchive [17:52:54]shift 324 fd 34364 [17:52:54]save to /storage/0324/doc_00034364 [17:52:54]save last doc name /storage/0324/doc_00034364 to /storage/kkm_last_doc_name [17:52:54]save OK [17:52:54]Clear old archive folders... [17:52:54]ProcessDocumentItem done err = 0, tmpTLVsize=299 [17:52:54]tlvbuf is 00396F90 [17:52:54]SAM_PROTO_ClearQueue [17:52:54]wFMCommunicate request_size=4 [17:52:54]MH_SAM_APDU [17:52:54]CAPDU: 80 09 00 00 [17:52:54]Write to MH i2c: E2 08 00 04 01 80 09 00 00 00 00 00 00 77 [17:52:54]Write i2c OK [17:52:54]MH_I2C_Read... [17:52:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:52:54]Read from MH i2c: E2 [17:52:54]MH_I2C_Read... [17:52:54]Read from MH i2c: E2 03 00 [17:52:54]MH_I2C_Read... [17:52:54]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [17:52:54]RAPDU: 90 00 [17:52:54]wFMCommunicate OK [17:52:54]SAM_PROTO_ClearQueue done [17:52:54]KKMCreateOFDPacket [17:52:54]OFDProtocolAddRootSTLVToBuf [17:52:54]FM_MakeSignedData [17:52:54]FM_MakeSignedData [17:52:54]SAM_PROTO_SignData [17:52:54]wFMCommunicate request_size=4 [17:52:54]MH_SAM_APDU [17:52:54]CAPDU: 80 0D 01 02 [17:52:54]Write to MH i2c: E2 08 00 05 01 80 0D 01 02 00 00 00 00 7F [17:52:54]Write i2c OK [17:52:54]MH_I2C_Read... [17:52:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:52:54]Read from MH i2c: E2 [17:52:54]MH_I2C_Read... [17:52:54]Read from MH i2c: E2 03 00 [17:52:54]MH_I2C_Read... [17:52:54]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [17:52:54]RAPDU: 90 00 [17:52:54]wFMCommunicate OK [17:52:54]wFMCommunicate request_size=255 [17:52:54]MH_SAM_APDU [17:52:54]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 60 E3 16 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 E3 16 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 33 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 6E 02 00 00 00 07 04 06 00 60 E3 16 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F5 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [17:52:54]Write to MH i2c: E2 02 01 06 01 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 60 E3 16 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 E3 16 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 33 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 6E 02 00 00 00 07 04 06 00 60 E3 16 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F5 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 54 [17:52:54]Write i2c OK [17:52:54]MH_I2C_Read... [17:52:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:55]Read from MH i2c: E2 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 03 00 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [17:52:55]RAPDU: 90 00 [17:52:55]wFMCommunicate OK [17:52:55]wFMCommunicate request_size=58 [17:52:55]MH_SAM_APDU [17:52:55]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 86 00 00 35 04 06 00 93 6F 96 8C D5 12 [17:52:55]Write to MH i2c: E2 3D 00 07 01 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 86 00 00 35 04 06 00 93 6F 96 8C D5 12 00 00 47 [17:52:55]Write i2c OK [17:52:55]MH_I2C_Read... [17:52:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:55]Read from MH i2c: E2 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 03 00 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [17:52:55]RAPDU: 90 00 [17:52:55]wFMCommunicate OK [17:52:55]wFMCommunicate request_size=4 [17:52:55]MH_SAM_APDU [17:52:55]CAPDU: 80 0D 03 02 [17:52:55]Write to MH i2c: E2 08 00 08 01 80 0D 03 02 00 00 00 00 84 [17:52:55]Write i2c OK [17:52:55]MH_I2C_Read... [17:52:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:52:55]Read from MH i2c: E2 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 0B 00 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 0B 00 08 01 00 77 6A E3 BE BB 81 C6 6E 90 00 77 [17:52:55]RAPDU: 77 6A E3 BE BB 81 C6 6E 90 00 [17:52:55]wFMCommunicate OK [17:52:55]SAM_PROTO_SignData done [17:52:55]FM_MakeSignedData done [17:52:55]CreateOFDProtocolMessage [17:52:55]wFMCommunicate request_size=4 [17:52:55]MH_SAM_APDU [17:52:55]CAPDU: 80 11 00 00 [17:52:55]Write to MH i2c: E2 08 00 09 01 80 11 00 00 00 00 00 00 84 [17:52:55]OFD Sender: No OFD packet to send [17:52:55]Write i2c OK [17:52:55]MH_I2C_Read... [17:52:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:55]Read from MH i2c: E2 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 17 00 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: E2 17 00 09 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D9 [17:52:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:55]wFMCommunicate OK [17:52:55]CreateOFDProtocolMessage done [17:52:55]OFDSenderStorePacket 34364 [17:52:55]StoreOFDPacket docnum=34364 [17:52:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 EE 33 37 01 3A 5E 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 60 E3 16 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 E3 16 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 33 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 6E 02 00 00 00 07 04 06 00 60 E3 16 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F5 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 86 00 00 35 04 06 00 93 6F 96 8C D5 12 77 6A E3 BE BB 81 C6 6E [17:52:55]CheckFolder [17:52:55]dirname=/storage/ofd_packets [17:52:55]CheckFolder done [17:52:55]ProducePacketName [17:52:55]name=ofd_packets/00034364 [17:52:55]NVStorageSaveData ofd_packets/00034364 [17:52:55]File name is /storage/ofd_packets/00034364 [17:52:55]Write 349 bytes [17:52:55]NVStorageSaveData done [17:52:55]OFDSenderStorePacket done [17:52:55]KKMCreateOFDPacket done [17:52:55]NVStorageSaveData kkm_last_timestamp [17:52:55]File name is /storage/kkm_last_timestamp [17:52:55]Write 4 bytes [17:52:55]NVStorageSaveData done [17:52:55]ExternCall_PrintAddStr [17:52:55]wPrintStart [17:52:55]Write to MH i2c: 01 00 00 0A 01 0B [17:52:55]Write i2c OK [17:52:55]MH_I2C_Read... [17:52:55]OFD Sender: Processing packet 34364 [packets to send 8, broken 7] [17:52:55]ProducePacketName [17:52:55]name=ofd_packets/00034364 [17:52:55]OFD Sender: To server: pG, [17:52:55]CommunicateWithHost lk.salyk.kg:30040 [17:52:55]ConnectInit lk.salyk.kg [17:52:55]Read from MH i2c: 01 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: 01 07 00 [17:52:55]MH_I2C_Read... [17:52:55]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FF 0F 20 [17:52:55]RasterBufferAndPrint [17:52:55]line Счет N : (3)184137 [17:52:55]line ИНН: 02508201610067 [17:52:55]line Контрольно-Кассовый Чек [17:52:55]line ПРОДАЖА [17:52:55]line Товар: 9780225379418 [17:52:55]line Подарочная топливная карта 5000с [17:52:55]line 3.000 * 5000.00 [17:52:55]line = 15000.00 [17:52:55]line НДС 12% НСП 1% [17:52:55]line > о реализуемом товаре [17:52:55]line ИТОГО: 15000.00 [17:52:55]line НСП 1% : 132.74 [17:52:55]line НДС 12% : 1592.92 [17:52:55]line Наличными: 15000.00 [17:52:55]line Безнал.: 0.00 [17:52:55]line Место: АЗС № 120 "Партнер Нефть" [17:52:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [17:52:55]line СНО: Общий режим [17:52:55]line Чек 68 19.06.2024 17:52 [17:52:55]line Смена: 324 ФФД: 1.0 [17:52:55]line ЗНМ: 0300000172 [17:52:55]line РНМ: 0000000000092786 [17:52:55]line Версия ККМ: 001 [17:52:55]line ФМ: 0000000000875095 [17:52:55]line ФД: 34364 [17:52:55]line ФПД: 162107476464914 [17:52:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T175253&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34364&fm=162107476464914&tin=02508201610067®Number=0000000000092786&sum=1500000 [17:52:55]line 0 [17:52:55]written 0, free lines is 4095 [17:52:55]Connected sock=10 [17:52:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 3F 01 00 00 EE 33 37 01 3A 5E 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 39 37 38 30 32 32 35 33 37 39 34 31 38 06 04 39 00 D0 9F D0 BE D0 B4 D0 B0 D1 80 D0 BE D1 87 D0 BD D0 B0 D1 8F 20 D1 82 D0 BE D0 BF D0 BB D0 B8 D0 B2 D0 BD D0 B0 D1 8F 20 D0 BA D0 B0 D1 80 D1 82 D0 B0 20 35 30 30 30 D1 81 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 20 A1 07 00 00 00 13 04 06 00 60 E3 16 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 E3 16 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 33 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 6E 02 00 00 00 07 04 06 00 60 E3 16 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F5 1A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 86 00 00 35 04 06 00 93 6F 96 8C D5 12 77 6A E3 BE BB 81 C6 6E [17:52:56]Write to MH i2c: 01 00 00 33 01 34 [17:52:56]Write i2c OK [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: 01 [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: 01 07 00 [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 5B 0D A3 [17:52:56]RasterBufferAndPrint [17:52:56]line [17:52:56]line [17:52:56]line [17:52:56]line [17:52:56]line [17:52:56]written 0, free lines is 3451 [17:52:56]MH_Cut [17:52:56]Write to MH i2c: D1 01 00 3A 01 01 0D [17:52:56]Write i2c OK [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: D1 [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: D1 01 00 [17:52:56]MH_I2C_Read... [17:52:56]Read from MH i2c: D1 01 00 3A 01 00 0C [17:52:56]Write to MH i2c: 01 00 00 3B 01 3C [17:52:56]Write i2c OK [17:52:56]MH_I2C_Read... [17:52:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 CF 8D 47 00 CF 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3C 86 00 00 F4 03 04 00 C2 C1 72 66 B6 04 01 00 00 AE 46 A5 0A D9 95 3E 9D [17:52:56]CommunicateWithHost err = 0 [17:52:56]CheckOFDResponse [17:52:56]1017 (14) - 77093643461234 [17:52:56]1041 (16) - 0000000000875095 [17:52:56]1040 (4) - 34364 [17:52:56]1012 (4) - 19.06.2024 11:32 [17:52:56]1206 (1) - 0 [17:52:56]OFD Sender: Remove packet 34364 [17:52:56]ProducePacketName [17:52:56]name=ofd_packets/00034364 [17:52:56]NVStorageDeleteData [17:52:56]*** Cut start [17:52:56]*** Partial cut [17:52:56]*** CUTSNS_PIN = 1 [17:52:56]*** CUTSNS_PIN = 0 [17:52:56]OFD Sender: No OFD packet to send [17:52:56]*** Brake cut motor [17:52:57]Read from MH i2c: 01 [17:52:57]MH_I2C_Read... [17:52:57]*** Stop cut motor [17:52:57]*** Cut end [17:52:57]Read from MH i2c: 01 07 00 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FF 0F 51 [17:52:57]process_action close_receipt done [17:52:57]requested_data is exist [17:52:57]produce_requested_data [17:52:57]requested_item fm.sn is exist - process it [17:52:57]wFMCommunicate request_size=4 [17:52:57]MH_SAM_APDU [17:52:57]CAPDU: 80 11 00 00 [17:52:57]Write to MH i2c: E2 08 00 3C 01 80 11 00 00 00 00 00 00 B7 [17:52:57]Write i2c OK [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 [17:52:57]MH_I2C_Read... [17:52:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:57]Read from MH i2c: E2 17 00 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 17 00 3C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 0C [17:52:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [17:52:57]wFMCommunicate OK [17:52:57]requested_item fd.num is exist - process it [17:52:57]SAM_PROTO_GetFieldsCounters [17:52:57]wFMCommunicate request_size=4 [17:52:57]MH_SAM_APDU [17:52:57]CAPDU: 80 13 00 00 [17:52:57]Write to MH i2c: E2 08 00 3D 01 80 13 00 00 00 00 00 00 BA [17:52:57]Write i2c OK [17:52:57]MH_I2C_Read... [17:52:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:57]Read from MH i2c: E2 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 62 00 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 62 00 3D 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3C 86 00 00 0E 04 04 00 44 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 B7 [17:52:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3C 86 00 00 0E 04 04 00 44 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 [17:52:57]wFMCommunicate OK [17:52:57]SAM_PROTO_GetFieldsCounters done [17:52:57]requested_item shift.num is exist - process it [17:52:57]requested_item shift.opened is exist - process it [17:52:57]req_shift_opened [17:52:57]FM_GetShiftState [17:52:57]SAM_PROTO_GetShiftState [17:52:57]wFMCommunicate request_size=4 [17:52:57]MH_SAM_APDU [17:52:57]CAPDU: 80 13 01 00 [17:52:57]Write to MH i2c: E2 08 00 3E 01 80 13 01 00 00 00 00 00 BC [17:52:57]Write i2c OK [17:52:57]MH_I2C_Read... [17:52:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:57]Read from MH i2c: E2 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 0E 00 [17:52:57]MH_I2C_Read... [17:52:57]Read from MH i2c: E2 0E 00 3E 01 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 92 [17:52:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [17:52:57]wFMCommunicate OK [17:52:57]SAM_PROTO_GetShiftState done [17:52:57]FM_GetShiftState done [17:52:57]req_shift_opened done [17:52:57]requested_item shift.open_date is exist - process it [17:52:57]req_shift_open_date [17:52:57]req_shift_open_date done [17:52:57]produce_requested_data done [17:52:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34364,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [17:52:57]process_action_free close_receipt [17:52:57]json_value_free [17:52:57]json_value_free done [17:52:57]process_json_proto returns [17:52:57]Send response to host [17:52:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34364,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [17:52:57]free response buf [17:52:57]execute_script done [17:52:57]execute_script returns [17:52:57]free content buf [17:52:57]Sock 7.Close socket [17:52:57]Sock 7.Thread stoped [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:12]OFD Sender: No OFD packet to send [17:55:17]OFD Sender: No OFD packet to send [17:55:22]OFD Sender: No OFD packet to send [17:55:27]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:52]OFD Sender: No OFD packet to send [17:55:57]OFD Sender: No OFD packet to send [17:56:02]OFD Sender: No OFD packet to send [17:56:07]OFD Sender: No OFD packet to send [17:56:12]OFD Sender: No OFD packet to send [17:56:17]OFD Sender: No OFD packet to send [17:56:22]OFD Sender: No OFD packet to send [17:56:27]OFD Sender: No OFD packet to send [17:56:32]OFD Sender: No OFD packet to send [17:56:37]OFD Sender: No OFD packet to send [17:56:42]OFD Sender: No OFD packet to send [17:56:47]OFD Sender: No OFD packet to send [17:56:52]OFD Sender: No OFD packet to send [17:56:57]OFD Sender: No OFD packet to send [17:57:02]OFD Sender: No OFD packet to send [17:57:07]OFD Sender: No OFD packet to send [17:57:12]OFD Sender: No OFD packet to send [17:57:17]OFD Sender: No OFD packet to send [17:57:22]OFD Sender: No OFD packet to send [17:57:27]OFD Sender: No OFD packet to send [17:57:32]OFD Sender: No OFD packet to send [17:57:37]OFD Sender: No OFD packet to send [17:57:42]OFD Sender: No OFD packet to send [17:57:47]OFD Sender: No OFD packet to send [17:57:52]OFD Sender: No OFD packet to send [17:57:57]OFD Sender: No OFD packet to send [17:58:02]OFD Sender: No OFD packet to send [17:58:07]OFD Sender: No OFD packet to send [17:58:12]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:22]OFD Sender: No OFD packet to send [18:00:27]OFD Sender: No OFD packet to send [18:00:32]OFD Sender: No OFD packet to send [18:00:37]OFD Sender: No OFD packet to send [18:00:42]OFD Sender: No OFD packet to send [18:00:47]OFD Sender: No OFD packet to send [18:00:52]OFD Sender: No OFD packet to send [18:00:57]OFD Sender: No OFD packet to send [18:01:02]OFD Sender: No OFD packet to send [18:01:07]OFD Sender: No OFD packet to send [18:01:12]OFD Sender: No OFD packet to send [18:01:17]OFD Sender: No OFD packet to send [18:01:22]OFD Sender: No OFD packet to send [18:01:27]OFD Sender: No OFD packet to send [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:27]OFD Sender: No OFD packet to send [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:32]OFD Sender: No OFD packet to send [18:15:37]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]accept exits with 9 [18:31:13]New connection [18:31:13]New thread 3067161956 created [18:31:13]Thread 3067018596 joined [18:31:13]Waiting for new connection... [18:31:13] Sock 9.Parse request [18:31:13]Sock 9.Check first char [18:31:13]Sock 9.First char is OK [18:31:13]request: POST /json_proto HTTP/1.0 [18:31:13]Method: POST [18:31:13]URL: /json_proto [18:31:13]Method is POST - this is cgi request [18:31:13]url: /json_proto [18:31:13]query_string will be loaded in cgi processing [18:31:13]execute_cgi json_proto POST (null) [18:31:13]execute_cgi path=json_proto method=POST [18:31:13]POST find Content-Length [18:31:13]Host: 172.17.38.134:8080 [18:31:13]Content-Length: 3346 [18:31:13]Content-Type: application/json [18:31:13] [18:31:13]POST finish read [18:31:13]Found Content-Length = 3346 [18:31:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184138", "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" : 5.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "9002490206550", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 2.000, "sum" : 530.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" : 150.00, "quantity" : 3.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5053990106981", "name": "\u0427\u0438\u043F\u0441\u044B \u041F\u0440\u0438\u043D\u0433\u043B\u0441 \u0441\u044B\u0440 165\u0433", "price" : 420.00, "quantity" : 2.000, "sum" : 840.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" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8690504035503", "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" : 2866.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:31:13]execute_script... [18:31: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)184138", "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" : 5.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091621", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange W", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "9002490206550", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 2.000, "sum" : 530.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" : 150.00, "quantity" : 3.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5053990106981", "name": "\u0427\u0438\u043F\u0441\u044B \u041F\u0440\u0438\u043D\u0433\u043B\u0441 \u0441\u044B\u0440 165\u0433", "price" : 420.00, "quantity" : 2.000, "sum" : 840.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" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000027340020", "name": "\u041F\u0430\u043A\u0435\u0442 \u0431\u0443\u043C\u0430\u0436\u043D\u044B\u0439 \u0432\u0438\u0442\u0430\u044F \u0440\u0443\u0447\u043A\u0430", "price" : 25.00, "quantity" : 2.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8690504035503", "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" : 2866.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:31:13]POST & json_proto [18:31:13]process_json_proto [18:31:13]json parsed OK: [18:31:13]protocol is kg_v1.0 [18:31:13]action value=close_receipt [18:31:13]process_action close_receipt [18:31:13]cmd_close_receipt [18:31:13]MH_GetDate [18:31:13]Write to MH i2c: F0 00 00 3F 01 2F [18:31:13]OFD Sender: No OFD packet to send [18:31:13]Write i2c OK [18:31:13]MH_I2C_Read... [18:31:13]Read from MH i2c: F0 [18:31:13]MH_I2C_Read... [18:31:13]Read from MH i2c: F0 09 00 [18:31:13]MH_I2C_Read... [18:31:13]Read from MH i2c: F0 09 00 3F 01 00 F2 23 73 66 13 9C 7C 64 B5 [18:31:14]GetLastDocTimeStamp 1718819573 [18:31:14]current date 1718821874 [18:31:14]FM_GetShiftState [18:31:14]SAM_PROTO_GetShiftState [18:31:14]wFMCommunicate request_size=4 [18:31:14]MH_SAM_APDU [18:31:14]CAPDU: 80 13 01 00 [18:31:14]Write to MH i2c: E2 08 00 40 01 80 13 01 00 00 00 00 00 BE [18:31:14]Write i2c OK [18:31:14]MH_I2C_Read... [18:31:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:31:14]Read from MH i2c: E2 [18:31:14]MH_I2C_Read... [18:31:14]Read from MH i2c: E2 0E 00 [18:31:14]MH_I2C_Read... [18:31:14]Read from MH i2c: E2 0E 00 40 01 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 94 [18:31:14]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [18:31:14]wFMCommunicate OK [18:31:14]SAM_PROTO_GetShiftState done [18:31:14]FM_GetShiftState done [18:31:14]opened in 1718756813 [18:31:14]opened+sec_in_day 1718843213 [18:31:14]quantity*price = 20000 [18:31:14]sum+1 = 20001 [18:31:14]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091621 Сигареты ESSE Exchange W 2.000 * 138.00 = 276.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 9002490206550 Энерг напиток Red Bull 0,355л 2.000 * 265.00 = 530.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 3.000 * 150.00 = 450.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5053990106981 Чипсы Принглс сыр 165г 2.000 * 420.00 = 840.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6957531032045 Кабель hoco rapid charging X1 type-C 1м 1.000 * 271.00 = 271.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000027340020 Пакет бумажный витая ручка 2.000 * 25.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8690504035503 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 2866.00 НСП 1% : 25.34 НДС 12% : 304.34 Наличными: 2866.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 69 19.06.2024 18:31 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34365 ФПД: 22196075668669 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T183115&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34365&fm=22196075668669&tin=02508201610067®Number=0000000000092786&sum=286600 0 [18:31:15]StoreToDocumentArchive [18:31:15]shift 324 fd 34365 [18:31:15]save to /storage/0324/doc_00034365 [18:31:15]save last doc name /storage/0324/doc_00034365 to /storage/kkm_last_doc_name [18:31:15]save OK [18:31:15]Clear old archive folders... [18:31:15]ProcessDocumentItem done err = 0, tmpTLVsize=1410 [18:31:15]tlvbuf is 00414B00 [18:31:15]SAM_PROTO_ClearQueue [18:31:15]wFMCommunicate request_size=4 [18:31:15]MH_SAM_APDU [18:31:15]CAPDU: 80 09 00 00 [18:31:15]Write to MH i2c: E2 08 00 4D 01 80 09 00 00 00 00 00 00 C0 [18:31:15]Write i2c OK [18:31:15]MH_I2C_Read... [18:31:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:31:15]Read from MH i2c: E2 [18:31:15]MH_I2C_Read... [18:31:15]Read from MH i2c: E2 03 00 [18:31:15]MH_I2C_Read... [18:31:15]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [18:31:15]RAPDU: 90 00 [18:31:15]wFMCommunicate OK [18:31:15]SAM_PROTO_ClearQueue done [18:31:15]KKMCreateOFDPacket [18:31:15]OFDProtocolAddRootSTLVToBuf [18:31:15]FM_MakeSignedData [18:31:15]FM_MakeSignedData [18:31:15]SAM_PROTO_SignData [18:31:15]wFMCommunicate request_size=4 [18:31:15]MH_SAM_APDU [18:31:15]CAPDU: 80 0D 01 02 [18:31:15]Write to MH i2c: E2 08 00 4E 01 80 0D 01 02 00 00 00 00 C8 [18:31:15]Write i2c OK [18:31:15]MH_I2C_Read... [18:31:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:31:15]Read from MH i2c: E2 [18:31:15]MH_I2C_Read... [18:31:15]Read from MH i2c: E2 03 00 [18:31:15]MH_I2C_Read... [18:31:15]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [18:31:15]RAPDU: 90 00 [18:31:15]wFMCommunicate OK [18:31:15]wFMCommunicate request_size=255 [18:31:15]MH_SAM_APDU [18:31:15]CAPDU: 80 0D 02 02 FA 03 00 82 05 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 88 13 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 20 4E 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 32 31 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 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 [18:31:16]Write to MH i2c: E2 02 01 4F 01 80 0D 02 02 FA 00 03 00 82 05 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 88 13 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 20 4E 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 32 31 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 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 00 00 2B [18:31:16]Write i2c OK [18:31:16]MH_I2C_Read... [18:31:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:16]Read from MH i2c: E2 [18:31:16]MH_I2C_Read... [18:31:16]Read from MH i2c: E2 03 00 [18:31:16]MH_I2C_Read... [18:31:16]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [18:31:16]RAPDU: 90 00 [18:31:16]wFMCommunicate OK [18:31:16]wFMCommunicate request_size=255 [18:31:16]MH_SAM_APDU [18:31:16]CAPDU: 80 0D 02 02 FA D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 36 39 38 31 06 04 26 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D1 8B D1 80 20 31 36 35 D0 B3 FF 03 08 00 03 [18:31:16]Write to MH i2c: E2 02 01 50 01 80 0D 02 02 FA 00 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 36 39 38 31 06 04 26 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D1 8B D1 80 20 31 36 35 D0 B3 FF 03 08 00 03 00 00 A6 [18:31:16]Write i2c OK [18:31:16]MH_I2C_Read... [18:31:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:16]Read from MH i2c: E2 [18:31:16]MH_I2C_Read... [18:31:16]Read from MH i2c: E2 03 00 [18:31:16]MH_I2C_Read... [18:31:16]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [18:31:16]RAPDU: 90 00 [18:31:16]wFMCommunicate OK [18:31:16]wFMCommunicate request_size=255 [18:31:16]MH_SAM_APDU [18:31:16]CAPDU: 80 0D 02 02 FA D0 07 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 20 48 01 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 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 [18:31:16]Write to MH i2c: E2 02 01 51 01 80 0D 02 02 FA 00 D0 07 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 20 48 01 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 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 D9 [18:31:16]Write i2c OK [18:31:16]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [18:31:17]RAPDU: 90 00 [18:31:17]wFMCommunicate OK [18:31:17]wFMCommunicate request_size=255 [18:31:17]MH_SAM_APDU [18:31:17]CAPDU: 80 0D 02 02 FA 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 [18:31:17]Write to MH i2c: E2 02 01 52 01 80 0D 02 02 FA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 83 [18:31:17]Write i2c OK [18:31:17]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 52 01 00 90 00 C7 [18:31:17]RAPDU: 90 00 [18:31:17]wFMCommunicate OK [18:31:17]wFMCommunicate request_size=255 [18:31:17]MH_SAM_APDU [18:31:17]CAPDU: 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 35 35 30 33 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 [18:31:17]Write to MH i2c: E2 02 01 53 01 80 0D 02 02 FA 00 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 35 35 30 33 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 00 00 E8 [18:31:17]Write i2c OK [18:31:17]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 53 01 00 90 00 C8 [18:31:17]RAPDU: 90 00 [18:31:17]wFMCommunicate OK [18:31:17]wFMCommunicate request_size=169 [18:31:17]MH_SAM_APDU [18:31:17]CAPDU: 80 0D 02 02 A4 03 06 00 88 5F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 76 00 00 00 00 07 04 06 00 88 5F 04 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 23 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 86 00 00 35 04 06 00 14 2F ED 34 A4 BD [18:31:17]Write to MH i2c: E2 AC 00 54 01 80 0D 02 02 A4 00 03 06 00 88 5F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 76 00 00 00 00 07 04 06 00 88 5F 04 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 23 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 86 00 00 35 04 06 00 14 2F ED 34 A4 BD 00 00 84 [18:31:17]Write i2c OK [18:31:17]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 03 00 54 01 00 90 00 C9 [18:31:17]RAPDU: 90 00 [18:31:17]wFMCommunicate OK [18:31:17]wFMCommunicate request_size=4 [18:31:17]MH_SAM_APDU [18:31:17]CAPDU: 80 0D 03 02 [18:31:17]Write to MH i2c: E2 08 00 55 01 80 0D 03 02 00 00 00 00 D1 [18:31:17]Write i2c OK [18:31:17]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 0B 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 0B 00 55 01 00 1D E7 A3 31 57 7A FE D2 90 00 4B [18:31:17]RAPDU: 1D E7 A3 31 57 7A FE D2 90 00 [18:31:17]wFMCommunicate OK [18:31:17]SAM_PROTO_SignData done [18:31:17]FM_MakeSignedData done [18:31:17]CreateOFDProtocolMessage [18:31:17]wFMCommunicate request_size=4 [18:31:17]MH_SAM_APDU [18:31:17]CAPDU: 80 11 00 00 [18:31:17]Write to MH i2c: E2 08 00 56 01 80 11 00 00 00 00 00 00 D1 [18:31:17]Write i2c OK [18:31:17]MH_I2C_Read... [18:31:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:31:17]Read from MH i2c: E2 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 17 00 [18:31:17]MH_I2C_Read... [18:31:17]Read from MH i2c: E2 17 00 56 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 26 [18:31:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [18:31:17]wFMCommunicate OK [18:31:17]CreateOFDProtocolMessage done [18:31:17]OFDSenderStorePacket 34365 [18:31:17]StoreOFDPacket docnum=34365 [18:31:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 96 05 00 00 70 7D 8E 05 38 62 5A 03 01 00 03 00 82 05 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 88 13 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 20 4E 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 32 31 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 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 36 39 38 31 06 04 26 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D1 8B D1 80 20 31 36 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 20 48 01 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 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 35 35 30 33 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 88 5F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 76 00 00 00 00 07 04 06 00 88 5F 04 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 23 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 86 00 00 35 04 06 00 14 2F ED 34 A4 BD 1D E7 A3 31 57 7A FE D2 [18:31:18]CheckFolder [18:31:18]dirname=/storage/ofd_packets [18:31:18]CheckFolder done [18:31:18]ProducePacketName [18:31:18]name=ofd_packets/00034365 [18:31:18]NVStorageSaveData ofd_packets/00034365 [18:31:18]File name is /storage/ofd_packets/00034365 [18:31:18]Write 1460 bytes [18:31:18]NVStorageSaveData done [18:31:18]OFDSenderStorePacket done [18:31:18]KKMCreateOFDPacket done [18:31:18]NVStorageSaveData kkm_last_timestamp [18:31:18]File name is /storage/kkm_last_timestamp [18:31:18]Write 4 bytes [18:31:18]NVStorageSaveData done [18:31:18]ExternCall_PrintAddStr [18:31:18]wPrintStart [18:31:18]Write to MH i2c: 01 00 00 57 01 58 [18:31:18]Write i2c OK [18:31:18]MH_I2C_Read... [18:31:18]Read from MH i2c: 01 [18:31:18]MH_I2C_Read... [18:31:18]Read from MH i2c: 01 07 00 [18:31:18]MH_I2C_Read... [18:31:18]Read from MH i2c: 01 07 00 57 01 00 00 00 00 00 FF 0F 6D [18:31:18]RasterBufferAndPrint [18:31:18]line Счет N : (3)184138 [18:31:18]line ИНН: 02508201610067 [18:31:18]line Контрольно-Кассовый Чек [18:31:18]line ПРОДАЖА [18:31:18]line Товар: 4700000160211 [18:31:18]line Вода Легенда 0,5л [18:31:18]line 5.000 * 40.00 [18:31:18]line = 200.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 4640030091621 [18:31:18]line Сигареты ESSE Exchange W [18:31:18]line 2.000 * 138.00 [18:31:18]line = 276.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 9002490206550 [18:31:18]line Энерг напиток Red Bull 0,355л [18:31:18]line 2.000 * 265.00 [18:31:18]line = 530.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 46230614 [18:31:18]line Сигареты Richmond Red Edition [18:31:18]line 3.000 * 150.00 [18:31:18]line = 450.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 5053990106981 [18:31:18]line Чипсы Принглс сыр 165г [18:31:18]line 2.000 * 420.00 [18:31:18]line = 840.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 2000034730018 [18:31:18]line Кофе Американо (GABB TRADE) [18:31:18]line 1.000 * 75.00 [18:31:18]line = 75.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 2000036190018 [18:31:18]line Кофе Американо XL(GABB TRADE) [18:31:18]line 1.000 * 95.00 [18:31:18]line = 95.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 6957531032045 [18:31:18]line Кабель hoco rapid charging X1 type-C 1м [18:31:18]line 1.000 * 271.00 [18:31:18]line = 271.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 2000027340020 [18:31:18]line Пакет бумажный витая ручка [18:31:18]line 2.000 * 25.00 [18:31:18]line = 50.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 2000031750019 [18:31:18]line Пакет Партнер Нефть [18:31:18]line 1.000 * 4.00 [18:31:18]line = 4.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line Товар: 8690504035503 [18:31:18]line Шок батончик ALBENI SUPER Альбени Супер [18:31:18]line 1.000 * 75.00 [18:31:18]line = 75.00 [18:31:18]line НДС 12% НСП 1% [18:31:18]line > о реализуемом товаре [18:31:18]line ИТОГО: 2866.00 [18:31:18]line НСП 1% : 25.34 [18:31:18]line НДС 12% : 304.34 [18:31:18]line Наличными: 2866.00 [18:31:18]line Безнал.: 0.00 [18:31:18]line Место: АЗС № 120 "Партнер Нефть" [18:31:18]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [18:31:18]line СНО: Общий режим [18:31:18]line Чек 69 19.06.2024 18:31 [18:31:18]line Смена: 324 ФФД: 1.0 [18:31:18]line ЗНМ: 0300000172 [18:31:18]line РНМ: 0000000000092786 [18:31:18]line Версия ККМ: 001 [18:31:18]line ФМ: 0000000000875095 [18:31:18]line ФД: 34365 [18:31:18]line ФПД: 22196075668669 [18:31:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T183115&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34365&fm=22196075668669&tin=02508201610067®Number=0000000000092786&sum=286600 [18:31:18]line 0 [18:31:18]written 0, free lines is 4095 [18:31:18]OFD Sender: Processing packet 34365 [packets to send 8, broken 7] [18:31:18]ProducePacketName [18:31:18]name=ofd_packets/00034365 [18:31:18]OFD Sender: To server: pG, [18:31:18]CommunicateWithHost lk.salyk.kg:30040 [18:31:18]ConnectInit lk.salyk.kg [18:31:18]Connected sock=10 [18:31:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 96 05 00 00 70 7D 8E 05 38 62 5A 03 01 00 03 00 82 05 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 88 13 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 20 4E 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 32 31 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 57 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 39 30 30 32 34 39 30 32 30 36 35 35 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 08 CF 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 B8 0B 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 30 35 33 39 39 30 31 30 36 39 38 31 06 04 26 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 9F D1 80 D0 B8 D0 BD D0 B3 D0 BB D1 81 20 D1 81 D1 8B D1 80 20 31 36 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 20 48 01 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 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 32 30 30 30 30 32 37 33 34 30 30 32 30 06 04 31 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 B1 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D1 82 D0 B0 D1 8F 20 D1 80 D1 83 D1 87 D0 BA D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 09 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 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 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 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 38 36 39 30 35 30 34 30 33 35 35 30 33 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 88 5F 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 76 00 00 00 00 07 04 06 00 88 5F 04 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 23 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3D 86 00 00 35 04 06 00 14 2F ED 34 A4 BD 1D E7 A3 31 57 7A FE D2 [18:31:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 64 C2 47 00 CC 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 38 37 35 30 39 35 10 04 04 00 3D 86 00 00 F4 03 04 00 C1 CA 72 66 B6 04 01 00 00 3D 04 86 3F 23 0A 77 C5 [18:31:19]CommunicateWithHost err = 0 [18:31:19]CheckOFDResponse [18:31:19]1017 (14) - 77093643461234 [18:31:19]1041 (16) - 0000000000875095 [18:31:19]1040 (4) - 34365 [18:31:19]1012 (4) - 19.06.2024 12:10 [18:31:19]1206 (1) - 0 [18:31:19]OFD Sender: Remove packet 34365 [18:31:19]ProducePacketName [18:31:19]name=ofd_packets/00034365 [18:31:19]NVStorageDeleteData [18:31:19]Write to MH i2c: 01 00 00 C0 01 C1 [18:31:19]Write i2c OK [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: 01 [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: 01 07 00 [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: 01 07 00 C0 01 00 00 00 00 00 6B 09 3C [18:31:19]RasterBufferAndPrint [18:31:19]line [18:31:19]line [18:31:19]line [18:31:19]line [18:31:19]line [18:31:19]written 0, free lines is 2432 [18:31:19]MH_Cut [18:31:19]Write to MH i2c: D1 01 00 C7 01 01 9A [18:31:19]Write i2c OK [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: D1 [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: D1 01 00 [18:31:19]MH_I2C_Read... [18:31:19]Read from MH i2c: D1 01 00 C7 01 00 99 [18:31:19]Write to MH i2c: 01 00 00 C8 01 C9 [18:31:19]Write i2c OK [18:31:19]MH_I2C_Read... [18:31:19]OFD Sender: No OFD packet to send [18:31:20]*** Cut start [18:31:20]*** Partial cut [18:31:20]*** CUTSNS_PIN = 1 [18:31:20]*** CUTSNS_PIN = 0 [18:31:21]*** Brake cut motor [18:31:21]Read from MH i2c: 01 [18:31:21]MH_I2C_Read... [18:31:21]*** Stop cut motor [18:31:21]*** Cut end [18:31:21]Read from MH i2c: 01 07 00 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: 01 07 00 C8 01 00 00 00 00 00 FF 0F DE [18:31:21]process_action close_receipt done [18:31:21]requested_data is exist [18:31:21]produce_requested_data [18:31:21]requested_item fm.sn is exist - process it [18:31:21]wFMCommunicate request_size=4 [18:31:21]MH_SAM_APDU [18:31:21]CAPDU: 80 11 00 00 [18:31:21]Write to MH i2c: E2 08 00 C9 01 80 11 00 00 00 00 00 00 44 [18:31:21]Write i2c OK [18:31:21]MH_I2C_Read... [18:31:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:31:21]Read from MH i2c: E2 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 17 00 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 17 00 C9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 99 [18:31:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [18:31:21]wFMCommunicate OK [18:31:21]requested_item fd.num is exist - process it [18:31:21]SAM_PROTO_GetFieldsCounters [18:31:21]wFMCommunicate request_size=4 [18:31:21]MH_SAM_APDU [18:31:21]CAPDU: 80 13 00 00 [18:31:21]Write to MH i2c: E2 08 00 CA 01 80 13 00 00 00 00 00 00 47 [18:31:21]Write i2c OK [18:31:21]MH_I2C_Read... [18:31:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:31:21]Read from MH i2c: E2 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 62 00 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 62 00 CA 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 86 00 00 0E 04 04 00 44 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 48 [18:31:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 86 00 00 0E 04 04 00 44 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 [18:31:21]wFMCommunicate OK [18:31:21]SAM_PROTO_GetFieldsCounters done [18:31:21]requested_item shift.num is exist - process it [18:31:21]requested_item shift.opened is exist - process it [18:31:21]req_shift_opened [18:31:21]FM_GetShiftState [18:31:21]SAM_PROTO_GetShiftState [18:31:21]wFMCommunicate request_size=4 [18:31:21]MH_SAM_APDU [18:31:21]CAPDU: 80 13 01 00 [18:31:21]Write to MH i2c: E2 08 00 CB 01 80 13 01 00 00 00 00 00 49 [18:31:21]Write i2c OK [18:31:21]MH_I2C_Read... [18:31:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:31:21]Read from MH i2c: E2 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 0E 00 [18:31:21]MH_I2C_Read... [18:31:21]Read from MH i2c: E2 0E 00 CB 01 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1F [18:31:21]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [18:31:21]wFMCommunicate OK [18:31:21]SAM_PROTO_GetShiftState done [18:31:21]FM_GetShiftState done [18:31:21]req_shift_opened done [18:31:21]requested_item shift.open_date is exist - process it [18:31:21]req_shift_open_date [18:31:21]req_shift_open_date done [18:31:21]produce_requested_data done [18:31:21]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34365,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [18:31:21]process_action_free close_receipt [18:31:21]json_value_free [18:31:21]json_value_free done [18:31:21]process_json_proto returns [18:31:21]Send response to host [18:31:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34365,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [18:31:21]free response buf [18:31:21]execute_script done [18:31:21]execute_script returns [18:31:21]free content buf [18:31:21]Sock 9.Close socket [18:31:21]Sock 9.Thread stoped [18:31:24]OFD Sender: No OFD packet to send [18:31:29]OFD Sender: No OFD packet to send [18:31:34]OFD Sender: No OFD packet to send [18:31:39]OFD Sender: No OFD packet to send [18:31:44]OFD Sender: No OFD packet to send [18:31:49]OFD Sender: No OFD packet to send [18:31:54]OFD Sender: No OFD packet to send [18:31:59]OFD Sender: No OFD packet to send [18:32:04]OFD Sender: No OFD packet to send [18:32:09]OFD Sender: No OFD packet to send [18:32:14]OFD Sender: No OFD packet to send [18:32:19]OFD Sender: No OFD packet to send [18:32:24]OFD Sender: No OFD packet to send [18:32:29]OFD Sender: No OFD packet to send [18:32:34]OFD Sender: No OFD packet to send [18:32:39]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:33]ConnectInit Can't connect to host [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:57:59]accept exits with 7 [18:57:59]New connection [18:57:59]New thread 3067018596 created [18:57:59]Thread 3067161956 joined [18:57:59]Waiting for new connection... [18:57:59] Sock 7.Parse request [18:57:59]Sock 7.Check first char [18:57:59]Sock 7.First char is OK [18:57:59]request: POST /json_proto HTTP/1.0 [18:57:59]Method: POST [18:57:59]URL: /json_proto [18:57:59]Method is POST - this is cgi request [18:57:59]url: /json_proto [18:57:59]query_string will be loaded in cgi processing [18:57:59]execute_cgi json_proto POST (null) [18:57:59]execute_cgi path=json_proto method=POST [18:57:59]POST find Content-Length [18:57:59]Host: 172.17.38.134:8080 [18:57:59]Content-Length: 1202 [18:57:59]Content-Type: application/json [18:57:59] [18:57:59]POST finish read [18:57:59]Found Content-Length = 1202 [18:57:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673064\u000A19.06.2024 18:36\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 20.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 1458.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A3787959\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:57:59]execute_script... [18:57:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 120\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. \u000A\u0421\u0447\u0435\u0442 N : (1)673064\u000A19.06.2024 18:36\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A): 21\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710194210\u000A\u0414\u0422(\u043B)-\u041A-5\u000A 20.000 x 72.90\u000A\u0418\u0422\u041E\u0413: 1458.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A3787959\u000A ______________________\u000A (\u043F\u043E\u0434\u043F\u0438\u0441\u044C)" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:57:59]POST & json_proto [18:57:59]process_json_proto [18:57:59]json parsed OK: [18:57:59]protocol is kg_v1.0 [18:57:59]action value=print_text [18:57:59]process_action print_text [18:57:59]cmd_print_text [18:57:59]ExternCall_PrintAddStr [18:57:59]wPrintStart [18:57:59]Write to MH i2c: 01 00 00 CC 01 CD [18:57:59]Write i2c OK [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 07 00 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 07 00 CC 01 00 00 00 00 00 FF 0F E2 [18:57:59]RasterBufferAndPrint [18:57:59]line *****ТОВАРНЫЙ ЧЕК***** [18:57:59]line АЗС 120 [18:57:59]line Партнер нефть [18:57:59]line 02508201610067 [18:57:59]line Кассир : Байбугуева Г. [18:57:59]line Счет N : (1)673064 [18:57:59]line 19.06.2024 18:36 [18:57:59]line ПРОДАЖА [18:57:59]line ТРК (МРК, ГНК): 21 [18:57:59]line Вид ГСМ : 2710194210 [18:57:59]line ДТ(л)-К-5 [18:57:59]line 20.000 x 72.90 [18:57:59]line ИТОГ: 1458.00 [18:57:59]line Тип оплаты: Талоны: Партнер нефть [18:57:59]line 3787959 [18:57:59]line ______________________ [18:57:59]line (подпись) [18:57:59]written 0, free lines is 4095 [18:57:59]Write to MH i2c: 01 00 00 E0 01 E1 [18:57:59]Write i2c OK [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 07 00 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: 01 07 00 E0 01 00 00 00 00 00 14 0E 0A [18:57:59]RasterBufferAndPrint [18:57:59]line [18:57:59]line [18:57:59]line [18:57:59]line [18:57:59]line [18:57:59]written 0, free lines is 3605 [18:57:59]MH_Cut [18:57:59]Write to MH i2c: D1 01 00 E7 01 01 BA [18:57:59]Write i2c OK [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: D1 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: D1 01 00 [18:57:59]MH_I2C_Read... [18:57:59]Read from MH i2c: D1 01 00 E7 01 00 B9 [18:57:59]Write to MH i2c: 01 00 00 E8 01 E9 [18:57:59]Write i2c OK [18:57:59]MH_I2C_Read... [18:57:59]*** Cut start [18:57:59]*** Partial cut [18:57:59]*** CUTSNS_PIN = 1 [18:57:59]*** CUTSNS_PIN = 0 [18:58:00]*** Brake cut motor [18:58:00]Read from MH i2c: 01 [18:58:00]MH_I2C_Read... [18:58:00]*** Stop cut motor [18:58:00]*** Cut end [18:58:00]Read from MH i2c: 01 07 00 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: 01 07 00 E8 01 00 00 00 00 00 FF 0F FE [18:58:00]process_action print_text done [18:58:00]requested_data is exist [18:58:00]produce_requested_data [18:58:00]requested_item fm.sn is exist - process it [18:58:00]wFMCommunicate request_size=4 [18:58:00]MH_SAM_APDU [18:58:00]CAPDU: 80 11 00 00 [18:58:00]Write to MH i2c: E2 08 00 E9 01 80 11 00 00 00 00 00 00 64 [18:58:00]Write i2c OK [18:58:00]MH_I2C_Read... [18:58:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:00]Read from MH i2c: E2 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 17 00 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 17 00 E9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B9 [18:58:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [18:58:00]wFMCommunicate OK [18:58:00]requested_item fd.num is exist - process it [18:58:00]SAM_PROTO_GetFieldsCounters [18:58:00]wFMCommunicate request_size=4 [18:58:00]MH_SAM_APDU [18:58:00]CAPDU: 80 13 00 00 [18:58:00]Write to MH i2c: E2 08 00 EA 01 80 13 00 00 00 00 00 00 67 [18:58:00]Write i2c OK [18:58:00]MH_I2C_Read... [18:58:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:00]Read from MH i2c: E2 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 62 00 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 62 00 EA 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 86 00 00 0E 04 04 00 44 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 68 [18:58:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3D 86 00 00 0E 04 04 00 44 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 [18:58:00]wFMCommunicate OK [18:58:00]SAM_PROTO_GetFieldsCounters done [18:58:00]requested_item shift.num is exist - process it [18:58:00]requested_item shift.opened is exist - process it [18:58:00]req_shift_opened [18:58:00]FM_GetShiftState [18:58:00]SAM_PROTO_GetShiftState [18:58:00]wFMCommunicate request_size=4 [18:58:00]MH_SAM_APDU [18:58:00]CAPDU: 80 13 01 00 [18:58:00]Write to MH i2c: E2 08 00 EB 01 80 13 01 00 00 00 00 00 69 [18:58:00]Write i2c OK [18:58:00]MH_I2C_Read... [18:58:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:00]Read from MH i2c: E2 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 0E 00 [18:58:00]MH_I2C_Read... [18:58:00]Read from MH i2c: E2 0E 00 EB 01 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3F [18:58:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [18:58:00]wFMCommunicate OK [18:58:00]SAM_PROTO_GetShiftState done [18:58:00]FM_GetShiftState done [18:58:00]req_shift_opened done [18:58:00]requested_item shift.open_date is exist - process it [18:58:00]req_shift_open_date [18:58:00]req_shift_open_date done [18:58:00]produce_requested_data done [18:58:00]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34365,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [18:58:00]process_action_free print_text [18:58:00]json_value_free [18:58:00]json_value_free done [18:58:00]process_json_proto returns [18:58:00]Send response to host [18:58:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34365,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [18:58:00]free response buf [18:58:00]execute_script done [18:58:00]execute_script returns [18:58:00]free content buf [18:58:00]Sock 7.Close socket [18:58:00]Sock 7.Thread stoped [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:54]accept exits with 9 [18:58:54]New connection [18:58:54]New thread 3067161956 created [18:58:54]Thread 3067018596 joined [18:58:54]Waiting for new connection... [18:58:54] Sock 9.Parse request [18:58:54]Sock 9.Check first char [18:58:54]Sock 9.First char is OK [18:58:54]request: POST /json_proto HTTP/1.0 [18:58:54]Method: POST [18:58:54]URL: /json_proto [18:58:54]Method is POST - this is cgi request [18:58:54]url: /json_proto [18:58:54]query_string will be loaded in cgi processing [18:58:54]execute_cgi json_proto POST (null) [18:58:54]execute_cgi path=json_proto method=POST [18:58:54]POST find Content-Length [18:58:54]Host: 172.17.38.134:8080 [18:58:54]Content-Length: 623 [18:58:54]Content-Type: application/json [18:58:54] [18:58:54]POST finish read [18:58:54]Found Content-Length = 623 [18:58:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184140", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:54]execute_script... [18:58: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)184140", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:54]POST & json_proto [18:58:54]process_json_proto [18:58:54]json parsed OK: [18:58:54]protocol is kg_v1.0 [18:58:54]action value=close_receipt [18:58:54]process_action close_receipt [18:58:54]cmd_close_receipt [18:58:54]MH_GetDate [18:58:54]Write to MH i2c: F0 00 00 EC 01 DC [18:58:54]Write i2c OK [18:58:54]MH_I2C_Read... [18:58:54]Read from MH i2c: F0 [18:58:54]MH_I2C_Read... [18:58:54]Read from MH i2c: F0 09 00 [18:58:54]MH_I2C_Read... [18:58:54]Read from MH i2c: F0 09 00 EC 01 00 6F 2A 73 66 13 9C 7C 64 E6 [18:58:54]GetLastDocTimeStamp 1718821875 [18:58:54]current date 1718823535 [18:58:54]FM_GetShiftState [18:58:54]SAM_PROTO_GetShiftState [18:58:54]wFMCommunicate request_size=4 [18:58:54]MH_SAM_APDU [18:58:54]CAPDU: 80 13 01 00 [18:58:54]Write to MH i2c: E2 08 00 ED 01 80 13 01 00 00 00 00 00 6B [18:58:54]Write i2c OK [18:58:54]MH_I2C_Read... [18:58:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:54]Read from MH i2c: E2 [18:58:54]MH_I2C_Read... [18:58:54]Read from MH i2c: E2 0E 00 [18:58:54]MH_I2C_Read... [18:58:54]Read from MH i2c: E2 0E 00 ED 01 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 41 [18:58:54]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [18:58:54]wFMCommunicate OK [18:58:54]SAM_PROTO_GetShiftState done [18:58:54]FM_GetShiftState done [18:58:54]opened in 1718756813 [18:58:54]opened+sec_in_day 1718843213 [18:58:54]quantity*price = 14000 [18:58:54]sum+1 = 14001 [18:58:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 70 19.06.2024 18:58 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34366 ФПД: 108104180644994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T185855&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34366&fm=108104180644994&tin=02508201610067®Number=0000000000092786&sum=14000 0 [18:58:55]StoreToDocumentArchive [18:58:55]shift 324 fd 34366 [18:58:55]save to /storage/0324/doc_00034366 [18:58:55]save last doc name /storage/0324/doc_00034366 to /storage/kkm_last_doc_name [18:58:55]save OK [18:58:55]Clear old archive folders... [18:58:55]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:58:55]tlvbuf is 0035CE90 [18:58:55]SAM_PROTO_ClearQueue [18:58:55]wFMCommunicate request_size=4 [18:58:55]MH_SAM_APDU [18:58:55]CAPDU: 80 09 00 00 [18:58:55]Write to MH i2c: E2 08 00 FA 01 80 09 00 00 00 00 00 00 6D [18:58:55]Write i2c OK [18:58:55]MH_I2C_Read... [18:58:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:58:55]Read from MH i2c: E2 [18:58:55]MH_I2C_Read... [18:58:55]Read from MH i2c: E2 03 00 [18:58:55]MH_I2C_Read... [18:58:55]Read from MH i2c: E2 03 00 FA 01 00 90 00 6F [18:58:55]RAPDU: 90 00 [18:58:55]wFMCommunicate OK [18:58:55]SAM_PROTO_ClearQueue done [18:58:55]KKMCreateOFDPacket [18:58:55]OFDProtocolAddRootSTLVToBuf [18:58:55]FM_MakeSignedData [18:58:55]FM_MakeSignedData [18:58:55]SAM_PROTO_SignData [18:58:55]wFMCommunicate request_size=4 [18:58:55]MH_SAM_APDU [18:58:55]CAPDU: 80 0D 01 02 [18:58:55]Write to MH i2c: E2 08 00 FB 01 80 0D 01 02 00 00 00 00 75 [18:58:55]Write i2c OK [18:58:55]MH_I2C_Read... [18:58:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:58:55]Read from MH i2c: E2 [18:58:55]MH_I2C_Read... [18:58:55]Read from MH i2c: E2 03 00 [18:58:55]MH_I2C_Read... [18:58:55]Read from MH i2c: E2 03 00 FB 01 00 90 00 70 [18:58:55]RAPDU: 90 00 [18:58:55]wFMCommunicate OK [18:58:55]wFMCommunicate request_size=255 [18:58:55]MH_SAM_APDU [18:58:55]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 46 00 00 00 F4 03 04 00 6F 2A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 [18:58:55]Write to MH i2c: E2 02 01 FC 01 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 46 00 00 00 F4 03 04 00 6F 2A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 00 00 09 [18:58:55]Write i2c OK [18:58:55]MH_I2C_Read... [18:58:56]OFD Sender: No OFD packet to send [18:58:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:56]Read from MH i2c: E2 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 03 00 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [18:58:56]RAPDU: 90 00 [18:58:56]wFMCommunicate OK [18:58:56]wFMCommunicate request_size=34 [18:58:56]MH_SAM_APDU [18:58:56]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 86 00 00 35 04 06 00 62 51 F7 49 3C 82 [18:58:56]Write to MH i2c: E2 25 00 FD 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 86 00 00 35 04 06 00 62 51 F7 49 3C 82 00 00 B0 [18:58:56]Write i2c OK [18:58:56]MH_I2C_Read... [18:58:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:56]Read from MH i2c: E2 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 03 00 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [18:58:56]RAPDU: 90 00 [18:58:56]wFMCommunicate OK [18:58:56]wFMCommunicate request_size=4 [18:58:56]MH_SAM_APDU [18:58:56]CAPDU: 80 0D 03 02 [18:58:56]Write to MH i2c: E2 08 00 FE 01 80 0D 03 02 00 00 00 00 7A [18:58:56]Write i2c OK [18:58:56]MH_I2C_Read... [18:58:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:58:56]Read from MH i2c: E2 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 0B 00 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 0B 00 FE 01 00 6D EF 6C E2 4E 9C 83 76 90 00 08 [18:58:56]RAPDU: 6D EF 6C E2 4E 9C 83 76 90 00 [18:58:56]wFMCommunicate OK [18:58:56]SAM_PROTO_SignData done [18:58:56]FM_MakeSignedData done [18:58:56]CreateOFDProtocolMessage [18:58:56]wFMCommunicate request_size=4 [18:58:56]MH_SAM_APDU [18:58:56]CAPDU: 80 11 00 00 [18:58:56]Write to MH i2c: E2 08 00 FF 01 80 11 00 00 00 00 00 00 7A [18:58:56]Write i2c OK [18:58:56]MH_I2C_Read... [18:58:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:56]Read from MH i2c: E2 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 17 00 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: E2 17 00 FF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CF [18:58:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [18:58:56]wFMCommunicate OK [18:58:56]CreateOFDProtocolMessage done [18:58:56]OFDSenderStorePacket 34366 [18:58:56]StoreOFDPacket docnum=34366 [18:58:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 6C 78 1F 01 94 CE 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 46 00 00 00 F4 03 04 00 6F 2A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 86 00 00 35 04 06 00 62 51 F7 49 3C 82 6D EF 6C E2 4E 9C 83 76 [18:58:56]CheckFolder [18:58:56]dirname=/storage/ofd_packets [18:58:56]CheckFolder done [18:58:56]ProducePacketName [18:58:56]name=ofd_packets/00034366 [18:58:56]NVStorageSaveData ofd_packets/00034366 [18:58:56]File name is /storage/ofd_packets/00034366 [18:58:56]Write 325 bytes [18:58:56]NVStorageSaveData done [18:58:56]OFDSenderStorePacket done [18:58:56]KKMCreateOFDPacket done [18:58:56]NVStorageSaveData kkm_last_timestamp [18:58:56]File name is /storage/kkm_last_timestamp [18:58:56]Write 4 bytes [18:58:56]NVStorageSaveData done [18:58:56]ExternCall_PrintAddStr [18:58:56]wPrintStart [18:58:56]Write to MH i2c: 01 00 00 00 02 02 [18:58:56]Write i2c OK [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: 01 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: 01 07 00 [18:58:56]MH_I2C_Read... [18:58:56]Read from MH i2c: 01 07 00 00 02 00 00 00 00 00 FF 0F 17 [18:58:56]RasterBufferAndPrint [18:58:56]line Счет N : (3)184140 [18:58:56]line ИНН: 02508201610067 [18:58:56]line Контрольно-Кассовый Чек [18:58:56]line ПРОДАЖА [18:58:56]line Товар: 48743587 [18:58:56]line Сигареты Winston XStyle Silver [18:58:56]line 1.000 * 140.00 [18:58:56]line = 140.00 [18:58:56]line НДС 12% НСП 1% [18:58:56]line > о реализуемом товаре [18:58:56]line ИТОГО: 140.00 [18:58:56]line НСП 1% : 1.24 [18:58:56]line НДС 12% : 14.87 [18:58:56]line Наличными: 140.00 [18:58:56]line Безнал.: 0.00 [18:58:56]line Место: АЗС № 120 "Партнер Нефть" [18:58:56]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [18:58:56]line СНО: Общий режим [18:58:56]line Чек 70 19.06.2024 18:58 [18:58:56]line Смена: 324 ФФД: 1.0 [18:58:56]line ЗНМ: 0300000172 [18:58:56]line РНМ: 0000000000092786 [18:58:56]line Версия ККМ: 001 [18:58:56]line ФМ: 0000000000875095 [18:58:56]line ФД: 34366 [18:58:56]line ФПД: 108104180644994 [18:58:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T185855&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34366&fm=108104180644994&tin=02508201610067®Number=0000000000092786&sum=14000 [18:58:56]line 0 [18:58:56]OFD Sender: Processing packet 34366 [packets to send 8, broken 7] [18:58:56]ProducePacketName [18:58:56]name=ofd_packets/00034366 [18:58:56]OFD Sender: To server: pG, [18:58:56]CommunicateWithHost lk.salyk.kg:30040 [18:58:56]ConnectInit lk.salyk.kg [18:58:56]written 0, free lines is 4095 [18:58:56]Connected sock=11 [18:58:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 6C 78 1F 01 94 CE 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 46 00 00 00 F4 03 04 00 6F 2A 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 86 00 00 35 04 06 00 62 51 F7 49 3C 82 6D EF 6C E2 4E 9C 83 76 [18:58:57]Write to MH i2c: 01 00 00 29 02 2B [18:58:57]Write i2c OK [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: 01 [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: 01 07 00 [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: 01 07 00 29 02 00 00 00 00 00 EC 0C 2A [18:58:57]RasterBufferAndPrint [18:58:57]line [18:58:57]line [18:58:57]line [18:58:57]line [18:58:57]line [18:58:57]written 0, free lines is 3314 [18:58:57]MH_Cut [18:58:57]Write to MH i2c: D1 01 00 30 02 01 04 [18:58:57]Write i2c OK [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: D1 [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: D1 01 00 [18:58:57]MH_I2C_Read... [18:58:57]Read from MH i2c: D1 01 00 30 02 00 03 [18:58:57]Write to MH i2c: 01 00 00 31 02 33 [18:58:57]Write i2c OK [18:58:57]MH_I2C_Read... [18:58:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 15 5E 47 00 BC E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3E 86 00 00 F4 03 04 00 3B D1 72 66 B6 04 01 00 00 67 06 09 43 48 F0 5F 3B [18:58:57]CommunicateWithHost err = 0 [18:58:57]CheckOFDResponse [18:58:57]1017 (14) - 77093643461234 [18:58:57]1041 (16) - 0000000000875095 [18:58:57]1040 (4) - 34366 [18:58:57]1012 (4) - 19.06.2024 12:38 [18:58:57]1206 (1) - 0 [18:58:57]OFD Sender: Remove packet 34366 [18:58:57]ProducePacketName [18:58:57]name=ofd_packets/00034366 [18:58:57]NVStorageDeleteData [18:58:57]OFD Sender: No OFD packet to send [18:58:57]*** Cut start [18:58:57]*** Partial cut [18:58:57]*** CUTSNS_PIN = 1 [18:58:57]*** CUTSNS_PIN = 0 [18:58:58]*** Brake cut motor [18:58:58]Read from MH i2c: 01 [18:58:58]MH_I2C_Read... [18:58:58]*** Stop cut motor [18:58:58]*** Cut end [18:58:58]Read from MH i2c: 01 07 00 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: 01 07 00 31 02 00 00 00 00 00 FF 0F 48 [18:58:58]process_action close_receipt done [18:58:58]requested_data is exist [18:58:58]produce_requested_data [18:58:58]requested_item fm.sn is exist - process it [18:58:58]wFMCommunicate request_size=4 [18:58:58]MH_SAM_APDU [18:58:58]CAPDU: 80 11 00 00 [18:58:58]Write to MH i2c: E2 08 00 32 02 80 11 00 00 00 00 00 00 AE [18:58:58]Write i2c OK [18:58:58]MH_I2C_Read... [18:58:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:58]Read from MH i2c: E2 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 17 00 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 17 00 32 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 03 [18:58:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [18:58:58]wFMCommunicate OK [18:58:58]requested_item fd.num is exist - process it [18:58:58]SAM_PROTO_GetFieldsCounters [18:58:58]wFMCommunicate request_size=4 [18:58:58]MH_SAM_APDU [18:58:58]CAPDU: 80 13 00 00 [18:58:58]Write to MH i2c: E2 08 00 33 02 80 13 00 00 00 00 00 00 B1 [18:58:58]Write i2c OK [18:58:58]MH_I2C_Read... [18:58:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:58]Read from MH i2c: E2 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 62 00 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 62 00 33 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3E 86 00 00 0E 04 04 00 44 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 B6 [18:58:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3E 86 00 00 0E 04 04 00 44 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 [18:58:58]wFMCommunicate OK [18:58:58]SAM_PROTO_GetFieldsCounters done [18:58:58]requested_item shift.num is exist - process it [18:58:58]requested_item shift.opened is exist - process it [18:58:58]req_shift_opened [18:58:58]FM_GetShiftState [18:58:58]SAM_PROTO_GetShiftState [18:58:58]wFMCommunicate request_size=4 [18:58:58]MH_SAM_APDU [18:58:58]CAPDU: 80 13 01 00 [18:58:58]Write to MH i2c: E2 08 00 34 02 80 13 01 00 00 00 00 00 B3 [18:58:58]Write i2c OK [18:58:58]MH_I2C_Read... [18:58:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:58]Read from MH i2c: E2 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 0E 00 [18:58:58]MH_I2C_Read... [18:58:58]Read from MH i2c: E2 0E 00 34 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 89 [18:58:58]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [18:58:58]wFMCommunicate OK [18:58:58]SAM_PROTO_GetShiftState done [18:58:58]FM_GetShiftState done [18:58:58]req_shift_opened done [18:58:58]requested_item shift.open_date is exist - process it [18:58:58]req_shift_open_date [18:58:58]req_shift_open_date done [18:58:58]produce_requested_data done [18:58:58]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34366,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [18:58:58]process_action_free close_receipt [18:58:58]json_value_free [18:58:58]json_value_free done [18:58:58]process_json_proto returns [18:58:58]Send response to host [18:58:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34366,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [18:58:58]free response buf [18:58:58]execute_script done [18:58:58]execute_script returns [18:58:58]free content buf [18:58:58]Sock 9.Close socket [18:58:58]Sock 9.Thread stoped [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:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:03]OFD Sender: No OFD packet to send [19:08:08]OFD Sender: No OFD packet to send [19:08:13]OFD Sender: No OFD packet to send [19:08:18]OFD Sender: No OFD packet to send [19:08:23]OFD Sender: No OFD packet to send [19:08:28]OFD Sender: No OFD packet to send [19:08:33]OFD Sender: No OFD packet to send [19:08:38]OFD Sender: No OFD packet to send [19:08:43]OFD Sender: No OFD packet to send [19:08:48]OFD Sender: No OFD packet to send [19:08:53]OFD Sender: No OFD packet to send [19:08:58]OFD Sender: No OFD packet to send [19:09:03]OFD Sender: No OFD packet to send [19:09:08]OFD Sender: No OFD packet to send [19:09:13]OFD Sender: No OFD packet to send [19:09:18]OFD Sender: No OFD packet to send [19:09:23]OFD Sender: No OFD packet to send [19:09:28]OFD Sender: No OFD packet to send [19:09:33]OFD Sender: No OFD packet to send [19:09:38]OFD Sender: No OFD packet to send [19:09:43]OFD Sender: No OFD packet to send [19:09:48]OFD Sender: No OFD packet to send [19:09:53]OFD Sender: No OFD packet to send [19:09:58]OFD Sender: No OFD packet to send [19:10:03]OFD Sender: No OFD packet to send [19:10:08]OFD Sender: No OFD packet to send [19:10:13]OFD Sender: No OFD packet to send [19:10:18]OFD Sender: No OFD packet to send [19:10:23]OFD Sender: No OFD packet to send [19:10:28]OFD Sender: No OFD packet to send [19:10:33]OFD Sender: No OFD packet to send [19:10:38]OFD Sender: No OFD packet to send [19:10:43]OFD Sender: No OFD packet to send [19:10:48]OFD Sender: No OFD packet to send [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:56]accept exits with 7 [19:24:56]New connection [19:24:56]New thread 3067018596 created [19:24:56]Thread 3067161956 joined [19:24:56]Waiting for new connection... [19:24:56] Sock 7.Parse request [19:24:56]Sock 7.Check first char [19:24:56]Sock 7.First char is OK [19:24:56]request: POST /json_proto HTTP/1.0 [19:24:56]Method: POST [19:24:56]URL: /json_proto [19:24:56]Method is POST - this is cgi request [19:24:56]url: /json_proto [19:24:56]query_string will be loaded in cgi processing [19:24:56]execute_cgi json_proto POST (null) [19:24:56]execute_cgi path=json_proto method=POST [19:24:56]POST find Content-Length [19:24:56]Host: 172.17.38.134:8080 [19:24:56]Content-Length: 629 [19:24:56]Content-Type: application/json [19:24:56] [19:24:56]POST finish read [19:24:56]Found Content-Length = 629 [19:24:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184141", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:24:56]execute_script... [19:24:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184141", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:24:56]POST & json_proto [19:24:56]process_json_proto [19:24:56]json parsed OK: [19:24:56]protocol is kg_v1.0 [19:24:56]action value=close_receipt [19:24:56]process_action close_receipt [19:24:56]cmd_close_receipt [19:24:56]MH_GetDate [19:24:56]Write to MH i2c: F0 00 00 35 02 26 [19:24:56]Write i2c OK [19:24:56]MH_I2C_Read... [19:24:56]Read from MH i2c: F0 [19:24:56]MH_I2C_Read... [19:24:56]Read from MH i2c: F0 09 00 [19:24:56]MH_I2C_Read... [19:24:56]Read from MH i2c: F0 09 00 35 02 00 89 30 73 66 13 9C 7C 64 50 [19:24:56]GetLastDocTimeStamp 1718823535 [19:24:56]current date 1718825097 [19:24:56]FM_GetShiftState [19:24:56]SAM_PROTO_GetShiftState [19:24:56]wFMCommunicate request_size=4 [19:24:56]MH_SAM_APDU [19:24:56]CAPDU: 80 13 01 00 [19:24:56]Write to MH i2c: E2 08 00 36 02 80 13 01 00 00 00 00 00 B5 [19:24:56]Write i2c OK [19:24:56]MH_I2C_Read... [19:24:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:24:56]Read from MH i2c: E2 [19:24:56]MH_I2C_Read... [19:24:56]Read from MH i2c: E2 0E 00 [19:24:56]MH_I2C_Read... [19:24:56]Read from MH i2c: E2 0E 00 36 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 8B [19:24:56]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:24:56]wFMCommunicate OK [19:24:56]SAM_PROTO_GetShiftState done [19:24:56]FM_GetShiftState done [19:24:56]opened in 1718756813 [19:24:56]opened+sec_in_day 1718843213 [19:24:56]quantity*price = 4900 [19:24:56]sum+1 = 4901 [19:24:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 71 19.06.2024 19:24 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34367 ФПД: 10314770271795 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192457&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34367&fm=10314770271795&tin=02508201610067®Number=0000000000092786&sum=4900 0 [19:24:57]StoreToDocumentArchive [19:24:57]shift 324 fd 34367 [19:24:57]save to /storage/0324/doc_00034367 [19:24:57]save last doc name /storage/0324/doc_00034367 to /storage/kkm_last_doc_name [19:24:57]save OK [19:24:57]Clear old archive folders... [19:24:57]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:24:57]tlvbuf is 00360E10 [19:24:57]SAM_PROTO_ClearQueue [19:24:57]wFMCommunicate request_size=4 [19:24:57]MH_SAM_APDU [19:24:57]CAPDU: 80 09 00 00 [19:24:57]Write to MH i2c: E2 08 00 43 02 80 09 00 00 00 00 00 00 B7 [19:24:57]Write i2c OK [19:24:57]MH_I2C_Read... [19:24:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:24:57]Read from MH i2c: E2 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 43 02 00 90 00 B9 [19:24:57]RAPDU: 90 00 [19:24:57]wFMCommunicate OK [19:24:57]SAM_PROTO_ClearQueue done [19:24:57]KKMCreateOFDPacket [19:24:57]OFDProtocolAddRootSTLVToBuf [19:24:57]FM_MakeSignedData [19:24:57]FM_MakeSignedData [19:24:57]SAM_PROTO_SignData [19:24:57]wFMCommunicate request_size=4 [19:24:57]MH_SAM_APDU [19:24:57]CAPDU: 80 0D 01 02 [19:24:57]Write to MH i2c: E2 08 00 44 02 80 0D 01 02 00 00 00 00 BF [19:24:57]Write i2c OK [19:24:57]MH_I2C_Read... [19:24:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:24:57]Read from MH i2c: E2 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 44 02 00 90 00 BA [19:24:57]RAPDU: 90 00 [19:24:57]wFMCommunicate OK [19:24:57]wFMCommunicate request_size=255 [19:24:57]MH_SAM_APDU [19:24:57]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 47 00 00 00 F4 03 04 00 89 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 [19:24:57]Write to MH i2c: E2 02 01 45 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 47 00 00 00 F4 03 04 00 89 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 00 00 44 [19:24:57]Write i2c OK [19:24:57]MH_I2C_Read... [19:24:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:24:57]Read from MH i2c: E2 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 [19:24:57]MH_I2C_Read... [19:24:57]Read from MH i2c: E2 03 00 45 02 00 90 00 BB [19:24:57]RAPDU: 90 00 [19:24:57]wFMCommunicate OK [19:24:57]wFMCommunicate request_size=31 [19:24:57]MH_SAM_APDU [19:24:57]CAPDU: 80 0D 02 02 1A 30 30 38 37 35 30 39 35 10 04 04 00 3F 86 00 00 35 04 06 00 09 61 98 37 CE 33 [19:24:57]Write to MH i2c: E2 22 00 46 02 80 0D 02 02 1A 00 30 30 38 37 35 30 39 35 10 04 04 00 3F 86 00 00 35 04 06 00 09 61 98 37 CE 33 00 00 EE [19:24:57]Write i2c OK [19:24:57]MH_I2C_Read... [19:24:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:24:58]Read from MH i2c: E2 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 03 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 03 00 46 02 00 90 00 BC [19:24:58]RAPDU: 90 00 [19:24:58]wFMCommunicate OK [19:24:58]wFMCommunicate request_size=4 [19:24:58]MH_SAM_APDU [19:24:58]CAPDU: 80 0D 03 02 [19:24:58]Write to MH i2c: E2 08 00 47 02 80 0D 03 02 00 00 00 00 C4 [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:24:58]Read from MH i2c: E2 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 0B 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 0B 00 47 02 00 2D 81 EB EE 53 98 80 3C 90 00 F3 [19:24:58]RAPDU: 2D 81 EB EE 53 98 80 3C 90 00 [19:24:58]wFMCommunicate OK [19:24:58]SAM_PROTO_SignData done [19:24:58]FM_MakeSignedData done [19:24:58]CreateOFDProtocolMessage [19:24:58]wFMCommunicate request_size=4 [19:24:58]MH_SAM_APDU [19:24:58]CAPDU: 80 11 00 00 [19:24:58]Write to MH i2c: E2 08 00 48 02 80 11 00 00 00 00 00 00 C4 [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:24:58]Read from MH i2c: E2 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 17 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: E2 17 00 48 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 19 [19:24:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:24:58]wFMCommunicate OK [19:24:58]CreateOFDProtocolMessage done [19:24:58]OFDSenderStorePacket 34367 [19:24:58]StoreOFDPacket docnum=34367 [19:24:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 8B 81 1C 01 14 55 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 47 00 00 00 F4 03 04 00 89 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 86 00 00 35 04 06 00 09 61 98 37 CE 33 2D 81 EB EE 53 98 80 3C [19:24:58]CheckFolder [19:24:58]dirname=/storage/ofd_packets [19:24:58]CheckFolder done [19:24:58]ProducePacketName [19:24:58]name=ofd_packets/00034367 [19:24:58]NVStorageSaveData ofd_packets/00034367 [19:24:58]File name is /storage/ofd_packets/00034367 [19:24:58]Write 322 bytes [19:24:58]NVStorageSaveData done [19:24:58]OFDSenderStorePacket done [19:24:58]KKMCreateOFDPacket done [19:24:58]NVStorageSaveData kkm_last_timestamp [19:24:58]File name is /storage/kkm_last_timestamp [19:24:58]Write 4 bytes [19:24:58]NVStorageSaveData done [19:24:58]ExternCall_PrintAddStr [19:24:58]wPrintStart [19:24:58]Write to MH i2c: 01 00 00 49 02 4B [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 07 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 07 00 49 02 00 00 00 00 00 FF 0F 60 [19:24:58]RasterBufferAndPrint [19:24:58]line Счет N : (3)184141 [19:24:58]line ИНН: 02508201610067 [19:24:58]line Контрольно-Кассовый Чек [19:24:58]line ПРОДАЖА [19:24:58]line Товар: 80942726 [19:24:58]line Р/ж mentos мята ролл 16г [19:24:58]line 1.000 * 49.00 [19:24:58]line = 49.00 [19:24:58]line НДС 12% НСП 1% [19:24:58]line > о реализуемом товаре [19:24:58]line ИТОГО: 49.00 [19:24:58]line НСП 1% : 0.43 [19:24:58]line НДС 12% : 5.20 [19:24:58]line Наличными: 49.00 [19:24:58]line Безнал.: 0.00 [19:24:58]line Место: АЗС № 120 "Партнер Нефть" [19:24:58]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [19:24:58]line СНО: Общий режим [19:24:58]line Чек 71 19.06.2024 19:24 [19:24:58]line Смена: 324 ФФД: 1.0 [19:24:58]line ЗНМ: 0300000172 [19:24:58]line РНМ: 0000000000092786 [19:24:58]line Версия ККМ: 001 [19:24:58]line ФМ: 0000000000875095 [19:24:58]line ФД: 34367 [19:24:58]line ФПД: 10314770271795 [19:24:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192457&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34367&fm=10314770271795&tin=02508201610067®Number=0000000000092786&sum=4900 [19:24:58]line 0 [19:24:58]OFD Sender: Processing packet 34367 [packets to send 8, broken 7] [19:24:58]ProducePacketName [19:24:58]name=ofd_packets/00034367 [19:24:58]OFD Sender: To server: pG, [19:24:58]CommunicateWithHost lk.salyk.kg:30040 [19:24:58]ConnectInit lk.salyk.kg [19:24:58]written 0, free lines is 4095 [19:24:58]Connected sock=10 [19:24:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 24 01 00 00 8B 81 1C 01 14 55 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 47 00 00 00 F4 03 04 00 89 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 86 00 00 35 04 06 00 09 61 98 37 CE 33 2D 81 EB EE 53 98 80 3C [19:24:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 87 78 47 00 60 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 3F 86 00 00 F4 03 04 00 55 D7 72 66 B6 04 01 00 00 73 92 AA 42 F8 81 7C C5 [19:24:58]CommunicateWithHost err = 0 [19:24:58]CheckOFDResponse [19:24:58]1017 (14) - 77093643461234 [19:24:58]1041 (16) - 0000000000875095 [19:24:58]1040 (4) - 34367 [19:24:58]1012 (4) - 19.06.2024 13:04 [19:24:58]1206 (1) - 0 [19:24:58]OFD Sender: Remove packet 34367 [19:24:58]ProducePacketName [19:24:58]name=ofd_packets/00034367 [19:24:58]NVStorageDeleteData [19:24:58]Write to MH i2c: 01 00 00 71 02 73 [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 07 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: 01 07 00 71 02 00 00 00 00 00 FD 0C 83 [19:24:58]RasterBufferAndPrint [19:24:58]line [19:24:58]line [19:24:58]line [19:24:58]line [19:24:58]line [19:24:58]written 0, free lines is 3331 [19:24:58]MH_Cut [19:24:58]Write to MH i2c: D1 01 00 78 02 01 4C [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: D1 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: D1 01 00 [19:24:58]MH_I2C_Read... [19:24:58]Read from MH i2c: D1 01 00 78 02 00 4B [19:24:58]Write to MH i2c: 01 00 00 79 02 7B [19:24:58]Write i2c OK [19:24:58]MH_I2C_Read... [19:24:59]OFD Sender: No OFD packet to send [19:24:59]*** Cut start [19:24:59]*** Partial cut [19:24:59]*** CUTSNS_PIN = 1 [19:24:59]*** CUTSNS_PIN = 0 [19:24:59]*** Brake cut motor [19:25:00]Read from MH i2c: 01 [19:25:00]MH_I2C_Read... [19:25:00]*** Stop cut motor [19:25:00]*** Cut end [19:25:00]Read from MH i2c: 01 07 00 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: 01 07 00 79 02 00 00 00 00 00 FF 0F 90 [19:25:00]process_action close_receipt done [19:25:00]requested_data is exist [19:25:00]produce_requested_data [19:25:00]requested_item fm.sn is exist - process it [19:25:00]wFMCommunicate request_size=4 [19:25:00]MH_SAM_APDU [19:25:00]CAPDU: 80 11 00 00 [19:25:00]Write to MH i2c: E2 08 00 7A 02 80 11 00 00 00 00 00 00 F6 [19:25:00]Write i2c OK [19:25:00]MH_I2C_Read... [19:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:25:00]Read from MH i2c: E2 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 17 00 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 17 00 7A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4B [19:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:25:00]wFMCommunicate OK [19:25:00]requested_item fd.num is exist - process it [19:25:00]SAM_PROTO_GetFieldsCounters [19:25:00]wFMCommunicate request_size=4 [19:25:00]MH_SAM_APDU [19:25:00]CAPDU: 80 13 00 00 [19:25:00]Write to MH i2c: E2 08 00 7B 02 80 13 00 00 00 00 00 00 F9 [19:25:00]Write i2c OK [19:25:00]MH_I2C_Read... [19:25:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:25:00]Read from MH i2c: E2 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 62 00 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 62 00 7B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3F 86 00 00 0E 04 04 00 44 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 02 [19:25:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 3F 86 00 00 0E 04 04 00 44 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:25:00]wFMCommunicate OK [19:25:00]SAM_PROTO_GetFieldsCounters done [19:25:00]requested_item shift.num is exist - process it [19:25:00]requested_item shift.opened is exist - process it [19:25:00]req_shift_opened [19:25:00]FM_GetShiftState [19:25:00]SAM_PROTO_GetShiftState [19:25:00]wFMCommunicate request_size=4 [19:25:00]MH_SAM_APDU [19:25:00]CAPDU: 80 13 01 00 [19:25:00]Write to MH i2c: E2 08 00 7C 02 80 13 01 00 00 00 00 00 FB [19:25:00]Write i2c OK [19:25:00]MH_I2C_Read... [19:25:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:25:00]Read from MH i2c: E2 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 0E 00 [19:25:00]MH_I2C_Read... [19:25:00]Read from MH i2c: E2 0E 00 7C 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D1 [19:25:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:25:00]wFMCommunicate OK [19:25:00]SAM_PROTO_GetShiftState done [19:25:00]FM_GetShiftState done [19:25:00]req_shift_opened done [19:25:00]requested_item shift.open_date is exist - process it [19:25:00]req_shift_open_date [19:25:00]req_shift_open_date done [19:25:00]produce_requested_data done [19:25:00]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34367,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [19:25:00]process_action_free close_receipt [19:25:00]json_value_free [19:25:00]json_value_free done [19:25:00]process_json_proto returns [19:25:00]Send response to host [19:25:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34367,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [19:25:00]free response buf [19:25:00]execute_script done [19:25:00]execute_script returns [19:25:00]free content buf [19:25:00]Sock 7.Close socket [19:25:00]Sock 7.Thread stoped [19:25:04]OFD Sender: No OFD packet to send [19:25:06]accept exits with 9 [19:25:06]New connection [19:25:06]New thread 3067161956 created [19:25:06]Thread 3067018596 joined [19:25:06]Waiting for new connection... [19:25:06] Sock 9.Parse request [19:25:06]Sock 9.Check first char [19:25:06]Sock 9.First char is OK [19:25:06]request: POST /json_proto HTTP/1.0 [19:25:06]Method: POST [19:25:06]URL: /json_proto [19:25:06]Method is POST - this is cgi request [19:25:06]url: /json_proto [19:25:06]query_string will be loaded in cgi processing [19:25:06]execute_cgi json_proto POST (null) [19:25:06]execute_cgi path=json_proto method=POST [19:25:06]POST find Content-Length [19:25:06]Host: 172.17.38.134:8080 [19:25:06]Content-Length: 621 [19:25:06]Content-Type: application/json [19:25:06] [19:25:06]POST finish read [19:25:06]Found Content-Length = 621 [19:25:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184142", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:25:06]execute_script... [19:25: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)184142", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:25:06]POST & json_proto [19:25:06]process_json_proto [19:25:06]json parsed OK: [19:25:06]protocol is kg_v1.0 [19:25:06]action value=close_receipt [19:25:06]process_action close_receipt [19:25:06]cmd_close_receipt [19:25:06]MH_GetDate [19:25:06]Write to MH i2c: F0 00 00 7D 02 6E [19:25:06]Write i2c OK [19:25:06]MH_I2C_Read... [19:25:06]Read from MH i2c: F0 [19:25:06]MH_I2C_Read... [19:25:06]Read from MH i2c: F0 09 00 [19:25:06]MH_I2C_Read... [19:25:06]Read from MH i2c: F0 09 00 7D 02 00 93 30 73 66 13 9C 7C 64 A2 [19:25:06]GetLastDocTimeStamp 1718825097 [19:25:06]current date 1718825107 [19:25:06]FM_GetShiftState [19:25:06]SAM_PROTO_GetShiftState [19:25:06]wFMCommunicate request_size=4 [19:25:06]MH_SAM_APDU [19:25:06]CAPDU: 80 13 01 00 [19:25:06]Write to MH i2c: E2 08 00 7E 02 80 13 01 00 00 00 00 00 FD [19:25:06]Write i2c OK [19:25:06]MH_I2C_Read... [19:25:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:25:06]Read from MH i2c: E2 [19:25:06]MH_I2C_Read... [19:25:06]Read from MH i2c: E2 0E 00 [19:25:06]MH_I2C_Read... [19:25:06]Read from MH i2c: E2 0E 00 7E 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D3 [19:25:06]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:25:06]wFMCommunicate OK [19:25:06]SAM_PROTO_GetShiftState done [19:25:06]FM_GetShiftState done [19:25:06]opened in 1718756813 [19:25:06]opened+sec_in_day 1718843213 [19:25:06]quantity*price = 14000 [19:25:06]sum+1 = 14001 [19:25:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 72 19.06.2024 19:25 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34368 ФПД: 19185727103127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192507&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34368&fm=19185727103127&tin=02508201610067®Number=0000000000092786&sum=14000 0 [19:25:07]StoreToDocumentArchive [19:25:07]shift 324 fd 34368 [19:25:07]save to /storage/0324/doc_00034368 [19:25:07]save last doc name /storage/0324/doc_00034368 to /storage/kkm_last_doc_name [19:25:07]save OK [19:25:07]Clear old archive folders... [19:25:07]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:25:07]tlvbuf is 00378300 [19:25:07]SAM_PROTO_ClearQueue [19:25:07]wFMCommunicate request_size=4 [19:25:07]MH_SAM_APDU [19:25:07]CAPDU: 80 09 00 00 [19:25:07]Write to MH i2c: E2 08 00 8B 02 80 09 00 00 00 00 00 00 FF [19:25:07]Write i2c OK [19:25:07]MH_I2C_Read... [19:25:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:25:07]Read from MH i2c: E2 [19:25:07]MH_I2C_Read... [19:25:07]Read from MH i2c: E2 03 00 [19:25:07]MH_I2C_Read... [19:25:07]Read from MH i2c: E2 03 00 8B 02 00 90 00 01 [19:25:07]RAPDU: 90 00 [19:25:07]wFMCommunicate OK [19:25:07]SAM_PROTO_ClearQueue done [19:25:07]KKMCreateOFDPacket [19:25:07]OFDProtocolAddRootSTLVToBuf [19:25:07]FM_MakeSignedData [19:25:07]FM_MakeSignedData [19:25:07]SAM_PROTO_SignData [19:25:07]wFMCommunicate request_size=4 [19:25:07]MH_SAM_APDU [19:25:07]CAPDU: 80 0D 01 02 [19:25:07]Write to MH i2c: E2 08 00 8C 02 80 0D 01 02 00 00 00 00 07 [19:25:07]Write i2c OK [19:25:07]MH_I2C_Read... [19:25:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:25:07]Read from MH i2c: E2 [19:25:07]MH_I2C_Read... [19:25:07]Read from MH i2c: E2 03 00 [19:25:07]MH_I2C_Read... [19:25:07]Read from MH i2c: E2 03 00 8C 02 00 90 00 02 [19:25:07]RAPDU: 90 00 [19:25:07]wFMCommunicate OK [19:25:07]wFMCommunicate request_size=255 [19:25:07]MH_SAM_APDU [19:25:07]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 48 00 00 00 F4 03 04 00 93 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 [19:25:07]Write to MH i2c: E2 02 01 8D 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 48 00 00 00 F4 03 04 00 93 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 00 00 18 [19:25:07]Write i2c OK [19:25:07]MH_I2C_Read... [19:25:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:25:08]Read from MH i2c: E2 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 03 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 03 00 8D 02 00 90 00 03 [19:25:08]RAPDU: 90 00 [19:25:08]wFMCommunicate OK [19:25:08]wFMCommunicate request_size=32 [19:25:08]MH_SAM_APDU [19:25:08]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 35 30 39 35 10 04 04 00 40 86 00 00 35 04 06 00 11 73 06 72 E0 97 [19:25:08]Write to MH i2c: E2 23 00 8E 02 80 0D 02 02 1B 00 30 30 30 38 37 35 30 39 35 10 04 04 00 40 86 00 00 35 04 06 00 11 73 06 72 E0 97 00 00 A2 [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:25:08]Read from MH i2c: E2 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 03 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 03 00 8E 02 00 90 00 04 [19:25:08]RAPDU: 90 00 [19:25:08]wFMCommunicate OK [19:25:08]wFMCommunicate request_size=4 [19:25:08]MH_SAM_APDU [19:25:08]CAPDU: 80 0D 03 02 [19:25:08]Write to MH i2c: E2 08 00 8F 02 80 0D 03 02 00 00 00 00 0C [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:25:08]Read from MH i2c: E2 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 0B 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 0B 00 8F 02 00 EE A8 13 70 3B AA B7 16 90 00 D8 [19:25:08]RAPDU: EE A8 13 70 3B AA B7 16 90 00 [19:25:08]wFMCommunicate OK [19:25:08]SAM_PROTO_SignData done [19:25:08]FM_MakeSignedData done [19:25:08]CreateOFDProtocolMessage [19:25:08]wFMCommunicate request_size=4 [19:25:08]MH_SAM_APDU [19:25:08]CAPDU: 80 11 00 00 [19:25:08]Write to MH i2c: E2 08 00 90 02 80 11 00 00 00 00 00 00 0C [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:25:08]Read from MH i2c: E2 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 17 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: E2 17 00 90 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 61 [19:25:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:25:08]wFMCommunicate OK [19:25:08]CreateOFDProtocolMessage done [19:25:08]OFDSenderStorePacket 34368 [19:25:08]StoreOFDPacket docnum=34368 [19:25:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 DD E0 1D 01 B1 1E 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 48 00 00 00 F4 03 04 00 93 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 86 00 00 35 04 06 00 11 73 06 72 E0 97 EE A8 13 70 3B AA B7 16 [19:25:08]CheckFolder [19:25:08]dirname=/storage/ofd_packets [19:25:08]CheckFolder done [19:25:08]ProducePacketName [19:25:08]name=ofd_packets/00034368 [19:25:08]NVStorageSaveData ofd_packets/00034368 [19:25:08]File name is /storage/ofd_packets/00034368 [19:25:08]Write 323 bytes [19:25:08]NVStorageSaveData done [19:25:08]OFDSenderStorePacket done [19:25:08]KKMCreateOFDPacket done [19:25:08]NVStorageSaveData kkm_last_timestamp [19:25:08]File name is /storage/kkm_last_timestamp [19:25:08]Write 4 bytes [19:25:08]NVStorageSaveData done [19:25:08]ExternCall_PrintAddStr [19:25:08]wPrintStart [19:25:08]Write to MH i2c: 01 00 00 91 02 93 [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 07 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 07 00 91 02 00 00 00 00 00 FF 0F A8 [19:25:08]RasterBufferAndPrint [19:25:08]line Счет N : (3)184142 [19:25:08]line ИНН: 02508201610067 [19:25:08]line Контрольно-Кассовый Чек [19:25:08]line ПРОДАЖА [19:25:08]line Товар: 48747059 [19:25:08]line Сигареты Winston Legend Blue [19:25:08]line 1.000 * 140.00 [19:25:08]line = 140.00 [19:25:08]line НДС 12% НСП 1% [19:25:08]line > о реализуемом товаре [19:25:08]line ИТОГО: 140.00 [19:25:08]line НСП 1% : 1.24 [19:25:08]line НДС 12% : 14.87 [19:25:08]line Наличными: 140.00 [19:25:08]line Безнал.: 0.00 [19:25:08]line Место: АЗС № 120 "Партнер Нефть" [19:25:08]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [19:25:08]line СНО: Общий режим [19:25:08]line Чек 72 19.06.2024 19:25 [19:25:08]line Смена: 324 ФФД: 1.0 [19:25:08]line ЗНМ: 0300000172 [19:25:08]line РНМ: 0000000000092786 [19:25:08]line Версия ККМ: 001 [19:25:08]line ФМ: 0000000000875095 [19:25:08]line ФД: 34368 [19:25:08]line ФПД: 19185727103127 [19:25:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192507&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34368&fm=19185727103127&tin=02508201610067®Number=0000000000092786&sum=14000 [19:25:08]OFD Sender: Processing packet 34368 [packets to send 8, broken 7] [19:25:08]ProducePacketName [19:25:08]name=ofd_packets/00034368 [19:25:08]OFD Sender: To server: pG, [19:25:08]CommunicateWithHost lk.salyk.kg:30040 [19:25:08]ConnectInit lk.salyk.kg [19:25:08]line 0 [19:25:08]written 0, free lines is 4095 [19:25:08]Connected sock=10 [19:25:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 25 01 00 00 DD E0 1D 01 B1 1E 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 48 00 00 00 F4 03 04 00 93 30 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 40 86 00 00 35 04 06 00 11 73 06 72 E0 97 EE A8 13 70 3B AA B7 16 [19:25:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F4 5B 47 00 57 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 38 37 35 30 39 35 10 04 04 00 40 86 00 00 F4 03 04 00 5F D7 72 66 B6 04 01 00 00 59 2E 60 A1 09 96 35 22 [19:25:08]CommunicateWithHost err = 0 [19:25:08]CheckOFDResponse [19:25:08]1017 (14) - 77093643461234 [19:25:08]1041 (16) - 0000000000875095 [19:25:08]1040 (4) - 34368 [19:25:08]1012 (4) - 19.06.2024 13:04 [19:25:08]1206 (1) - 0 [19:25:08]OFD Sender: Remove packet 34368 [19:25:08]ProducePacketName [19:25:08]name=ofd_packets/00034368 [19:25:08]NVStorageDeleteData [19:25:08]Write to MH i2c: 01 00 00 BA 02 BC [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 07 00 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: 01 07 00 BA 02 00 00 00 00 00 D6 0C A5 [19:25:08]RasterBufferAndPrint [19:25:08]line [19:25:08]line [19:25:08]line [19:25:08]line [19:25:08]line [19:25:08]written 0, free lines is 3296 [19:25:08]MH_Cut [19:25:08]Write to MH i2c: D1 01 00 C1 02 01 95 [19:25:08]Write i2c OK [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: D1 [19:25:08]MH_I2C_Read... [19:25:08]Read from MH i2c: D1 01 00 [19:25:09]MH_I2C_Read... [19:25:09]Read from MH i2c: D1 01 00 C1 02 00 94 [19:25:09]Write to MH i2c: 01 00 00 C2 02 C4 [19:25:09]Write i2c OK [19:25:09]MH_I2C_Read... [19:25:09]OFD Sender: No OFD packet to send [19:25:09]*** Cut start [19:25:09]*** Partial cut [19:25:09]*** CUTSNS_PIN = 1 [19:25:09]*** CUTSNS_PIN = 0 [19:25:09]*** Brake cut motor [19:25:10]Read from MH i2c: 01 [19:25:10]MH_I2C_Read... [19:25:10]*** Stop cut motor [19:25:10]*** Cut end [19:25:10]Read from MH i2c: 01 07 00 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: 01 07 00 C2 02 00 00 00 00 00 FF 0F D9 [19:25:10]process_action close_receipt done [19:25:10]requested_data is exist [19:25:10]produce_requested_data [19:25:10]requested_item fm.sn is exist - process it [19:25:10]wFMCommunicate request_size=4 [19:25:10]MH_SAM_APDU [19:25:10]CAPDU: 80 11 00 00 [19:25:10]Write to MH i2c: E2 08 00 C3 02 80 11 00 00 00 00 00 00 3F [19:25:10]Write i2c OK [19:25:10]MH_I2C_Read... [19:25:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:25:10]Read from MH i2c: E2 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 17 00 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 17 00 C3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 94 [19:25:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:25:10]wFMCommunicate OK [19:25:10]requested_item fd.num is exist - process it [19:25:10]SAM_PROTO_GetFieldsCounters [19:25:10]wFMCommunicate request_size=4 [19:25:10]MH_SAM_APDU [19:25:10]CAPDU: 80 13 00 00 [19:25:10]Write to MH i2c: E2 08 00 C4 02 80 13 00 00 00 00 00 00 42 [19:25:10]Write i2c OK [19:25:10]MH_I2C_Read... [19:25:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:25:10]Read from MH i2c: E2 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 62 00 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 62 00 C4 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 40 86 00 00 0E 04 04 00 44 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 4F [19:25:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 40 86 00 00 0E 04 04 00 44 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 [19:25:10]wFMCommunicate OK [19:25:10]SAM_PROTO_GetFieldsCounters done [19:25:10]requested_item shift.num is exist - process it [19:25:10]requested_item shift.opened is exist - process it [19:25:10]req_shift_opened [19:25:10]FM_GetShiftState [19:25:10]SAM_PROTO_GetShiftState [19:25:10]wFMCommunicate request_size=4 [19:25:10]MH_SAM_APDU [19:25:10]CAPDU: 80 13 01 00 [19:25:10]Write to MH i2c: E2 08 00 C5 02 80 13 01 00 00 00 00 00 44 [19:25:10]Write i2c OK [19:25:10]MH_I2C_Read... [19:25:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:25:10]Read from MH i2c: E2 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 0E 00 [19:25:10]MH_I2C_Read... [19:25:10]Read from MH i2c: E2 0E 00 C5 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1A [19:25:10]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:25:10]wFMCommunicate OK [19:25:10]SAM_PROTO_GetShiftState done [19:25:10]FM_GetShiftState done [19:25:10]req_shift_opened done [19:25:10]requested_item shift.open_date is exist - process it [19:25:10]req_shift_open_date [19:25:10]req_shift_open_date done [19:25:10]produce_requested_data done [19:25:10]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34368,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [19:25:10]process_action_free close_receipt [19:25:10]json_value_free [19:25:10]json_value_free done [19:25:10]process_json_proto returns [19:25:10]Send response to host [19:25:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34368,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [19:25:10]free response buf [19:25:10]execute_script done [19:25:10]execute_script returns [19:25:10]free content buf [19:25:10]Sock 9.Close socket [19:25:10]Sock 9.Thread stoped [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [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:25]accept exits with 7 [19:28:25]New connection [19:28:25]New thread 3067018596 created [19:28:25]Thread 3067161956 joined [19:28:25]Waiting for new connection... [19:28:25] Sock 7.Parse request [19:28:25]Sock 7.Check first char [19:28:25]Sock 7.First char is OK [19:28:25]request: POST /json_proto HTTP/1.0 [19:28:25]Method: POST [19:28:25]URL: /json_proto [19:28:25]Method is POST - this is cgi request [19:28:25]url: /json_proto [19:28:25]query_string will be loaded in cgi processing [19:28:25]execute_cgi json_proto POST (null) [19:28:25]execute_cgi path=json_proto method=POST [19:28:25]POST find Content-Length [19:28:25]Host: 172.17.38.134:8080 [19:28:25]Content-Length: 658 [19:28:25]Content-Type: application/json [19:28:25] [19:28:25]POST finish read [19:28:25]Found Content-Length = 658 [19:28:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184143", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "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" ] } } [19:28:25]execute_script... [19:28:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184143", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "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" ] } } [19:28:25]POST & json_proto [19:28:25]process_json_proto [19:28:25]json parsed OK: [19:28:25]protocol is kg_v1.0 [19:28:25]action value=close_receipt [19:28:25]process_action close_receipt [19:28:25]cmd_close_receipt [19:28:25]MH_GetDate [19:28:25]Write to MH i2c: F0 00 00 C6 02 B7 [19:28:25]Write i2c OK [19:28:25]MH_I2C_Read... [19:28:25]Read from MH i2c: F0 [19:28:25]MH_I2C_Read... [19:28:25]Read from MH i2c: F0 09 00 [19:28:25]MH_I2C_Read... [19:28:25]Read from MH i2c: F0 09 00 C6 02 00 5A 31 73 66 13 9C 7C 64 B3 [19:28:25]GetLastDocTimeStamp 1718825107 [19:28:25]current date 1718825306 [19:28:25]FM_GetShiftState [19:28:25]SAM_PROTO_GetShiftState [19:28:25]wFMCommunicate request_size=4 [19:28:25]MH_SAM_APDU [19:28:25]CAPDU: 80 13 01 00 [19:28:25]Write to MH i2c: E2 08 00 C7 02 80 13 01 00 00 00 00 00 46 [19:28:25]Write i2c OK [19:28:25]MH_I2C_Read... [19:28:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:25]Read from MH i2c: E2 [19:28:25]MH_I2C_Read... [19:28:25]Read from MH i2c: E2 0E 00 [19:28:25]MH_I2C_Read... [19:28:25]Read from MH i2c: E2 0E 00 C7 02 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1C [19:28:25]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:28:25]wFMCommunicate OK [19:28:25]SAM_PROTO_GetShiftState done [19:28:25]FM_GetShiftState done [19:28:25]opened in 1718756813 [19:28:25]opened+sec_in_day 1718843213 [19:28:25]quantity*price = 4900 [19:28:25]sum+1 = 4901 [19:28:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 73 19.06.2024 19:28 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34369 ФПД: 257932045695299 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192826&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34369&fm=257932045695299&tin=02508201610067®Number=0000000000092786&sum=4900 0 [19:28:26]StoreToDocumentArchive [19:28:26]shift 324 fd 34369 [19:28:26]save to /storage/0324/doc_00034369 [19:28:26]save last doc name /storage/0324/doc_00034369 to /storage/kkm_last_doc_name [19:28:26]save OK [19:28:26]Clear old archive folders... [19:28:26]ProcessDocumentItem done err = 0, tmpTLVsize=277 [19:28:26]tlvbuf is 003848F0 [19:28:26]SAM_PROTO_ClearQueue [19:28:26]wFMCommunicate request_size=4 [19:28:26]MH_SAM_APDU [19:28:26]CAPDU: 80 09 00 00 [19:28:26]Write to MH i2c: E2 08 00 D4 02 80 09 00 00 00 00 00 00 48 [19:28:26]Write i2c OK [19:28:26]MH_I2C_Read... [19:28:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:28:26]Read from MH i2c: E2 [19:28:26]MH_I2C_Read... [19:28:26]Read from MH i2c: E2 03 00 [19:28:26]MH_I2C_Read... [19:28:26]Read from MH i2c: E2 03 00 D4 02 00 90 00 4A [19:28:26]RAPDU: 90 00 [19:28:26]wFMCommunicate OK [19:28:26]SAM_PROTO_ClearQueue done [19:28:26]KKMCreateOFDPacket [19:28:26]OFDProtocolAddRootSTLVToBuf [19:28:26]FM_MakeSignedData [19:28:26]FM_MakeSignedData [19:28:26]SAM_PROTO_SignData [19:28:26]wFMCommunicate request_size=4 [19:28:26]MH_SAM_APDU [19:28:26]CAPDU: 80 0D 01 02 [19:28:26]Write to MH i2c: E2 08 00 D5 02 80 0D 01 02 00 00 00 00 50 [19:28:26]Write i2c OK [19:28:26]MH_I2C_Read... [19:28:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:28:26]Read from MH i2c: E2 [19:28:26]MH_I2C_Read... [19:28:26]Read from MH i2c: E2 03 00 [19:28:26]MH_I2C_Read... [19:28:26]Read from MH i2c: E2 03 00 D5 02 00 90 00 4B [19:28:26]RAPDU: 90 00 [19:28:26]wFMCommunicate OK [19:28:26]wFMCommunicate request_size=255 [19:28:26]MH_SAM_APDU [19:28:26]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 49 00 00 00 F4 03 04 00 5A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 [19:28:26]Write to MH i2c: E2 02 01 D6 02 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 49 00 00 00 F4 03 04 00 5A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 00 00 38 [19:28:26]Write i2c OK [19:28:26]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 [19:28:27]MH_I2C_Read... [19:28:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:27]Read from MH i2c: E2 03 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 03 00 D6 02 00 90 00 4C [19:28:27]RAPDU: 90 00 [19:28:27]wFMCommunicate OK [19:28:27]wFMCommunicate request_size=36 [19:28:27]MH_SAM_APDU [19:28:27]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 86 00 00 35 04 06 00 EA 96 7B F5 B9 43 [19:28:27]Write to MH i2c: E2 27 00 D7 02 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 86 00 00 35 04 06 00 EA 96 7B F5 B9 43 00 00 2D [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:27]Read from MH i2c: E2 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 03 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 03 00 D7 02 00 90 00 4D [19:28:27]RAPDU: 90 00 [19:28:27]wFMCommunicate OK [19:28:27]wFMCommunicate request_size=4 [19:28:27]MH_SAM_APDU [19:28:27]CAPDU: 80 0D 03 02 [19:28:27]Write to MH i2c: E2 08 00 D8 02 80 0D 03 02 00 00 00 00 55 [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:28:27]Read from MH i2c: E2 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 0B 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 0B 00 D8 02 00 20 D1 18 21 3F 5C D3 1B 90 00 09 [19:28:27]RAPDU: 20 D1 18 21 3F 5C D3 1B 90 00 [19:28:27]wFMCommunicate OK [19:28:27]SAM_PROTO_SignData done [19:28:27]FM_MakeSignedData done [19:28:27]CreateOFDProtocolMessage [19:28:27]wFMCommunicate request_size=4 [19:28:27]MH_SAM_APDU [19:28:27]CAPDU: 80 11 00 00 [19:28:27]Write to MH i2c: E2 08 00 D9 02 80 11 00 00 00 00 00 00 55 [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:27]Read from MH i2c: E2 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 17 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: E2 17 00 D9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 AA [19:28:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:28:27]wFMCommunicate OK [19:28:27]CreateOFDProtocolMessage done [19:28:27]OFDSenderStorePacket 34369 [19:28:27]StoreOFDPacket docnum=34369 [19:28:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 D0 F6 21 01 9C EB 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 49 00 00 00 F4 03 04 00 5A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 86 00 00 35 04 06 00 EA 96 7B F5 B9 43 20 D1 18 21 3F 5C D3 1B [19:28:27]CheckFolder [19:28:27]dirname=/storage/ofd_packets [19:28:27]CheckFolder done [19:28:27]ProducePacketName [19:28:27]name=ofd_packets/00034369 [19:28:27]NVStorageSaveData ofd_packets/00034369 [19:28:27]File name is /storage/ofd_packets/00034369 [19:28:27]Write 327 bytes [19:28:27]NVStorageSaveData done [19:28:27]OFDSenderStorePacket done [19:28:27]KKMCreateOFDPacket done [19:28:27]NVStorageSaveData kkm_last_timestamp [19:28:27]File name is /storage/kkm_last_timestamp [19:28:27]Write 4 bytes [19:28:27]NVStorageSaveData done [19:28:27]ExternCall_PrintAddStr [19:28:27]wPrintStart [19:28:27]Write to MH i2c: 01 00 00 DA 02 DC [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 07 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 07 00 DA 02 00 00 00 00 00 FF 0F F1 [19:28:27]RasterBufferAndPrint [19:28:27]line Счет N : (3)184143 [19:28:27]line ИНН: 02508201610067 [19:28:27]line Контрольно-Кассовый Чек [19:28:27]line ПРОДАЖА [19:28:27]line Товар: 4700026030017 [19:28:27]line Курут классический [19:28:27]line 1.000 * 49.00 [19:28:27]line = 49.00 [19:28:27]line НДС 12% НСП 1% [19:28:27]line > о реализуемом товаре [19:28:27]line ИТОГО: 49.00 [19:28:27]line НСП 1% : 0.43 [19:28:27]line НДС 12% : 5.20 [19:28:27]line Наличными: 49.00 [19:28:27]line Безнал.: 0.00 [19:28:27]line Место: АЗС № 120 "Партнер Нефть" [19:28:27]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [19:28:27]line СНО: Общий режим [19:28:27]line Чек 73 19.06.2024 19:28 [19:28:27]line Смена: 324 ФФД: 1.0 [19:28:27]line ЗНМ: 0300000172 [19:28:27]line РНМ: 0000000000092786 [19:28:27]line Версия ККМ: 001 [19:28:27]line ФМ: 0000000000875095 [19:28:27]line ФД: 34369 [19:28:27]line ФПД: 257932045695299 [19:28:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192826&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34369&fm=257932045695299&tin=02508201610067®Number=0000000000092786&sum=4900 [19:28:27]line 0 [19:28:27]written 0, free lines is 4095 [19:28:27]OFD Sender: Processing packet 34369 [packets to send 8, broken 7] [19:28:27]ProducePacketName [19:28:27]name=ofd_packets/00034369 [19:28:27]OFD Sender: To server: pG, [19:28:27]CommunicateWithHost lk.salyk.kg:30040 [19:28:27]ConnectInit lk.salyk.kg [19:28:27]Connected sock=10 [19:28:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 D0 F6 21 01 9C EB 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 49 00 00 00 F4 03 04 00 5A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 86 00 00 35 04 06 00 EA 96 7B F5 B9 43 20 D1 18 21 3F 5C D3 1B [19:28:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 E1 96 47 00 B4 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 41 86 00 00 F4 03 04 00 26 D8 72 66 B6 04 01 00 00 F4 7E D7 BB 79 56 26 18 [19:28:27]CommunicateWithHost err = 0 [19:28:27]CheckOFDResponse [19:28:27]1017 (14) - 77093643461234 [19:28:27]1041 (16) - 0000000000875095 [19:28:27]1040 (4) - 34369 [19:28:27]1012 (4) - 19.06.2024 13:07 [19:28:27]1206 (1) - 0 [19:28:27]OFD Sender: Remove packet 34369 [19:28:27]ProducePacketName [19:28:27]name=ofd_packets/00034369 [19:28:27]NVStorageDeleteData [19:28:27]Write to MH i2c: 01 00 00 02 03 05 [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 07 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: 01 07 00 02 03 00 00 00 00 00 04 0D 1D [19:28:27]RasterBufferAndPrint [19:28:27]line [19:28:27]line [19:28:27]line [19:28:27]line [19:28:27]line [19:28:27]written 0, free lines is 3338 [19:28:27]MH_Cut [19:28:27]Write to MH i2c: D1 01 00 09 03 01 DE [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: D1 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: D1 01 00 [19:28:27]MH_I2C_Read... [19:28:27]Read from MH i2c: D1 01 00 09 03 00 DD [19:28:27]Write to MH i2c: 01 00 00 0A 03 0D [19:28:27]Write i2c OK [19:28:27]MH_I2C_Read... [19:28:28]OFD Sender: No OFD packet to send [19:28:28]*** Cut start [19:28:28]*** Partial cut [19:28:28]*** CUTSNS_PIN = 1 [19:28:28]*** CUTSNS_PIN = 0 [19:28:28]*** Brake cut motor [19:28:29]Read from MH i2c: 01 [19:28:29]MH_I2C_Read... [19:28:29]*** Stop cut motor [19:28:29]*** Cut end [19:28:29]Read from MH i2c: 01 07 00 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: 01 07 00 0A 03 00 00 00 00 00 FF 0F 22 [19:28:29]process_action close_receipt done [19:28:29]requested_data is exist [19:28:29]produce_requested_data [19:28:29]requested_item fm.sn is exist - process it [19:28:29]wFMCommunicate request_size=4 [19:28:29]MH_SAM_APDU [19:28:29]CAPDU: 80 11 00 00 [19:28:29]Write to MH i2c: E2 08 00 0B 03 80 11 00 00 00 00 00 00 88 [19:28:29]Write i2c OK [19:28:29]MH_I2C_Read... [19:28:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:29]Read from MH i2c: E2 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 17 00 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 17 00 0B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 DD [19:28:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:28:29]wFMCommunicate OK [19:28:29]requested_item fd.num is exist - process it [19:28:29]SAM_PROTO_GetFieldsCounters [19:28:29]wFMCommunicate request_size=4 [19:28:29]MH_SAM_APDU [19:28:29]CAPDU: 80 13 00 00 [19:28:29]Write to MH i2c: E2 08 00 0C 03 80 13 00 00 00 00 00 00 8B [19:28:29]Write i2c OK [19:28:29]MH_I2C_Read... [19:28:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:28:29]Read from MH i2c: E2 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 62 00 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 62 00 0C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 41 86 00 00 0E 04 04 00 44 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 9C [19:28:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 41 86 00 00 0E 04 04 00 44 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 [19:28:29]wFMCommunicate OK [19:28:29]SAM_PROTO_GetFieldsCounters done [19:28:29]requested_item shift.num is exist - process it [19:28:29]requested_item shift.opened is exist - process it [19:28:29]req_shift_opened [19:28:29]FM_GetShiftState [19:28:29]SAM_PROTO_GetShiftState [19:28:29]wFMCommunicate request_size=4 [19:28:29]MH_SAM_APDU [19:28:29]CAPDU: 80 13 01 00 [19:28:29]Write to MH i2c: E2 08 00 0D 03 80 13 01 00 00 00 00 00 8D [19:28:29]Write i2c OK [19:28:29]MH_I2C_Read... [19:28:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:29]Read from MH i2c: E2 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 0E 00 [19:28:29]MH_I2C_Read... [19:28:29]Read from MH i2c: E2 0E 00 0D 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 63 [19:28:29]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:28:29]wFMCommunicate OK [19:28:29]SAM_PROTO_GetShiftState done [19:28:29]FM_GetShiftState done [19:28:29]req_shift_opened done [19:28:29]requested_item shift.open_date is exist - process it [19:28:29]req_shift_open_date [19:28:29]req_shift_open_date done [19:28:29]produce_requested_data done [19:28:29]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34369,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [19:28:29]process_action_free close_receipt [19:28:29]json_value_free [19:28:29]json_value_free done [19:28:29]process_json_proto returns [19:28:29]Send response to host [19:28:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34369,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [19:28:29]free response buf [19:28:29]execute_script done [19:28:29]execute_script returns [19:28:29]free content buf [19:28:29]Sock 7.Close socket [19:28:29]Sock 7.Thread stoped [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:13]accept exits with 9 [19:29:13]New connection [19:29:13]New thread 3067161956 created [19:29:13]Thread 3067018596 joined [19:29:13]Waiting for new connection... [19:29:13] Sock 9.Parse request [19:29:13]Sock 9.Check first char [19:29:13]Sock 9.First char is OK [19:29:13]request: POST /json_proto HTTP/1.0 [19:29:13]Method: POST [19:29:13]URL: /json_proto [19:29:13]Method is POST - this is cgi request [19:29:13]url: /json_proto [19:29:13]query_string will be loaded in cgi processing [19:29:13]execute_cgi json_proto POST (null) [19:29:13]execute_cgi path=json_proto method=POST [19:29:13]POST find Content-Length [19:29:13]Host: 172.17.38.134:8080 [19:29:13]Content-Length: 669 [19:29:13]Content-Type: application/json [19:29:13] [19:29:13]POST finish read [19:29:13]Found Content-Length = 669 [19:29:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184144", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\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" ] } } [19:29:13]execute_script... [19:29: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)184144", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\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" ] } } [19:29:13]POST & json_proto [19:29:13]process_json_proto [19:29:13]json parsed OK: [19:29:13]protocol is kg_v1.0 [19:29:13]action value=close_receipt [19:29:13]process_action close_receipt [19:29:13]cmd_close_receipt [19:29:13]MH_GetDate [19:29:13]Write to MH i2c: F0 00 00 0E 03 00 [19:29:13]Write i2c OK [19:29:13]MH_I2C_Read... [19:29:13]Read from MH i2c: F0 [19:29:13]MH_I2C_Read... [19:29:13]Read from MH i2c: F0 09 00 [19:29:13]MH_I2C_Read... [19:29:13]Read from MH i2c: F0 09 00 0E 03 00 8A 31 73 66 13 9C 7C 64 2C [19:29:13]GetLastDocTimeStamp 1718825306 [19:29:13]current date 1718825354 [19:29:13]FM_GetShiftState [19:29:13]SAM_PROTO_GetShiftState [19:29:13]wFMCommunicate request_size=4 [19:29:13]MH_SAM_APDU [19:29:13]CAPDU: 80 13 01 00 [19:29:13]Write to MH i2c: E2 08 00 0F 03 80 13 01 00 00 00 00 00 8F [19:29:13]Write i2c OK [19:29:13]MH_I2C_Read... [19:29:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:13]Read from MH i2c: E2 [19:29:13]MH_I2C_Read... [19:29:13]Read from MH i2c: E2 0E 00 [19:29:13]MH_I2C_Read... [19:29:13]Read from MH i2c: E2 0E 00 0F 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 65 [19:29:13]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:29:13]wFMCommunicate OK [19:29:13]SAM_PROTO_GetShiftState done [19:29:13]FM_GetShiftState done [19:29:13]opened in 1718756813 [19:29:13]opened+sec_in_day 1718843213 [19:29:13]quantity*price = 11000 [19:29:13]sum+1 = 11001 [19:29:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 74 19.06.2024 19:29 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34370 ФПД: 110182196432345 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192914&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34370&fm=110182196432345&tin=02508201610067®Number=0000000000092786&sum=11000 0 [19:29:14]StoreToDocumentArchive [19:29:14]shift 324 fd 34370 [19:29:14]save to /storage/0324/doc_00034370 [19:29:14]save last doc name /storage/0324/doc_00034370 to /storage/kkm_last_doc_name [19:29:14]save OK [19:29:14]Clear old archive folders... [19:29:14]ProcessDocumentItem done err = 0, tmpTLVsize=293 [19:29:14]tlvbuf is 00372860 [19:29:14]SAM_PROTO_ClearQueue [19:29:14]wFMCommunicate request_size=4 [19:29:14]MH_SAM_APDU [19:29:14]CAPDU: 80 09 00 00 [19:29:14]Write to MH i2c: E2 08 00 1C 03 80 09 00 00 00 00 00 00 91 [19:29:14]Write i2c OK [19:29:14]MH_I2C_Read... [19:29:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:29:14]Read from MH i2c: E2 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 1C 03 00 90 00 93 [19:29:14]RAPDU: 90 00 [19:29:14]wFMCommunicate OK [19:29:14]SAM_PROTO_ClearQueue done [19:29:14]KKMCreateOFDPacket [19:29:14]OFDProtocolAddRootSTLVToBuf [19:29:14]FM_MakeSignedData [19:29:14]FM_MakeSignedData [19:29:14]SAM_PROTO_SignData [19:29:14]wFMCommunicate request_size=4 [19:29:14]MH_SAM_APDU [19:29:14]CAPDU: 80 0D 01 02 [19:29:14]Write to MH i2c: E2 08 00 1D 03 80 0D 01 02 00 00 00 00 99 [19:29:14]Write i2c OK [19:29:14]MH_I2C_Read... [19:29:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:29:14]Read from MH i2c: E2 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 1D 03 00 90 00 94 [19:29:14]RAPDU: 90 00 [19:29:14]wFMCommunicate OK [19:29:14]wFMCommunicate request_size=255 [19:29:14]MH_SAM_APDU [19:29:14]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 4A 00 00 00 F4 03 04 00 8A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [19:29:14]Write to MH i2c: E2 02 01 1E 03 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 4A 00 00 00 F4 03 04 00 8A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 D6 [19:29:14]Write i2c OK [19:29:14]MH_I2C_Read... [19:29:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:14]Read from MH i2c: E2 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 [19:29:14]MH_I2C_Read... [19:29:14]Read from MH i2c: E2 03 00 1E 03 00 90 00 95 [19:29:14]RAPDU: 90 00 [19:29:14]wFMCommunicate OK [19:29:14]wFMCommunicate request_size=52 [19:29:14]MH_SAM_APDU [19:29:14]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 86 00 00 35 04 06 00 64 35 CA AD CD D9 [19:29:14]Write to MH i2c: E2 37 00 1F 03 80 0D 02 02 2F 00 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 86 00 00 35 04 06 00 64 35 CA AD CD D9 00 00 E6 [19:29:14]Write i2c OK [19:29:14]MH_I2C_Read... [19:29:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:15]Read from MH i2c: E2 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 03 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 03 00 1F 03 00 90 00 96 [19:29:15]RAPDU: 90 00 [19:29:15]wFMCommunicate OK [19:29:15]wFMCommunicate request_size=4 [19:29:15]MH_SAM_APDU [19:29:15]CAPDU: 80 0D 03 02 [19:29:15]Write to MH i2c: E2 08 00 20 03 80 0D 03 02 00 00 00 00 9E [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:29:15]Read from MH i2c: E2 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 0B 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 0B 00 20 03 00 2D 20 8C BD 04 F9 E1 FD 90 00 10 [19:29:15]RAPDU: 2D 20 8C BD 04 F9 E1 FD 90 00 [19:29:15]wFMCommunicate OK [19:29:15]SAM_PROTO_SignData done [19:29:15]FM_MakeSignedData done [19:29:15]CreateOFDProtocolMessage [19:29:15]wFMCommunicate request_size=4 [19:29:15]MH_SAM_APDU [19:29:15]CAPDU: 80 11 00 00 [19:29:15]Write to MH i2c: E2 08 00 21 03 80 11 00 00 00 00 00 00 9E [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:15]Read from MH i2c: E2 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 17 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: E2 17 00 21 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 F3 [19:29:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:29:15]wFMCommunicate OK [19:29:15]CreateOFDProtocolMessage done [19:29:15]OFDSenderStorePacket 34370 [19:29:15]StoreOFDPacket docnum=34370 [19:29:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 6E 31 31 01 A3 9A 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 4A 00 00 00 F4 03 04 00 8A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 86 00 00 35 04 06 00 64 35 CA AD CD D9 2D 20 8C BD 04 F9 E1 FD [19:29:15]CheckFolder [19:29:15]dirname=/storage/ofd_packets [19:29:15]CheckFolder done [19:29:15]ProducePacketName [19:29:15]name=ofd_packets/00034370 [19:29:15]NVStorageSaveData ofd_packets/00034370 [19:29:15]File name is /storage/ofd_packets/00034370 [19:29:15]Write 343 bytes [19:29:15]NVStorageSaveData done [19:29:15]OFDSenderStorePacket done [19:29:15]KKMCreateOFDPacket done [19:29:15]NVStorageSaveData kkm_last_timestamp [19:29:15]File name is /storage/kkm_last_timestamp [19:29:15]Write 4 bytes [19:29:15]NVStorageSaveData done [19:29:15]ExternCall_PrintAddStr [19:29:15]wPrintStart [19:29:15]Write to MH i2c: 01 00 00 22 03 25 [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 07 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 07 00 22 03 00 00 00 00 00 FF 0F 3A [19:29:15]RasterBufferAndPrint [19:29:15]line Счет N : (3)184144 [19:29:15]line ИНН: 02508201610067 [19:29:15]line Контрольно-Кассовый Чек [19:29:15]line ПРОДАЖА [19:29:15]line Товар: 4870022003305 [19:29:15]line Напиток Gorilla эн нат ж/б 0,5/0,45л [19:29:15]line 1.000 * 110.00 [19:29:15]line = 110.00 [19:29:15]line НДС 12% НСП 1% [19:29:15]line > о реализуемом товаре [19:29:15]line ИТОГО: 110.00 [19:29:15]line НСП 1% : 0.97 [19:29:15]line НДС 12% : 11.68 [19:29:15]line Наличными: 110.00 [19:29:15]line Безнал.: 0.00 [19:29:15]line Место: АЗС № 120 "Партнер Нефть" [19:29:15]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [19:29:15]line СНО: Общий режим [19:29:15]line Чек 74 19.06.2024 19:29 [19:29:15]line Смена: 324 ФФД: 1.0 [19:29:15]line ЗНМ: 0300000172 [19:29:15]line РНМ: 0000000000092786 [19:29:15]line Версия ККМ: 001 [19:29:15]line ФМ: 0000000000875095 [19:29:15]line ФД: 34370 [19:29:15]line ФПД: 110182196432345 [19:29:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T192914&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34370&fm=110182196432345&tin=02508201610067®Number=0000000000092786&sum=11000 [19:29:15]OFD Sender: Processing packet 34370 [packets to send 8, broken 7] [19:29:15]ProducePacketName [19:29:15]name=ofd_packets/00034370 [19:29:15]OFD Sender: To server: pG, [19:29:15]CommunicateWithHost lk.salyk.kg:30040 [19:29:15]ConnectInit lk.salyk.kg [19:29:15]line 0 [19:29:15]written 0, free lines is 4095 [19:29:15]Connected sock=10 [19:29:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 39 01 00 00 6E 31 31 01 A3 9A 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 4A 00 00 00 F4 03 04 00 8A 31 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 86 00 00 35 04 06 00 64 35 CA AD CD D9 2D 20 8C BD 04 F9 E1 FD [19:29:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 39 53 47 00 A9 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 42 86 00 00 F4 03 04 00 56 D8 72 66 B6 04 01 00 00 F5 7D BE 40 7C DF E6 CB [19:29:15]CommunicateWithHost err = 0 [19:29:15]CheckOFDResponse [19:29:15]1017 (14) - 77093643461234 [19:29:15]1041 (16) - 0000000000875095 [19:29:15]1040 (4) - 34370 [19:29:15]1012 (4) - 19.06.2024 13:08 [19:29:15]1206 (1) - 0 [19:29:15]OFD Sender: Remove packet 34370 [19:29:15]ProducePacketName [19:29:15]name=ofd_packets/00034370 [19:29:15]NVStorageDeleteData [19:29:15]Write to MH i2c: 01 00 00 4B 03 4E [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 07 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: 01 07 00 4B 03 00 00 00 00 00 F8 0C 59 [19:29:15]RasterBufferAndPrint [19:29:15]line [19:29:15]line [19:29:15]line [19:29:15]line [19:29:15]line [19:29:15]written 0, free lines is 3326 [19:29:15]MH_Cut [19:29:15]Write to MH i2c: D1 01 00 52 03 01 27 [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: D1 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: D1 01 00 [19:29:15]MH_I2C_Read... [19:29:15]Read from MH i2c: D1 01 00 52 03 00 26 [19:29:15]Write to MH i2c: 01 00 00 53 03 56 [19:29:15]Write i2c OK [19:29:15]MH_I2C_Read... [19:29:16]OFD Sender: No OFD packet to send [19:29:16]*** Cut start [19:29:16]*** Partial cut [19:29:16]*** CUTSNS_PIN = 1 [19:29:16]*** CUTSNS_PIN = 0 [19:29:16]*** Brake cut motor [19:29:17]Read from MH i2c: 01 [19:29:17]MH_I2C_Read... [19:29:17]*** Stop cut motor [19:29:17]*** Cut end [19:29:17]Read from MH i2c: 01 07 00 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: 01 07 00 53 03 00 00 00 00 00 FF 0F 6B [19:29:17]process_action close_receipt done [19:29:17]requested_data is exist [19:29:17]produce_requested_data [19:29:17]requested_item fm.sn is exist - process it [19:29:17]wFMCommunicate request_size=4 [19:29:17]MH_SAM_APDU [19:29:17]CAPDU: 80 11 00 00 [19:29:17]Write to MH i2c: E2 08 00 54 03 80 11 00 00 00 00 00 00 D1 [19:29:17]Write i2c OK [19:29:17]MH_I2C_Read... [19:29:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:17]Read from MH i2c: E2 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 17 00 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 17 00 54 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 26 [19:29:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:29:17]wFMCommunicate OK [19:29:17]requested_item fd.num is exist - process it [19:29:17]SAM_PROTO_GetFieldsCounters [19:29:17]wFMCommunicate request_size=4 [19:29:17]MH_SAM_APDU [19:29:17]CAPDU: 80 13 00 00 [19:29:17]Write to MH i2c: E2 08 00 55 03 80 13 00 00 00 00 00 00 D4 [19:29:17]Write i2c OK [19:29:17]MH_I2C_Read... [19:29:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:29:17]Read from MH i2c: E2 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 62 00 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 62 00 55 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 42 86 00 00 0E 04 04 00 44 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 E9 [19:29:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 42 86 00 00 0E 04 04 00 44 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 [19:29:17]wFMCommunicate OK [19:29:17]SAM_PROTO_GetFieldsCounters done [19:29:17]requested_item shift.num is exist - process it [19:29:17]requested_item shift.opened is exist - process it [19:29:17]req_shift_opened [19:29:17]FM_GetShiftState [19:29:17]SAM_PROTO_GetShiftState [19:29:17]wFMCommunicate request_size=4 [19:29:17]MH_SAM_APDU [19:29:17]CAPDU: 80 13 01 00 [19:29:17]Write to MH i2c: E2 08 00 56 03 80 13 01 00 00 00 00 00 D6 [19:29:17]Write i2c OK [19:29:17]MH_I2C_Read... [19:29:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:17]Read from MH i2c: E2 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 0E 00 [19:29:17]MH_I2C_Read... [19:29:17]Read from MH i2c: E2 0E 00 56 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AC [19:29:17]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:29:17]wFMCommunicate OK [19:29:17]SAM_PROTO_GetShiftState done [19:29:17]FM_GetShiftState done [19:29:17]req_shift_opened done [19:29:17]requested_item shift.open_date is exist - process it [19:29:17]req_shift_open_date [19:29:17]req_shift_open_date done [19:29:17]produce_requested_data done [19:29:17]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34370,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [19:29:17]process_action_free close_receipt [19:29:17]json_value_free [19:29:17]json_value_free done [19:29:17]process_json_proto returns [19:29:17]Send response to host [19:29:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34370,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [19:29:17]free response buf [19:29:17]execute_script done [19:29:17]execute_script returns [19:29:17]free content buf [19:29:17]Sock 9.Close socket [19:29:17]Sock 9.Thread stoped [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31: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: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]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19: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:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:53]accept exits with 7 [19:58:53]New connection [19:58:53]New thread 3067018596 created [19:58:53]Thread 3067161956 joined [19:58:53]Waiting for new connection... [19:58:53] Sock 7.Parse request [19:58:53]Sock 7.Check first char [19:58:53]Sock 7.First char is OK [19:58:53]request: POST /json_proto HTTP/1.0 [19:58:53]Method: POST [19:58:53]URL: /json_proto [19:58:53]Method is POST - this is cgi request [19:58:53]url: /json_proto [19:58:53]query_string will be loaded in cgi processing [19:58:53]execute_cgi json_proto POST (null) [19:58:53]execute_cgi path=json_proto method=POST [19:58:53]POST find Content-Length [19:58:53]Host: 172.17.38.134:8080 [19:58:53]Content-Length: 620 [19:58:53]Content-Type: application/json [19:58:53] [19:58:53]POST finish read [19:58:53]Found Content-Length = 620 [19:58:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184145", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:53]execute_script... [19:58:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184145", "tax_sys" : 0, "items" : [ { "code": "4650063110756", "name": "\u041C\u0430\u0441\u043B\u043E Gazpromneft Super 10w40 1\u043B", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:58:53]POST & json_proto [19:58:53]process_json_proto [19:58:53]json parsed OK: [19:58:53]protocol is kg_v1.0 [19:58:53]action value=close_receipt [19:58:53]process_action close_receipt [19:58:53]cmd_close_receipt [19:58:53]MH_GetDate [19:58:53]Write to MH i2c: F0 00 00 57 03 49 [19:58:53]Write i2c OK [19:58:53]MH_I2C_Read... [19:58:53]Read from MH i2c: F0 [19:58:53]MH_I2C_Read... [19:58:53]Read from MH i2c: F0 09 00 [19:58:53]MH_I2C_Read... [19:58:53]Read from MH i2c: F0 09 00 57 03 00 7E 38 73 66 13 9C 7C 64 70 [19:58:53]GetLastDocTimeStamp 1718825354 [19:58:53]current date 1718827134 [19:58:53]FM_GetShiftState [19:58:53]SAM_PROTO_GetShiftState [19:58:53]wFMCommunicate request_size=4 [19:58:53]MH_SAM_APDU [19:58:53]CAPDU: 80 13 01 00 [19:58:53]Write to MH i2c: E2 08 00 58 03 80 13 01 00 00 00 00 00 D8 [19:58:53]Write i2c OK [19:58:53]MH_I2C_Read... [19:58:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:53]Read from MH i2c: E2 [19:58:53]MH_I2C_Read... [19:58:53]Read from MH i2c: E2 0E 00 [19:58:53]MH_I2C_Read... [19:58:53]Read from MH i2c: E2 0E 00 58 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AE [19:58:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:58:53]wFMCommunicate OK [19:58:53]SAM_PROTO_GetShiftState done [19:58:53]FM_GetShiftState done [19:58:53]opened in 1718756813 [19:58:53]opened+sec_in_day 1718843213 [19:58:53]quantity*price = 40500 [19:58:53]sum+1 = 40501 [19:58:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 75 19.06.2024 19:58 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34371 ФПД: 248721392705763 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T195854&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34371&fm=248721392705763&tin=02508201610067®Number=0000000000092786&sum=40500 0 [19:58:54]StoreToDocumentArchive [19:58:54]shift 324 fd 34371 [19:58:54]save to /storage/0324/doc_00034371 [19:58:54]save last doc name /storage/0324/doc_00034371 to /storage/kkm_last_doc_name [19:58:54]save OK [19:58:54]Clear old archive folders... [19:58:54]ProcessDocumentItem done err = 0, tmpTLVsize=280 [19:58:54]tlvbuf is 0036FF90 [19:58:54]SAM_PROTO_ClearQueue [19:58:54]wFMCommunicate request_size=4 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 09 00 00 [19:58:54]Write to MH i2c: E2 08 00 65 03 80 09 00 00 00 00 00 00 DA [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 65 03 00 90 00 DC [19:58:54]RAPDU: 90 00 [19:58:54]wFMCommunicate OK [19:58:54]SAM_PROTO_ClearQueue done [19:58:54]KKMCreateOFDPacket [19:58:54]OFDProtocolAddRootSTLVToBuf [19:58:54]FM_MakeSignedData [19:58:54]FM_MakeSignedData [19:58:54]SAM_PROTO_SignData [19:58:54]wFMCommunicate request_size=4 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 0D 01 02 [19:58:54]Write to MH i2c: E2 08 00 66 03 80 0D 01 02 00 00 00 00 E2 [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 66 03 00 90 00 DD [19:58:54]RAPDU: 90 00 [19:58:54]wFMCommunicate OK [19:58:54]wFMCommunicate request_size=255 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 7E 38 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 [19:58:54]Write to MH i2c: E2 02 01 67 03 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 7E 38 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 00 00 03 [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:54]Read from MH i2c: E2 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 [19:58:54]MH_I2C_Read... [19:58:54]Read from MH i2c: E2 03 00 67 03 00 90 00 DE [19:58:54]RAPDU: 90 00 [19:58:54]wFMCommunicate OK [19:58:54]wFMCommunicate request_size=39 [19:58:54]MH_SAM_APDU [19:58:54]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 86 00 00 35 04 06 00 E2 35 F6 42 A0 E3 [19:58:54]Write to MH i2c: E2 2A 00 68 03 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 86 00 00 35 04 06 00 E2 35 F6 42 A0 E3 00 00 3D [19:58:54]Write i2c OK [19:58:54]MH_I2C_Read... [19:58:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:58:55]Read from MH i2c: E2 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 03 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 03 00 68 03 00 90 00 DF [19:58:55]RAPDU: 90 00 [19:58:55]wFMCommunicate OK [19:58:55]wFMCommunicate request_size=4 [19:58:55]MH_SAM_APDU [19:58:55]CAPDU: 80 0D 03 02 [19:58:55]Write to MH i2c: E2 08 00 69 03 80 0D 03 02 00 00 00 00 E7 [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:58:55]Read from MH i2c: E2 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 0B 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 0B 00 69 03 00 3E 64 6F 69 6F CF 51 AD 90 00 9E [19:58:55]RAPDU: 3E 64 6F 69 6F CF 51 AD 90 00 [19:58:55]wFMCommunicate OK [19:58:55]SAM_PROTO_SignData done [19:58:55]FM_MakeSignedData done [19:58:55]CreateOFDProtocolMessage [19:58:55]wFMCommunicate request_size=4 [19:58:55]MH_SAM_APDU [19:58:55]CAPDU: 80 11 00 00 [19:58:55]Write to MH i2c: E2 08 00 6A 03 80 11 00 00 00 00 00 00 E7 [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:55]Read from MH i2c: E2 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 17 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: E2 17 00 6A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3C [19:58:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:58:55]wFMCommunicate OK [19:58:55]CreateOFDProtocolMessage done [19:58:55]OFDSenderStorePacket 34371 [19:58:55]StoreOFDPacket docnum=34371 [19:58:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 CB B2 24 01 AD A8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 7E 38 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 86 00 00 35 04 06 00 E2 35 F6 42 A0 E3 3E 64 6F 69 6F CF 51 AD [19:58:55]CheckFolder [19:58:55]dirname=/storage/ofd_packets [19:58:55]CheckFolder done [19:58:55]ProducePacketName [19:58:55]name=ofd_packets/00034371 [19:58:55]NVStorageSaveData ofd_packets/00034371 [19:58:55]File name is /storage/ofd_packets/00034371 [19:58:55]Write 330 bytes [19:58:55]NVStorageSaveData done [19:58:55]OFDSenderStorePacket done [19:58:55]KKMCreateOFDPacket done [19:58:55]NVStorageSaveData kkm_last_timestamp [19:58:55]File name is /storage/kkm_last_timestamp [19:58:55]Write 4 bytes [19:58:55]NVStorageSaveData done [19:58:55]ExternCall_PrintAddStr [19:58:55]wPrintStart [19:58:55]Write to MH i2c: 01 00 00 6B 03 6E [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 07 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 07 00 6B 03 00 00 00 00 00 FF 0F 83 [19:58:55]RasterBufferAndPrint [19:58:55]line Счет N : (3)184145 [19:58:55]line ИНН: 02508201610067 [19:58:55]line Контрольно-Кассовый Чек [19:58:55]line ПРОДАЖА [19:58:55]line Товар: 4650063110756 [19:58:55]line Масло Gazpromneft Super 10w40 1л [19:58:55]line 1.000 * 405.00 [19:58:55]line = 405.00 [19:58:55]line НДС 12% НСП 1% [19:58:55]line > о реализуемом товаре [19:58:55]line ИТОГО: 405.00 [19:58:55]line НСП 1% : 3.58 [19:58:55]line НДС 12% : 43.01 [19:58:55]line Наличными: 405.00 [19:58:55]line Безнал.: 0.00 [19:58:55]line Место: АЗС № 120 "Партнер Нефть" [19:58:55]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [19:58:55]line СНО: Общий режим [19:58:55]line Чек 75 19.06.2024 19:58 [19:58:55]line Смена: 324 ФФД: 1.0 [19:58:55]line ЗНМ: 0300000172 [19:58:55]line РНМ: 0000000000092786 [19:58:55]line Версия ККМ: 001 [19:58:55]line ФМ: 0000000000875095 [19:58:55]line ФД: 34371 [19:58:55]line ФПД: 248721392705763 [19:58:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T195854&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34371&fm=248721392705763&tin=02508201610067®Number=0000000000092786&sum=40500 [19:58:55]line 0 [19:58:55]OFD Sender: Processing packet 34371 [packets to send 8, broken 7] [19:58:55]ProducePacketName [19:58:55]name=ofd_packets/00034371 [19:58:55]OFD Sender: To server: pG, [19:58:55]CommunicateWithHost lk.salyk.kg:30040 [19:58:55]ConnectInit lk.salyk.kg [19:58:55]written 0, free lines is 4095 [19:58:55]Connected sock=10 [19:58:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 2C 01 00 00 CB B2 24 01 AD A8 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 30 37 35 36 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 61 7A 70 72 6F 6D 6E 65 66 74 20 53 75 70 65 72 20 31 30 77 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 7E 38 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 86 00 00 35 04 06 00 E2 35 F6 42 A0 E3 3E 64 6F 69 6F CF 51 AD [19:58:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 37 F1 47 00 30 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 43 86 00 00 F4 03 04 00 4A DF 72 66 B6 04 01 00 00 80 5C 0A D9 E7 50 53 EF [19:58:55]CommunicateWithHost err = 0 [19:58:55]CheckOFDResponse [19:58:55]1017 (14) - 77093643461234 [19:58:55]1041 (16) - 0000000000875095 [19:58:55]1040 (4) - 34371 [19:58:55]1012 (4) - 19.06.2024 13:38 [19:58:55]1206 (1) - 0 [19:58:55]OFD Sender: Remove packet 34371 [19:58:55]ProducePacketName [19:58:55]name=ofd_packets/00034371 [19:58:55]NVStorageDeleteData [19:58:55]Write to MH i2c: 01 00 00 94 03 97 [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 07 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: 01 07 00 94 03 00 00 00 00 00 E4 0C 8E [19:58:55]RasterBufferAndPrint [19:58:55]line [19:58:55]line [19:58:55]line [19:58:55]line [19:58:55]line [19:58:55]written 0, free lines is 3307 [19:58:55]MH_Cut [19:58:55]Write to MH i2c: D1 01 00 9B 03 01 70 [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: D1 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: D1 01 00 [19:58:55]MH_I2C_Read... [19:58:55]Read from MH i2c: D1 01 00 9B 03 00 6F [19:58:55]Write to MH i2c: 01 00 00 9C 03 9F [19:58:55]Write i2c OK [19:58:55]MH_I2C_Read... [19:58:56]OFD Sender: No OFD packet to send [19:58:56]*** Cut start [19:58:56]*** Partial cut [19:58:56]*** CUTSNS_PIN = 1 [19:58:56]*** CUTSNS_PIN = 0 [19:58:56]*** Brake cut motor [19:58:57]Read from MH i2c: 01 [19:58:57]MH_I2C_Read... [19:58:57]*** Stop cut motor [19:58:57]*** Cut end [19:58:57]Read from MH i2c: 01 07 00 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: 01 07 00 9C 03 00 00 00 00 00 FF 0F B4 [19:58:57]process_action close_receipt done [19:58:57]requested_data is exist [19:58:57]produce_requested_data [19:58:57]requested_item fm.sn is exist - process it [19:58:57]wFMCommunicate request_size=4 [19:58:57]MH_SAM_APDU [19:58:57]CAPDU: 80 11 00 00 [19:58:57]Write to MH i2c: E2 08 00 9D 03 80 11 00 00 00 00 00 00 1A [19:58:57]Write i2c OK [19:58:57]MH_I2C_Read... [19:58:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:58:57]Read from MH i2c: E2 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 17 00 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 17 00 9D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6F [19:58:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [19:58:57]wFMCommunicate OK [19:58:57]requested_item fd.num is exist - process it [19:58:57]SAM_PROTO_GetFieldsCounters [19:58:57]wFMCommunicate request_size=4 [19:58:57]MH_SAM_APDU [19:58:57]CAPDU: 80 13 00 00 [19:58:57]Write to MH i2c: E2 08 00 9E 03 80 13 00 00 00 00 00 00 1D [19:58:57]Write i2c OK [19:58:57]MH_I2C_Read... [19:58:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:58:57]Read from MH i2c: E2 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 62 00 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 62 00 9E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 43 86 00 00 0E 04 04 00 44 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 36 [19:58:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 43 86 00 00 0E 04 04 00 44 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 [19:58:57]wFMCommunicate OK [19:58:57]SAM_PROTO_GetFieldsCounters done [19:58:57]requested_item shift.num is exist - process it [19:58:57]requested_item shift.opened is exist - process it [19:58:57]req_shift_opened [19:58:57]FM_GetShiftState [19:58:57]SAM_PROTO_GetShiftState [19:58:57]wFMCommunicate request_size=4 [19:58:57]MH_SAM_APDU [19:58:57]CAPDU: 80 13 01 00 [19:58:57]Write to MH i2c: E2 08 00 9F 03 80 13 01 00 00 00 00 00 1F [19:58:57]Write i2c OK [19:58:57]MH_I2C_Read... [19:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:58:57]Read from MH i2c: E2 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 0E 00 [19:58:57]MH_I2C_Read... [19:58:57]Read from MH i2c: E2 0E 00 9F 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F5 [19:58:57]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [19:58:57]wFMCommunicate OK [19:58:57]SAM_PROTO_GetShiftState done [19:58:57]FM_GetShiftState done [19:58:57]req_shift_opened done [19:58:57]requested_item shift.open_date is exist - process it [19:58:57]req_shift_open_date [19:58:57]req_shift_open_date done [19:58:57]produce_requested_data done [19:58:57]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34371,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [19:58:57]process_action_free close_receipt [19:58:57]json_value_free [19:58:57]json_value_free done [19:58:57]process_json_proto returns [19:58:57]Send response to host [19:58:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34371,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [19:58:57]free response buf [19:58:57]execute_script done [19:58:57]execute_script returns [19:58:57]free content buf [19:58:57]Sock 7.Close socket [19:58:57]Sock 7.Thread stoped [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]accept exits with 9 [20:02:41]New connection [20:02:41]New thread 3067161956 created [20:02:41]Thread 3067018596 joined [20:02:41]Waiting for new connection... [20:02:41] Sock 9.Parse request [20:02:41]Sock 9.Check first char [20:02:41]Sock 9.First char is OK [20:02:41]request: POST /json_proto HTTP/1.0 [20:02:41]Method: POST [20:02:41]URL: /json_proto [20:02:41]Method is POST - this is cgi request [20:02:41]url: /json_proto [20:02:41]query_string will be loaded in cgi processing [20:02:41]execute_cgi json_proto POST (null) [20:02:41]execute_cgi path=json_proto method=POST [20:02:41]POST find Content-Length [20:02:41]Host: 172.17.38.134:8080 [20:02:41]Content-Length: 668 [20:02:41]Content-Type: application/json [20:02:41] [20:02:41]POST finish read [20:02:41]Found Content-Length = 668 [20:02:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184146", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 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" ] } } [20:02:41]execute_script... [20:02:41]execute_script path=json_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)184146", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 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" ] } } [20:02:41]POST & json_proto [20:02:41]process_json_proto [20:02:41]json parsed OK: [20:02:41]protocol is kg_v1.0 [20:02:41]action value=close_receipt [20:02:41]process_action close_receipt [20:02:41]cmd_close_receipt [20:02:41]MH_GetDate [20:02:41]Write to MH i2c: F0 00 00 A0 03 92 [20:02:41]Write i2c OK [20:02:41]MH_I2C_Read... [20:02:41]Read from MH i2c: F0 [20:02:41]MH_I2C_Read... [20:02:41]Read from MH i2c: F0 09 00 [20:02:41]MH_I2C_Read... [20:02:41]Read from MH i2c: F0 09 00 A0 03 00 62 39 73 66 13 9C 7C 64 9E [20:02:41]GetLastDocTimeStamp 1718827134 [20:02:41]current date 1718827362 [20:02:41]FM_GetShiftState [20:02:41]SAM_PROTO_GetShiftState [20:02:41]wFMCommunicate request_size=4 [20:02:41]MH_SAM_APDU [20:02:41]CAPDU: 80 13 01 00 [20:02:41]Write to MH i2c: E2 08 00 A1 03 80 13 01 00 00 00 00 00 21 [20:02:41]Write i2c OK [20:02:41]MH_I2C_Read... [20:02:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:41]Read from MH i2c: E2 [20:02:41]MH_I2C_Read... [20:02:41]Read from MH i2c: E2 0E 00 [20:02:41]MH_I2C_Read... [20:02:41]Read from MH i2c: E2 0E 00 A1 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F7 [20:02:41]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:02:41]wFMCommunicate OK [20:02:41]SAM_PROTO_GetShiftState done [20:02:41]FM_GetShiftState done [20:02:41]opened in 1718756813 [20:02:41]opened+sec_in_day 1718843213 [20:02:41]quantity*price = 7500 [20:02:41]sum+1 = 7501 [20:02:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 76 19.06.2024 20:02 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34372 ФПД: 72171716975279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T200242&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34372&fm=72171716975279&tin=02508201610067®Number=0000000000092786&sum=7500 0 [20:02:42]StoreToDocumentArchive [20:02:42]shift 324 fd 34372 [20:02:42]save to /storage/0324/doc_00034372 [20:02:42]save last doc name /storage/0324/doc_00034372 to /storage/kkm_last_doc_name [20:02:42]save OK [20:02:42]Clear old archive folders... [20:02:42]ProcessDocumentItem done err = 0, tmpTLVsize=287 [20:02:42]tlvbuf is 0035FD70 [20:02:42]SAM_PROTO_ClearQueue [20:02:42]wFMCommunicate request_size=4 [20:02:42]MH_SAM_APDU [20:02:42]CAPDU: 80 09 00 00 [20:02:42]Write to MH i2c: E2 08 00 AE 03 80 09 00 00 00 00 00 00 23 [20:02:42]Write i2c OK [20:02:42]MH_I2C_Read... [20:02:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:02:42]Read from MH i2c: E2 [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 03 00 [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 03 00 AE 03 00 90 00 25 [20:02:42]RAPDU: 90 00 [20:02:42]wFMCommunicate OK [20:02:42]SAM_PROTO_ClearQueue done [20:02:42]KKMCreateOFDPacket [20:02:42]OFDProtocolAddRootSTLVToBuf [20:02:42]FM_MakeSignedData [20:02:42]FM_MakeSignedData [20:02:42]SAM_PROTO_SignData [20:02:42]wFMCommunicate request_size=4 [20:02:42]MH_SAM_APDU [20:02:42]CAPDU: 80 0D 01 02 [20:02:42]Write to MH i2c: E2 08 00 AF 03 80 0D 01 02 00 00 00 00 2B [20:02:42]Write i2c OK [20:02:42]MH_I2C_Read... [20:02:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:02:42]Read from MH i2c: E2 [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 03 00 [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 03 00 AF 03 00 90 00 26 [20:02:42]RAPDU: 90 00 [20:02:42]wFMCommunicate OK [20:02:42]wFMCommunicate request_size=255 [20:02:42]MH_SAM_APDU [20:02:42]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 38 39 33 39 34 06 04 2D 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 D1 8F D0 B3 D0 BE 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 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 4C 00 00 00 F4 03 04 00 62 39 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [20:02:42]Write to MH i2c: E2 02 01 B0 03 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 38 39 33 39 34 06 04 2D 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 D1 8F D0 B3 D0 BE 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 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 4C 00 00 00 F4 03 04 00 62 39 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 AE [20:02:42]Write i2c OK [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 [20:02:42]MH_I2C_Read... [20:02:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:42]Read from MH i2c: E2 03 00 [20:02:42]MH_I2C_Read... [20:02:42]Read from MH i2c: E2 03 00 B0 03 00 90 00 27 [20:02:42]RAPDU: 90 00 [20:02:42]wFMCommunicate OK [20:02:42]wFMCommunicate request_size=46 [20:02:42]MH_SAM_APDU [20:02:42]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 86 00 00 35 04 06 00 41 A3 C9 8D 9A AF [20:02:42]Write to MH i2c: E2 31 00 B1 03 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 86 00 00 35 04 06 00 41 A3 C9 8D 9A AF 00 00 10 [20:02:42]Write i2c OK [20:02:42]MH_I2C_Read... [20:02:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:43]Read from MH i2c: E2 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 03 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 03 00 B1 03 00 90 00 28 [20:02:43]RAPDU: 90 00 [20:02:43]wFMCommunicate OK [20:02:43]wFMCommunicate request_size=4 [20:02:43]MH_SAM_APDU [20:02:43]CAPDU: 80 0D 03 02 [20:02:43]Write to MH i2c: E2 08 00 B2 03 80 0D 03 02 00 00 00 00 30 [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:02:43]Read from MH i2c: E2 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 0B 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 0B 00 B2 03 00 8C CA C5 EC 9A 01 74 CB 90 00 12 [20:02:43]RAPDU: 8C CA C5 EC 9A 01 74 CB 90 00 [20:02:43]wFMCommunicate OK [20:02:43]SAM_PROTO_SignData done [20:02:43]FM_MakeSignedData done [20:02:43]CreateOFDProtocolMessage [20:02:43]wFMCommunicate request_size=4 [20:02:43]MH_SAM_APDU [20:02:43]CAPDU: 80 11 00 00 [20:02:43]Write to MH i2c: E2 08 00 B3 03 80 11 00 00 00 00 00 00 30 [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:43]Read from MH i2c: E2 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 17 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: E2 17 00 B3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 85 [20:02:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:02:43]wFMCommunicate OK [20:02:43]CreateOFDProtocolMessage done [20:02:43]OFDSenderStorePacket 34372 [20:02:43]StoreOFDPacket docnum=34372 [20:02:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 31 43 2B 01 8A 3B 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 38 39 33 39 34 06 04 2D 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 D1 8F D0 B3 D0 BE 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 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 4C 00 00 00 F4 03 04 00 62 39 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 86 00 00 35 04 06 00 41 A3 C9 8D 9A AF 8C CA C5 EC 9A 01 74 CB [20:02:43]CheckFolder [20:02:43]dirname=/storage/ofd_packets [20:02:43]CheckFolder done [20:02:43]ProducePacketName [20:02:43]name=ofd_packets/00034372 [20:02:43]NVStorageSaveData ofd_packets/00034372 [20:02:43]File name is /storage/ofd_packets/00034372 [20:02:43]Write 337 bytes [20:02:43]NVStorageSaveData done [20:02:43]OFDSenderStorePacket done [20:02:43]KKMCreateOFDPacket done [20:02:43]NVStorageSaveData kkm_last_timestamp [20:02:43]File name is /storage/kkm_last_timestamp [20:02:43]Write 4 bytes [20:02:43]NVStorageSaveData done [20:02:43]ExternCall_PrintAddStr [20:02:43]wPrintStart [20:02:43]Write to MH i2c: 01 00 00 B4 03 B7 [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 07 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 07 00 B4 03 00 00 00 00 00 FF 0F CC [20:02:43]RasterBufferAndPrint [20:02:43]line Счет N : (3)184146 [20:02:43]line ИНН: 02508201610067 [20:02:43]line Контрольно-Кассовый Чек [20:02:43]line ПРОДАЖА [20:02:43]line Товар: 5449000189394 [20:02:43]line Холодный чай Fuse ягода 0,5л [20:02:43]line 1.000 * 75.00 [20:02:43]line = 75.00 [20:02:43]line НДС 12% НСП 1% [20:02:43]line > о реализуемом товаре [20:02:43]line ИТОГО: 75.00 [20:02:43]line НСП 1% : 0.66 [20:02:43]line НДС 12% : 7.96 [20:02:43]line Наличными: 75.00 [20:02:43]line Безнал.: 0.00 [20:02:43]line Место: АЗС № 120 "Партнер Нефть" [20:02:43]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [20:02:43]line СНО: Общий режим [20:02:43]line Чек 76 19.06.2024 20:02 [20:02:43]line Смена: 324 ФФД: 1.0 [20:02:43]line ЗНМ: 0300000172 [20:02:43]line РНМ: 0000000000092786 [20:02:43]line Версия ККМ: 001 [20:02:43]line ФМ: 0000000000875095 [20:02:43]line ФД: 34372 [20:02:43]line ФПД: 72171716975279 [20:02:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T200242&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34372&fm=72171716975279&tin=02508201610067®Number=0000000000092786&sum=7500 [20:02:43]line 0 [20:02:43]OFD Sender: Processing packet 34372 [packets to send 8, broken 7] [20:02:43]ProducePacketName [20:02:43]name=ofd_packets/00034372 [20:02:43]OFD Sender: To server: pG, [20:02:43]CommunicateWithHost lk.salyk.kg:30040 [20:02:43]ConnectInit lk.salyk.kg [20:02:43]written 0, free lines is 4095 [20:02:43]Connected sock=10 [20:02:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 31 43 2B 01 8A 3B 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 38 39 33 39 34 06 04 2D 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 D1 8F D0 B3 D0 BE 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 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 4C 00 00 00 F4 03 04 00 62 39 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 44 86 00 00 35 04 06 00 41 A3 C9 8D 9A AF 8C CA C5 EC 9A 01 74 CB [20:02:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 CE 62 47 00 BB 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 38 37 35 30 39 35 10 04 04 00 44 86 00 00 F4 03 04 00 2E E0 72 66 B6 04 01 00 00 2E ED D3 AE 1F AC 2C 1F [20:02:43]CommunicateWithHost err = 0 [20:02:43]CheckOFDResponse [20:02:43]1017 (14) - 77093643461234 [20:02:43]1041 (16) - 0000000000875095 [20:02:43]1040 (4) - 34372 [20:02:43]1012 (4) - 19.06.2024 13:42 [20:02:43]1206 (1) - 0 [20:02:43]OFD Sender: Remove packet 34372 [20:02:43]ProducePacketName [20:02:43]name=ofd_packets/00034372 [20:02:43]NVStorageDeleteData [20:02:43]Write to MH i2c: 01 00 00 DC 03 DF [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 07 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 EB 0C DD [20:02:43]RasterBufferAndPrint [20:02:43]line [20:02:43]line [20:02:43]line [20:02:43]line [20:02:43]line [20:02:43]written 0, free lines is 3314 [20:02:43]MH_Cut [20:02:43]Write to MH i2c: D1 01 00 E3 03 01 B8 [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: D1 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: D1 01 00 [20:02:43]MH_I2C_Read... [20:02:43]Read from MH i2c: D1 01 00 E3 03 00 B7 [20:02:43]Write to MH i2c: 01 00 00 E4 03 E7 [20:02:43]Write i2c OK [20:02:43]MH_I2C_Read... [20:02:44]OFD Sender: No OFD packet to send [20:02:44]*** Cut start [20:02:44]*** Partial cut [20:02:44]*** CUTSNS_PIN = 1 [20:02:44]*** CUTSNS_PIN = 0 [20:02:44]*** Brake cut motor [20:02:45]Read from MH i2c: 01 [20:02:45]MH_I2C_Read... [20:02:45]*** Stop cut motor [20:02:45]*** Cut end [20:02:45]Read from MH i2c: 01 07 00 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: 01 07 00 E4 03 00 00 00 00 00 FF 0F FC [20:02:45]process_action close_receipt done [20:02:45]requested_data is exist [20:02:45]produce_requested_data [20:02:45]requested_item fm.sn is exist - process it [20:02:45]wFMCommunicate request_size=4 [20:02:45]MH_SAM_APDU [20:02:45]CAPDU: 80 11 00 00 [20:02:45]Write to MH i2c: E2 08 00 E5 03 80 11 00 00 00 00 00 00 62 [20:02:45]Write i2c OK [20:02:45]MH_I2C_Read... [20:02:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:45]Read from MH i2c: E2 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 17 00 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 17 00 E5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B7 [20:02:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:02:45]wFMCommunicate OK [20:02:45]requested_item fd.num is exist - process it [20:02:45]SAM_PROTO_GetFieldsCounters [20:02:45]wFMCommunicate request_size=4 [20:02:45]MH_SAM_APDU [20:02:45]CAPDU: 80 13 00 00 [20:02:45]Write to MH i2c: E2 08 00 E6 03 80 13 00 00 00 00 00 00 65 [20:02:45]Write i2c OK [20:02:45]MH_I2C_Read... [20:02:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:02:45]Read from MH i2c: E2 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 62 00 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 62 00 E6 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 86 00 00 0E 04 04 00 44 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 82 [20:02:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 44 86 00 00 0E 04 04 00 44 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 [20:02:45]wFMCommunicate OK [20:02:45]SAM_PROTO_GetFieldsCounters done [20:02:45]requested_item shift.num is exist - process it [20:02:45]requested_item shift.opened is exist - process it [20:02:45]req_shift_opened [20:02:45]FM_GetShiftState [20:02:45]SAM_PROTO_GetShiftState [20:02:45]wFMCommunicate request_size=4 [20:02:45]MH_SAM_APDU [20:02:45]CAPDU: 80 13 01 00 [20:02:45]Write to MH i2c: E2 08 00 E7 03 80 13 01 00 00 00 00 00 67 [20:02:45]Write i2c OK [20:02:45]MH_I2C_Read... [20:02:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:45]Read from MH i2c: E2 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 0E 00 [20:02:45]MH_I2C_Read... [20:02:45]Read from MH i2c: E2 0E 00 E7 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3D [20:02:45]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:02:45]wFMCommunicate OK [20:02:45]SAM_PROTO_GetShiftState done [20:02:45]FM_GetShiftState done [20:02:45]req_shift_opened done [20:02:45]requested_item shift.open_date is exist - process it [20:02:45]req_shift_open_date [20:02:45]req_shift_open_date done [20:02:45]produce_requested_data done [20:02:45]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34372,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [20:02:45]process_action_free close_receipt [20:02:45]json_value_free [20:02:45]json_value_free done [20:02:45]process_json_proto returns [20:02:45]Send response to host [20:02:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34372,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [20:02:45]free response buf [20:02:45]execute_script done [20:02:45]execute_script returns [20:02:45]free content buf [20:02:45]Sock 9.Close socket [20:02:45]Sock 9.Thread stoped [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:38]int [20:09:38]Write to MH i2c: 01 00 00 E8 03 EB [20:09:38]*** FLAG_PRN_PAP2 set [20:09:38]Write i2c OK [20:09:38]MH_I2C_Read... [20:09:38]Read from MH i2c: 01 [20:09:38]MH_I2C_Read... [20:09:38]Read from MH i2c: 01 07 00 [20:09:38]MH_I2C_Read... [20:09:38]Read from MH i2c: 01 07 00 E8 03 00 02 00 00 00 FF 0F 02 [20:09:38]state=0 [20:09:38]Cover opened [20:09:39]OFD Sender: No OFD packet to send [20:09:43]int [20:09:43]Write to MH i2c: 01 00 00 E9 03 EC [20:09:43]*** FLAG_PRN_PAP2 reset [20:09:43]Write i2c OK [20:09:43]MH_I2C_Read... [20:09:43]Read from MH i2c: 01 [20:09:43]MH_I2C_Read... [20:09:43]Read from MH i2c: 01 07 00 [20:09:43]MH_I2C_Read... [20:09:43]Read from MH i2c: 01 07 00 E9 03 00 00 00 00 00 FF 0F 01 [20:09:43]state=3 [20:09:43]Cover closed [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]accept exits with 7 [20:14:49]New connection [20:14:49]New thread 3067018596 created [20:14:49]Thread 3067161956 joined [20:14:49]Waiting for new connection... [20:14:49] Sock 7.Parse request [20:14:49]Sock 7.Check first char [20:14:49]Sock 7.First char is OK [20:14:49]request: POST /json_proto HTTP/1.0 [20:14:49]Method: POST [20:14:49]URL: /json_proto [20:14:49]Method is POST - this is cgi request [20:14:49]url: /json_proto [20:14:49]query_string will be loaded in cgi processing [20:14:49]execute_cgi json_proto POST (null) [20:14:49]execute_cgi path=json_proto method=POST [20:14:49]POST find Content-Length [20:14:49]Host: 172.17.38.134:8080 [20:14:49]Content-Length: 892 [20:14:49]Content-Type: application/json [20:14:49] [20:14:49]POST finish read [20:14:49]Found Content-Length = 892 [20:14:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184147", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 177.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:49]execute_script... [20:14:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184147", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 177.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:14:49]POST & json_proto [20:14:49]process_json_proto [20:14:49]json parsed OK: [20:14:49]protocol is kg_v1.0 [20:14:49]action value=close_receipt [20:14:49]process_action close_receipt [20:14:49]cmd_close_receipt [20:14:49]MH_GetDate [20:14:49]Write to MH i2c: F0 00 00 EA 03 DC [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: F0 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: F0 09 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: F0 09 00 EA 03 00 3A 3C 73 66 13 9C 7C 64 C3 [20:14:49]GetLastDocTimeStamp 1718827362 [20:14:49]current date 1718828090 [20:14:49]FM_GetShiftState [20:14:49]SAM_PROTO_GetShiftState [20:14:49]wFMCommunicate request_size=4 [20:14:49]MH_SAM_APDU [20:14:49]CAPDU: 80 13 01 00 [20:14:49]Write to MH i2c: E2 08 00 EB 03 80 13 01 00 00 00 00 00 6B [20:14:49]Write i2c OK [20:14:49]MH_I2C_Read... [20:14:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:49]Read from MH i2c: E2 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 0E 00 [20:14:49]MH_I2C_Read... [20:14:49]Read from MH i2c: E2 0E 00 EB 03 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 41 [20:14:49]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:14:49]wFMCommunicate OK [20:14:49]SAM_PROTO_GetShiftState done [20:14:49]FM_GetShiftState done [20:14:49]opened in 1718756813 [20:14:49]opened+sec_in_day 1718843213 [20:14:49]quantity*price = 11000 [20:14:49]sum+1 = 11001 [20:14:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 177.00 НСП 1% : 1.56 НДС 12% : 18.79 Наличными: 177.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 77 19.06.2024 20:14 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34373 ФПД: 86119933902542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T201451&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34373&fm=86119933902542&tin=02508201610067®Number=0000000000092786&sum=17700 0 [20:14:50]StoreToDocumentArchive [20:14:50]shift 324 fd 34373 [20:14:50]save to /storage/0324/doc_00034373 [20:14:50]save last doc name /storage/0324/doc_00034373 to /storage/kkm_last_doc_name [20:14:50]save OK [20:14:50]Clear old archive folders... [20:14:50]ProcessDocumentItem done err = 0, tmpTLVsize=380 [20:14:50]tlvbuf is 003649F0 [20:14:50]SAM_PROTO_ClearQueue [20:14:50]wFMCommunicate request_size=4 [20:14:50]MH_SAM_APDU [20:14:50]CAPDU: 80 09 00 00 [20:14:50]Write to MH i2c: E2 08 00 F8 03 80 09 00 00 00 00 00 00 6D [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:14:50]Read from MH i2c: E2 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: E2 03 00 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: E2 03 00 F8 03 00 90 00 6F [20:14:50]RAPDU: 90 00 [20:14:50]wFMCommunicate OK [20:14:50]SAM_PROTO_ClearQueue done [20:14:50]KKMCreateOFDPacket [20:14:50]OFDProtocolAddRootSTLVToBuf [20:14:50]FM_MakeSignedData [20:14:50]FM_MakeSignedData [20:14:50]SAM_PROTO_SignData [20:14:50]wFMCommunicate request_size=4 [20:14:50]MH_SAM_APDU [20:14:50]CAPDU: 80 0D 01 02 [20:14:50]Write to MH i2c: E2 08 00 F9 03 80 0D 01 02 00 00 00 00 75 [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:14:50]Read from MH i2c: E2 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: E2 03 00 [20:14:50]MH_I2C_Read... [20:14:50]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [20:14:50]RAPDU: 90 00 [20:14:50]wFMCommunicate OK [20:14:50]wFMCommunicate request_size=255 [20:14:50]MH_SAM_APDU [20:14:50]CAPDU: 80 0D 02 02 FA 03 00 7C 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 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 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 [20:14:50]Write to MH i2c: E2 02 01 FA 03 80 0D 02 02 FA 00 03 00 7C 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 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 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 6C [20:14:50]Write i2c OK [20:14:50]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 03 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 03 00 FA 03 00 90 00 71 [20:14:51]RAPDU: 90 00 [20:14:51]wFMCommunicate OK [20:14:51]wFMCommunicate request_size=139 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 24 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 4D 00 00 00 F4 03 04 00 3B 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 86 00 00 35 04 06 00 4E 53 5C 11 7E CE [20:14:51]Write to MH i2c: E2 8E 00 FB 03 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 24 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 4D 00 00 00 F4 03 04 00 3B 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 86 00 00 35 04 06 00 4E 53 5C 11 7E CE 00 00 88 [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 03 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 03 00 FB 03 00 90 00 72 [20:14:51]RAPDU: 90 00 [20:14:51]wFMCommunicate OK [20:14:51]wFMCommunicate request_size=4 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 0D 03 02 [20:14:51]Write to MH i2c: E2 08 00 FC 03 80 0D 03 02 00 00 00 00 7A [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 0B 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 0B 00 FC 03 00 1F 28 D5 EB 7D 1C 6B 52 90 00 D8 [20:14:51]RAPDU: 1F 28 D5 EB 7D 1C 6B 52 90 00 [20:14:51]wFMCommunicate OK [20:14:51]SAM_PROTO_SignData done [20:14:51]FM_MakeSignedData done [20:14:51]CreateOFDProtocolMessage [20:14:51]wFMCommunicate request_size=4 [20:14:51]MH_SAM_APDU [20:14:51]CAPDU: 80 11 00 00 [20:14:51]Write to MH i2c: E2 08 00 FD 03 80 11 00 00 00 00 00 00 7A [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:51]Read from MH i2c: E2 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 17 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: E2 17 00 FD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 CF [20:14:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:14:51]wFMCommunicate OK [20:14:51]CreateOFDProtocolMessage done [20:14:51]OFDSenderStorePacket 34373 [20:14:51]StoreOFDPacket docnum=34373 [20:14:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 01 00 00 1A CB 88 01 94 E5 5A 03 01 00 03 00 7C 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 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 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 24 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 4D 00 00 00 F4 03 04 00 3B 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 86 00 00 35 04 06 00 4E 53 5C 11 7E CE 1F 28 D5 EB 7D 1C 6B 52 [20:14:51]CheckFolder [20:14:51]dirname=/storage/ofd_packets [20:14:51]CheckFolder done [20:14:51]ProducePacketName [20:14:51]name=ofd_packets/00034373 [20:14:51]NVStorageSaveData ofd_packets/00034373 [20:14:51]File name is /storage/ofd_packets/00034373 [20:14:51]Write 430 bytes [20:14:51]NVStorageSaveData done [20:14:51]OFDSenderStorePacket done [20:14:51]KKMCreateOFDPacket done [20:14:51]NVStorageSaveData kkm_last_timestamp [20:14:51]File name is /storage/kkm_last_timestamp [20:14:51]Write 4 bytes [20:14:51]NVStorageSaveData done [20:14:51]ExternCall_PrintAddStr [20:14:51]wPrintStart [20:14:51]Write to MH i2c: 01 00 00 FE 03 01 [20:14:51]Write i2c OK [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: 01 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: 01 07 00 [20:14:51]MH_I2C_Read... [20:14:51]Read from MH i2c: 01 07 00 FE 03 00 00 00 00 00 FF 0F 16 [20:14:51]RasterBufferAndPrint [20:14:51]line Счет N : (3)184147 [20:14:51]line ИНН: 02508201610067 [20:14:51]line Контрольно-Кассовый Чек [20:14:51]line ПРОДАЖА [20:14:51]line Товар: 4870001570071 [20:14:51]line Напиток Pepsi 1л [20:14:51]line 1.000 * 110.00 [20:14:51]line = 110.00 [20:14:51]line НДС 12% НСП 1% [20:14:51]line > о реализуемом товаре [20:14:51]line Товар: 6931280300549 [20:14:51]line Зажигалка Cricket ПН пьезо [20:14:51]line 1.000 * 67.00 [20:14:51]line = 67.00 [20:14:51]line НДС 12% НСП 1% [20:14:51]line > о реализуемом товаре [20:14:51]line ИТОГО: 177.00 [20:14:51]line НСП 1% : 1.56 [20:14:51]line НДС 12% : 18.79 [20:14:51]line Наличными: 177.00 [20:14:51]line Безнал.: 0.00 [20:14:51]line Место: АЗС № 120 "Партнер Нефть" [20:14:51]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [20:14:51]line СНО: Общий режим [20:14:51]line Чек 77 19.06.2024 20:14 [20:14:51]line Смена: 324 ФФД: 1.0 [20:14:51]line ЗНМ: 0300000172 [20:14:51]line РНМ: 0000000000092786 [20:14:51]line Версия ККМ: 001 [20:14:51]line ФМ: 0000000000875095 [20:14:51]line ФД: 34373 [20:14:51]line ФПД: 86119933902542 [20:14:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T201451&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34373&fm=86119933902542&tin=02508201610067®Number=0000000000092786&sum=17700 [20:14:51]line 0 [20:14:51]OFD Sender: Processing packet 34373 [packets to send 8, broken 7] [20:14:51]ProducePacketName [20:14:51]name=ofd_packets/00034373 [20:14:51]OFD Sender: To server: pG, [20:14:51]CommunicateWithHost lk.salyk.kg:30040 [20:14:51]ConnectInit lk.salyk.kg [20:14:51]written 0, free lines is 4095 [20:14:51]Connected sock=10 [20:14:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 01 00 00 1A CB 88 01 94 E5 5A 03 01 00 03 00 7C 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 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 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 07 00 00 00 00 07 04 06 00 24 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 4D 00 00 00 F4 03 04 00 3B 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 86 00 00 35 04 06 00 4E 53 5C 11 7E CE 1F 28 D5 EB 7D 1C 6B 52 [20:14:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3C 4D 47 00 B8 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 45 86 00 00 F4 03 04 00 06 E3 72 66 B6 04 01 00 00 1B 2F 54 D7 BF 22 A4 8D [20:14:52]CommunicateWithHost err = 0 [20:14:52]CheckOFDResponse [20:14:52]1017 (14) - 77093643461234 [20:14:52]1041 (16) - 0000000000875095 [20:14:52]1040 (4) - 34373 [20:14:52]1012 (4) - 19.06.2024 13:54 [20:14:52]1206 (1) - 0 [20:14:52]OFD Sender: Remove packet 34373 [20:14:52]ProducePacketName [20:14:52]name=ofd_packets/00034373 [20:14:52]NVStorageDeleteData [20:14:52]Write to MH i2c: 01 00 00 2C 04 30 [20:14:52]Write i2c OK [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: 01 [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: 01 07 00 [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 A1 0C E4 [20:14:52]RasterBufferAndPrint [20:14:52]line [20:14:52]line [20:14:52]line [20:14:52]line [20:14:52]line [20:14:52]written 0, free lines is 3239 [20:14:52]MH_Cut [20:14:52]Write to MH i2c: D1 01 00 33 04 01 09 [20:14:52]Write i2c OK [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: D1 [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: D1 01 00 [20:14:52]MH_I2C_Read... [20:14:52]Read from MH i2c: D1 01 00 33 04 00 08 [20:14:52]Write to MH i2c: 01 00 00 34 04 38 [20:14:52]Write i2c OK [20:14:52]MH_I2C_Read... [20:14:52]OFD Sender: No OFD packet to send [20:14:53]*** Cut start [20:14:53]*** Partial cut [20:14:53]*** CUTSNS_PIN = 1 [20:14:53]*** CUTSNS_PIN = 0 [20:14:53]*** Brake cut motor [20:14:53]Read from MH i2c: 01 [20:14:53]MH_I2C_Read... [20:14:53]*** Stop cut motor [20:14:53]*** Cut end [20:14:53]Read from MH i2c: 01 07 00 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: 01 07 00 34 04 00 00 00 00 00 FF 0F 4D [20:14:53]process_action close_receipt done [20:14:53]requested_data is exist [20:14:53]produce_requested_data [20:14:53]requested_item fm.sn is exist - process it [20:14:53]wFMCommunicate request_size=4 [20:14:53]MH_SAM_APDU [20:14:53]CAPDU: 80 11 00 00 [20:14:53]Write to MH i2c: E2 08 00 35 04 80 11 00 00 00 00 00 00 B3 [20:14:53]Write i2c OK [20:14:53]MH_I2C_Read... [20:14:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:14:53]Read from MH i2c: E2 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 17 00 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 17 00 35 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 08 [20:14:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:14:53]wFMCommunicate OK [20:14:53]requested_item fd.num is exist - process it [20:14:53]SAM_PROTO_GetFieldsCounters [20:14:53]wFMCommunicate request_size=4 [20:14:53]MH_SAM_APDU [20:14:53]CAPDU: 80 13 00 00 [20:14:53]Write to MH i2c: E2 08 00 36 04 80 13 00 00 00 00 00 00 B6 [20:14:53]Write i2c OK [20:14:53]MH_I2C_Read... [20:14:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:14:53]Read from MH i2c: E2 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 62 00 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 62 00 36 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 45 86 00 00 0E 04 04 00 44 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 D7 [20:14:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 45 86 00 00 0E 04 04 00 44 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 [20:14:53]wFMCommunicate OK [20:14:53]SAM_PROTO_GetFieldsCounters done [20:14:53]requested_item shift.num is exist - process it [20:14:53]requested_item shift.opened is exist - process it [20:14:53]req_shift_opened [20:14:53]FM_GetShiftState [20:14:53]SAM_PROTO_GetShiftState [20:14:53]wFMCommunicate request_size=4 [20:14:53]MH_SAM_APDU [20:14:53]CAPDU: 80 13 01 00 [20:14:53]Write to MH i2c: E2 08 00 37 04 80 13 01 00 00 00 00 00 B8 [20:14:53]Write i2c OK [20:14:53]MH_I2C_Read... [20:14:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:14:53]Read from MH i2c: E2 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 0E 00 [20:14:53]MH_I2C_Read... [20:14:53]Read from MH i2c: E2 0E 00 37 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 8E [20:14:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:14:53]wFMCommunicate OK [20:14:53]SAM_PROTO_GetShiftState done [20:14:53]FM_GetShiftState done [20:14:53]req_shift_opened done [20:14:53]requested_item shift.open_date is exist - process it [20:14:53]req_shift_open_date [20:14:53]req_shift_open_date done [20:14:53]produce_requested_data done [20:14:53]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34373,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [20:14:53]process_action_free close_receipt [20:14:53]json_value_free [20:14:53]json_value_free done [20:14:53]process_json_proto returns [20:14:53]Send response to host [20:14:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34373,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [20:14:53]free response buf [20:14:53]execute_script done [20:14:53]execute_script returns [20:14:53]free content buf [20:14:53]Sock 7.Close socket [20:14:53]Sock 7.Thread stoped [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:26]accept exits with 9 [20:17:26]New connection [20:17:26]New thread 3067161956 created [20:17:26]Thread 3067018596 joined [20:17:26]Waiting for new connection... [20:17:26] Sock 9.Parse request [20:17:26]Sock 9.Check first char [20:17:26]Sock 9.First char is OK [20:17:26]request: POST /json_proto HTTP/1.0 [20:17:26]Method: POST [20:17:26]URL: /json_proto [20:17:26]Method is POST - this is cgi request [20:17:26]url: /json_proto [20:17:26]query_string will be loaded in cgi processing [20:17:26]execute_cgi json_proto POST (null) [20:17:26]execute_cgi path=json_proto method=POST [20:17:26]POST find Content-Length [20:17:26]Host: 172.17.38.134:8080 [20:17:26]Content-Length: 1681 [20:17:26]Content-Type: application/json [20:17:26] [20:17:26]POST finish read [20:17:26]Found Content-Length = 1681 [20:17:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184148", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018192", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u044B\u0440 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 483.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:26]execute_script... [20:17: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)184148", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441018192", "name": "\u0427\u0438\u043F\u0441\u044B FRY`S \u0421\u044B\u0440 1/70", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 483.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:26]POST & json_proto [20:17:26]process_json_proto [20:17:26]json parsed OK: [20:17:26]protocol is kg_v1.0 [20:17:26]action value=close_receipt [20:17:26]process_action close_receipt [20:17:26]cmd_close_receipt [20:17:26]MH_GetDate [20:17:26]Write to MH i2c: F0 00 00 38 04 2B [20:17:26]Write i2c OK [20:17:26]MH_I2C_Read... [20:17:26]Read from MH i2c: F0 [20:17:26]MH_I2C_Read... [20:17:26]Read from MH i2c: F0 09 00 [20:17:26]MH_I2C_Read... [20:17:26]Read from MH i2c: F0 09 00 38 04 00 D7 3C 73 66 13 9C 7C 64 AF [20:17:26]GetLastDocTimeStamp 1718828091 [20:17:26]current date 1718828247 [20:17:26]FM_GetShiftState [20:17:26]SAM_PROTO_GetShiftState [20:17:26]wFMCommunicate request_size=4 [20:17:26]MH_SAM_APDU [20:17:26]CAPDU: 80 13 01 00 [20:17:26]Write to MH i2c: E2 08 00 39 04 80 13 01 00 00 00 00 00 BA [20:17:26]Write i2c OK [20:17:26]MH_I2C_Read... [20:17:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:26]Read from MH i2c: E2 [20:17:26]MH_I2C_Read... [20:17:26]Read from MH i2c: E2 0E 00 [20:17:26]MH_I2C_Read... [20:17:26]Read from MH i2c: E2 0E 00 39 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 90 [20:17:26]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:17:26]wFMCommunicate OK [20:17:26]SAM_PROTO_GetShiftState done [20:17:26]FM_GetShiftState done [20:17:26]opened in 1718756813 [20:17:26]opened+sec_in_day 1718843213 [20:17:26]quantity*price = 15500 [20:17:26]sum+1 = 15501 [20:17:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4602441018192 Чипсы FRY`S Сыр 1/70 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46227737 Р/ж mentos pure fresh арбуз ролл 15,5г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 483.00 НСП 1% : 4.27 НДС 12% : 51.29 Наличными: 483.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 78 19.06.2024 20:17 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34374 ФПД: 93963381834971 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T201728&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34374&fm=93963381834971&tin=02508201610067®Number=0000000000092786&sum=48300 0 [20:17:27]StoreToDocumentArchive [20:17:27]shift 324 fd 34374 [20:17:27]save to /storage/0324/doc_00034374 [20:17:27]save last doc name /storage/0324/doc_00034374 to /storage/kkm_last_doc_name [20:17:27]save OK [20:17:27]Clear old archive folders... [20:17:27]ProcessDocumentItem done err = 0, tmpTLVsize=712 [20:17:27]tlvbuf is 00371FE0 [20:17:27]SAM_PROTO_ClearQueue [20:17:27]wFMCommunicate request_size=4 [20:17:27]MH_SAM_APDU [20:17:27]CAPDU: 80 09 00 00 [20:17:27]Write to MH i2c: E2 08 00 46 04 80 09 00 00 00 00 00 00 BC [20:17:27]Write i2c OK [20:17:27]MH_I2C_Read... [20:17:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:17:27]Read from MH i2c: E2 [20:17:27]MH_I2C_Read... [20:17:27]Read from MH i2c: E2 03 00 [20:17:27]MH_I2C_Read... [20:17:27]Read from MH i2c: E2 03 00 46 04 00 90 00 BE [20:17:27]RAPDU: 90 00 [20:17:27]wFMCommunicate OK [20:17:27]SAM_PROTO_ClearQueue done [20:17:27]KKMCreateOFDPacket [20:17:27]OFDProtocolAddRootSTLVToBuf [20:17:27]FM_MakeSignedData [20:17:27]FM_MakeSignedData [20:17:27]SAM_PROTO_SignData [20:17:27]wFMCommunicate request_size=4 [20:17:27]MH_SAM_APDU [20:17:27]CAPDU: 80 0D 01 02 [20:17:27]Write to MH i2c: E2 08 00 47 04 80 0D 01 02 00 00 00 00 C4 [20:17:27]Write i2c OK [20:17:27]MH_I2C_Read... [20:17:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:17:27]OFD Sender: No OFD packet to send [20:17:27]Read from MH i2c: E2 [20:17:27]MH_I2C_Read... [20:17:27]Read from MH i2c: E2 03 00 [20:17:27]MH_I2C_Read... [20:17:27]Read from MH i2c: E2 03 00 47 04 00 90 00 BF [20:17:27]RAPDU: 90 00 [20:17:27]wFMCommunicate OK [20:17:27]wFMCommunicate request_size=255 [20:17:27]MH_SAM_APDU [20:17:27]CAPDU: 80 0D 02 02 FA 03 00 C8 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 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 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 [20:17:27]Write to MH i2c: E2 02 01 48 04 80 0D 02 02 FA 00 03 00 C8 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 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 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 00 00 F9 [20:17:27]Write i2c OK [20:17:27]MH_I2C_Read... [20:17:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:28]Read from MH i2c: E2 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [20:17:28]RAPDU: 90 00 [20:17:28]wFMCommunicate OK [20:17:28]wFMCommunicate request_size=255 [20:17:28]MH_SAM_APDU [20:17:28]CAPDU: 80 0D 02 02 FA D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 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 [20:17:28]Write to MH i2c: E2 02 01 49 04 80 0D 02 02 FA 00 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 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 00 00 5D [20:17:28]Write i2c OK [20:17:28]MH_I2C_Read... [20:17:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:28]Read from MH i2c: E2 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [20:17:28]RAPDU: 90 00 [20:17:28]wFMCommunicate OK [20:17:28]wFMCommunicate request_size=221 [20:17:28]MH_SAM_APDU [20:17:28]CAPDU: 80 0D 02 02 D8 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 AC BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 14 00 00 00 00 07 04 06 00 AC BC 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 D8 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 46 86 00 00 35 04 06 00 55 75 8D FF 04 DB [20:17:28]Write to MH i2c: E2 E0 00 4A 04 80 0D 02 02 D8 00 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 AC BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 14 00 00 00 00 07 04 06 00 AC BC 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 D8 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 46 86 00 00 35 04 06 00 55 75 8D FF 04 DB 00 00 39 [20:17:28]Write i2c OK [20:17:28]MH_I2C_Read... [20:17:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:28]Read from MH i2c: E2 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [20:17:28]RAPDU: 90 00 [20:17:28]wFMCommunicate OK [20:17:28]wFMCommunicate request_size=4 [20:17:28]MH_SAM_APDU [20:17:28]CAPDU: 80 0D 03 02 [20:17:28]Write to MH i2c: E2 08 00 4B 04 80 0D 03 02 00 00 00 00 CA [20:17:28]Write i2c OK [20:17:28]MH_I2C_Read... [20:17:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:17:28]Read from MH i2c: E2 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 0B 00 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 0B 00 4B 04 00 B1 30 AE AB C6 CE 86 4F 90 00 6E [20:17:28]RAPDU: B1 30 AE AB C6 CE 86 4F 90 00 [20:17:28]wFMCommunicate OK [20:17:28]SAM_PROTO_SignData done [20:17:28]FM_MakeSignedData done [20:17:28]CreateOFDProtocolMessage [20:17:28]wFMCommunicate request_size=4 [20:17:28]MH_SAM_APDU [20:17:28]CAPDU: 80 11 00 00 [20:17:28]Write to MH i2c: E2 08 00 4C 04 80 11 00 00 00 00 00 00 CA [20:17:28]Write i2c OK [20:17:28]MH_I2C_Read... [20:17:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:28]Read from MH i2c: E2 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 17 00 [20:17:28]MH_I2C_Read... [20:17:28]Read from MH i2c: E2 17 00 4C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1F [20:17:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:17:28]wFMCommunicate OK [20:17:28]CreateOFDProtocolMessage done [20:17:28]OFDSenderStorePacket 34374 [20:17:28]StoreOFDPacket docnum=34374 [20:17:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 DC 02 00 00 BF 78 D4 02 78 32 5A 03 01 00 03 00 C8 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 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 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 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 AC BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 14 00 00 00 00 07 04 06 00 AC BC 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 D8 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 46 86 00 00 35 04 06 00 55 75 8D FF 04 DB B1 30 AE AB C6 CE 86 4F [20:17:29]CheckFolder [20:17:29]dirname=/storage/ofd_packets [20:17:29]CheckFolder done [20:17:29]ProducePacketName [20:17:29]name=ofd_packets/00034374 [20:17:29]NVStorageSaveData ofd_packets/00034374 [20:17:29]File name is /storage/ofd_packets/00034374 [20:17:29]Write 762 bytes [20:17:29]NVStorageSaveData done [20:17:29]OFDSenderStorePacket done [20:17:29]KKMCreateOFDPacket done [20:17:29]NVStorageSaveData kkm_last_timestamp [20:17:29]File name is /storage/kkm_last_timestamp [20:17:29]Write 4 bytes [20:17:29]NVStorageSaveData done [20:17:29]ExternCall_PrintAddStr [20:17:29]wPrintStart [20:17:29]Write to MH i2c: 01 00 00 4D 04 51 [20:17:29]Write i2c OK [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 07 00 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 07 00 4D 04 00 00 00 00 00 FF 0F 66 [20:17:29]RasterBufferAndPrint [20:17:29]line Счет N : (3)184148 [20:17:29]line ИНН: 02508201610067 [20:17:29]line Контрольно-Кассовый Чек [20:17:29]line ПРОДАЖА [20:17:29]line Товар: 5449000000439 [20:17:29]line Напиток Кока-Кола 1,5л [20:17:29]line 1.000 * 155.00 [20:17:29]line = 155.00 [20:17:29]line НДС 12% НСП 1% [20:17:29]line > о реализуемом товаре [20:17:29]line Товар: 4870002329487 [20:17:29]line Напиток Pepsi 1,5л [20:17:29]line 1.000 * 175.00 [20:17:29]line = 175.00 [20:17:29]line НДС 12% НСП 1% [20:17:29]line > о реализуемом товаре [20:17:29]line Товар: 4602441018192 [20:17:29]line Чипсы FRY`S Сыр 1/70 [20:17:29]line 1.000 * 90.00 [20:17:29]line = 90.00 [20:17:29]line НДС 12% НСП 1% [20:17:29]line > о реализуемом товаре [20:17:29]line Товар: 2000053020015 [20:17:29]line Бумажные стаканы 250мл 1шт [20:17:29]line 2.000 * 7.00 [20:17:29]line = 14.00 [20:17:29]line НДС 12% НСП 1% [20:17:29]line > о реализуемом товаре [20:17:29]line Товар: 46227737 [20:17:29]line Р/ж mentos pure fresh арбуз ролл 15,5г [20:17:29]line 1.000 * 49.00 [20:17:29]line = 49.00 [20:17:29]line НДС 12% НСП 1% [20:17:29]line > о реализуемом товаре [20:17:29]line ИТОГО: 483.00 [20:17:29]line НСП 1% : 4.27 [20:17:29]line НДС 12% : 51.29 [20:17:29]line Наличными: 483.00 [20:17:29]line Безнал.: 0.00 [20:17:29]line Место: АЗС № 120 "Партнер Нефть" [20:17:29]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [20:17:29]line СНО: Общий режим [20:17:29]line Чек 78 19.06.2024 20:17 [20:17:29]line Смена: 324 ФФД: 1.0 [20:17:29]line ЗНМ: 0300000172 [20:17:29]line РНМ: 0000000000092786 [20:17:29]line Версия ККМ: 001 [20:17:29]line ФМ: 0000000000875095 [20:17:29]line ФД: 34374 [20:17:29]line ФПД: 93963381834971 [20:17:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T201728&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34374&fm=93963381834971&tin=02508201610067®Number=0000000000092786&sum=48300 [20:17:29]line 0 [20:17:29]written 0, free lines is 4095 [20:17:29]OFD Sender: Processing packet 34374 [packets to send 8, broken 7] [20:17:29]ProducePacketName [20:17:29]name=ofd_packets/00034374 [20:17:29]OFD Sender: To server: pG, [20:17:29]CommunicateWithHost lk.salyk.kg:30040 [20:17:29]ConnectInit lk.salyk.kg [20:17:29]Connected sock=11 [20:17:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 DC 02 00 00 BF 78 D4 02 78 32 5A 03 01 00 03 00 C8 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 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 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 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 34 36 30 32 34 34 31 30 31 38 31 39 32 06 04 1C 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 46 52 59 60 53 20 D0 A1 D1 8B D1 80 20 31 2F 37 30 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 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 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 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 AC BC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 14 00 00 00 00 07 04 06 00 AC BC 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 D8 3C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 46 86 00 00 35 04 06 00 55 75 8D FF 04 DB B1 30 AE AB C6 CE 86 4F [20:17:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 0E 02 47 00 18 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 46 86 00 00 F4 03 04 00 A4 E3 72 66 B6 04 01 00 00 C5 DE DC 94 F8 09 7C 0A [20:17:29]CommunicateWithHost err = 0 [20:17:29]CheckOFDResponse [20:17:29]1017 (14) - 77093643461234 [20:17:29]1041 (16) - 0000000000875095 [20:17:29]1040 (4) - 34374 [20:17:29]1012 (4) - 19.06.2024 13:56 [20:17:29]1206 (1) - 0 [20:17:29]OFD Sender: Remove packet 34374 [20:17:29]ProducePacketName [20:17:29]name=ofd_packets/00034374 [20:17:29]NVStorageDeleteData [20:17:29]Write to MH i2c: 01 00 00 8F 04 93 [20:17:29]Write i2c OK [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 07 00 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: 01 07 00 8F 04 00 00 00 00 00 7E 0B 23 [20:17:29]RasterBufferAndPrint [20:17:29]line [20:17:29]line [20:17:29]line [20:17:29]line [20:17:29]line [20:17:29]written 0, free lines is 2951 [20:17:29]MH_Cut [20:17:29]Write to MH i2c: D1 01 00 96 04 01 6C [20:17:29]Write i2c OK [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: D1 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: D1 01 00 [20:17:29]MH_I2C_Read... [20:17:29]Read from MH i2c: D1 01 00 96 04 00 6B [20:17:29]Write to MH i2c: 01 00 00 97 04 9B [20:17:29]Write i2c OK [20:17:29]MH_I2C_Read... [20:17:30]OFD Sender: No OFD packet to send [20:17:30]*** Cut start [20:17:30]*** Partial cut [20:17:30]*** CUTSNS_PIN = 1 [20:17:30]*** CUTSNS_PIN = 0 [20:17:31]*** Brake cut motor [20:17:31]Read from MH i2c: 01 [20:17:31]*** Stop cut motor [20:17:31]MH_I2C_Read... [20:17:31]*** Cut end [20:17:31]Read from MH i2c: 01 07 00 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: 01 07 00 97 04 00 00 00 00 00 FF 0F B0 [20:17:31]process_action close_receipt done [20:17:31]requested_data is exist [20:17:31]produce_requested_data [20:17:31]requested_item fm.sn is exist - process it [20:17:31]wFMCommunicate request_size=4 [20:17:31]MH_SAM_APDU [20:17:31]CAPDU: 80 11 00 00 [20:17:31]Write to MH i2c: E2 08 00 98 04 80 11 00 00 00 00 00 00 16 [20:17:31]Write i2c OK [20:17:31]MH_I2C_Read... [20:17:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:31]Read from MH i2c: E2 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 17 00 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 17 00 98 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 6B [20:17:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:17:31]wFMCommunicate OK [20:17:31]requested_item fd.num is exist - process it [20:17:31]SAM_PROTO_GetFieldsCounters [20:17:31]wFMCommunicate request_size=4 [20:17:31]MH_SAM_APDU [20:17:31]CAPDU: 80 13 00 00 [20:17:31]Write to MH i2c: E2 08 00 99 04 80 13 00 00 00 00 00 00 19 [20:17:31]Write i2c OK [20:17:31]MH_I2C_Read... [20:17:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:17:31]Read from MH i2c: E2 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 62 00 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 62 00 99 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 46 86 00 00 0E 04 04 00 44 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 3E [20:17:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 46 86 00 00 0E 04 04 00 44 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 [20:17:31]wFMCommunicate OK [20:17:31]SAM_PROTO_GetFieldsCounters done [20:17:31]requested_item shift.num is exist - process it [20:17:31]requested_item shift.opened is exist - process it [20:17:31]req_shift_opened [20:17:31]FM_GetShiftState [20:17:31]SAM_PROTO_GetShiftState [20:17:31]wFMCommunicate request_size=4 [20:17:31]MH_SAM_APDU [20:17:31]CAPDU: 80 13 01 00 [20:17:31]Write to MH i2c: E2 08 00 9A 04 80 13 01 00 00 00 00 00 1B [20:17:31]Write i2c OK [20:17:31]MH_I2C_Read... [20:17:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:31]Read from MH i2c: E2 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 0E 00 [20:17:31]MH_I2C_Read... [20:17:31]Read from MH i2c: E2 0E 00 9A 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F1 [20:17:31]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:17:31]wFMCommunicate OK [20:17:31]SAM_PROTO_GetShiftState done [20:17:31]FM_GetShiftState done [20:17:31]req_shift_opened done [20:17:31]requested_item shift.open_date is exist - process it [20:17:31]req_shift_open_date [20:17:31]req_shift_open_date done [20:17:31]produce_requested_data done [20:17:31]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34374,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [20:17:31]process_action_free close_receipt [20:17:31]json_value_free [20:17:31]json_value_free done [20:17:31]process_json_proto returns [20:17:31]Send response to host [20:17:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34374,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [20:17:31]free response buf [20:17:31]execute_script done [20:17:31]execute_script returns [20:17:31]free content buf [20:17:31]Sock 9.Close socket [20:17:31]Sock 9.Thread stoped [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:22]accept exits with 7 [20:29:22]New connection [20:29:22]New thread 3067018596 created [20:29:22]Thread 3067161956 joined [20:29:22]Waiting for new connection... [20:29:22] Sock 7.Parse request [20:29:22]Sock 7.Check first char [20:29:22]Sock 7.First char is OK [20:29:22]request: POST /json_proto HTTP/1.0 [20:29:22]Method: POST [20:29:22]URL: /json_proto [20:29:22]Method is POST - this is cgi request [20:29:22]url: /json_proto [20:29:22]query_string will be loaded in cgi processing [20:29:22]execute_cgi json_proto POST (null) [20:29:22]execute_cgi path=json_proto method=POST [20:29:22]POST find Content-Length [20:29:22]Host: 172.17.38.134:8080 [20:29:22]Content-Length: 613 [20:29:22]Content-Type: application/json [20:29:22] [20:29:22]POST finish read [20:29:22]Found Content-Length = 613 [20:29:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184149", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:22]execute_script... [20:29: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)184149", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:22]POST & json_proto [20:29:22]process_json_proto [20:29:22]json parsed OK: [20:29:22]protocol is kg_v1.0 [20:29:22]action value=close_receipt [20:29:22]process_action close_receipt [20:29:22]cmd_close_receipt [20:29:22]MH_GetDate [20:29:22]Write to MH i2c: F0 00 00 9B 04 8E [20:29:22]Write i2c OK [20:29:22]MH_I2C_Read... [20:29:22]Read from MH i2c: F0 [20:29:22]MH_I2C_Read... [20:29:22]Read from MH i2c: F0 09 00 [20:29:22]MH_I2C_Read... [20:29:22]Read from MH i2c: F0 09 00 9B 04 00 A3 3F 73 66 13 9C 7C 64 E1 [20:29:22]GetLastDocTimeStamp 1718828248 [20:29:22]current date 1718828963 [20:29:22]FM_GetShiftState [20:29:22]SAM_PROTO_GetShiftState [20:29:22]wFMCommunicate request_size=4 [20:29:22]MH_SAM_APDU [20:29:22]CAPDU: 80 13 01 00 [20:29:22]Write to MH i2c: E2 08 00 9C 04 80 13 01 00 00 00 00 00 1D [20:29:22]Write i2c OK [20:29:22]MH_I2C_Read... [20:29:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:22]Read from MH i2c: E2 [20:29:22]MH_I2C_Read... [20:29:22]Read from MH i2c: E2 0E 00 [20:29:22]MH_I2C_Read... [20:29:22]Read from MH i2c: E2 0E 00 9C 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F3 [20:29:22]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:29:22]wFMCommunicate OK [20:29:22]SAM_PROTO_GetShiftState done [20:29:22]FM_GetShiftState done [20:29:22]opened in 1718756813 [20:29:22]opened+sec_in_day 1718843213 [20:29:22]quantity*price = 8000 [20:29:22]sum+1 = 8001 [20:29:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 79 19.06.2024 20:29 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34375 ФПД: 176861092582491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T202923&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34375&fm=176861092582491&tin=02508201610067®Number=0000000000092786&sum=8000 0 [20:29:23]StoreToDocumentArchive [20:29:23]shift 324 fd 34375 [20:29:23]save to /storage/0324/doc_00034375 [20:29:23]save last doc name /storage/0324/doc_00034375 to /storage/kkm_last_doc_name [20:29:23]save OK [20:29:23]Clear old archive folders... [20:29:23]ProcessDocumentItem done err = 0, tmpTLVsize=268 [20:29:23]tlvbuf is 003653B0 [20:29:23]SAM_PROTO_ClearQueue [20:29:23]wFMCommunicate request_size=4 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 09 00 00 [20:29:23]Write to MH i2c: E2 08 00 A9 04 80 09 00 00 00 00 00 00 1F [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 A9 04 00 90 00 21 [20:29:23]RAPDU: 90 00 [20:29:23]wFMCommunicate OK [20:29:23]SAM_PROTO_ClearQueue done [20:29:23]KKMCreateOFDPacket [20:29:23]OFDProtocolAddRootSTLVToBuf [20:29:23]FM_MakeSignedData [20:29:23]FM_MakeSignedData [20:29:23]SAM_PROTO_SignData [20:29:23]wFMCommunicate request_size=4 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 0D 01 02 [20:29:23]Write to MH i2c: E2 08 00 AA 04 80 0D 01 02 00 00 00 00 27 [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 AA 04 00 90 00 22 [20:29:23]RAPDU: 90 00 [20:29:23]wFMCommunicate OK [20:29:23]wFMCommunicate request_size=255 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 A3 3F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [20:29:23]Write to MH i2c: E2 02 01 AB 04 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 A3 3F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 90 [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 AB 04 00 90 00 23 [20:29:23]RAPDU: 90 00 [20:29:23]wFMCommunicate OK [20:29:23]wFMCommunicate request_size=27 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 0D 02 02 16 35 30 39 35 10 04 04 00 47 86 00 00 35 04 06 00 A0 DA AE 99 14 5B [20:29:23]Write to MH i2c: E2 1E 00 AC 04 80 0D 02 02 16 00 35 30 39 35 10 04 04 00 47 86 00 00 35 04 06 00 A0 DA AE 99 14 5B 00 00 7D [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 03 00 AC 04 00 90 00 24 [20:29:23]RAPDU: 90 00 [20:29:23]wFMCommunicate OK [20:29:23]wFMCommunicate request_size=4 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 0D 03 02 [20:29:23]Write to MH i2c: E2 08 00 AD 04 80 0D 03 02 00 00 00 00 2C [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 0B 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 0B 00 AD 04 00 22 0B E4 3D E1 B1 91 AE 90 00 4C [20:29:23]RAPDU: 22 0B E4 3D E1 B1 91 AE 90 00 [20:29:23]wFMCommunicate OK [20:29:23]SAM_PROTO_SignData done [20:29:23]FM_MakeSignedData done [20:29:23]CreateOFDProtocolMessage [20:29:23]wFMCommunicate request_size=4 [20:29:23]MH_SAM_APDU [20:29:23]CAPDU: 80 11 00 00 [20:29:23]Write to MH i2c: E2 08 00 AE 04 80 11 00 00 00 00 00 00 2C [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:23]Read from MH i2c: E2 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 17 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: E2 17 00 AE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 81 [20:29:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:29:23]wFMCommunicate OK [20:29:23]CreateOFDProtocolMessage done [20:29:23]OFDSenderStorePacket 34375 [20:29:23]StoreOFDPacket docnum=34375 [20:29:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 20 01 00 00 C4 A9 18 01 79 16 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 A3 3F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 47 86 00 00 35 04 06 00 A0 DA AE 99 14 5B 22 0B E4 3D E1 B1 91 AE [20:29:23]CheckFolder [20:29:23]dirname=/storage/ofd_packets [20:29:23]CheckFolder done [20:29:23]ProducePacketName [20:29:23]name=ofd_packets/00034375 [20:29:23]NVStorageSaveData ofd_packets/00034375 [20:29:23]File name is /storage/ofd_packets/00034375 [20:29:23]Write 318 bytes [20:29:23]NVStorageSaveData done [20:29:23]OFDSenderStorePacket done [20:29:23]KKMCreateOFDPacket done [20:29:23]NVStorageSaveData kkm_last_timestamp [20:29:23]File name is /storage/kkm_last_timestamp [20:29:23]Write 4 bytes [20:29:23]NVStorageSaveData done [20:29:23]ExternCall_PrintAddStr [20:29:23]wPrintStart [20:29:23]Write to MH i2c: 01 00 00 AF 04 B3 [20:29:23]Write i2c OK [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: 01 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: 01 07 00 [20:29:23]MH_I2C_Read... [20:29:23]Read from MH i2c: 01 07 00 AF 04 00 00 00 00 00 FF 0F C8 [20:29:23]RasterBufferAndPrint [20:29:23]line Счет N : (3)184149 [20:29:23]line ИНН: 02508201610067 [20:29:23]line Контрольно-Кассовый Чек [20:29:23]line ПРОДАЖА [20:29:23]line Товар: 4870001570057 [20:29:23]line Напиток Pepsi 0,5л [20:29:23]line 1.000 * 80.00 [20:29:23]line = 80.00 [20:29:23]line НДС 12% НСП 1% [20:29:23]line > о реализуемом товаре [20:29:23]line ИТОГО: 80.00 [20:29:23]line НСП 1% : 0.71 [20:29:23]line НДС 12% : 8.50 [20:29:23]line Наличными: 80.00 [20:29:23]line Безнал.: 0.00 [20:29:23]line Место: АЗС № 120 "Партнер Нефть" [20:29:23]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [20:29:23]line СНО: Общий режим [20:29:23]line Чек 79 19.06.2024 20:29 [20:29:23]line Смена: 324 ФФД: 1.0 [20:29:23]line ЗНМ: 0300000172 [20:29:23]line РНМ: 0000000000092786 [20:29:23]line Версия ККМ: 001 [20:29:23]line ФМ: 0000000000875095 [20:29:23]line ФД: 34375 [20:29:23]line ФПД: 176861092582491 [20:29:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T202923&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34375&fm=176861092582491&tin=02508201610067®Number=0000000000092786&sum=8000 [20:29:24]line 0 [20:29:24]OFD Sender: Processing packet 34375 [packets to send 8, broken 7] [20:29:24]ProducePacketName [20:29:24]name=ofd_packets/00034375 [20:29:24]OFD Sender: To server: pG, [20:29:24]CommunicateWithHost lk.salyk.kg:30040 [20:29:24]ConnectInit lk.salyk.kg [20:29:24]written 0, free lines is 4095 [20:29:24]Connected sock=11 [20:29:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 20 01 00 00 C4 A9 18 01 79 16 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 A3 3F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 47 86 00 00 35 04 06 00 A0 DA AE 99 14 5B 22 0B E4 3D E1 B1 91 AE [20:29:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 E1 78 47 00 95 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 47 86 00 00 F4 03 04 00 6F E6 72 66 B6 04 01 00 00 07 17 46 4C CE 05 46 52 [20:29:24]CommunicateWithHost err = 0 [20:29:24]CheckOFDResponse [20:29:24]1017 (14) - 77093643461234 [20:29:24]1041 (16) - 0000000000875095 [20:29:24]1040 (4) - 34375 [20:29:24]1012 (4) - 19.06.2024 14:08 [20:29:24]1206 (1) - 0 [20:29:24]OFD Sender: Remove packet 34375 [20:29:24]ProducePacketName [20:29:24]name=ofd_packets/00034375 [20:29:24]NVStorageDeleteData [20:29:24]Write to MH i2c: 01 00 00 D7 04 DB [20:29:24]Write i2c OK [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: 01 [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: 01 07 00 [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: 01 07 00 D7 04 00 00 00 00 00 03 0D F2 [20:29:24]RasterBufferAndPrint [20:29:24]line [20:29:24]line [20:29:24]line [20:29:24]line [20:29:24]line [20:29:24]written 0, free lines is 3337 [20:29:24]MH_Cut [20:29:24]Write to MH i2c: D1 01 00 DE 04 01 B4 [20:29:24]Write i2c OK [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: D1 [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: D1 01 00 [20:29:24]MH_I2C_Read... [20:29:24]Read from MH i2c: D1 01 00 DE 04 00 B3 [20:29:24]Write to MH i2c: 01 00 00 DF 04 E3 [20:29:24]Write i2c OK [20:29:24]MH_I2C_Read... [20:29:25]OFD Sender: No OFD packet to send [20:29:25]*** Cut start [20:29:25]*** Partial cut [20:29:25]*** CUTSNS_PIN = 1 [20:29:25]*** CUTSNS_PIN = 0 [20:29:25]*** Brake cut motor [20:29:26]Read from MH i2c: 01 [20:29:26]MH_I2C_Read... [20:29:26]*** Stop cut motor [20:29:26]*** Cut end [20:29:26]Read from MH i2c: 01 07 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: 01 07 00 DF 04 00 00 00 00 00 FF 0F F8 [20:29:26]process_action close_receipt done [20:29:26]requested_data is exist [20:29:26]produce_requested_data [20:29:26]requested_item fm.sn is exist - process it [20:29:26]wFMCommunicate request_size=4 [20:29:26]MH_SAM_APDU [20:29:26]CAPDU: 80 11 00 00 [20:29:26]Write to MH i2c: E2 08 00 E0 04 80 11 00 00 00 00 00 00 5E [20:29:26]Write i2c OK [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 [20:29:26]MH_I2C_Read... [20:29:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:26]Read from MH i2c: E2 17 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 17 00 E0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B3 [20:29:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:29:26]wFMCommunicate OK [20:29:26]requested_item fd.num is exist - process it [20:29:26]SAM_PROTO_GetFieldsCounters [20:29:26]wFMCommunicate request_size=4 [20:29:26]MH_SAM_APDU [20:29:26]CAPDU: 80 13 00 00 [20:29:26]Write to MH i2c: E2 08 00 E1 04 80 13 00 00 00 00 00 00 61 [20:29:26]Write i2c OK [20:29:26]MH_I2C_Read... [20:29:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:29:26]Read from MH i2c: E2 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 62 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 62 00 E1 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 47 86 00 00 0E 04 04 00 44 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 8A [20:29:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 47 86 00 00 0E 04 04 00 44 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 [20:29:26]wFMCommunicate OK [20:29:26]SAM_PROTO_GetFieldsCounters done [20:29:26]requested_item shift.num is exist - process it [20:29:26]requested_item shift.opened is exist - process it [20:29:26]req_shift_opened [20:29:26]FM_GetShiftState [20:29:26]SAM_PROTO_GetShiftState [20:29:26]wFMCommunicate request_size=4 [20:29:26]MH_SAM_APDU [20:29:26]CAPDU: 80 13 01 00 [20:29:26]Write to MH i2c: E2 08 00 E2 04 80 13 01 00 00 00 00 00 63 [20:29:26]Write i2c OK [20:29:26]MH_I2C_Read... [20:29:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:26]Read from MH i2c: E2 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 0E 00 [20:29:26]MH_I2C_Read... [20:29:26]Read from MH i2c: E2 0E 00 E2 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 39 [20:29:26]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:29:26]wFMCommunicate OK [20:29:26]SAM_PROTO_GetShiftState done [20:29:26]FM_GetShiftState done [20:29:26]req_shift_opened done [20:29:26]requested_item shift.open_date is exist - process it [20:29:26]req_shift_open_date [20:29:26]req_shift_open_date done [20:29:26]produce_requested_data done [20:29:26]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34375,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [20:29:26]process_action_free close_receipt [20:29:26]json_value_free [20:29:26]json_value_free done [20:29:26]process_json_proto returns [20:29:26]Send response to host [20:29:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34375,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [20:29:26]free response buf [20:29:26]execute_script done [20:29:26]execute_script returns [20:29:26]free content buf [20:29:26]Sock 7.Close socket [20:29:26]Sock 7.Thread stoped [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:00]accept exits with 9 [20:34:00]New connection [20:34:00]New thread 3067161956 created [20:34:00]Thread 3067018596 joined [20:34:00]Waiting for new connection... [20:34:00] Sock 9.Parse request [20:34:00]Sock 9.Check first char [20:34:00]Sock 9.First char is OK [20:34:00]request: POST /json_proto HTTP/1.0 [20:34:00]Method: POST [20:34:00]URL: /json_proto [20:34:00]Method is POST - this is cgi request [20:34:00]url: /json_proto [20:34:00]query_string will be loaded in cgi processing [20:34:00]execute_cgi json_proto POST (null) [20:34:00]execute_cgi path=json_proto method=POST [20:34:00]POST find Content-Length [20:34:00]Host: 172.17.38.134:8080 [20:34:00]Content-Length: 675 [20:34:00]Content-Type: application/json [20:34:00] [20:34:00]POST finish read [20:34:00]Found Content-Length = 675 [20:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184150", "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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:00]execute_script... [20:34:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184150", "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" : 3.000, "sum" : 21.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 21.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:00]POST & json_proto [20:34:00]process_json_proto [20:34:00]json parsed OK: [20:34:00]protocol is kg_v1.0 [20:34:00]action value=close_receipt [20:34:00]process_action close_receipt [20:34:00]cmd_close_receipt [20:34:00]MH_GetDate [20:34:00]Write to MH i2c: F0 00 00 E3 04 D6 [20:34:00]Write i2c OK [20:34:00]MH_I2C_Read... [20:34:00]Read from MH i2c: F0 [20:34:00]MH_I2C_Read... [20:34:00]Read from MH i2c: F0 09 00 [20:34:00]MH_I2C_Read... [20:34:00]Read from MH i2c: F0 09 00 E3 04 00 B9 40 73 66 13 9C 7C 64 40 [20:34:00]GetLastDocTimeStamp 1718828963 [20:34:00]current date 1718829241 [20:34:00]FM_GetShiftState [20:34:00]SAM_PROTO_GetShiftState [20:34:00]wFMCommunicate request_size=4 [20:34:00]MH_SAM_APDU [20:34:00]CAPDU: 80 13 01 00 [20:34:00]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [20:34:00]Write i2c OK [20:34:00]MH_I2C_Read... [20:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:00]Read from MH i2c: E2 [20:34:00]MH_I2C_Read... [20:34:00]Read from MH i2c: E2 0E 00 [20:34:00]MH_I2C_Read... [20:34:00]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 3B [20:34:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:34:00]wFMCommunicate OK [20:34:00]SAM_PROTO_GetShiftState done [20:34:00]FM_GetShiftState done [20:34:00]opened in 1718756813 [20:34:00]opened+sec_in_day 1718843213 [20:34:00]quantity*price = 2100 [20:34:00]sum+1 = 2101 [20:34:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 21.00 НСП 1% : 0.19 НДС 12% : 2.23 Наличными: 21.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 80 19.06.2024 20:34 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34376 ФПД: 35327224497289 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T203401&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34376&fm=35327224497289&tin=02508201610067®Number=0000000000092786&sum=2100 0 [20:34:01]StoreToDocumentArchive [20:34:01]shift 324 fd 34376 [20:34:01]save to /storage/0324/doc_00034376 [20:34:01]save last doc name /storage/0324/doc_00034376 to /storage/kkm_last_doc_name [20:34:01]save OK [20:34:01]Clear old archive folders... [20:34:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [20:34:01]tlvbuf is 0035CA80 [20:34:01]SAM_PROTO_ClearQueue [20:34:01]wFMCommunicate request_size=4 [20:34:01]MH_SAM_APDU [20:34:01]CAPDU: 80 09 00 00 [20:34:01]Write to MH i2c: E2 08 00 F1 04 80 09 00 00 00 00 00 00 67 [20:34:01]Write i2c OK [20:34:01]MH_I2C_Read... [20:34:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:34:01]Read from MH i2c: E2 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 F1 04 00 90 00 69 [20:34:01]RAPDU: 90 00 [20:34:01]wFMCommunicate OK [20:34:01]SAM_PROTO_ClearQueue done [20:34:01]KKMCreateOFDPacket [20:34:01]OFDProtocolAddRootSTLVToBuf [20:34:01]FM_MakeSignedData [20:34:01]FM_MakeSignedData [20:34:01]SAM_PROTO_SignData [20:34:01]wFMCommunicate request_size=4 [20:34:01]MH_SAM_APDU [20:34:01]CAPDU: 80 0D 01 02 [20:34:01]Write to MH i2c: E2 08 00 F2 04 80 0D 01 02 00 00 00 00 6F [20:34:01]Write i2c OK [20:34:01]MH_I2C_Read... [20:34:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:34:01]Read from MH i2c: E2 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 F2 04 00 90 00 6A [20:34:01]RAPDU: 90 00 [20:34:01]wFMCommunicate OK [20:34:01]wFMCommunicate request_size=255 [20:34:01]MH_SAM_APDU [20:34:01]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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 B9 40 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [20:34:01]Write to MH i2c: E2 02 01 F3 04 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 B9 40 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 06 [20:34:01]Write i2c OK [20:34:01]MH_I2C_Read... [20:34:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:01]Read from MH i2c: E2 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 F3 04 00 90 00 6B [20:34:01]RAPDU: 90 00 [20:34:01]wFMCommunicate OK [20:34:01]wFMCommunicate request_size=46 [20:34:01]MH_SAM_APDU [20:34:01]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 48 86 00 00 35 04 06 00 20 21 42 AA C4 89 [20:34:01]Write to MH i2c: E2 31 00 F4 04 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 48 86 00 00 35 04 06 00 20 21 42 AA C4 89 00 00 4F [20:34:01]Write i2c OK [20:34:01]MH_I2C_Read... [20:34:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:01]Read from MH i2c: E2 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 [20:34:01]MH_I2C_Read... [20:34:01]Read from MH i2c: E2 03 00 F4 04 00 90 00 6C [20:34:01]RAPDU: 90 00 [20:34:01]wFMCommunicate OK [20:34:01]wFMCommunicate request_size=4 [20:34:01]MH_SAM_APDU [20:34:01]CAPDU: 80 0D 03 02 [20:34:01]Write to MH i2c: E2 08 00 F5 04 80 0D 03 02 00 00 00 00 74 [20:34:01]Write i2c OK [20:34:01]MH_I2C_Read... [20:34:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:34:02]Read from MH i2c: E2 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 0B 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 0B 00 F5 04 00 23 B0 BC 28 54 F2 1C 03 90 00 91 [20:34:02]RAPDU: 23 B0 BC 28 54 F2 1C 03 90 00 [20:34:02]wFMCommunicate OK [20:34:02]SAM_PROTO_SignData done [20:34:02]FM_MakeSignedData done [20:34:02]CreateOFDProtocolMessage [20:34:02]wFMCommunicate request_size=4 [20:34:02]MH_SAM_APDU [20:34:02]CAPDU: 80 11 00 00 [20:34:02]Write to MH i2c: E2 08 00 F6 04 80 11 00 00 00 00 00 00 74 [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:02]Read from MH i2c: E2 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 17 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 17 00 F6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C9 [20:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:34:02]wFMCommunicate OK [20:34:02]CreateOFDProtocolMessage done [20:34:02]OFDSenderStorePacket 34376 [20:34:02]StoreOFDPacket docnum=34376 [20:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0F 2B 2B 01 5E 5B 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 B9 40 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 48 86 00 00 35 04 06 00 20 21 42 AA C4 89 23 B0 BC 28 54 F2 1C 03 [20:34:02]CheckFolder [20:34:02]dirname=/storage/ofd_packets [20:34:02]CheckFolder done [20:34:02]ProducePacketName [20:34:02]name=ofd_packets/00034376 [20:34:02]NVStorageSaveData ofd_packets/00034376 [20:34:02]File name is /storage/ofd_packets/00034376 [20:34:02]Write 337 bytes [20:34:02]NVStorageSaveData done [20:34:02]OFDSenderStorePacket done [20:34:02]KKMCreateOFDPacket done [20:34:02]NVStorageSaveData kkm_last_timestamp [20:34:02]File name is /storage/kkm_last_timestamp [20:34:02]Write 4 bytes [20:34:02]NVStorageSaveData done [20:34:02]ExternCall_PrintAddStr [20:34:02]wPrintStart [20:34:02]Write to MH i2c: 01 00 00 F7 04 FB [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 07 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 07 00 F7 04 00 00 00 00 00 FF 0F 10 [20:34:02]RasterBufferAndPrint [20:34:02]line Счет N : (3)184150 [20:34:02]line ИНН: 02508201610067 [20:34:02]line Контрольно-Кассовый Чек [20:34:02]line ПРОДАЖА [20:34:02]line Товар: 2000053020015 [20:34:02]line Бумажные стаканы 250мл 1шт [20:34:02]line 3.000 * 7.00 [20:34:02]line = 21.00 [20:34:02]line НДС 12% НСП 1% [20:34:02]line > о реализуемом товаре [20:34:02]line ИТОГО: 21.00 [20:34:02]line НСП 1% : 0.19 [20:34:02]line НДС 12% : 2.23 [20:34:02]line Наличными: 21.00 [20:34:02]line Безнал.: 0.00 [20:34:02]line Место: АЗС № 120 "Партнер Нефть" [20:34:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [20:34:02]line СНО: Общий режим [20:34:02]line Чек 80 19.06.2024 20:34 [20:34:02]line Смена: 324 ФФД: 1.0 [20:34:02]line ЗНМ: 0300000172 [20:34:02]line РНМ: 0000000000092786 [20:34:02]line Версия ККМ: 001 [20:34:02]line ФМ: 0000000000875095 [20:34:02]line ФД: 34376 [20:34:02]line ФПД: 35327224497289 [20:34:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T203401&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34376&fm=35327224497289&tin=02508201610067®Number=0000000000092786&sum=2100 [20:34:02]line 0 [20:34:02]OFD Sender: Processing packet 34376 [packets to send 8, broken 7] [20:34:02]ProducePacketName [20:34:02]name=ofd_packets/00034376 [20:34:02]OFD Sender: To server: pG, [20:34:02]CommunicateWithHost lk.salyk.kg:30040 [20:34:02]ConnectInit lk.salyk.kg [20:34:02]written 0, free lines is 4095 [20:34:02]Connected sock=10 [20:34:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 0F 2B 2B 01 5E 5B 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 B8 0B 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 34 08 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 08 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DF 00 00 00 00 00 07 04 06 00 34 08 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 B9 40 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 48 86 00 00 35 04 06 00 20 21 42 AA C4 89 23 B0 BC 28 54 F2 1C 03 [20:34:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 91 FE 47 00 17 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 48 86 00 00 F4 03 04 00 85 E7 72 66 B6 04 01 00 00 CC 07 46 02 60 FC 8D 00 [20:34:02]CommunicateWithHost err = 0 [20:34:02]CheckOFDResponse [20:34:02]1017 (14) - 77093643461234 [20:34:02]1041 (16) - 0000000000875095 [20:34:02]1040 (4) - 34376 [20:34:02]1012 (4) - 19.06.2024 14:13 [20:34:02]1206 (1) - 0 [20:34:02]OFD Sender: Remove packet 34376 [20:34:02]ProducePacketName [20:34:02]name=ofd_packets/00034376 [20:34:02]NVStorageDeleteData [20:34:02]Write to MH i2c: 01 00 00 20 05 25 [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 07 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: 01 07 00 20 05 00 00 00 00 00 CC 0C 04 [20:34:02]RasterBufferAndPrint [20:34:02]line [20:34:02]line [20:34:02]line [20:34:02]line [20:34:02]line [20:34:02]written 0, free lines is 3282 [20:34:02]MH_Cut [20:34:02]Write to MH i2c: D1 01 00 27 05 01 FE [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: D1 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: D1 01 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: D1 01 00 27 05 00 FD [20:34:02]Write to MH i2c: 01 00 00 28 05 2D [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:03]OFD Sender: No OFD packet to send [20:34:03]*** Cut start [20:34:03]*** Partial cut [20:34:03]*** CUTSNS_PIN = 1 [20:34:03]*** CUTSNS_PIN = 0 [20:34:03]*** Brake cut motor [20:34:04]Read from MH i2c: 01 [20:34:04]MH_I2C_Read... [20:34:04]*** Stop cut motor [20:34:04]*** Cut end [20:34:04]Read from MH i2c: 01 07 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 07 00 28 05 00 00 00 00 00 FF 0F 42 [20:34:04]process_action close_receipt done [20:34:04]requested_data is exist [20:34:04]produce_requested_data [20:34:04]requested_item fm.sn is exist - process it [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 11 00 00 [20:34:04]Write to MH i2c: E2 08 00 29 05 80 11 00 00 00 00 00 00 A8 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:04]Read from MH i2c: E2 17 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 17 00 29 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FD [20:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [20:34:04]wFMCommunicate OK [20:34:04]requested_item fd.num is exist - process it [20:34:04]SAM_PROTO_GetFieldsCounters [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 13 00 00 [20:34:04]Write to MH i2c: E2 08 00 2A 05 80 13 00 00 00 00 00 00 AB [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 62 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 62 00 2A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 48 86 00 00 0E 04 04 00 44 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 D8 [20:34:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 48 86 00 00 0E 04 04 00 44 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 [20:34:04]wFMCommunicate OK [20:34:04]SAM_PROTO_GetFieldsCounters done [20:34:04]requested_item shift.num is exist - process it [20:34:04]requested_item shift.opened is exist - process it [20:34:04]req_shift_opened [20:34:04]FM_GetShiftState [20:34:04]SAM_PROTO_GetShiftState [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 13 01 00 [20:34:04]Write to MH i2c: E2 08 00 2B 05 80 13 01 00 00 00 00 00 AD [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 0E 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 0E 00 2B 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 83 [20:34:04]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [20:34:04]wFMCommunicate OK [20:34:04]SAM_PROTO_GetShiftState done [20:34:04]FM_GetShiftState done [20:34:04]req_shift_opened done [20:34:04]requested_item shift.open_date is exist - process it [20:34:04]req_shift_open_date [20:34:04]req_shift_open_date done [20:34:04]produce_requested_data done [20:34:04]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34376,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [20:34:04]process_action_free close_receipt [20:34:04]json_value_free [20:34:04]json_value_free done [20:34:04]process_json_proto returns [20:34:04]Send response to host [20:34:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34376,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [20:34:04]free response buf [20:34:04]execute_script done [20:34:04]execute_script returns [20:34:04]free content buf [20:34:04]Sock 9.Close socket [20:34:04]Sock 9.Thread stoped [20:34:08]OFD Sender: No OFD packet to send [20:34:13]OFD Sender: No OFD packet to send [20:34:18]OFD Sender: No OFD packet to send [20:34:23]OFD Sender: No OFD packet to send [20:34:28]OFD Sender: No OFD packet to send [20:34:33]OFD Sender: No OFD packet to send [20:34:38]OFD Sender: No OFD packet to send [20:34:43]OFD Sender: No OFD packet to send [20:34:48]OFD Sender: No OFD packet to send [20:34:53]OFD Sender: No OFD packet to send [20:34:58]OFD Sender: No OFD packet to send [20:35:03]OFD Sender: No OFD packet to send [20:35:08]OFD Sender: No OFD packet to send [20:35:13]OFD Sender: No OFD packet to send [20:35:18]OFD Sender: No OFD packet to send [20:35:23]OFD Sender: No OFD packet to send [20:35:28]OFD Sender: No OFD packet to send [20:35:33]OFD Sender: No OFD packet to send [20:35:38]OFD Sender: No OFD packet to send [20:35:43]OFD Sender: No OFD packet to send [20:35:48]OFD Sender: No OFD packet to send [20:35:53]OFD Sender: No OFD packet to send [20:35:58]OFD Sender: No OFD packet to send [20:36:03]OFD Sender: No OFD packet to send [20:36:08]OFD Sender: No OFD packet to send [20:36:13]OFD Sender: No OFD packet to send [20:36:18]OFD Sender: No OFD packet to send [20:36:23]OFD Sender: No OFD packet to send [20:36:28]OFD Sender: No OFD packet to send [20:36:33]OFD Sender: No OFD packet to send [20:36:38]OFD Sender: No OFD packet to send [20:36:43]OFD Sender: No OFD packet to send [20:36:48]OFD Sender: No OFD packet to send [20:36:53]OFD Sender: No OFD packet to send [20:36:58]OFD Sender: No OFD packet to send [20:37:03]OFD Sender: No OFD packet to send [20:37:08]OFD Sender: No OFD packet to send [20:37:13]OFD Sender: No OFD packet to send [20:37:18]OFD Sender: No OFD packet to send [20:37:23]OFD Sender: No OFD packet to send [20:37:28]OFD Sender: No OFD packet to send [20:37:33]OFD Sender: No OFD packet to send [20:37:38]OFD Sender: No OFD packet to send [20:37:43]OFD Sender: No OFD packet to send [20:37:48]OFD Sender: No OFD packet to send [20:37:53]OFD Sender: No OFD packet to send [20:37:58]OFD Sender: No OFD packet to send [20:38:03]OFD Sender: No OFD packet to send [20:38:08]OFD Sender: No OFD packet to send [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:18]OFD Sender: No OFD packet to send [20:40:23]OFD Sender: No OFD packet to send [20:40:28]OFD Sender: No OFD packet to send [20:40:33]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:33]OFD Sender: No OFD packet to send [20:41:38]OFD Sender: No OFD packet to send [20:41:43]OFD Sender: No OFD packet to send [20:41:48]OFD Sender: No OFD packet to send [20:41:53]OFD Sender: No OFD packet to send [20:41:58]OFD Sender: No OFD packet to send [20:42:03]OFD Sender: No OFD packet to send [20:42:08]OFD Sender: No OFD packet to send [20:42:13]OFD Sender: No OFD packet to send [20:42:18]OFD Sender: No OFD packet to send [20:42:23]OFD Sender: No OFD packet to send [20:42:28]OFD Sender: No OFD packet to send [20:42:33]OFD Sender: No OFD packet to send [20:42:38]OFD Sender: No OFD packet to send [20:42:43]OFD Sender: No OFD packet to send [20:42:48]OFD Sender: No OFD packet to send [20:42:53]OFD Sender: No OFD packet to send [20:42:58]OFD Sender: No OFD packet to send [20:43:03]OFD Sender: No OFD packet to send [20:43:08]OFD Sender: No OFD packet to send [20:43:13]OFD Sender: No OFD packet to send [20:43:18]OFD Sender: No OFD packet to send [20:43:23]OFD Sender: No OFD packet to send [20:43:28]OFD Sender: No OFD packet to send [20:43:33]OFD Sender: No OFD packet to send [20:43:38]OFD Sender: No OFD packet to send [20:43:43]OFD Sender: No OFD packet to send [20:43:48]OFD Sender: No OFD packet to send [20:43:53]OFD Sender: No OFD packet to send [20:43:58]OFD Sender: No OFD packet to send [20:44:03]OFD Sender: No OFD packet to send [20:44:08]OFD Sender: No OFD packet to send [20:44:13]OFD Sender: No OFD packet to send [20:44:18]OFD Sender: No OFD packet to send [20:44:23]OFD Sender: No OFD packet to send [20:44:28]OFD Sender: No OFD packet to send [20:44:33]OFD Sender: No OFD packet to send [20:44:38]OFD Sender: No OFD packet to send [20:44:43]OFD Sender: No OFD packet to send [20:44:48]OFD Sender: No OFD packet to send [20:44:53]OFD Sender: No OFD packet to send [20:44:58]OFD Sender: No OFD packet to send [20:45:03]OFD Sender: No OFD packet to send [20:45:08]OFD Sender: No OFD packet to send [20:45:13]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:48]OFD Sender: No OFD packet to send [20:45:53]OFD Sender: No OFD packet to send [20:45:58]OFD Sender: No OFD packet to send [20:46:03]OFD Sender: No OFD packet to send [20:46:08]OFD Sender: No OFD packet to send [20:46:13]OFD Sender: No OFD packet to send [20:46:18]OFD Sender: No OFD packet to send [20:46:23]OFD Sender: No OFD packet to send [20:46:28]OFD Sender: No OFD packet to send [20:46:33]OFD Sender: No OFD packet to send [20:46:38]OFD Sender: No OFD packet to send [20:46:43]OFD Sender: No OFD packet to send [20:46:48]OFD Sender: No OFD packet to send [20:46:53]OFD Sender: No OFD packet to send [20:46:58]OFD Sender: No OFD packet to send [20:47:03]OFD Sender: No OFD packet to send [20:47:08]OFD Sender: No OFD packet to send [20:47:13]OFD Sender: No OFD packet to send [20:47:18]OFD Sender: No OFD packet to send [20:47:23]OFD Sender: No OFD packet to send [20:47:28]OFD Sender: No OFD packet to send [20:47:33]OFD Sender: No OFD packet to send [20:47:38]OFD Sender: No OFD packet to send [20:47:43]OFD Sender: No OFD packet to send [20:47:48]OFD Sender: No OFD packet to send [20:47:53]OFD Sender: No OFD packet to send [20:47:58]OFD Sender: No OFD packet to send [20:48:03]OFD Sender: No OFD packet to send [20:48:08]OFD Sender: No OFD packet to send [20:48:13]OFD Sender: No OFD packet to send [20:48:18]OFD Sender: No OFD packet to send [20:48:23]OFD Sender: No OFD packet to send [20:48:28]OFD Sender: No OFD packet to send [20:48:33]OFD Sender: No OFD packet to send [20:48:38]OFD Sender: No OFD packet to send [20:48:43]OFD Sender: No OFD packet to send [20:48:48]OFD Sender: No OFD packet to send [20:48:53]OFD Sender: No OFD packet to send [20:48:58]OFD Sender: No OFD packet to send [20:49:03]OFD Sender: No OFD packet to send [20:49:08]OFD Sender: No OFD packet to send [20:49:13]OFD Sender: No OFD packet to send [20:49:18]OFD Sender: No OFD packet to send [20:49:23]OFD Sender: No OFD packet to send [20:49:28]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:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:44]OFD Sender: No OFD packet to send [20:53:49]OFD Sender: No OFD packet to send [20:53:54]OFD Sender: No OFD packet to send [20:53:59]OFD Sender: No OFD packet to send [20:54:04]OFD Sender: No OFD packet to send [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:39]OFD Sender: No OFD packet to send [21:01:44]OFD Sender: No OFD packet to send [21:01:49]OFD Sender: No OFD packet to send [21:01:54]OFD Sender: No OFD packet to send [21:01:59]OFD Sender: No OFD packet to send [21:02:04]OFD Sender: No OFD packet to send [21:02:09]OFD Sender: No OFD packet to send [21:02:14]OFD Sender: No OFD packet to send [21:02:19]OFD Sender: No OFD packet to send [21:02:24]OFD Sender: No OFD packet to send [21:02:29]OFD Sender: No OFD packet to send [21:02:34]OFD Sender: No OFD packet to send [21:02:39]OFD Sender: No OFD packet to send [21:02:44]OFD Sender: No OFD packet to send [21:02:49]OFD Sender: No OFD packet to send [21:02:54]OFD Sender: No OFD packet to send [21:02:59]OFD Sender: No OFD packet to send [21:03:04]OFD Sender: No OFD packet to send [21:03:09]OFD Sender: No OFD packet to send [21:03:14]OFD Sender: No OFD packet to send [21:03:19]OFD Sender: No OFD packet to send [21:03:24]OFD Sender: No OFD packet to send [21:03:29]OFD Sender: No OFD packet to send [21:03:34]OFD Sender: No OFD packet to send [21:03:39]OFD Sender: No OFD packet to send [21:03:44]OFD Sender: No OFD packet to send [21:03:49]OFD Sender: No OFD packet to send [21:03:54]OFD Sender: No OFD packet to send [21:03:59]OFD Sender: No OFD packet to send [21:04:04]OFD Sender: No OFD packet to send [21:04:09]OFD Sender: No OFD packet to send [21:04:14]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:52]accept exits with 7 [21:04:52]New connection [21:04:52]New thread 3067018596 created [21:04:52]Thread 3067161956 joined [21:04:52]Waiting for new connection... [21:04:52] Sock 7.Parse request [21:04:52]Sock 7.Check first char [21:04:52]Sock 7.First char is OK [21:04:52]request: POST /json_proto HTTP/1.0 [21:04:52]Method: POST [21:04:52]URL: /json_proto [21:04:52]Method is POST - this is cgi request [21:04:52]url: /json_proto [21:04:52]query_string will be loaded in cgi processing [21:04:52]execute_cgi json_proto POST (null) [21:04:52]execute_cgi path=json_proto method=POST [21:04:52]POST find Content-Length [21:04:52]Host: 172.17.38.134:8080 [21:04:52]Content-Length: 658 [21:04:52]Content-Type: application/json [21:04:52] [21:04:52]POST finish read [21:04:52]Found Content-Length = 658 [21:04:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184151", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "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" ] } } [21:04:52]execute_script... [21:04: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)184151", "tax_sys" : 0, "items" : [ { "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "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" ] } } [21:04:52]POST & json_proto [21:04:52]process_json_proto [21:04:52]json parsed OK: [21:04:52]protocol is kg_v1.0 [21:04:52]action value=close_receipt [21:04:52]process_action close_receipt [21:04:52]cmd_close_receipt [21:04:52]MH_GetDate [21:04:52]Write to MH i2c: F0 00 00 2C 05 20 [21:04:52]Write i2c OK [21:04:52]MH_I2C_Read... [21:04:52]Read from MH i2c: F0 [21:04:52]MH_I2C_Read... [21:04:52]Read from MH i2c: F0 09 00 [21:04:52]MH_I2C_Read... [21:04:52]Read from MH i2c: F0 09 00 2C 05 00 F5 47 73 66 13 9C 7C 64 CD [21:04:52]GetLastDocTimeStamp 1718829241 [21:04:52]current date 1718831093 [21:04:52]FM_GetShiftState [21:04:52]SAM_PROTO_GetShiftState [21:04:52]wFMCommunicate request_size=4 [21:04:52]MH_SAM_APDU [21:04:52]CAPDU: 80 13 01 00 [21:04:52]Write to MH i2c: E2 08 00 2D 05 80 13 01 00 00 00 00 00 AF [21:04:52]Write i2c OK [21:04:52]MH_I2C_Read... [21:04:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:52]Read from MH i2c: E2 [21:04:52]MH_I2C_Read... [21:04:52]Read from MH i2c: E2 0E 00 [21:04:52]MH_I2C_Read... [21:04:52]Read from MH i2c: E2 0E 00 2D 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 85 [21:04:52]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:04:52]wFMCommunicate OK [21:04:52]SAM_PROTO_GetShiftState done [21:04:52]FM_GetShiftState done [21:04:52]opened in 1718756813 [21:04:52]opened+sec_in_day 1718843213 [21:04:52]quantity*price = 4900 [21:04:52]sum+1 = 4901 [21:04:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 81 19.06.2024 21:04 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34377 ФПД: 133477013716002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T210453&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34377&fm=133477013716002&tin=02508201610067®Number=0000000000092786&sum=4900 0 [21:04:53]StoreToDocumentArchive [21:04:53]shift 324 fd 34377 [21:04:53]save to /storage/0324/doc_00034377 [21:04:53]save last doc name /storage/0324/doc_00034377 to /storage/kkm_last_doc_name [21:04:53]save OK [21:04:53]Clear old archive folders... [21:04:53]ProcessDocumentItem done err = 0, tmpTLVsize=277 [21:04:53]tlvbuf is 0035C960 [21:04:53]SAM_PROTO_ClearQueue [21:04:53]wFMCommunicate request_size=4 [21:04:53]MH_SAM_APDU [21:04:53]CAPDU: 80 09 00 00 [21:04:53]Write to MH i2c: E2 08 00 3A 05 80 09 00 00 00 00 00 00 B1 [21:04:53]Write i2c OK [21:04:53]MH_I2C_Read... [21:04:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:04:53]Read from MH i2c: E2 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 3A 05 00 90 00 B3 [21:04:53]RAPDU: 90 00 [21:04:53]wFMCommunicate OK [21:04:53]SAM_PROTO_ClearQueue done [21:04:53]KKMCreateOFDPacket [21:04:53]OFDProtocolAddRootSTLVToBuf [21:04:53]FM_MakeSignedData [21:04:53]FM_MakeSignedData [21:04:53]SAM_PROTO_SignData [21:04:53]wFMCommunicate request_size=4 [21:04:53]MH_SAM_APDU [21:04:53]CAPDU: 80 0D 01 02 [21:04:53]Write to MH i2c: E2 08 00 3B 05 80 0D 01 02 00 00 00 00 B9 [21:04:53]Write i2c OK [21:04:53]MH_I2C_Read... [21:04:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:04:53]Read from MH i2c: E2 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 3B 05 00 90 00 B4 [21:04:53]RAPDU: 90 00 [21:04:53]wFMCommunicate OK [21:04:53]wFMCommunicate request_size=255 [21:04:53]MH_SAM_APDU [21:04:53]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 51 00 00 00 F4 03 04 00 F5 47 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 [21:04:53]Write to MH i2c: E2 02 01 3C 05 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 51 00 00 00 F4 03 04 00 F5 47 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 00 00 5A [21:04:53]Write i2c OK [21:04:53]MH_I2C_Read... [21:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:53]Read from MH i2c: E2 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 3C 05 00 90 00 B5 [21:04:53]RAPDU: 90 00 [21:04:53]wFMCommunicate OK [21:04:53]wFMCommunicate request_size=36 [21:04:53]MH_SAM_APDU [21:04:53]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 49 86 00 00 35 04 06 00 79 65 89 FC FC 22 [21:04:53]Write to MH i2c: E2 27 00 3D 05 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 49 86 00 00 35 04 06 00 79 65 89 FC FC 22 00 00 33 [21:04:53]Write i2c OK [21:04:53]MH_I2C_Read... [21:04:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:53]Read from MH i2c: E2 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 [21:04:53]MH_I2C_Read... [21:04:53]Read from MH i2c: E2 03 00 3D 05 00 90 00 B6 [21:04:53]RAPDU: 90 00 [21:04:53]wFMCommunicate OK [21:04:53]wFMCommunicate request_size=4 [21:04:53]MH_SAM_APDU [21:04:53]CAPDU: 80 0D 03 02 [21:04:53]Write to MH i2c: E2 08 00 3E 05 80 0D 03 02 00 00 00 00 BE [21:04:53]Write i2c OK [21:04:53]MH_I2C_Read... [21:04:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:04:54]Read from MH i2c: E2 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: E2 0B 00 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: E2 0B 00 3E 05 00 2C BE 94 22 8F E5 4E 95 90 00 B6 [21:04:54]RAPDU: 2C BE 94 22 8F E5 4E 95 90 00 [21:04:54]wFMCommunicate OK [21:04:54]SAM_PROTO_SignData done [21:04:54]FM_MakeSignedData done [21:04:54]CreateOFDProtocolMessage [21:04:54]wFMCommunicate request_size=4 [21:04:54]MH_SAM_APDU [21:04:54]CAPDU: 80 11 00 00 [21:04:54]Write to MH i2c: E2 08 00 3F 05 80 11 00 00 00 00 00 00 BE [21:04:54]Write i2c OK [21:04:54]MH_I2C_Read... [21:04:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:54]Read from MH i2c: E2 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: E2 17 00 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: E2 17 00 3F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 13 [21:04:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:04:54]wFMCommunicate OK [21:04:54]CreateOFDProtocolMessage done [21:04:54]OFDSenderStorePacket 34377 [21:04:54]StoreOFDPacket docnum=34377 [21:04:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 98 9F 21 01 20 1B 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 51 00 00 00 F4 03 04 00 F5 47 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 49 86 00 00 35 04 06 00 79 65 89 FC FC 22 2C BE 94 22 8F E5 4E 95 [21:04:54]CheckFolder [21:04:54]dirname=/storage/ofd_packets [21:04:54]CheckFolder done [21:04:54]ProducePacketName [21:04:54]name=ofd_packets/00034377 [21:04:54]NVStorageSaveData ofd_packets/00034377 [21:04:54]File name is /storage/ofd_packets/00034377 [21:04:54]Write 327 bytes [21:04:54]NVStorageSaveData done [21:04:54]OFDSenderStorePacket done [21:04:54]KKMCreateOFDPacket done [21:04:54]NVStorageSaveData kkm_last_timestamp [21:04:54]File name is /storage/kkm_last_timestamp [21:04:54]Write 4 bytes [21:04:54]NVStorageSaveData done [21:04:54]ExternCall_PrintAddStr [21:04:54]wPrintStart [21:04:54]Write to MH i2c: 01 00 00 40 05 45 [21:04:54]Write i2c OK [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 07 00 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 07 00 40 05 00 00 00 00 00 FF 0F 5A [21:04:54]RasterBufferAndPrint [21:04:54]line Счет N : (3)184151 [21:04:54]line ИНН: 02508201610067 [21:04:54]line Контрольно-Кассовый Чек [21:04:54]line ПРОДАЖА [21:04:54]line Товар: 4700026030017 [21:04:54]line Курут классический [21:04:54]line 1.000 * 49.00 [21:04:54]line = 49.00 [21:04:54]line НДС 12% НСП 1% [21:04:54]line > о реализуемом товаре [21:04:54]line ИТОГО: 49.00 [21:04:54]line НСП 1% : 0.43 [21:04:54]line НДС 12% : 5.20 [21:04:54]line Наличными: 49.00 [21:04:54]line Безнал.: 0.00 [21:04:54]line Место: АЗС № 120 "Партнер Нефть" [21:04:54]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:04:54]line СНО: Общий режим [21:04:54]line Чек 81 19.06.2024 21:04 [21:04:54]line Смена: 324 ФФД: 1.0 [21:04:54]line ЗНМ: 0300000172 [21:04:54]line РНМ: 0000000000092786 [21:04:54]line Версия ККМ: 001 [21:04:54]line ФМ: 0000000000875095 [21:04:54]line ФД: 34377 [21:04:54]line ФПД: 133477013716002 [21:04:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T210453&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34377&fm=133477013716002&tin=02508201610067®Number=0000000000092786&sum=4900 [21:04:54]line 0 [21:04:54]OFD Sender: Processing packet 34377 [packets to send 8, broken 7] [21:04:54]ProducePacketName [21:04:54]name=ofd_packets/00034377 [21:04:54]OFD Sender: To server: pG, [21:04:54]CommunicateWithHost lk.salyk.kg:30040 [21:04:54]ConnectInit lk.salyk.kg [21:04:54]written 0, free lines is 4095 [21:04:54]Connected sock=10 [21:04:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 29 01 00 00 98 9F 21 01 20 1B 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 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 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 51 00 00 00 F4 03 04 00 F5 47 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 49 86 00 00 35 04 06 00 79 65 89 FC FC 22 2C BE 94 22 8F E5 4E 95 [21:04:54]Write to MH i2c: 01 00 00 68 05 6D [21:04:54]Write i2c OK [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 07 00 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: 01 07 00 68 05 00 00 00 00 00 F3 0C 73 [21:04:54]RasterBufferAndPrint [21:04:54]line [21:04:54]line [21:04:54]line [21:04:54]line [21:04:54]line [21:04:54]written 0, free lines is 3322 [21:04:54]MH_Cut [21:04:54]Write to MH i2c: D1 01 00 6F 05 01 46 [21:04:54]Write i2c OK [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: D1 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: D1 01 00 [21:04:54]MH_I2C_Read... [21:04:54]Read from MH i2c: D1 01 00 6F 05 00 45 [21:04:54]Write to MH i2c: 01 00 00 70 05 75 [21:04:54]Write i2c OK [21:04:54]MH_I2C_Read... [21:04:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 08 4C 47 00 3A DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 49 86 00 00 F4 03 04 00 C1 EE 72 66 B6 04 01 00 00 4F 3D 8A 84 B0 87 73 10 [21:04:54]CommunicateWithHost err = 0 [21:04:54]CheckOFDResponse [21:04:54]1017 (14) - 77093643461234 [21:04:54]1041 (16) - 0000000000875095 [21:04:54]1040 (4) - 34377 [21:04:54]1012 (4) - 19.06.2024 14:44 [21:04:54]1206 (1) - 0 [21:04:54]OFD Sender: Remove packet 34377 [21:04:54]ProducePacketName [21:04:54]name=ofd_packets/00034377 [21:04:54]NVStorageDeleteData [21:04:55]OFD Sender: No OFD packet to send [21:04:55]*** Cut start [21:04:55]*** Partial cut [21:04:55]*** CUTSNS_PIN = 1 [21:04:55]*** CUTSNS_PIN = 0 [21:04:55]*** Brake cut motor [21:04:56]Read from MH i2c: 01 [21:04:56]MH_I2C_Read... [21:04:56]*** Stop cut motor [21:04:56]*** Cut end [21:04:56]Read from MH i2c: 01 07 00 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: 01 07 00 70 05 00 00 00 00 00 FF 0F 8A [21:04:56]process_action close_receipt done [21:04:56]requested_data is exist [21:04:56]produce_requested_data [21:04:56]requested_item fm.sn is exist - process it [21:04:56]wFMCommunicate request_size=4 [21:04:56]MH_SAM_APDU [21:04:56]CAPDU: 80 11 00 00 [21:04:56]Write to MH i2c: E2 08 00 71 05 80 11 00 00 00 00 00 00 F0 [21:04:56]Write i2c OK [21:04:56]MH_I2C_Read... [21:04:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:56]Read from MH i2c: E2 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 17 00 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 17 00 71 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 45 [21:04:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:04:56]wFMCommunicate OK [21:04:56]requested_item fd.num is exist - process it [21:04:56]SAM_PROTO_GetFieldsCounters [21:04:56]wFMCommunicate request_size=4 [21:04:56]MH_SAM_APDU [21:04:56]CAPDU: 80 13 00 00 [21:04:56]Write to MH i2c: E2 08 00 72 05 80 13 00 00 00 00 00 00 F3 [21:04:56]Write i2c OK [21:04:56]MH_I2C_Read... [21:04:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:04:56]Read from MH i2c: E2 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 62 00 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 62 00 72 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 49 86 00 00 0E 04 04 00 44 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 24 [21:04:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 49 86 00 00 0E 04 04 00 44 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 [21:04:56]wFMCommunicate OK [21:04:56]SAM_PROTO_GetFieldsCounters done [21:04:56]requested_item shift.num is exist - process it [21:04:56]requested_item shift.opened is exist - process it [21:04:56]req_shift_opened [21:04:56]FM_GetShiftState [21:04:56]SAM_PROTO_GetShiftState [21:04:56]wFMCommunicate request_size=4 [21:04:56]MH_SAM_APDU [21:04:56]CAPDU: 80 13 01 00 [21:04:56]Write to MH i2c: E2 08 00 73 05 80 13 01 00 00 00 00 00 F5 [21:04:56]Write i2c OK [21:04:56]MH_I2C_Read... [21:04:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:56]Read from MH i2c: E2 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 0E 00 [21:04:56]MH_I2C_Read... [21:04:56]Read from MH i2c: E2 0E 00 73 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 CB [21:04:56]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:04:56]wFMCommunicate OK [21:04:56]SAM_PROTO_GetShiftState done [21:04:56]FM_GetShiftState done [21:04:56]req_shift_opened done [21:04:56]requested_item shift.open_date is exist - process it [21:04:56]req_shift_open_date [21:04:56]req_shift_open_date done [21:04:56]produce_requested_data done [21:04:56]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34377,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:04:56]process_action_free close_receipt [21:04:56]json_value_free [21:04:56]json_value_free done [21:04:56]process_json_proto returns [21:04:56]Send response to host [21:04:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34377,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:04:56]free response buf [21:04:56]execute_script done [21:04:56]execute_script returns [21:04:56]free content buf [21:04:56]Sock 7.Close socket [21:04:56]Sock 7.Thread stoped [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:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:23]accept exits with 9 [21:24:23]New connection [21:24:23]New thread 3067161956 created [21:24:23]Thread 3067018596 joined [21:24:23]Waiting for new connection... [21:24:23] Sock 9.Parse request [21:24:23]Sock 9.Check first char [21:24:23]Sock 9.First char is OK [21:24:23]request: POST /json_proto HTTP/1.0 [21:24:23]Method: POST [21:24:23]URL: /json_proto [21:24:23]Method is POST - this is cgi request [21:24:23]url: /json_proto [21:24:23]query_string will be loaded in cgi processing [21:24:23]execute_cgi json_proto POST (null) [21:24:23]execute_cgi path=json_proto method=POST [21:24:23]POST find Content-Length [21:24:23]Host: 172.17.38.134:8080 [21:24:23]Content-Length: 745 [21:24:23]Content-Type: application/json [21:24:23] [21:24:23]POST finish read [21:24:23]Found Content-Length = 745 [21:24:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184152", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:23]execute_script... [21:24: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)184152", "tax_sys" : 0, "items" : [ { "code": "4870202521186", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:23]POST & json_proto [21:24:23]process_json_proto [21:24:23]json parsed OK: [21:24:23]protocol is kg_v1.0 [21:24:23]action value=close_receipt [21:24:23]process_action close_receipt [21:24:23]cmd_close_receipt [21:24:23]MH_GetDate [21:24:23]Write to MH i2c: F0 00 00 74 05 68 [21:24:23]Write i2c OK [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: F0 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: F0 09 00 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: F0 09 00 74 05 00 88 4C 73 66 13 9C 7C 64 AD [21:24:23]GetLastDocTimeStamp 1718831093 [21:24:23]current date 1718832264 [21:24:23]FM_GetShiftState [21:24:23]SAM_PROTO_GetShiftState [21:24:23]wFMCommunicate request_size=4 [21:24:23]MH_SAM_APDU [21:24:23]CAPDU: 80 13 01 00 [21:24:23]Write to MH i2c: E2 08 00 75 05 80 13 01 00 00 00 00 00 F7 [21:24:23]Write i2c OK [21:24:23]MH_I2C_Read... [21:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:23]Read from MH i2c: E2 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: E2 0E 00 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: E2 0E 00 75 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 CD [21:24:23]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:24:23]wFMCommunicate OK [21:24:23]SAM_PROTO_GetShiftState done [21:24:23]FM_GetShiftState done [21:24:23]opened in 1718756813 [21:24:23]opened+sec_in_day 1718843213 [21:24:23]quantity*price = 7000 [21:24:23]sum+1 = 7001 [21:24:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 82 19.06.2024 21:24 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34378 ФПД: 99167402035516 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T212424&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34378&fm=99167402035516&tin=02508201610067®Number=0000000000092786&sum=7000 0 [21:24:24]StoreToDocumentArchive [21:24:24]shift 324 fd 34378 [21:24:24]save to /storage/0324/doc_00034378 [21:24:24]save last doc name /storage/0324/doc_00034378 to /storage/kkm_last_doc_name [21:24:24]save OK [21:24:24]Clear old archive folders... [21:24:24]ProcessDocumentItem done err = 0, tmpTLVsize=312 [21:24:24]tlvbuf is 00419840 [21:24:24]SAM_PROTO_ClearQueue [21:24:24]wFMCommunicate request_size=4 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 09 00 00 [21:24:24]Write to MH i2c: E2 08 00 82 05 80 09 00 00 00 00 00 00 F9 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 82 05 00 90 00 FB [21:24:24]RAPDU: 90 00 [21:24:24]wFMCommunicate OK [21:24:24]SAM_PROTO_ClearQueue done [21:24:24]KKMCreateOFDPacket [21:24:24]OFDProtocolAddRootSTLVToBuf [21:24:24]FM_MakeSignedData [21:24:24]FM_MakeSignedData [21:24:24]SAM_PROTO_SignData [21:24:24]wFMCommunicate request_size=4 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 0D 01 02 [21:24:24]Write to MH i2c: E2 08 00 83 05 80 0D 01 02 00 00 00 00 01 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 83 05 00 90 00 FC [21:24:24]RAPDU: 90 00 [21:24:24]wFMCommunicate OK [21:24:24]wFMCommunicate request_size=255 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 88 4C 73 66 0E 04 04 00 44 [21:24:24]Write to MH i2c: E2 02 01 84 05 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 88 4C 73 66 0E 04 04 00 44 00 00 A4 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 84 05 00 90 00 FD [21:24:24]RAPDU: 90 00 [21:24:24]wFMCommunicate OK [21:24:24]wFMCommunicate request_size=71 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4A 86 00 00 35 04 06 00 5A 31 35 C5 89 3C [21:24:24]Write to MH i2c: E2 4A 00 85 05 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4A 86 00 00 35 04 06 00 5A 31 35 C5 89 3C 00 00 41 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 03 00 85 05 00 90 00 FE [21:24:24]RAPDU: 90 00 [21:24:24]wFMCommunicate OK [21:24:24]wFMCommunicate request_size=4 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 0D 03 02 [21:24:24]Write to MH i2c: E2 08 00 86 05 80 0D 03 02 00 00 00 00 06 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 0B 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 0B 00 86 05 00 F1 4A A6 A5 C9 BB 8A 83 90 00 1E [21:24:24]RAPDU: F1 4A A6 A5 C9 BB 8A 83 90 00 [21:24:24]wFMCommunicate OK [21:24:24]SAM_PROTO_SignData done [21:24:24]FM_MakeSignedData done [21:24:24]CreateOFDProtocolMessage [21:24:24]wFMCommunicate request_size=4 [21:24:24]MH_SAM_APDU [21:24:24]CAPDU: 80 11 00 00 [21:24:24]Write to MH i2c: E2 08 00 87 05 80 11 00 00 00 00 00 00 06 [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:24]Read from MH i2c: E2 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 17 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: E2 17 00 87 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 5B [21:24:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:24:24]wFMCommunicate OK [21:24:24]CreateOFDProtocolMessage done [21:24:24]OFDSenderStorePacket 34378 [21:24:24]StoreOFDPacket docnum=34378 [21:24:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4C 01 00 00 B9 8B 44 01 0D 3D 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 88 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4A 86 00 00 35 04 06 00 5A 31 35 C5 89 3C F1 4A A6 A5 C9 BB 8A 83 [21:24:24]CheckFolder [21:24:24]dirname=/storage/ofd_packets [21:24:24]CheckFolder done [21:24:24]ProducePacketName [21:24:24]name=ofd_packets/00034378 [21:24:24]NVStorageSaveData ofd_packets/00034378 [21:24:24]File name is /storage/ofd_packets/00034378 [21:24:24]Write 362 bytes [21:24:24]NVStorageSaveData done [21:24:24]OFDSenderStorePacket done [21:24:24]KKMCreateOFDPacket done [21:24:24]NVStorageSaveData kkm_last_timestamp [21:24:24]File name is /storage/kkm_last_timestamp [21:24:24]Write 4 bytes [21:24:24]NVStorageSaveData done [21:24:24]ExternCall_PrintAddStr [21:24:24]wPrintStart [21:24:24]Write to MH i2c: 01 00 00 88 05 8D [21:24:24]Write i2c OK [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: 01 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: 01 07 00 [21:24:24]MH_I2C_Read... [21:24:24]Read from MH i2c: 01 07 00 88 05 00 00 00 00 00 FF 0F A2 [21:24:24]RasterBufferAndPrint [21:24:24]line Счет N : (3)184152 [21:24:24]line ИНН: 02508201610067 [21:24:24]line Контрольно-Кассовый Чек [21:24:24]line ПРОДАЖА [21:24:24]line Товар: 4870202521186 [21:24:24]line Чай холодный MAXI черный со вкусом клубн [21:24:24]line 1.000 * 70.00 [21:24:24]line = 70.00 [21:24:24]line НДС 12% НСП 1% [21:24:24]line > о реализуемом товаре [21:24:24]line ИТОГО: 70.00 [21:24:24]line НСП 1% : 0.62 [21:24:24]line НДС 12% : 7.43 [21:24:24]line Наличными: 70.00 [21:24:24]line Безнал.: 0.00 [21:24:24]line Место: АЗС № 120 "Партнер Нефть" [21:24:24]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:24:24]line СНО: Общий режим [21:24:24]line Чек 82 19.06.2024 21:24 [21:24:24]line Смена: 324 ФФД: 1.0 [21:24:24]line ЗНМ: 0300000172 [21:24:24]line РНМ: 0000000000092786 [21:24:24]line Версия ККМ: 001 [21:24:24]line ФМ: 0000000000875095 [21:24:24]line ФД: 34378 [21:24:24]line ФПД: 99167402035516 [21:24:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T212424&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34378&fm=99167402035516&tin=02508201610067®Number=0000000000092786&sum=7000 [21:24:25]line 0 [21:24:25]OFD Sender: Processing packet 34378 [packets to send 8, broken 7] [21:24:25]ProducePacketName [21:24:25]name=ofd_packets/00034378 [21:24:25]OFD Sender: To server: pG, [21:24:25]CommunicateWithHost lk.salyk.kg:30040 [21:24:25]ConnectInit lk.salyk.kg [21:24:25]written 0, free lines is 4095 [21:24:25]Connected sock=7 [21:24:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4C 01 00 00 B9 8B 44 01 0D 3D 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 38 36 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 88 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4A 86 00 00 35 04 06 00 5A 31 35 C5 89 3C F1 4A A6 A5 C9 BB 8A 83 [21:24:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 3A ED 47 00 BB 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4A 86 00 00 F4 03 04 00 54 F3 72 66 B6 04 01 00 00 99 67 71 18 0B D5 AA CD [21:24:25]CommunicateWithHost err = 0 [21:24:25]CheckOFDResponse [21:24:25]1017 (14) - 77093643461234 [21:24:25]1041 (16) - 0000000000875095 [21:24:25]1040 (4) - 34378 [21:24:25]1012 (4) - 19.06.2024 15:03 [21:24:25]1206 (1) - 0 [21:24:25]OFD Sender: Remove packet 34378 [21:24:25]ProducePacketName [21:24:25]name=ofd_packets/00034378 [21:24:25]NVStorageDeleteData [21:24:25]Write to MH i2c: 01 00 00 B1 05 B6 [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: 01 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: 01 07 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: 01 07 00 B1 05 00 00 00 00 00 EC 0C B5 [21:24:25]RasterBufferAndPrint [21:24:25]line [21:24:25]line [21:24:25]line [21:24:25]line [21:24:25]line [21:24:25]written 0, free lines is 3314 [21:24:25]MH_Cut [21:24:25]Write to MH i2c: D1 01 00 B8 05 01 8F [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: D1 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: D1 01 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: D1 01 00 B8 05 00 8E [21:24:25]Write to MH i2c: 01 00 00 B9 05 BE [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:26]OFD Sender: No OFD packet to send [21:24:26]*** Cut start [21:24:26]*** Partial cut [21:24:26]*** CUTSNS_PIN = 1 [21:24:26]*** CUTSNS_PIN = 0 [21:24:26]*** Brake cut motor [21:24:27]Read from MH i2c: 01 [21:24:27]MH_I2C_Read... [21:24:27]*** Stop cut motor [21:24:27]*** Cut end [21:24:27]Read from MH i2c: 01 07 00 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: 01 07 00 B9 05 00 00 00 00 00 FF 0F D3 [21:24:27]process_action close_receipt done [21:24:27]requested_data is exist [21:24:27]produce_requested_data [21:24:27]requested_item fm.sn is exist - process it [21:24:27]wFMCommunicate request_size=4 [21:24:27]MH_SAM_APDU [21:24:27]CAPDU: 80 11 00 00 [21:24:27]Write to MH i2c: E2 08 00 BA 05 80 11 00 00 00 00 00 00 39 [21:24:27]Write i2c OK [21:24:27]MH_I2C_Read... [21:24:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:27]Read from MH i2c: E2 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 17 00 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 17 00 BA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 8E [21:24:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:24:27]wFMCommunicate OK [21:24:27]requested_item fd.num is exist - process it [21:24:27]SAM_PROTO_GetFieldsCounters [21:24:27]wFMCommunicate request_size=4 [21:24:27]MH_SAM_APDU [21:24:27]CAPDU: 80 13 00 00 [21:24:27]Write to MH i2c: E2 08 00 BB 05 80 13 00 00 00 00 00 00 3C [21:24:27]Write i2c OK [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 [21:24:27]MH_I2C_Read... [21:24:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:27]Read from MH i2c: E2 62 00 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 62 00 BB 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4A 86 00 00 0E 04 04 00 44 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 71 [21:24:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4A 86 00 00 0E 04 04 00 44 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 [21:24:27]wFMCommunicate OK [21:24:27]SAM_PROTO_GetFieldsCounters done [21:24:27]requested_item shift.num is exist - process it [21:24:27]requested_item shift.opened is exist - process it [21:24:27]req_shift_opened [21:24:27]FM_GetShiftState [21:24:27]SAM_PROTO_GetShiftState [21:24:27]wFMCommunicate request_size=4 [21:24:27]MH_SAM_APDU [21:24:27]CAPDU: 80 13 01 00 [21:24:27]Write to MH i2c: E2 08 00 BC 05 80 13 01 00 00 00 00 00 3E [21:24:27]Write i2c OK [21:24:27]MH_I2C_Read... [21:24:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:27]Read from MH i2c: E2 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 0E 00 [21:24:27]MH_I2C_Read... [21:24:27]Read from MH i2c: E2 0E 00 BC 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 14 [21:24:27]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:24:27]wFMCommunicate OK [21:24:27]SAM_PROTO_GetShiftState done [21:24:27]FM_GetShiftState done [21:24:27]req_shift_opened done [21:24:27]requested_item shift.open_date is exist - process it [21:24:27]req_shift_open_date [21:24:27]req_shift_open_date done [21:24:27]produce_requested_data done [21:24:27]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34378,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:24:27]process_action_free close_receipt [21:24:27]json_value_free [21:24:27]json_value_free done [21:24:27]process_json_proto returns [21:24:27]Send response to host [21:24:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34378,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:24:27]free response buf [21:24:27]execute_script done [21:24:27]execute_script returns [21:24:27]free content buf [21:24:27]Sock 9.Close socket [21:24:27]Sock 9.Thread stoped [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:47]accept exits with 10 [21:24:47]New connection [21:24:47]New thread 3067018596 created [21:24:47]Thread 3067161956 joined [21:24:47]Waiting for new connection... [21:24:47] Sock 10.Parse request [21:24:47]Sock 10.Check first char [21:24:47]Sock 10.First char is OK [21:24:47]request: POST /json_proto HTTP/1.0 [21:24:47]Method: POST [21:24:47]URL: /json_proto [21:24:47]Method is POST - this is cgi request [21:24:47]url: /json_proto [21:24:47]query_string will be loaded in cgi processing [21:24:47]execute_cgi json_proto POST (null) [21:24:47]execute_cgi path=json_proto method=POST [21:24:47]POST find Content-Length [21:24:47]Host: 172.17.38.134:8080 [21:24:47]Content-Length: 651 [21:24:47]Content-Type: application/json [21:24:47] [21:24:47]POST finish read [21:24:47]Found Content-Length = 651 [21:24:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184153", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "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" ] } } [21:24:47]execute_script... [21:24: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)184153", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "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" ] } } [21:24:47]POST & json_proto [21:24:47]process_json_proto [21:24:47]json parsed OK: [21:24:47]protocol is kg_v1.0 [21:24:47]action value=close_receipt [21:24:47]process_action close_receipt [21:24:47]cmd_close_receipt [21:24:47]MH_GetDate [21:24:47]Write to MH i2c: F0 00 00 BD 05 B1 [21:24:47]Write i2c OK [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: F0 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: F0 09 00 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: F0 09 00 BD 05 00 A0 4C 73 66 13 9C 7C 64 0E [21:24:47]GetLastDocTimeStamp 1718832264 [21:24:47]current date 1718832288 [21:24:47]FM_GetShiftState [21:24:47]SAM_PROTO_GetShiftState [21:24:47]wFMCommunicate request_size=4 [21:24:47]MH_SAM_APDU [21:24:47]CAPDU: 80 13 01 00 [21:24:47]Write to MH i2c: E2 08 00 BE 05 80 13 01 00 00 00 00 00 40 [21:24:47]Write i2c OK [21:24:47]MH_I2C_Read... [21:24:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:47]Read from MH i2c: E2 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: E2 0E 00 [21:24:47]MH_I2C_Read... [21:24:47]Read from MH i2c: E2 0E 00 BE 05 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 16 [21:24:47]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:24:47]wFMCommunicate OK [21:24:47]SAM_PROTO_GetShiftState done [21:24:47]FM_GetShiftState done [21:24:47]opened in 1718756813 [21:24:47]opened+sec_in_day 1718843213 [21:24:47]quantity*price = 19000 [21:24:47]sum+1 = 19001 [21:24:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 83 19.06.2024 21:24 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34379 ФПД: 23068734007048 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T212448&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34379&fm=23068734007048&tin=02508201610067®Number=0000000000092786&sum=19000 0 [21:24:48]StoreToDocumentArchive [21:24:48]shift 324 fd 34379 [21:24:48]save to /storage/0324/doc_00034379 [21:24:48]save last doc name /storage/0324/doc_00034379 to /storage/kkm_last_doc_name [21:24:48]save OK [21:24:48]Clear old archive folders... [21:24:48]ProcessDocumentItem done err = 0, tmpTLVsize=284 [21:24:48]tlvbuf is 0035B130 [21:24:48]SAM_PROTO_ClearQueue [21:24:48]wFMCommunicate request_size=4 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 09 00 00 [21:24:48]Write to MH i2c: E2 08 00 CB 05 80 09 00 00 00 00 00 00 42 [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 CB 05 00 90 00 44 [21:24:48]RAPDU: 90 00 [21:24:48]wFMCommunicate OK [21:24:48]SAM_PROTO_ClearQueue done [21:24:48]KKMCreateOFDPacket [21:24:48]OFDProtocolAddRootSTLVToBuf [21:24:48]FM_MakeSignedData [21:24:48]FM_MakeSignedData [21:24:48]SAM_PROTO_SignData [21:24:48]wFMCommunicate request_size=4 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 0D 01 02 [21:24:48]Write to MH i2c: E2 08 00 CC 05 80 0D 01 02 00 00 00 00 4A [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 CC 05 00 90 00 45 [21:24:48]RAPDU: 90 00 [21:24:48]wFMCommunicate OK [21:24:48]wFMCommunicate request_size=255 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 53 00 00 00 F4 03 04 00 A0 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [21:24:48]Write to MH i2c: E2 02 01 CD 05 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 53 00 00 00 F4 03 04 00 A0 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 E1 [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 CD 05 00 90 00 46 [21:24:48]RAPDU: 90 00 [21:24:48]wFMCommunicate OK [21:24:48]wFMCommunicate request_size=43 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4B 86 00 00 35 04 06 00 14 FB 1B B2 27 08 [21:24:48]Write to MH i2c: E2 2E 00 CE 05 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4B 86 00 00 35 04 06 00 14 FB 1B B2 27 08 00 00 13 [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 03 00 CE 05 00 90 00 47 [21:24:48]RAPDU: 90 00 [21:24:48]wFMCommunicate OK [21:24:48]wFMCommunicate request_size=4 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 0D 03 02 [21:24:48]Write to MH i2c: E2 08 00 CF 05 80 0D 03 02 00 00 00 00 4F [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 0B 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 0B 00 CF 05 00 C5 A9 7B BB C2 D3 19 94 90 00 36 [21:24:48]RAPDU: C5 A9 7B BB C2 D3 19 94 90 00 [21:24:48]wFMCommunicate OK [21:24:48]SAM_PROTO_SignData done [21:24:48]FM_MakeSignedData done [21:24:48]CreateOFDProtocolMessage [21:24:48]wFMCommunicate request_size=4 [21:24:48]MH_SAM_APDU [21:24:48]CAPDU: 80 11 00 00 [21:24:48]Write to MH i2c: E2 08 00 D0 05 80 11 00 00 00 00 00 00 4F [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:48]Read from MH i2c: E2 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 17 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: E2 17 00 D0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A4 [21:24:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:24:48]wFMCommunicate OK [21:24:48]CreateOFDProtocolMessage done [21:24:48]OFDSenderStorePacket 34379 [21:24:48]StoreOFDPacket docnum=34379 [21:24:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 2D F5 28 01 8B C1 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 53 00 00 00 F4 03 04 00 A0 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4B 86 00 00 35 04 06 00 14 FB 1B B2 27 08 C5 A9 7B BB C2 D3 19 94 [21:24:48]CheckFolder [21:24:48]dirname=/storage/ofd_packets [21:24:48]CheckFolder done [21:24:48]ProducePacketName [21:24:48]name=ofd_packets/00034379 [21:24:48]NVStorageSaveData ofd_packets/00034379 [21:24:48]File name is /storage/ofd_packets/00034379 [21:24:48]Write 334 bytes [21:24:48]NVStorageSaveData done [21:24:48]OFDSenderStorePacket done [21:24:48]KKMCreateOFDPacket done [21:24:48]NVStorageSaveData kkm_last_timestamp [21:24:48]File name is /storage/kkm_last_timestamp [21:24:48]Write 4 bytes [21:24:48]NVStorageSaveData done [21:24:48]ExternCall_PrintAddStr [21:24:48]wPrintStart [21:24:48]Write to MH i2c: 01 00 00 D1 05 D6 [21:24:48]Write i2c OK [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: 01 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: 01 07 00 [21:24:48]MH_I2C_Read... [21:24:48]Read from MH i2c: 01 07 00 D1 05 00 00 00 00 00 FF 0F EB [21:24:48]RasterBufferAndPrint [21:24:48]line Счет N : (3)184153 [21:24:48]line ИНН: 02508201610067 [21:24:48]line Контрольно-Кассовый Чек [21:24:48]line ПРОДАЖА [21:24:48]line Товар: 2000036190018 [21:24:48]line Кофе Американо XL(GABB TRADE) [21:24:48]line 2.000 * 95.00 [21:24:48]line = 190.00 [21:24:48]line НДС 12% НСП 1% [21:24:48]line > о реализуемом товаре [21:24:48]line ИТОГО: 190.00 [21:24:48]line НСП 1% : 1.68 [21:24:48]line НДС 12% : 20.18 [21:24:48]line Наличными: 190.00 [21:24:48]line Безнал.: 0.00 [21:24:48]line Место: АЗС № 120 "Партнер Нефть" [21:24:48]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:24:48]line СНО: Общий режим [21:24:48]line Чек 83 19.06.2024 21:24 [21:24:48]line Смена: 324 ФФД: 1.0 [21:24:48]line ЗНМ: 0300000172 [21:24:48]line РНМ: 0000000000092786 [21:24:48]line Версия ККМ: 001 [21:24:48]line ФМ: 0000000000875095 [21:24:48]line ФД: 34379 [21:24:48]line ФПД: 23068734007048 [21:24:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T212448&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34379&fm=23068734007048&tin=02508201610067®Number=0000000000092786&sum=19000 [21:24:49]line 0 [21:24:49]OFD Sender: Processing packet 34379 [packets to send 8, broken 7] [21:24:49]ProducePacketName [21:24:49]name=ofd_packets/00034379 [21:24:49]OFD Sender: To server: pG, [21:24:49]CommunicateWithHost lk.salyk.kg:30040 [21:24:49]ConnectInit lk.salyk.kg [21:24:49]written 0, free lines is 4095 [21:24:49]Connected sock=9 [21:24:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 2D F5 28 01 8B C1 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 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 53 00 00 00 F4 03 04 00 A0 4C 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4B 86 00 00 35 04 06 00 14 FB 1B B2 27 08 C5 A9 7B BB C2 D3 19 94 [21:24:49]Write to MH i2c: 01 00 00 FA 05 FF [21:24:49]Write i2c OK [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: 01 [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: 01 07 00 [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: 01 07 00 FA 05 00 00 00 00 00 F4 0C 06 [21:24:49]RasterBufferAndPrint [21:24:49]line [21:24:49]line [21:24:49]line [21:24:49]line [21:24:49]line [21:24:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 C3 21 47 00 0E 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4B 86 00 00 F4 03 04 00 6C F3 72 66 B6 04 01 00 00 72 BC 9F B2 AD C9 77 8B [21:24:49]CommunicateWithHost err = 0 [21:24:49]CheckOFDResponse [21:24:49]1017 (14) - 77093643461234 [21:24:49]1041 (16) - 0000000000875095 [21:24:49]1040 (4) - 34379 [21:24:49]1012 (4) - 19.06.2024 15:04 [21:24:49]1206 (1) - 0 [21:24:49]OFD Sender: Remove packet 34379 [21:24:49]ProducePacketName [21:24:49]name=ofd_packets/00034379 [21:24:49]NVStorageDeleteData [21:24:49]written 0, free lines is 3324 [21:24:49]MH_Cut [21:24:49]Write to MH i2c: D1 01 00 01 06 01 D9 [21:24:49]Write i2c OK [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: D1 [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: D1 01 00 [21:24:49]MH_I2C_Read... [21:24:49]Read from MH i2c: D1 01 00 01 06 00 D8 [21:24:49]Write to MH i2c: 01 00 00 02 06 08 [21:24:49]Write i2c OK [21:24:49]MH_I2C_Read... [21:24:50]OFD Sender: No OFD packet to send [21:24:50]*** Cut start [21:24:50]*** Partial cut [21:24:50]*** CUTSNS_PIN = 1 [21:24:50]*** CUTSNS_PIN = 0 [21:24:50]*** Brake cut motor [21:24:50]Read from MH i2c: 01 [21:24:50]MH_I2C_Read... [21:24:50]*** Stop cut motor [21:24:50]*** Cut end [21:24:50]Read from MH i2c: 01 07 00 [21:24:50]MH_I2C_Read... [21:24:50]Read from MH i2c: 01 07 00 02 06 00 00 00 00 00 FF 0F 1D [21:24:50]process_action close_receipt done [21:24:50]requested_data is exist [21:24:50]produce_requested_data [21:24:50]requested_item fm.sn is exist - process it [21:24:50]wFMCommunicate request_size=4 [21:24:50]MH_SAM_APDU [21:24:50]CAPDU: 80 11 00 00 [21:24:50]Write to MH i2c: E2 08 00 03 06 80 11 00 00 00 00 00 00 83 [21:24:50]Write i2c OK [21:24:50]MH_I2C_Read... [21:24:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:51]Read from MH i2c: E2 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 17 00 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 17 00 03 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D8 [21:24:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:24:51]wFMCommunicate OK [21:24:51]requested_item fd.num is exist - process it [21:24:51]SAM_PROTO_GetFieldsCounters [21:24:51]wFMCommunicate request_size=4 [21:24:51]MH_SAM_APDU [21:24:51]CAPDU: 80 13 00 00 [21:24:51]Write to MH i2c: E2 08 00 04 06 80 13 00 00 00 00 00 00 86 [21:24:51]Write i2c OK [21:24:51]MH_I2C_Read... [21:24:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:51]Read from MH i2c: E2 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 62 00 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 62 00 04 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4B 86 00 00 0E 04 04 00 44 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 BF [21:24:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4B 86 00 00 0E 04 04 00 44 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 [21:24:51]wFMCommunicate OK [21:24:51]SAM_PROTO_GetFieldsCounters done [21:24:51]requested_item shift.num is exist - process it [21:24:51]requested_item shift.opened is exist - process it [21:24:51]req_shift_opened [21:24:51]FM_GetShiftState [21:24:51]SAM_PROTO_GetShiftState [21:24:51]wFMCommunicate request_size=4 [21:24:51]MH_SAM_APDU [21:24:51]CAPDU: 80 13 01 00 [21:24:51]Write to MH i2c: E2 08 00 05 06 80 13 01 00 00 00 00 00 88 [21:24:51]Write i2c OK [21:24:51]MH_I2C_Read... [21:24:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:51]Read from MH i2c: E2 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 0E 00 [21:24:51]MH_I2C_Read... [21:24:51]Read from MH i2c: E2 0E 00 05 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 5E [21:24:51]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:24:51]wFMCommunicate OK [21:24:51]SAM_PROTO_GetShiftState done [21:24:51]FM_GetShiftState done [21:24:51]req_shift_opened done [21:24:51]requested_item shift.open_date is exist - process it [21:24:51]req_shift_open_date [21:24:51]req_shift_open_date done [21:24:51]produce_requested_data done [21:24:51]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34379,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:24:51]process_action_free close_receipt [21:24:51]json_value_free [21:24:51]json_value_free done [21:24:51]process_json_proto returns [21:24:51]Send response to host [21:24:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34379,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:24:51]free response buf [21:24:51]execute_script done [21:24:51]execute_script returns [21:24:51]free content buf [21:24:51]Sock 10.Close socket [21:24:51]Sock 10.Thread stoped [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:25]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:44]accept exits with 7 [21:43:44]New connection [21:43:44]New thread 3067161956 created [21:43:44]Thread 3067018596 joined [21:43:44]Waiting for new connection... [21:43:44] Sock 7.Parse request [21:43:44]Sock 7.Check first char [21:43:44]Sock 7.First char is OK [21:43:44]request: POST /json_proto HTTP/1.0 [21:43:44]Method: POST [21:43:44]URL: /json_proto [21:43:44]Method is POST - this is cgi request [21:43:44]url: /json_proto [21:43:44]query_string will be loaded in cgi processing [21:43:44]execute_cgi json_proto POST (null) [21:43:44]execute_cgi path=json_proto method=POST [21:43:44]POST find Content-Length [21:43:44]Host: 172.17.38.134:8080 [21:43:44]Content-Length: 928 [21:43:44]Content-Type: application/json [21:43:44] [21:43:44]POST finish read [21:43:44]Found Content-Length = 928 [21:43:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184154", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:43:44]execute_script... [21:43: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)184154", "tax_sys" : 0, "items" : [ { "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:43:44]POST & json_proto [21:43:44]process_json_proto [21:43:44]json parsed OK: [21:43:44]protocol is kg_v1.0 [21:43:44]action value=close_receipt [21:43:44]process_action close_receipt [21:43:44]cmd_close_receipt [21:43:44]MH_GetDate [21:43:44]Write to MH i2c: F0 00 00 06 06 FB [21:43:44]Write i2c OK [21:43:44]MH_I2C_Read... [21:43:44]Read from MH i2c: F0 [21:43:44]MH_I2C_Read... [21:43:44]Read from MH i2c: F0 09 00 [21:43:44]MH_I2C_Read... [21:43:44]Read from MH i2c: F0 09 00 06 06 00 12 51 73 66 13 9C 7C 64 CF [21:43:44]GetLastDocTimeStamp 1718832288 [21:43:44]current date 1718833426 [21:43:44]FM_GetShiftState [21:43:44]SAM_PROTO_GetShiftState [21:43:44]wFMCommunicate request_size=4 [21:43:44]MH_SAM_APDU [21:43:44]CAPDU: 80 13 01 00 [21:43:44]Write to MH i2c: E2 08 00 07 06 80 13 01 00 00 00 00 00 8A [21:43:44]Write i2c OK [21:43:44]MH_I2C_Read... [21:43:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:44]Read from MH i2c: E2 [21:43:44]MH_I2C_Read... [21:43:44]Read from MH i2c: E2 0E 00 [21:43:44]MH_I2C_Read... [21:43:44]Read from MH i2c: E2 0E 00 07 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 60 [21:43:44]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:43:44]wFMCommunicate OK [21:43:44]SAM_PROTO_GetShiftState done [21:43:44]FM_GetShiftState done [21:43:44]opened in 1718756813 [21:43:44]opened+sec_in_day 1718843213 [21:43:44]quantity*price = 17500 [21:43:44]sum+1 = 17501 [21:43:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521261 Напиток MAXI чай 1,2 лесные ягоды 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 84 19.06.2024 21:43 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34380 ФПД: 178699498988845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T214346&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34380&fm=178699498988845&tin=02508201610067®Number=0000000000092786&sum=28800 0 [21:43:45]StoreToDocumentArchive [21:43:45]shift 324 fd 34380 [21:43:45]save to /storage/0324/doc_00034380 [21:43:45]save last doc name /storage/0324/doc_00034380 to /storage/kkm_last_doc_name [21:43:45]save OK [21:43:45]Clear old archive folders... [21:43:45]ProcessDocumentItem done err = 0, tmpTLVsize=394 [21:43:45]tlvbuf is 0035BDA0 [21:43:45]SAM_PROTO_ClearQueue [21:43:45]wFMCommunicate request_size=4 [21:43:45]MH_SAM_APDU [21:43:45]CAPDU: 80 09 00 00 [21:43:45]Write to MH i2c: E2 08 00 14 06 80 09 00 00 00 00 00 00 8C [21:43:45]Write i2c OK [21:43:45]MH_I2C_Read... [21:43:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:43:45]Read from MH i2c: E2 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 14 06 00 90 00 8E [21:43:45]RAPDU: 90 00 [21:43:45]wFMCommunicate OK [21:43:45]SAM_PROTO_ClearQueue done [21:43:45]KKMCreateOFDPacket [21:43:45]OFDProtocolAddRootSTLVToBuf [21:43:45]FM_MakeSignedData [21:43:45]FM_MakeSignedData [21:43:45]SAM_PROTO_SignData [21:43:45]wFMCommunicate request_size=4 [21:43:45]MH_SAM_APDU [21:43:45]CAPDU: 80 0D 01 02 [21:43:45]Write to MH i2c: E2 08 00 15 06 80 0D 01 02 00 00 00 00 94 [21:43:45]Write i2c OK [21:43:45]MH_I2C_Read... [21:43:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:43:45]Read from MH i2c: E2 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 15 06 00 90 00 8F [21:43:45]RAPDU: 90 00 [21:43:45]wFMCommunicate OK [21:43:45]wFMCommunicate request_size=255 [21:43:45]MH_SAM_APDU [21:43:45]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F [21:43:45]Write to MH i2c: E2 02 01 16 06 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 55 [21:43:45]Write i2c OK [21:43:45]MH_I2C_Read... [21:43:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:45]Read from MH i2c: E2 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 [21:43:45]MH_I2C_Read... [21:43:45]Read from MH i2c: E2 03 00 16 06 00 90 00 90 [21:43:45]RAPDU: 90 00 [21:43:45]wFMCommunicate OK [21:43:45]wFMCommunicate request_size=153 [21:43:45]MH_SAM_APDU [21:43:45]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 12 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4C 86 00 00 35 04 06 00 A2 86 B8 28 A5 2D [21:43:45]Write to MH i2c: E2 9C 00 17 06 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 12 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4C 86 00 00 35 04 06 00 A2 86 B8 28 A5 2D 00 00 5D [21:43:45]Write i2c OK [21:43:45]MH_I2C_Read... [21:43:46]OFD Sender: No OFD packet to send [21:43:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:43:46]Read from MH i2c: E2 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 03 00 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 03 00 17 06 00 90 00 91 [21:43:46]RAPDU: 90 00 [21:43:46]wFMCommunicate OK [21:43:46]wFMCommunicate request_size=4 [21:43:46]MH_SAM_APDU [21:43:46]CAPDU: 80 0D 03 02 [21:43:46]Write to MH i2c: E2 08 00 18 06 80 0D 03 02 00 00 00 00 99 [21:43:46]Write i2c OK [21:43:46]MH_I2C_Read... [21:43:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:43:46]Read from MH i2c: E2 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 0B 00 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 0B 00 18 06 00 46 99 D3 2C 75 04 D9 D2 90 00 9C [21:43:46]RAPDU: 46 99 D3 2C 75 04 D9 D2 90 00 [21:43:46]wFMCommunicate OK [21:43:46]SAM_PROTO_SignData done [21:43:46]FM_MakeSignedData done [21:43:46]CreateOFDProtocolMessage [21:43:46]wFMCommunicate request_size=4 [21:43:46]MH_SAM_APDU [21:43:46]CAPDU: 80 11 00 00 [21:43:46]Write to MH i2c: E2 08 00 19 06 80 11 00 00 00 00 00 00 99 [21:43:46]Write i2c OK [21:43:46]MH_I2C_Read... [21:43:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:46]Read from MH i2c: E2 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 17 00 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: E2 17 00 19 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 EE [21:43:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:43:46]wFMCommunicate OK [21:43:46]CreateOFDProtocolMessage done [21:43:46]OFDSenderStorePacket 34380 [21:43:46]StoreOFDPacket docnum=34380 [21:43:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9E 01 00 00 62 9F 96 01 F1 B7 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 12 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4C 86 00 00 35 04 06 00 A2 86 B8 28 A5 2D 46 99 D3 2C 75 04 D9 D2 [21:43:46]CheckFolder [21:43:46]dirname=/storage/ofd_packets [21:43:46]CheckFolder done [21:43:46]ProducePacketName [21:43:46]name=ofd_packets/00034380 [21:43:46]NVStorageSaveData ofd_packets/00034380 [21:43:46]File name is /storage/ofd_packets/00034380 [21:43:46]Write 444 bytes [21:43:46]NVStorageSaveData done [21:43:46]OFDSenderStorePacket done [21:43:46]KKMCreateOFDPacket done [21:43:46]NVStorageSaveData kkm_last_timestamp [21:43:46]File name is /storage/kkm_last_timestamp [21:43:46]Write 4 bytes [21:43:46]NVStorageSaveData done [21:43:46]ExternCall_PrintAddStr [21:43:46]wPrintStart [21:43:46]Write to MH i2c: 01 00 00 1A 06 20 [21:43:46]Write i2c OK [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: 01 [21:43:46]MH_I2C_Read... [21:43:46]OFD Sender: Processing packet 34380 [packets to send 8, broken 7] [21:43:46]ProducePacketName [21:43:46]name=ofd_packets/00034380 [21:43:46]OFD Sender: To server: pG, [21:43:46]CommunicateWithHost lk.salyk.kg:30040 [21:43:46]ConnectInit lk.salyk.kg [21:43:46]Read from MH i2c: 01 07 00 [21:43:46]MH_I2C_Read... [21:43:46]Read from MH i2c: 01 07 00 1A 06 00 00 00 00 00 FF 0F 35 [21:43:46]RasterBufferAndPrint [21:43:46]line Счет N : (3)184154 [21:43:46]line ИНН: 02508201610067 [21:43:46]line Контрольно-Кассовый Чек [21:43:46]line ПРОДАЖА [21:43:46]line Товар: 4870002329487 [21:43:46]line Напиток Pepsi 1,5л [21:43:46]line 1.000 * 175.00 [21:43:46]line = 175.00 [21:43:46]line НДС 12% НСП 1% [21:43:46]line > о реализуемом товаре [21:43:46]line Товар: 4870202521261 [21:43:46]line Напиток MAXI чай 1,2 лесные ягоды [21:43:46]line 1.000 * 113.00 [21:43:46]line = 113.00 [21:43:46]line НДС 12% НСП 1% [21:43:46]line > о реализуемом товаре [21:43:46]line ИТОГО: 288.00 [21:43:46]line НСП 1% : 2.55 [21:43:46]line НДС 12% : 30.58 [21:43:46]line Наличными: 288.00 [21:43:46]line Безнал.: 0.00 [21:43:46]line Место: АЗС № 120 "Партнер Нефть" [21:43:46]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:43:46]line СНО: Общий режим [21:43:46]line Чек 84 19.06.2024 21:43 [21:43:46]line Смена: 324 ФФД: 1.0 [21:43:46]line ЗНМ: 0300000172 [21:43:46]line РНМ: 0000000000092786 [21:43:46]line Версия ККМ: 001 [21:43:46]line ФМ: 0000000000875095 [21:43:46]line ФД: 34380 [21:43:46]line ФПД: 178699498988845 [21:43:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T214346&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34380&fm=178699498988845&tin=02508201610067®Number=0000000000092786&sum=28800 [21:43:46]line 0 [21:43:46]written 0, free lines is 4095 [21:43:46]Connected sock=10 [21:43:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 9E 01 00 00 62 9F 96 01 F1 B7 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 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 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 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 12 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4C 86 00 00 35 04 06 00 A2 86 B8 28 A5 2D 46 99 D3 2C 75 04 D9 D2 [21:43:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 EC 08 47 00 9B 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 38 37 35 30 39 35 10 04 04 00 4C 86 00 00 F4 03 04 00 DD F7 72 66 B6 04 01 00 00 62 3A A5 88 5D AC 15 5D [21:43:47]CommunicateWithHost err = 0 [21:43:47]CheckOFDResponse [21:43:47]1017 (14) - 77093643461234 [21:43:47]1041 (16) - 0000000000875095 [21:43:47]1040 (4) - 34380 [21:43:47]1012 (4) - 19.06.2024 15:23 [21:43:47]1206 (1) - 0 [21:43:47]OFD Sender: Remove packet 34380 [21:43:47]ProducePacketName [21:43:47]name=ofd_packets/00034380 [21:43:47]NVStorageDeleteData [21:43:47]Write to MH i2c: 01 00 00 49 06 4F [21:43:47]Write i2c OK [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: 01 [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: 01 07 00 [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: 01 07 00 49 06 00 00 00 00 00 A0 0C 02 [21:43:47]RasterBufferAndPrint [21:43:47]line [21:43:47]line [21:43:47]line [21:43:47]line [21:43:47]line [21:43:47]written 0, free lines is 3239 [21:43:47]MH_Cut [21:43:47]Write to MH i2c: D1 01 00 50 06 01 28 [21:43:47]Write i2c OK [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: D1 [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: D1 01 00 [21:43:47]MH_I2C_Read... [21:43:47]Read from MH i2c: D1 01 00 50 06 00 27 [21:43:47]Write to MH i2c: 01 00 00 51 06 57 [21:43:47]Write i2c OK [21:43:47]MH_I2C_Read... [21:43:47]OFD Sender: No OFD packet to send [21:43:47]*** Cut start [21:43:47]*** Partial cut [21:43:47]*** CUTSNS_PIN = 1 [21:43:47]*** CUTSNS_PIN = 0 [21:43:48]*** Brake cut motor [21:43:48]Read from MH i2c: 01 [21:43:48]MH_I2C_Read... [21:43:48]*** Stop cut motor [21:43:48]*** Cut end [21:43:48]Read from MH i2c: 01 07 00 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: 01 07 00 51 06 00 00 00 00 00 FF 0F 6C [21:43:48]process_action close_receipt done [21:43:48]requested_data is exist [21:43:48]produce_requested_data [21:43:48]requested_item fm.sn is exist - process it [21:43:48]wFMCommunicate request_size=4 [21:43:48]MH_SAM_APDU [21:43:48]CAPDU: 80 11 00 00 [21:43:48]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [21:43:48]Write i2c OK [21:43:48]MH_I2C_Read... [21:43:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:43:48]Read from MH i2c: E2 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 17 00 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 27 [21:43:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:43:48]wFMCommunicate OK [21:43:48]requested_item fd.num is exist - process it [21:43:48]SAM_PROTO_GetFieldsCounters [21:43:48]wFMCommunicate request_size=4 [21:43:48]MH_SAM_APDU [21:43:48]CAPDU: 80 13 00 00 [21:43:48]Write to MH i2c: E2 08 00 53 06 80 13 00 00 00 00 00 00 D5 [21:43:48]Write i2c OK [21:43:48]MH_I2C_Read... [21:43:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:43:48]Read from MH i2c: E2 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 62 00 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 62 00 53 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4C 86 00 00 0E 04 04 00 44 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 12 [21:43:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4C 86 00 00 0E 04 04 00 44 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 [21:43:48]wFMCommunicate OK [21:43:48]SAM_PROTO_GetFieldsCounters done [21:43:48]requested_item shift.num is exist - process it [21:43:48]requested_item shift.opened is exist - process it [21:43:48]req_shift_opened [21:43:48]FM_GetShiftState [21:43:48]SAM_PROTO_GetShiftState [21:43:48]wFMCommunicate request_size=4 [21:43:48]MH_SAM_APDU [21:43:48]CAPDU: 80 13 01 00 [21:43:48]Write to MH i2c: E2 08 00 54 06 80 13 01 00 00 00 00 00 D7 [21:43:48]Write i2c OK [21:43:48]MH_I2C_Read... [21:43:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:43:48]Read from MH i2c: E2 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 0E 00 [21:43:48]MH_I2C_Read... [21:43:48]Read from MH i2c: E2 0E 00 54 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AD [21:43:48]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:43:48]wFMCommunicate OK [21:43:48]SAM_PROTO_GetShiftState done [21:43:48]FM_GetShiftState done [21:43:48]req_shift_opened done [21:43:48]requested_item shift.open_date is exist - process it [21:43:48]req_shift_open_date [21:43:48]req_shift_open_date done [21:43:48]produce_requested_data done [21:43:48]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34380,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:43:48]process_action_free close_receipt [21:43:48]json_value_free [21:43:48]json_value_free done [21:43:48]process_json_proto returns [21:43:48]Send response to host [21:43:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34380,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:43:48]free response buf [21:43:48]execute_script done [21:43:48]execute_script returns [21:43:48]free content buf [21:43:48]Sock 7.Close socket [21:43:48]Sock 7.Thread stoped [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:19]accept exits with 9 [21:46:19]New connection [21:46:19]New thread 3067018596 created [21:46:19]Thread 3067161956 joined [21:46:19]Waiting for new connection... [21:46:19] Sock 9.Parse request [21:46:19]Sock 9.Check first char [21:46:19]Sock 9.First char is OK [21:46:19]request: POST /json_proto HTTP/1.0 [21:46:19]Method: POST [21:46:19]URL: /json_proto [21:46:19]Method is POST - this is cgi request [21:46:19]url: /json_proto [21:46:19]query_string will be loaded in cgi processing [21:46:19]execute_cgi json_proto POST (null) [21:46:19]execute_cgi path=json_proto method=POST [21:46:19]POST find Content-Length [21:46:19]Host: 172.17.38.134:8080 [21:46:19]Content-Length: 901 [21:46:19]Content-Type: application/json [21:46:19] [21:46:19]POST finish read [21:46:19]Found Content-Length = 901 [21:46:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184155", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:46:19]execute_script... [21:46: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)184155", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:46:19]POST & json_proto [21:46:19]process_json_proto [21:46:19]json parsed OK: [21:46:19]protocol is kg_v1.0 [21:46:19]action value=close_receipt [21:46:19]process_action close_receipt [21:46:19]cmd_close_receipt [21:46:19]MH_GetDate [21:46:19]Write to MH i2c: F0 00 00 55 06 4A [21:46:19]Write i2c OK [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: F0 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: F0 09 00 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: F0 09 00 55 06 00 AC 51 73 66 13 9C 7C 64 B8 [21:46:19]GetLastDocTimeStamp 1718833426 [21:46:19]current date 1718833580 [21:46:19]FM_GetShiftState [21:46:19]SAM_PROTO_GetShiftState [21:46:19]wFMCommunicate request_size=4 [21:46:19]MH_SAM_APDU [21:46:19]CAPDU: 80 13 01 00 [21:46:19]Write to MH i2c: E2 08 00 56 06 80 13 01 00 00 00 00 00 D9 [21:46:19]Write i2c OK [21:46:19]MH_I2C_Read... [21:46:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:19]Read from MH i2c: E2 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 0E 00 [21:46:19]MH_I2C_Read... [21:46:19]Read from MH i2c: E2 0E 00 56 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 AF [21:46:19]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:46:19]wFMCommunicate OK [21:46:19]SAM_PROTO_GetShiftState done [21:46:19]FM_GetShiftState done [21:46:19]opened in 1718756813 [21:46:19]opened+sec_in_day 1718843213 [21:46:19]quantity*price = 9500 [21:46:19]sum+1 = 9501 [21:46:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 85 19.06.2024 21:46 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34381 ФПД: 115350657579293 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T214620&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34381&fm=115350657579293&tin=02508201610067®Number=0000000000092786&sum=9500 0 [21:46:20]StoreToDocumentArchive [21:46:20]shift 324 fd 34381 [21:46:20]save to /storage/0324/doc_00034381 [21:46:20]save last doc name /storage/0324/doc_00034381 to /storage/kkm_last_doc_name [21:46:20]save OK [21:46:20]Clear old archive folders... [21:46:20]ProcessDocumentItem done err = 0, tmpTLVsize=311 [21:46:20]tlvbuf is 0035FB20 [21:46:20]SAM_PROTO_ClearQueue [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 09 00 00 [21:46:20]Write to MH i2c: E2 08 00 63 06 80 09 00 00 00 00 00 00 DB [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 63 06 00 90 00 DD [21:46:20]RAPDU: 90 00 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_ClearQueue done [21:46:20]KKMCreateOFDPacket [21:46:20]OFDProtocolAddRootSTLVToBuf [21:46:20]FM_MakeSignedData [21:46:20]FM_MakeSignedData [21:46:20]SAM_PROTO_SignData [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 0D 01 02 [21:46:20]Write to MH i2c: E2 08 00 64 06 80 0D 01 02 00 00 00 00 E3 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 64 06 00 90 00 DE [21:46:20]RAPDU: 90 00 [21:46:20]wFMCommunicate OK [21:46:20]wFMCommunicate request_size=255 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 AC 51 73 66 0E 04 04 00 44 01 [21:46:20]Write to MH i2c: E2 02 01 65 06 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 AC 51 73 66 0E 04 04 00 44 01 00 00 DE [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 65 06 00 90 00 DF [21:46:20]RAPDU: 90 00 [21:46:20]wFMCommunicate OK [21:46:20]wFMCommunicate request_size=70 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4D 86 00 00 35 04 06 00 68 E9 2A F8 39 1D [21:46:20]Write to MH i2c: E2 49 00 66 06 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4D 86 00 00 35 04 06 00 68 E9 2A F8 39 1D 00 00 A2 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 03 00 66 06 00 90 00 E0 [21:46:20]RAPDU: 90 00 [21:46:20]wFMCommunicate OK [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 0D 03 02 [21:46:20]Write to MH i2c: E2 08 00 67 06 80 0D 03 02 00 00 00 00 E8 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 0B 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 0B 00 67 06 00 68 87 E8 22 AD 39 1E 5A 90 00 40 [21:46:20]RAPDU: 68 87 E8 22 AD 39 1E 5A 90 00 [21:46:20]wFMCommunicate OK [21:46:20]SAM_PROTO_SignData done [21:46:20]FM_MakeSignedData done [21:46:20]CreateOFDProtocolMessage [21:46:20]wFMCommunicate request_size=4 [21:46:20]MH_SAM_APDU [21:46:20]CAPDU: 80 11 00 00 [21:46:20]Write to MH i2c: E2 08 00 68 06 80 11 00 00 00 00 00 00 E8 [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:46:20]Read from MH i2c: E2 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 17 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: E2 17 00 68 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 3D [21:46:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:46:20]wFMCommunicate OK [21:46:20]CreateOFDProtocolMessage done [21:46:20]OFDSenderStorePacket 34381 [21:46:20]StoreOFDPacket docnum=34381 [21:46:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 63 18 43 01 A3 76 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 AC 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4D 86 00 00 35 04 06 00 68 E9 2A F8 39 1D 68 87 E8 22 AD 39 1E 5A [21:46:20]CheckFolder [21:46:20]dirname=/storage/ofd_packets [21:46:20]CheckFolder done [21:46:20]ProducePacketName [21:46:20]name=ofd_packets/00034381 [21:46:20]NVStorageSaveData ofd_packets/00034381 [21:46:20]File name is /storage/ofd_packets/00034381 [21:46:20]Write 361 bytes [21:46:20]NVStorageSaveData done [21:46:20]OFDSenderStorePacket done [21:46:20]KKMCreateOFDPacket done [21:46:20]NVStorageSaveData kkm_last_timestamp [21:46:20]File name is /storage/kkm_last_timestamp [21:46:20]Write 4 bytes [21:46:20]NVStorageSaveData done [21:46:20]ExternCall_PrintAddStr [21:46:20]wPrintStart [21:46:20]Write to MH i2c: 01 00 00 69 06 6F [21:46:20]Write i2c OK [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: 01 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: 01 07 00 [21:46:20]MH_I2C_Read... [21:46:20]Read from MH i2c: 01 07 00 69 06 00 00 00 00 00 FF 0F 84 [21:46:20]RasterBufferAndPrint [21:46:20]line Счет N : (3)184155 [21:46:20]line ИНН: 02508201610067 [21:46:20]line Контрольно-Кассовый Чек [21:46:20]line ПРОДАЖА [21:46:20]line Товар: 4700000481972 [21:46:20]line Напиток энерг Nitro грейпфрут-маракуйя 0 [21:46:20]line 1.000 * 95.00 [21:46:20]line = 95.00 [21:46:20]line НДС 12% НСП 1% [21:46:20]line > о реализуемом товаре [21:46:20]line ИТОГО: 95.00 [21:46:20]line НСП 1% : 0.84 [21:46:20]line НДС 12% : 10.09 [21:46:20]line Наличными: 0.00 [21:46:20]line Безнал.: 95.00 [21:46:20]line Место: АЗС № 120 "Партнер Нефть" [21:46:20]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:46:20]line СНО: Общий режим [21:46:20]line Чек 85 19.06.2024 21:46 [21:46:20]line Смена: 324 ФФД: 1.0 [21:46:20]line ЗНМ: 0300000172 [21:46:20]line РНМ: 0000000000092786 [21:46:20]line Версия ККМ: 001 [21:46:20]line Платежная система: O! деньги [21:46:20]line ФМ: 0000000000875095 [21:46:20]line ФД: 34381 [21:46:20]line ФПД: 115350657579293 [21:46:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T214620&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34381&fm=115350657579293&tin=02508201610067®Number=0000000000092786&sum=9500 [21:46:21]line 0 [21:46:21]OFD Sender: Processing packet 34381 [packets to send 8, broken 7] [21:46:21]ProducePacketName [21:46:21]name=ofd_packets/00034381 [21:46:21]OFD Sender: To server: pG, [21:46:21]CommunicateWithHost lk.salyk.kg:30040 [21:46:21]ConnectInit lk.salyk.kg [21:46:21]written 0, free lines is 4095 [21:46:21]Connected sock=10 [21:46:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4B 01 00 00 63 18 43 01 A3 76 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 AC 51 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4D 86 00 00 35 04 06 00 68 E9 2A F8 39 1D 68 87 E8 22 AD 39 1E 5A [21:46:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 75 86 47 00 C1 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 38 37 35 30 39 35 10 04 04 00 4D 86 00 00 F4 03 04 00 78 F8 72 66 B6 04 01 00 00 F8 07 6F 88 1A C4 E0 96 [21:46:21]CommunicateWithHost err = 0 [21:46:21]CheckOFDResponse [21:46:21]1017 (14) - 77093643461234 [21:46:21]1041 (16) - 0000000000875095 [21:46:21]1040 (4) - 34381 [21:46:21]1012 (4) - 19.06.2024 15:25 [21:46:21]1206 (1) - 0 [21:46:21]OFD Sender: Remove packet 34381 [21:46:21]ProducePacketName [21:46:21]name=ofd_packets/00034381 [21:46:21]NVStorageDeleteData [21:46:21]Write to MH i2c: 01 00 00 94 06 9A [21:46:21]Write i2c OK [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: 01 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: 01 07 00 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: 01 07 00 94 06 00 00 00 00 00 CB 0C 78 [21:46:21]RasterBufferAndPrint [21:46:21]line [21:46:21]line [21:46:21]line [21:46:21]line [21:46:21]line [21:46:21]written 0, free lines is 3282 [21:46:21]MH_Cut [21:46:21]Write to MH i2c: D1 01 00 9B 06 01 73 [21:46:21]Write i2c OK [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: D1 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: D1 01 00 [21:46:21]MH_I2C_Read... [21:46:21]Read from MH i2c: D1 01 00 9B 06 00 72 [21:46:21]Write to MH i2c: 01 00 00 9C 06 A2 [21:46:21]Write i2c OK [21:46:21]MH_I2C_Read... [21:46:22]OFD Sender: No OFD packet to send [21:46:22]*** Cut start [21:46:22]*** Partial cut [21:46:22]*** CUTSNS_PIN = 1 [21:46:22]*** CUTSNS_PIN = 0 [21:46:22]*** Brake cut motor [21:46:23]Read from MH i2c: 01 [21:46:23]MH_I2C_Read... [21:46:23]*** Stop cut motor [21:46:23]*** Cut end [21:46:23]Read from MH i2c: 01 07 00 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: 01 07 00 9C 06 00 00 00 00 00 FF 0F B7 [21:46:23]process_action close_receipt done [21:46:23]requested_data is exist [21:46:23]produce_requested_data [21:46:23]requested_item fm.sn is exist - process it [21:46:23]wFMCommunicate request_size=4 [21:46:23]MH_SAM_APDU [21:46:23]CAPDU: 80 11 00 00 [21:46:23]Write to MH i2c: E2 08 00 9D 06 80 11 00 00 00 00 00 00 1D [21:46:23]Write i2c OK [21:46:23]MH_I2C_Read... [21:46:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:46:23]Read from MH i2c: E2 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 17 00 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 17 00 9D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 72 [21:46:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:46:23]wFMCommunicate OK [21:46:23]requested_item fd.num is exist - process it [21:46:23]SAM_PROTO_GetFieldsCounters [21:46:23]wFMCommunicate request_size=4 [21:46:23]MH_SAM_APDU [21:46:23]CAPDU: 80 13 00 00 [21:46:23]Write to MH i2c: E2 08 00 9E 06 80 13 00 00 00 00 00 00 20 [21:46:23]Write i2c OK [21:46:23]MH_I2C_Read... [21:46:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:46:23]Read from MH i2c: E2 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 62 00 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 62 00 9E 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4D 86 00 00 0E 04 04 00 44 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 61 [21:46:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4D 86 00 00 0E 04 04 00 44 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 [21:46:23]wFMCommunicate OK [21:46:23]SAM_PROTO_GetFieldsCounters done [21:46:23]requested_item shift.num is exist - process it [21:46:23]requested_item shift.opened is exist - process it [21:46:23]req_shift_opened [21:46:23]FM_GetShiftState [21:46:23]SAM_PROTO_GetShiftState [21:46:23]wFMCommunicate request_size=4 [21:46:23]MH_SAM_APDU [21:46:23]CAPDU: 80 13 01 00 [21:46:23]Write to MH i2c: E2 08 00 9F 06 80 13 01 00 00 00 00 00 22 [21:46:23]Write i2c OK [21:46:23]MH_I2C_Read... [21:46:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:46:23]Read from MH i2c: E2 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 0E 00 [21:46:23]MH_I2C_Read... [21:46:23]Read from MH i2c: E2 0E 00 9F 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 F8 [21:46:23]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:46:23]wFMCommunicate OK [21:46:23]SAM_PROTO_GetShiftState done [21:46:23]FM_GetShiftState done [21:46:23]req_shift_opened done [21:46:23]requested_item shift.open_date is exist - process it [21:46:23]req_shift_open_date [21:46:23]req_shift_open_date done [21:46:23]produce_requested_data done [21:46:23]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34381,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:46:23]process_action_free close_receipt [21:46:23]json_value_free [21:46:23]json_value_free done [21:46:23]process_json_proto returns [21:46:23]Send response to host [21:46:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34381,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:46:23]free response buf [21:46:23]execute_script done [21:46:23]execute_script returns [21:46:23]free content buf [21:46:23]Sock 9.Close socket [21:46:23]Sock 9.Thread stoped [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:50]accept exits with 7 [21:53:50]New connection [21:53:50]New thread 3067161956 created [21:53:50]Thread 3067018596 joined [21:53:50]Waiting for new connection... [21:53:50] Sock 7.Parse request [21:53:50]Sock 7.Check first char [21:53:50]Sock 7.First char is OK [21:53:50]request: POST /json_proto HTTP/1.0 [21:53:50]Method: POST [21:53:50]URL: /json_proto [21:53:50]Method is POST - this is cgi request [21:53:50]url: /json_proto [21:53:50]query_string will be loaded in cgi processing [21:53:50]execute_cgi json_proto POST (null) [21:53:50]execute_cgi path=json_proto method=POST [21:53:50]POST find Content-Length [21:53:50]Host: 172.17.38.134:8080 [21:53:50]Content-Length: 829 [21:53:50]Content-Type: application/json [21:53:50] [21:53:50]POST finish read [21:53:50]Found Content-Length = 829 [21:53:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184156", "tax_sys" : 0, "items" : [ { "code": "4603290004848", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u0441\u043B.\u0432\u043A", "price" : 83.00, "quantity" : 1.000, "sum" : 83.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:50]execute_script... [21:53: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)184156", "tax_sys" : 0, "items" : [ { "code": "4603290004848", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A-\u0441\u043B.\u0432\u043A", "price" : 83.00, "quantity" : 1.000, "sum" : 83.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 83.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:50]POST & json_proto [21:53:50]process_json_proto [21:53:50]json parsed OK: [21:53:50]protocol is kg_v1.0 [21:53:50]action value=close_receipt [21:53:50]process_action close_receipt [21:53:50]cmd_close_receipt [21:53:50]MH_GetDate [21:53:50]Write to MH i2c: F0 00 00 A0 06 95 [21:53:50]Write i2c OK [21:53:50]MH_I2C_Read... [21:53:50]Read from MH i2c: F0 [21:53:50]MH_I2C_Read... [21:53:50]Read from MH i2c: F0 09 00 [21:53:50]MH_I2C_Read... [21:53:50]Read from MH i2c: F0 09 00 A0 06 00 6F 53 73 66 13 9C 7C 64 C8 [21:53:50]GetLastDocTimeStamp 1718833580 [21:53:50]current date 1718834031 [21:53:50]FM_GetShiftState [21:53:50]SAM_PROTO_GetShiftState [21:53:50]wFMCommunicate request_size=4 [21:53:50]MH_SAM_APDU [21:53:50]CAPDU: 80 13 01 00 [21:53:50]Write to MH i2c: E2 08 00 A1 06 80 13 01 00 00 00 00 00 24 [21:53:50]Write i2c OK [21:53:50]MH_I2C_Read... [21:53:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:50]Read from MH i2c: E2 [21:53:50]MH_I2C_Read... [21:53:50]Read from MH i2c: E2 0E 00 [21:53:50]MH_I2C_Read... [21:53:50]Read from MH i2c: E2 0E 00 A1 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 FA [21:53:50]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:53:50]wFMCommunicate OK [21:53:50]SAM_PROTO_GetShiftState done [21:53:50]FM_GetShiftState done [21:53:50]opened in 1718756813 [21:53:50]opened+sec_in_day 1718843213 [21:53:50]quantity*price = 8300 [21:53:50]sum+1 = 8301 [21:53:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 83.00 НСП 1% : 0.73 НДС 12% : 8.81 Наличными: 0.00 Безнал.: 83.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 86 19.06.2024 21:53 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34382 ФПД: 237663784771603 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T215351&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34382&fm=237663784771603&tin=02508201610067®Number=0000000000092786&sum=8300 0 [21:53:51]StoreToDocumentArchive [21:53:51]shift 324 fd 34382 [21:53:51]save to /storage/0324/doc_00034382 [21:53:51]save last doc name /storage/0324/doc_00034382 to /storage/kkm_last_doc_name [21:53:51]save OK [21:53:51]Clear old archive folders... [21:53:51]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:53:51]tlvbuf is 0041B530 [21:53:51]SAM_PROTO_ClearQueue [21:53:51]wFMCommunicate request_size=4 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 09 00 00 [21:53:51]Write to MH i2c: E2 08 00 AE 06 80 09 00 00 00 00 00 00 26 [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 AE 06 00 90 00 28 [21:53:51]RAPDU: 90 00 [21:53:51]wFMCommunicate OK [21:53:51]SAM_PROTO_ClearQueue done [21:53:51]KKMCreateOFDPacket [21:53:51]OFDProtocolAddRootSTLVToBuf [21:53:51]FM_MakeSignedData [21:53:51]FM_MakeSignedData [21:53:51]SAM_PROTO_SignData [21:53:51]wFMCommunicate request_size=4 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 0D 01 02 [21:53:51]Write to MH i2c: E2 08 00 AF 06 80 0D 01 02 00 00 00 00 2E [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 AF 06 00 90 00 29 [21:53:51]RAPDU: 90 00 [21:53:51]wFMCommunicate OK [21:53:51]wFMCommunicate request_size=255 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6F 53 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [21:53:51]Write to MH i2c: E2 02 01 B0 06 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6F 53 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 0E [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 B0 06 00 90 00 2A [21:53:51]RAPDU: 90 00 [21:53:51]wFMCommunicate OK [21:53:51]wFMCommunicate request_size=46 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 0D 02 02 29 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4E 86 00 00 35 04 06 00 D8 27 69 77 A0 13 [21:53:51]Write to MH i2c: E2 31 00 B1 06 80 0D 02 02 29 00 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4E 86 00 00 35 04 06 00 D8 27 69 77 A0 13 00 00 2C [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 03 00 B1 06 00 90 00 2B [21:53:51]RAPDU: 90 00 [21:53:51]wFMCommunicate OK [21:53:51]wFMCommunicate request_size=4 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 0D 03 02 [21:53:51]Write to MH i2c: E2 08 00 B2 06 80 0D 03 02 00 00 00 00 33 [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 0B 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 0B 00 B2 06 00 9E B6 80 A6 4C 4F 8D FE 90 00 D4 [21:53:51]RAPDU: 9E B6 80 A6 4C 4F 8D FE 90 00 [21:53:51]wFMCommunicate OK [21:53:51]SAM_PROTO_SignData done [21:53:51]FM_MakeSignedData done [21:53:51]CreateOFDProtocolMessage [21:53:51]wFMCommunicate request_size=4 [21:53:51]MH_SAM_APDU [21:53:51]CAPDU: 80 11 00 00 [21:53:51]Write to MH i2c: E2 08 00 B3 06 80 11 00 00 00 00 00 00 33 [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:51]Read from MH i2c: E2 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 17 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: E2 17 00 B3 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 88 [21:53:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:53:51]wFMCommunicate OK [21:53:51]CreateOFDProtocolMessage done [21:53:51]OFDSenderStorePacket 34382 [21:53:51]StoreOFDPacket docnum=34382 [21:53:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 8B 8E 2B 01 22 CB 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6F 53 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4E 86 00 00 35 04 06 00 D8 27 69 77 A0 13 9E B6 80 A6 4C 4F 8D FE [21:53:51]CheckFolder [21:53:51]dirname=/storage/ofd_packets [21:53:51]CheckFolder done [21:53:51]ProducePacketName [21:53:51]name=ofd_packets/00034382 [21:53:51]NVStorageSaveData ofd_packets/00034382 [21:53:51]File name is /storage/ofd_packets/00034382 [21:53:51]Write 337 bytes [21:53:51]NVStorageSaveData done [21:53:51]OFDSenderStorePacket done [21:53:51]KKMCreateOFDPacket done [21:53:51]NVStorageSaveData kkm_last_timestamp [21:53:51]File name is /storage/kkm_last_timestamp [21:53:51]Write 4 bytes [21:53:51]NVStorageSaveData done [21:53:51]ExternCall_PrintAddStr [21:53:51]wPrintStart [21:53:51]Write to MH i2c: 01 00 00 B4 06 BA [21:53:51]Write i2c OK [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: 01 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: 01 07 00 [21:53:51]MH_I2C_Read... [21:53:51]Read from MH i2c: 01 07 00 B4 06 00 00 00 00 00 FF 0F CF [21:53:51]RasterBufferAndPrint [21:53:51]line Счет N : (3)184156 [21:53:51]line ИНН: 02508201610067 [21:53:51]line Контрольно-Кассовый Чек [21:53:51]line ПРОДАЖА [21:53:51]line Товар: 4603290004848 [21:53:51]line Печ.зат.TONDI Сэнд.шок-сл.вк [21:53:51]line 1.000 * 83.00 [21:53:51]line = 83.00 [21:53:51]line НДС 12% НСП 1% [21:53:51]line > о реализуемом товаре [21:53:51]line ИТОГО: 83.00 [21:53:51]line НСП 1% : 0.73 [21:53:51]line НДС 12% : 8.81 [21:53:51]line Наличными: 0.00 [21:53:51]line Безнал.: 83.00 [21:53:51]line Место: АЗС № 120 "Партнер Нефть" [21:53:51]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [21:53:51]line СНО: Общий режим [21:53:51]line Чек 86 19.06.2024 21:53 [21:53:51]line Смена: 324 ФФД: 1.0 [21:53:51]line ЗНМ: 0300000172 [21:53:51]line РНМ: 0000000000092786 [21:53:51]line Версия ККМ: 001 [21:53:51]line Платежная система: O! деньги [21:53:52]line ФМ: 0000000000875095 [21:53:52]line ФД: 34382 [21:53:52]line ФПД: 237663784771603 [21:53:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T215351&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34382&fm=237663784771603&tin=02508201610067®Number=0000000000092786&sum=8300 [21:53:52]line 0 [21:53:52]OFD Sender: Processing packet 34382 [packets to send 8, broken 7] [21:53:52]ProducePacketName [21:53:52]name=ofd_packets/00034382 [21:53:52]OFD Sender: To server: pG, [21:53:52]CommunicateWithHost lk.salyk.kg:30040 [21:53:52]ConnectInit lk.salyk.kg [21:53:52]written 0, free lines is 4095 [21:53:52]Connected sock=10 [21:53:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 33 01 00 00 8B 8E 2B 01 22 CB 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 34 38 06 04 2D 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2D D1 81 D0 BB 2E D0 B2 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 20 00 00 00 00 13 04 06 00 6C 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 71 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 20 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 6F 53 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4E 86 00 00 35 04 06 00 D8 27 69 77 A0 13 9E B6 80 A6 4C 4F 8D FE [21:53:52]Write to MH i2c: 01 00 00 DE 06 E4 [21:53:52]Write i2c OK [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: 01 [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: 01 07 00 [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: 01 07 00 DE 06 00 00 00 00 00 D4 0C CB [21:53:52]RasterBufferAndPrint [21:53:52]line [21:53:52]line [21:53:52]line [21:53:52]line [21:53:52]line [21:53:52]written 0, free lines is 3290 [21:53:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 DE 27 47 00 A5 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 38 37 35 30 39 35 10 04 04 00 4E 86 00 00 F4 03 04 00 3B FA 72 66 B6 04 01 00 00 A1 D8 89 BA 7D 13 EE E8 [21:53:52]CommunicateWithHost err = 0 [21:53:52]CheckOFDResponse [21:53:52]1017 (14) - 77093643461234 [21:53:52]1041 (16) - 0000000000875095 [21:53:52]1040 (4) - 34382 [21:53:52]1012 (4) - 19.06.2024 15:33 [21:53:52]1206 (1) - 0 [21:53:52]OFD Sender: Remove packet 34382 [21:53:52]ProducePacketName [21:53:52]name=ofd_packets/00034382 [21:53:52]NVStorageDeleteData [21:53:52]MH_Cut [21:53:52]Write to MH i2c: D1 01 00 E5 06 01 BD [21:53:52]Write i2c OK [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: D1 [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: D1 01 00 [21:53:52]MH_I2C_Read... [21:53:52]Read from MH i2c: D1 01 00 E5 06 00 BC [21:53:52]Write to MH i2c: 01 00 00 E6 06 EC [21:53:52]Write i2c OK [21:53:52]MH_I2C_Read... [21:53:53]OFD Sender: No OFD packet to send [21:53:53]*** Cut start [21:53:53]*** Partial cut [21:53:53]*** CUTSNS_PIN = 1 [21:53:53]*** CUTSNS_PIN = 0 [21:53:53]*** Brake cut motor [21:53:54]Read from MH i2c: 01 [21:53:54]MH_I2C_Read... [21:53:54]*** Stop cut motor [21:53:54]*** Cut end [21:53:54]Read from MH i2c: 01 07 00 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: 01 07 00 E6 06 00 00 00 00 00 FF 0F 01 [21:53:54]process_action close_receipt done [21:53:54]requested_data is exist [21:53:54]produce_requested_data [21:53:54]requested_item fm.sn is exist - process it [21:53:54]wFMCommunicate request_size=4 [21:53:54]MH_SAM_APDU [21:53:54]CAPDU: 80 11 00 00 [21:53:54]Write to MH i2c: E2 08 00 E7 06 80 11 00 00 00 00 00 00 67 [21:53:54]Write i2c OK [21:53:54]MH_I2C_Read... [21:53:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:54]Read from MH i2c: E2 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 17 00 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 17 00 E7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 BC [21:53:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [21:53:54]wFMCommunicate OK [21:53:54]requested_item fd.num is exist - process it [21:53:54]SAM_PROTO_GetFieldsCounters [21:53:54]wFMCommunicate request_size=4 [21:53:54]MH_SAM_APDU [21:53:54]CAPDU: 80 13 00 00 [21:53:54]Write to MH i2c: E2 08 00 E8 06 80 13 00 00 00 00 00 00 6A [21:53:54]Write i2c OK [21:53:54]MH_I2C_Read... [21:53:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:53:54]Read from MH i2c: E2 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 62 00 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 62 00 E8 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4E 86 00 00 0E 04 04 00 44 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 AF [21:53:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4E 86 00 00 0E 04 04 00 44 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 [21:53:54]wFMCommunicate OK [21:53:54]SAM_PROTO_GetFieldsCounters done [21:53:54]requested_item shift.num is exist - process it [21:53:54]requested_item shift.opened is exist - process it [21:53:54]req_shift_opened [21:53:54]FM_GetShiftState [21:53:54]SAM_PROTO_GetShiftState [21:53:54]wFMCommunicate request_size=4 [21:53:54]MH_SAM_APDU [21:53:54]CAPDU: 80 13 01 00 [21:53:54]Write to MH i2c: E2 08 00 E9 06 80 13 01 00 00 00 00 00 6C [21:53:54]Write i2c OK [21:53:54]MH_I2C_Read... [21:53:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:54]Read from MH i2c: E2 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 0E 00 [21:53:54]MH_I2C_Read... [21:53:54]Read from MH i2c: E2 0E 00 E9 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 42 [21:53:54]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [21:53:54]wFMCommunicate OK [21:53:54]SAM_PROTO_GetShiftState done [21:53:54]FM_GetShiftState done [21:53:54]req_shift_opened done [21:53:54]requested_item shift.open_date is exist - process it [21:53:54]req_shift_open_date [21:53:54]req_shift_open_date done [21:53:54]produce_requested_data done [21:53:54]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34382,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [21:53:54]process_action_free close_receipt [21:53:54]json_value_free [21:53:54]json_value_free done [21:53:54]process_json_proto returns [21:53:54]Send response to host [21:53:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34382,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [21:53:54]free response buf [21:53:54]execute_script done [21:53:54]execute_script returns [21:53:54]free content buf [21:53:54]Sock 7.Close socket [21:53:54]Sock 7.Thread stoped [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:28]OFD Sender: No OFD packet to send [21:56:33]OFD Sender: No OFD packet to send [21:56:38]OFD Sender: No OFD packet to send [21:56:43]OFD Sender: No OFD packet to send [21:56:48]OFD Sender: No OFD packet to send [21:56:53]OFD Sender: No OFD packet to send [21:56:58]OFD Sender: No OFD packet to send [21:57:03]OFD Sender: No OFD packet to send [21:57:08]OFD Sender: No OFD packet to send [21:57:13]OFD Sender: No OFD packet to send [21:57:18]OFD Sender: No OFD packet to send [21:57:23]OFD Sender: No OFD packet to send [21:57:28]OFD Sender: No OFD packet to send [21:57:33]OFD Sender: No OFD packet to send [21:57:38]OFD Sender: No OFD packet to send [21:57:43]OFD Sender: No OFD packet to send [21:57:48]OFD Sender: No OFD packet to send [21:57:53]OFD Sender: No OFD packet to send [21:57:58]OFD Sender: No OFD packet to send [21:58:03]OFD Sender: No OFD packet to send [21:58:08]OFD Sender: No OFD packet to send [21:58:13]OFD Sender: No OFD packet to send [21:58:18]OFD Sender: No OFD packet to send [21:58:23]OFD Sender: No OFD packet to send [21:58:28]OFD Sender: No OFD packet to send [21:58:33]OFD Sender: No OFD packet to send [21:58:38]OFD Sender: No OFD packet to send [21:58:43]OFD Sender: No OFD packet to send [21:58:48]OFD Sender: No OFD packet to send [21:58:53]OFD Sender: No OFD packet to send [21:58:58]OFD Sender: No OFD packet to send [21:59:03]OFD Sender: No OFD packet to send [21:59:08]OFD Sender: No OFD packet to send [21:59:13]OFD Sender: No OFD packet to send [21:59:18]OFD Sender: No OFD packet to send [21:59:23]OFD Sender: No OFD packet to send [21:59:28]OFD Sender: No OFD packet to send [21:59:33]OFD Sender: No OFD packet to send [21:59:38]OFD Sender: No OFD packet to send [21:59:43]OFD Sender: No OFD packet to send [21:59:48]OFD Sender: No OFD packet to send [21:59:53]OFD Sender: No OFD packet to send [21:59:58]OFD Sender: No OFD packet to send [22:00:03]OFD Sender: No OFD packet to send [22:00:08]OFD Sender: No OFD packet to send [22:00:13]OFD Sender: No OFD packet to send [22:00:18]OFD Sender: No OFD packet to send [22:00:23]OFD Sender: No OFD packet to send [22:00:28]OFD Sender: No OFD packet to send [22:00:33]OFD Sender: No OFD packet to send [22:00:38]OFD Sender: No OFD packet to send [22:00:43]OFD Sender: No OFD packet to send [22:00:48]OFD Sender: No OFD packet to send [22:00:53]OFD Sender: No OFD packet to send [22:00:58]OFD Sender: No OFD packet to send [22:01:03]OFD Sender: No OFD packet to send [22:01:08]OFD Sender: No OFD packet to send [22:01:13]OFD Sender: No OFD packet to send [22:01:18]OFD Sender: No OFD packet to send [22:01:23]OFD Sender: No OFD packet to send [22:01:28]OFD Sender: No OFD packet to send [22:01:33]OFD Sender: No OFD packet to send [22:01:38]OFD Sender: No OFD packet to send [22:01:43]OFD Sender: No OFD packet to send [22:01:48]OFD Sender: No OFD packet to send [22:01:53]OFD Sender: No OFD packet to send [22:01:58]OFD Sender: No OFD packet to send [22:02:03]OFD Sender: No OFD packet to send [22:02:08]OFD Sender: No OFD packet to send [22:02:13]OFD Sender: No OFD packet to send [22:02:18]OFD Sender: No OFD packet to send [22:02:23]OFD Sender: No OFD packet to send [22:02:28]OFD Sender: No OFD packet to send [22:02:33]OFD Sender: No OFD packet to send [22:02:38]OFD Sender: No OFD packet to send [22:02:43]OFD Sender: No OFD packet to send [22:02:48]OFD Sender: No OFD packet to send [22:02:53]OFD Sender: No OFD packet to send [22:02:58]OFD Sender: No OFD packet to send [22:03:03]OFD Sender: No OFD packet to send [22:03:08]OFD Sender: No OFD packet to send [22:03:13]OFD Sender: No OFD packet to send [22:03:18]OFD Sender: No OFD packet to send [22:03:23]OFD Sender: No OFD packet to send [22:03:28]OFD Sender: No OFD packet to send [22:03:33]OFD Sender: No OFD packet to send [22:03:38]OFD Sender: No OFD packet to send [22:03:43]accept exits with 9 [22:03:43]New connection [22:03:43]New thread 3067018596 created [22:03:43]Thread 3067161956 joined [22:03:43]Waiting for new connection... [22:03:43] Sock 9.Parse request [22:03:43]Sock 9.Check first char [22:03:43]Sock 9.First char is OK [22:03:43]request: POST /json_proto HTTP/1.0 [22:03:43]Method: POST [22:03:43]URL: /json_proto [22:03:43]Method is POST - this is cgi request [22:03:43]url: /json_proto [22:03:43]query_string will be loaded in cgi processing [22:03:43]execute_cgi json_proto POST (null) [22:03:43]execute_cgi path=json_proto method=POST [22:03:43]POST find Content-Length [22:03:43]Host: 172.17.38.134:8080 [22:03:43]Content-Length: 809 [22:03:43]Content-Type: application/json [22:03:43] [22:03:43]POST finish read [22:03:43]Found Content-Length = 809 [22:03:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184157", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:43]execute_script... [22:03:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184157", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:03:43]POST & json_proto [22:03:43]process_json_proto [22:03:43]json parsed OK: [22:03:43]protocol is kg_v1.0 [22:03:43]action value=close_receipt [22:03:43]process_action close_receipt [22:03:43]cmd_close_receipt [22:03:43]MH_GetDate [22:03:43]Write to MH i2c: F0 00 00 EA 06 DF [22:03:43]Write i2c OK [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: F0 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: F0 09 00 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: F0 09 00 EA 06 00 C0 55 73 66 13 9C 7C 64 65 [22:03:43]GetLastDocTimeStamp 1718834031 [22:03:43]current date 1718834624 [22:03:43]FM_GetShiftState [22:03:43]SAM_PROTO_GetShiftState [22:03:43]wFMCommunicate request_size=4 [22:03:43]MH_SAM_APDU [22:03:43]CAPDU: 80 13 01 00 [22:03:43]Write to MH i2c: E2 08 00 EB 06 80 13 01 00 00 00 00 00 6E [22:03:43]Write i2c OK [22:03:43]MH_I2C_Read... [22:03:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:43]Read from MH i2c: E2 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: E2 0E 00 [22:03:43]MH_I2C_Read... [22:03:43]Read from MH i2c: E2 0E 00 EB 06 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 44 [22:03:43]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:03:43]wFMCommunicate OK [22:03:43]SAM_PROTO_GetShiftState done [22:03:43]FM_GetShiftState done [22:03:43]opened in 1718756813 [22:03:43]opened+sec_in_day 1718843213 [22:03:43]quantity*price = 14000 [22:03:43]sum+1 = 14001 [22:03:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 87 19.06.2024 22:03 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000875095 ФД: 34383 ФПД: 243028430317282 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T220344&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34383&fm=243028430317282&tin=02508201610067®Number=0000000000092786&sum=14000 0 [22:03:44]StoreToDocumentArchive [22:03:44]shift 324 fd 34383 [22:03:44]save to /storage/0324/doc_00034383 [22:03:44]save last doc name /storage/0324/doc_00034383 to /storage/kkm_last_doc_name [22:03:44]save OK [22:03:44]Clear old archive folders... [22:03:44]ProcessDocumentItem done err = 0, tmpTLVsize=284 [22:03:44]tlvbuf is 00341840 [22:03:44]SAM_PROTO_ClearQueue [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 09 00 00 [22:03:44]Write to MH i2c: E2 08 00 F8 06 80 09 00 00 00 00 00 00 70 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 F8 06 00 90 00 72 [22:03:44]RAPDU: 90 00 [22:03:44]wFMCommunicate OK [22:03:44]SAM_PROTO_ClearQueue done [22:03:44]KKMCreateOFDPacket [22:03:44]OFDProtocolAddRootSTLVToBuf [22:03:44]FM_MakeSignedData [22:03:44]FM_MakeSignedData [22:03:44]SAM_PROTO_SignData [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 0D 01 02 [22:03:44]Write to MH i2c: E2 08 00 F9 06 80 0D 01 02 00 00 00 00 78 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 F9 06 00 90 00 73 [22:03:44]RAPDU: 90 00 [22:03:44]wFMCommunicate OK [22:03:44]wFMCommunicate request_size=255 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C0 55 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [22:03:44]Write to MH i2c: E2 02 01 FA 06 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C0 55 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 F2 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 FA 06 00 90 00 74 [22:03:44]RAPDU: 90 00 [22:03:44]wFMCommunicate OK [22:03:44]wFMCommunicate request_size=43 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4F 86 00 00 35 04 06 00 DD 08 77 42 66 E2 [22:03:44]Write to MH i2c: E2 2E 00 FB 06 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4F 86 00 00 35 04 06 00 DD 08 77 42 66 E2 00 00 20 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 03 00 FB 06 00 90 00 75 [22:03:44]RAPDU: 90 00 [22:03:44]wFMCommunicate OK [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 0D 03 02 [22:03:44]Write to MH i2c: E2 08 00 FC 06 80 0D 03 02 00 00 00 00 7D [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 0B 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 0B 00 FC 06 00 99 F0 3B 95 19 E3 5C 53 90 00 82 [22:03:44]RAPDU: 99 F0 3B 95 19 E3 5C 53 90 00 [22:03:44]wFMCommunicate OK [22:03:44]SAM_PROTO_SignData done [22:03:44]FM_MakeSignedData done [22:03:44]CreateOFDProtocolMessage [22:03:44]wFMCommunicate request_size=4 [22:03:44]MH_SAM_APDU [22:03:44]CAPDU: 80 11 00 00 [22:03:44]Write to MH i2c: E2 08 00 FD 06 80 11 00 00 00 00 00 00 7D [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:44]Read from MH i2c: E2 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 17 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: E2 17 00 FD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 D2 [22:03:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:03:44]wFMCommunicate OK [22:03:44]CreateOFDProtocolMessage done [22:03:44]OFDSenderStorePacket 34383 [22:03:44]StoreOFDPacket docnum=34383 [22:03:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 BF 76 28 01 C3 3B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C0 55 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4F 86 00 00 35 04 06 00 DD 08 77 42 66 E2 99 F0 3B 95 19 E3 5C 53 [22:03:44]CheckFolder [22:03:44]dirname=/storage/ofd_packets [22:03:44]CheckFolder done [22:03:44]ProducePacketName [22:03:44]name=ofd_packets/00034383 [22:03:44]NVStorageSaveData ofd_packets/00034383 [22:03:44]File name is /storage/ofd_packets/00034383 [22:03:44]Write 334 bytes [22:03:44]NVStorageSaveData done [22:03:44]OFDSenderStorePacket done [22:03:44]KKMCreateOFDPacket done [22:03:44]NVStorageSaveData kkm_last_timestamp [22:03:44]File name is /storage/kkm_last_timestamp [22:03:44]Write 4 bytes [22:03:44]NVStorageSaveData done [22:03:44]ExternCall_PrintAddStr [22:03:44]wPrintStart [22:03:44]Write to MH i2c: 01 00 00 FE 06 04 [22:03:44]Write i2c OK [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: 01 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: 01 07 00 [22:03:44]MH_I2C_Read... [22:03:44]Read from MH i2c: 01 07 00 FE 06 00 00 00 00 00 FF 0F 19 [22:03:44]RasterBufferAndPrint [22:03:44]line Счет N : (3)184157 [22:03:44]line ИНН: 02508201610067 [22:03:44]line Контрольно-Кассовый Чек [22:03:44]line ПРОДАЖА [22:03:44]line Товар: 48745031 [22:03:44]line Сигареты Winston Superslims Expand Blue [22:03:44]line 1.000 * 140.00 [22:03:44]line = 140.00 [22:03:44]line НДС 12% НСП 1% [22:03:44]line > о реализуемом товаре [22:03:44]line ИТОГО: 140.00 [22:03:44]line НСП 1% : 1.24 [22:03:44]line НДС 12% : 14.87 [22:03:44]line Наличными: 0.00 [22:03:44]line Безнал.: 140.00 [22:03:44]line Место: АЗС № 120 "Партнер Нефть" [22:03:44]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [22:03:45]line СНО: Общий режим [22:03:45]line Чек 87 19.06.2024 22:03 [22:03:45]line Смена: 324 ФФД: 1.0 [22:03:45]line ЗНМ: 0300000172 [22:03:45]line РНМ: 0000000000092786 [22:03:45]line Версия ККМ: 001 [22:03:45]line Платежная система: Бакай Банк [22:03:45]line ФМ: 0000000000875095 [22:03:45]line ФД: 34383 [22:03:45]line ФПД: 243028430317282 [22:03:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T220344&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34383&fm=243028430317282&tin=02508201610067®Number=0000000000092786&sum=14000 [22:03:45]line 0 [22:03:45]OFD Sender: Processing packet 34383 [packets to send 8, broken 7] [22:03:45]ProducePacketName [22:03:45]name=ofd_packets/00034383 [22:03:45]OFD Sender: To server: pG, [22:03:45]CommunicateWithHost lk.salyk.kg:30040 [22:03:45]ConnectInit lk.salyk.kg [22:03:45]written 0, free lines is 4095 [22:03:45]Connected sock=10 [22:03:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 30 01 00 00 BF 76 28 01 C3 3B 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 C0 55 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4F 86 00 00 35 04 06 00 DD 08 77 42 66 E2 99 F0 3B 95 19 E3 5C 53 [22:03:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 09 84 47 00 FB D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 4F 86 00 00 F4 03 04 00 8C FC 72 66 B6 04 01 00 00 74 3E 00 91 D9 2F 4E 92 [22:03:45]CommunicateWithHost err = 0 [22:03:45]CheckOFDResponse [22:03:45]1017 (14) - 77093643461234 [22:03:45]1041 (16) - 0000000000875095 [22:03:45]1040 (4) - 34383 [22:03:45]1012 (4) - 19.06.2024 15:43 [22:03:45]1206 (1) - 0 [22:03:45]OFD Sender: Remove packet 34383 [22:03:45]ProducePacketName [22:03:45]name=ofd_packets/00034383 [22:03:45]NVStorageDeleteData [22:03:45]Write to MH i2c: 01 00 00 29 07 30 [22:03:45]Write i2c OK [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: 01 [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: 01 07 00 [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 B7 0C FA [22:03:45]RasterBufferAndPrint [22:03:45]line [22:03:45]line [22:03:45]line [22:03:45]line [22:03:45]line [22:03:45]written 0, free lines is 3263 [22:03:45]MH_Cut [22:03:45]Write to MH i2c: D1 01 00 30 07 01 09 [22:03:45]Write i2c OK [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: D1 [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: D1 01 00 [22:03:45]MH_I2C_Read... [22:03:45]Read from MH i2c: D1 01 00 30 07 00 08 [22:03:45]Write to MH i2c: 01 00 00 31 07 38 [22:03:45]Write i2c OK [22:03:45]MH_I2C_Read... [22:03:46]OFD Sender: No OFD packet to send [22:03:46]*** Cut start [22:03:46]*** Partial cut [22:03:46]*** CUTSNS_PIN = 1 [22:03:46]*** CUTSNS_PIN = 0 [22:03:46]*** Brake cut motor [22:03:47]Read from MH i2c: 01 [22:03:47]MH_I2C_Read... [22:03:47]*** Stop cut motor [22:03:47]*** Cut end [22:03:47]Read from MH i2c: 01 07 00 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: 01 07 00 31 07 00 00 00 00 00 FF 0F 4D [22:03:47]process_action close_receipt done [22:03:47]requested_data is exist [22:03:47]produce_requested_data [22:03:47]requested_item fm.sn is exist - process it [22:03:47]wFMCommunicate request_size=4 [22:03:47]MH_SAM_APDU [22:03:47]CAPDU: 80 11 00 00 [22:03:47]Write to MH i2c: E2 08 00 32 07 80 11 00 00 00 00 00 00 B3 [22:03:47]Write i2c OK [22:03:47]MH_I2C_Read... [22:03:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:03:47]Read from MH i2c: E2 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 17 00 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 17 00 32 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 08 [22:03:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:03:47]wFMCommunicate OK [22:03:47]requested_item fd.num is exist - process it [22:03:47]SAM_PROTO_GetFieldsCounters [22:03:47]wFMCommunicate request_size=4 [22:03:47]MH_SAM_APDU [22:03:47]CAPDU: 80 13 00 00 [22:03:47]Write to MH i2c: E2 08 00 33 07 80 13 00 00 00 00 00 00 B6 [22:03:47]Write i2c OK [22:03:47]MH_I2C_Read... [22:03:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:03:47]Read from MH i2c: E2 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 62 00 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 62 00 33 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4F 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [22:03:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 4F 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:03:47]wFMCommunicate OK [22:03:47]SAM_PROTO_GetFieldsCounters done [22:03:47]requested_item shift.num is exist - process it [22:03:47]requested_item shift.opened is exist - process it [22:03:47]req_shift_opened [22:03:47]FM_GetShiftState [22:03:47]SAM_PROTO_GetShiftState [22:03:47]wFMCommunicate request_size=4 [22:03:47]MH_SAM_APDU [22:03:47]CAPDU: 80 13 01 00 [22:03:47]Write to MH i2c: E2 08 00 34 07 80 13 01 00 00 00 00 00 B8 [22:03:47]Write i2c OK [22:03:47]MH_I2C_Read... [22:03:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:03:47]Read from MH i2c: E2 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 0E 00 [22:03:47]MH_I2C_Read... [22:03:47]Read from MH i2c: E2 0E 00 34 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 8E [22:03:47]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:03:47]wFMCommunicate OK [22:03:47]SAM_PROTO_GetShiftState done [22:03:47]FM_GetShiftState done [22:03:47]req_shift_opened done [22:03:47]requested_item shift.open_date is exist - process it [22:03:47]req_shift_open_date [22:03:47]req_shift_open_date done [22:03:47]produce_requested_data done [22:03:47]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34383,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [22:03:47]process_action_free close_receipt [22:03:47]json_value_free [22:03:47]json_value_free done [22:03:47]process_json_proto returns [22:03:47]Send response to host [22:03:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34383,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [22:03:47]free response buf [22:03:47]execute_script done [22:03:47]execute_script returns [22:03:47]free content buf [22:03:47]Sock 9.Close socket [22:03:47]Sock 9.Thread stoped [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:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22: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]OFD Sender: No OFD packet to send [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:37]OFD Sender: No OFD packet to send [22:24:42]OFD Sender: No OFD packet to send [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:11]accept exits with 7 [22:44:11]New connection [22:44:11]New thread 3067161956 created [22:44:11]Thread 3067018596 joined [22:44:11]Waiting for new connection... [22:44:11] Sock 7.Parse request [22:44:11]Sock 7.Check first char [22:44:11]Sock 7.First char is OK [22:44:11]request: POST /json_proto HTTP/1.0 [22:44:11]Method: POST [22:44:11]URL: /json_proto [22:44:11]Method is POST - this is cgi request [22:44:11]url: /json_proto [22:44:11]query_string will be loaded in cgi processing [22:44:11]execute_cgi json_proto POST (null) [22:44:11]execute_cgi path=json_proto method=POST [22:44:11]POST find Content-Length [22:44:11]Host: 172.17.38.134:8080 [22:44:11]Content-Length: 623 [22:44:11]Content-Type: application/json [22:44:11] [22:44:11]POST finish read [22:44:11]Found Content-Length = 623 [22:44:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184158", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:44:11]execute_script... [22:44: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)184158", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:44:11]POST & json_proto [22:44:11]process_json_proto [22:44:11]json parsed OK: [22:44:11]protocol is kg_v1.0 [22:44:11]action value=close_receipt [22:44:11]process_action close_receipt [22:44:11]cmd_close_receipt [22:44:11]MH_GetDate [22:44:11]Write to MH i2c: F0 00 00 35 07 2B [22:44:11]Write i2c OK [22:44:11]MH_I2C_Read... [22:44:11]Read from MH i2c: F0 [22:44:11]MH_I2C_Read... [22:44:11]Read from MH i2c: F0 09 00 [22:44:11]MH_I2C_Read... [22:44:11]Read from MH i2c: F0 09 00 35 07 00 3D 5F 73 66 13 9C 7C 64 38 [22:44:11]GetLastDocTimeStamp 1718834624 [22:44:11]current date 1718837053 [22:44:11]FM_GetShiftState [22:44:11]SAM_PROTO_GetShiftState [22:44:11]wFMCommunicate request_size=4 [22:44:11]MH_SAM_APDU [22:44:11]CAPDU: 80 13 01 00 [22:44:11]Write to MH i2c: E2 08 00 36 07 80 13 01 00 00 00 00 00 BA [22:44:11]Write i2c OK [22:44:11]MH_I2C_Read... [22:44:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:44:11]Read from MH i2c: E2 [22:44:11]MH_I2C_Read... [22:44:11]Read from MH i2c: E2 0E 00 [22:44:11]MH_I2C_Read... [22:44:11]Read from MH i2c: E2 0E 00 36 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 90 [22:44:11]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:44:11]wFMCommunicate OK [22:44:11]SAM_PROTO_GetShiftState done [22:44:11]FM_GetShiftState done [22:44:11]opened in 1718756813 [22:44:11]opened+sec_in_day 1718843213 [22:44:11]quantity*price = 14000 [22:44:11]sum+1 = 14001 [22:44:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 88 19.06.2024 22:44 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34384 ФПД: 143797206633210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T224413&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34384&fm=143797206633210&tin=02508201610067®Number=0000000000092786&sum=14000 0 [22:44:12]StoreToDocumentArchive [22:44:12]shift 324 fd 34384 [22:44:12]save to /storage/0324/doc_00034384 [22:44:12]save last doc name /storage/0324/doc_00034384 to /storage/kkm_last_doc_name [22:44:12]save OK [22:44:12]Clear old archive folders... [22:44:12]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:44:12]tlvbuf is B6F0DC40 [22:44:12]SAM_PROTO_ClearQueue [22:44:12]wFMCommunicate request_size=4 [22:44:12]MH_SAM_APDU [22:44:12]CAPDU: 80 09 00 00 [22:44:12]Write to MH i2c: E2 08 00 43 07 80 09 00 00 00 00 00 00 BC [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 43 07 00 90 00 BE [22:44:12]RAPDU: 90 00 [22:44:12]wFMCommunicate OK [22:44:12]SAM_PROTO_ClearQueue done [22:44:12]KKMCreateOFDPacket [22:44:12]OFDProtocolAddRootSTLVToBuf [22:44:12]FM_MakeSignedData [22:44:12]FM_MakeSignedData [22:44:12]SAM_PROTO_SignData [22:44:12]wFMCommunicate request_size=4 [22:44:12]MH_SAM_APDU [22:44:12]CAPDU: 80 0D 01 02 [22:44:12]Write to MH i2c: E2 08 00 44 07 80 0D 01 02 00 00 00 00 C4 [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 44 07 00 90 00 BF [22:44:12]RAPDU: 90 00 [22:44:12]wFMCommunicate OK [22:44:12]wFMCommunicate request_size=255 [22:44:12]MH_SAM_APDU [22:44:12]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 58 00 00 00 F4 03 04 00 3D 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 [22:44:12]Write to MH i2c: E2 02 01 45 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 58 00 00 00 F4 03 04 00 3D 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 00 00 6D [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 45 07 00 90 00 C0 [22:44:12]RAPDU: 90 00 [22:44:12]wFMCommunicate OK [22:44:12]wFMCommunicate request_size=34 [22:44:12]MH_SAM_APDU [22:44:12]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 50 86 00 00 35 04 06 00 82 C8 65 6B CA FA [22:44:12]Write to MH i2c: E2 25 00 46 07 80 0D 02 02 1D 00 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 50 86 00 00 35 04 06 00 82 C8 65 6B CA FA 00 00 3E [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 03 00 46 07 00 90 00 C1 [22:44:12]RAPDU: 90 00 [22:44:12]wFMCommunicate OK [22:44:12]wFMCommunicate request_size=4 [22:44:12]MH_SAM_APDU [22:44:12]CAPDU: 80 0D 03 02 [22:44:12]Write to MH i2c: E2 08 00 47 07 80 0D 03 02 00 00 00 00 C9 [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 0B 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 0B 00 47 07 00 40 0C 6A 20 BC 95 0B 11 90 00 0D [22:44:12]RAPDU: 40 0C 6A 20 BC 95 0B 11 90 00 [22:44:12]wFMCommunicate OK [22:44:12]SAM_PROTO_SignData done [22:44:12]FM_MakeSignedData done [22:44:12]CreateOFDProtocolMessage [22:44:12]wFMCommunicate request_size=4 [22:44:12]MH_SAM_APDU [22:44:12]CAPDU: 80 11 00 00 [22:44:12]Write to MH i2c: E2 08 00 48 07 80 11 00 00 00 00 00 00 C9 [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:44:12]Read from MH i2c: E2 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 17 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: E2 17 00 48 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 1E [22:44:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:44:12]wFMCommunicate OK [22:44:12]CreateOFDProtocolMessage done [22:44:12]OFDSenderStorePacket 34384 [22:44:12]StoreOFDPacket docnum=34384 [22:44:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 68 CD 1F 01 E6 96 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 58 00 00 00 F4 03 04 00 3D 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 50 86 00 00 35 04 06 00 82 C8 65 6B CA FA 40 0C 6A 20 BC 95 0B 11 [22:44:12]CheckFolder [22:44:12]dirname=/storage/ofd_packets [22:44:12]CheckFolder done [22:44:12]ProducePacketName [22:44:12]name=ofd_packets/00034384 [22:44:12]NVStorageSaveData ofd_packets/00034384 [22:44:12]File name is /storage/ofd_packets/00034384 [22:44:12]Write 325 bytes [22:44:12]NVStorageSaveData done [22:44:12]OFDSenderStorePacket done [22:44:12]KKMCreateOFDPacket done [22:44:12]NVStorageSaveData kkm_last_timestamp [22:44:12]File name is /storage/kkm_last_timestamp [22:44:12]Write 4 bytes [22:44:12]NVStorageSaveData done [22:44:12]ExternCall_PrintAddStr [22:44:12]wPrintStart [22:44:12]Write to MH i2c: 01 00 00 49 07 50 [22:44:12]Write i2c OK [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: 01 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: 01 07 00 [22:44:12]MH_I2C_Read... [22:44:12]Read from MH i2c: 01 07 00 49 07 00 00 00 00 00 FF 0F 65 [22:44:12]RasterBufferAndPrint [22:44:12]line Счет N : (3)184158 [22:44:12]line ИНН: 02508201610067 [22:44:12]line Контрольно-Кассовый Чек [22:44:12]line ПРОДАЖА [22:44:12]line Товар: 48743587 [22:44:12]line Сигареты Winston XStyle Silver [22:44:12]line 1.000 * 140.00 [22:44:12]line = 140.00 [22:44:12]line НДС 12% НСП 1% [22:44:12]line > о реализуемом товаре [22:44:12]line ИТОГО: 140.00 [22:44:12]line НСП 1% : 1.24 [22:44:12]line НДС 12% : 14.87 [22:44:12]line Наличными: 140.00 [22:44:12]line Безнал.: 0.00 [22:44:12]line Место: АЗС № 120 "Партнер Нефть" [22:44:12]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [22:44:12]line СНО: Общий режим [22:44:12]line Чек 88 19.06.2024 22:44 [22:44:12]line Смена: 324 ФФД: 1.0 [22:44:12]line ЗНМ: 0300000172 [22:44:12]line РНМ: 0000000000092786 [22:44:12]line Версия ККМ: 001 [22:44:12]line ФМ: 0000000000875095 [22:44:12]line ФД: 34384 [22:44:12]line ФПД: 143797206633210 [22:44:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T224413&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34384&fm=143797206633210&tin=02508201610067®Number=0000000000092786&sum=14000 [22:44:13]line 0 [22:44:13]OFD Sender: Processing packet 34384 [packets to send 8, broken 7] [22:44:13]ProducePacketName [22:44:13]name=ofd_packets/00034384 [22:44:13]OFD Sender: To server: pG, [22:44:13]CommunicateWithHost lk.salyk.kg:30040 [22:44:13]ConnectInit lk.salyk.kg [22:44:13]written 0, free lines is 4095 [22:44:13]Connected sock=10 [22:44:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 27 01 00 00 68 CD 1F 01 E6 96 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 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 58 00 00 00 F4 03 04 00 3D 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 50 86 00 00 35 04 06 00 82 C8 65 6B CA FA 40 0C 6A 20 BC 95 0B 11 [22:44:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 44 63 47 00 5E F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 50 86 00 00 F4 03 04 00 08 06 73 66 B6 04 01 00 00 B2 70 BF 46 0F 34 95 33 [22:44:13]CommunicateWithHost err = 0 [22:44:13]CheckOFDResponse [22:44:13]1017 (14) - 77093643461234 [22:44:13]1041 (16) - 0000000000875095 [22:44:13]1040 (4) - 34384 [22:44:13]1012 (4) - 19.06.2024 16:23 [22:44:13]1206 (1) - 0 [22:44:13]OFD Sender: Remove packet 34384 [22:44:13]ProducePacketName [22:44:13]name=ofd_packets/00034384 [22:44:13]NVStorageDeleteData [22:44:13]Write to MH i2c: 01 00 00 72 07 79 [22:44:13]Write i2c OK [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: 01 [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: 01 07 00 [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: 01 07 00 72 07 00 00 00 00 00 D5 0C 61 [22:44:13]RasterBufferAndPrint [22:44:13]line [22:44:13]line [22:44:13]line [22:44:13]line [22:44:13]line [22:44:13]written 0, free lines is 3291 [22:44:13]MH_Cut [22:44:13]Write to MH i2c: D1 01 00 79 07 01 52 [22:44:13]Write i2c OK [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: D1 [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: D1 01 00 [22:44:13]MH_I2C_Read... [22:44:13]Read from MH i2c: D1 01 00 79 07 00 51 [22:44:13]Write to MH i2c: 01 00 00 7A 07 81 [22:44:13]Write i2c OK [22:44:13]MH_I2C_Read... [22:44:14]OFD Sender: No OFD packet to send [22:44:14]*** Cut start [22:44:14]*** Partial cut [22:44:14]*** CUTSNS_PIN = 1 [22:44:14]*** CUTSNS_PIN = 0 [22:44:14]*** Brake cut motor [22:44:14]Read from MH i2c: 01 [22:44:14]MH_I2C_Read... [22:44:14]*** Stop cut motor [22:44:14]*** Cut end [22:44:14]Read from MH i2c: 01 07 00 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: 01 07 00 7A 07 00 00 00 00 00 FF 0F 96 [22:44:15]process_action close_receipt done [22:44:15]requested_data is exist [22:44:15]produce_requested_data [22:44:15]requested_item fm.sn is exist - process it [22:44:15]wFMCommunicate request_size=4 [22:44:15]MH_SAM_APDU [22:44:15]CAPDU: 80 11 00 00 [22:44:15]Write to MH i2c: E2 08 00 7B 07 80 11 00 00 00 00 00 00 FC [22:44:15]Write i2c OK [22:44:15]MH_I2C_Read... [22:44:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:44:15]Read from MH i2c: E2 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 17 00 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 17 00 7B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 51 [22:44:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:44:15]wFMCommunicate OK [22:44:15]requested_item fd.num is exist - process it [22:44:15]SAM_PROTO_GetFieldsCounters [22:44:15]wFMCommunicate request_size=4 [22:44:15]MH_SAM_APDU [22:44:15]CAPDU: 80 13 00 00 [22:44:15]Write to MH i2c: E2 08 00 7C 07 80 13 00 00 00 00 00 00 FF [22:44:15]Write i2c OK [22:44:15]MH_I2C_Read... [22:44:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:44:15]Read from MH i2c: E2 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 62 00 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 62 00 7C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 50 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [22:44:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 50 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:44:15]wFMCommunicate OK [22:44:15]SAM_PROTO_GetFieldsCounters done [22:44:15]requested_item shift.num is exist - process it [22:44:15]requested_item shift.opened is exist - process it [22:44:15]req_shift_opened [22:44:15]FM_GetShiftState [22:44:15]SAM_PROTO_GetShiftState [22:44:15]wFMCommunicate request_size=4 [22:44:15]MH_SAM_APDU [22:44:15]CAPDU: 80 13 01 00 [22:44:15]Write to MH i2c: E2 08 00 7D 07 80 13 01 00 00 00 00 00 01 [22:44:15]Write i2c OK [22:44:15]MH_I2C_Read... [22:44:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:44:15]Read from MH i2c: E2 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 0E 00 [22:44:15]MH_I2C_Read... [22:44:15]Read from MH i2c: E2 0E 00 7D 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D7 [22:44:15]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:44:15]wFMCommunicate OK [22:44:15]SAM_PROTO_GetShiftState done [22:44:15]FM_GetShiftState done [22:44:15]req_shift_opened done [22:44:15]requested_item shift.open_date is exist - process it [22:44:15]req_shift_open_date [22:44:15]req_shift_open_date done [22:44:15]produce_requested_data done [22:44:15]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34384,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [22:44:15]process_action_free close_receipt [22:44:15]json_value_free [22:44:15]json_value_free done [22:44:15]process_json_proto returns [22:44:15]Send response to host [22:44:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34384,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [22:44:15]free response buf [22:44:15]execute_script done [22:44:15]execute_script returns [22:44:15]free content buf [22:44:15]Sock 7.Close socket [22:44:15]Sock 7.Thread stoped [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:20]accept exits with 9 [22:46:20]New connection [22:46:20]New thread 3067018596 created [22:46:20]Thread 3067161956 joined [22:46:20]Waiting for new connection... [22:46:20] Sock 9.Parse request [22:46:20]Sock 9.Check first char [22:46:20]Sock 9.First char is OK [22:46:20]request: POST /json_proto HTTP/1.0 [22:46:20]Method: POST [22:46:20]URL: /json_proto [22:46:20]Method is POST - this is cgi request [22:46:20]url: /json_proto [22:46:20]query_string will be loaded in cgi processing [22:46:20]execute_cgi json_proto POST (null) [22:46:20]execute_cgi path=json_proto method=POST [22:46:20]POST find Content-Length [22:46:20]Host: 172.17.38.134:8080 [22:46:20]Content-Length: 728 [22:46:20]Content-Type: application/json [22:46:20] [22:46:20]POST finish read [22:46:20]Found Content-Length = 728 [22:46:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184159", "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:46:20]execute_script... [22:46: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)184159", "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:46:20]POST & json_proto [22:46:20]process_json_proto [22:46:20]json parsed OK: [22:46:20]protocol is kg_v1.0 [22:46:20]action value=close_receipt [22:46:20]process_action close_receipt [22:46:20]cmd_close_receipt [22:46:20]MH_GetDate [22:46:20]Write to MH i2c: F0 00 00 7E 07 74 [22:46:20]Write i2c OK [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: F0 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: F0 09 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: F0 09 00 7E 07 00 BD 5F 73 66 13 9C 7C 64 01 [22:46:20]GetLastDocTimeStamp 1718837053 [22:46:20]current date 1718837181 [22:46:20]FM_GetShiftState [22:46:20]SAM_PROTO_GetShiftState [22:46:20]wFMCommunicate request_size=4 [22:46:20]MH_SAM_APDU [22:46:20]CAPDU: 80 13 01 00 [22:46:20]Write to MH i2c: E2 08 00 7F 07 80 13 01 00 00 00 00 00 03 [22:46:20]Write i2c OK [22:46:20]MH_I2C_Read... [22:46:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:20]Read from MH i2c: E2 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 0E 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 0E 00 7F 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D9 [22:46:20]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:46:20]wFMCommunicate OK [22:46:20]SAM_PROTO_GetShiftState done [22:46:20]FM_GetShiftState done [22:46:20]opened in 1718756813 [22:46:20]opened+sec_in_day 1718843213 [22:46:20]quantity*price = 12000 [22:46:20]sum+1 = 12001 [22:46:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 89 19.06.2024 22:46 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34385 ФПД: 98584296336807 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T224622&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34385&fm=98584296336807&tin=02508201610067®Number=0000000000092786&sum=12000 0 [22:46:21]StoreToDocumentArchive [22:46:21]shift 324 fd 34385 [22:46:21]save to /storage/0324/doc_00034385 [22:46:21]save last doc name /storage/0324/doc_00034385 to /storage/kkm_last_doc_name [22:46:21]save OK [22:46:21]Clear old archive folders... [22:46:21]ProcessDocumentItem done err = 0, tmpTLVsize=308 [22:46:21]tlvbuf is 0039F100 [22:46:21]SAM_PROTO_ClearQueue [22:46:21]wFMCommunicate request_size=4 [22:46:21]MH_SAM_APDU [22:46:21]CAPDU: 80 09 00 00 [22:46:21]Write to MH i2c: E2 08 00 8C 07 80 09 00 00 00 00 00 00 05 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 8C 07 00 90 00 07 [22:46:21]RAPDU: 90 00 [22:46:21]wFMCommunicate OK [22:46:21]SAM_PROTO_ClearQueue done [22:46:21]KKMCreateOFDPacket [22:46:21]OFDProtocolAddRootSTLVToBuf [22:46:21]FM_MakeSignedData [22:46:21]FM_MakeSignedData [22:46:21]SAM_PROTO_SignData [22:46:21]wFMCommunicate request_size=4 [22:46:21]MH_SAM_APDU [22:46:21]CAPDU: 80 0D 01 02 [22:46:21]Write to MH i2c: E2 08 00 8D 07 80 0D 01 02 00 00 00 00 0D [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [22:46:21]RAPDU: 90 00 [22:46:21]wFMCommunicate OK [22:46:21]wFMCommunicate request_size=255 [22:46:21]MH_SAM_APDU [22:46:21]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 59 00 00 00 F4 03 04 00 BE 5F 73 66 0E 04 04 00 44 01 00 00 B9 [22:46:21]Write to MH i2c: E2 02 01 8E 07 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 59 00 00 00 F4 03 04 00 BE 5F 73 66 0E 04 04 00 44 01 00 00 B9 00 00 D1 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 8E 07 00 90 00 09 [22:46:21]RAPDU: 90 00 [22:46:21]wFMCommunicate OK [22:46:21]wFMCommunicate request_size=67 [22:46:21]MH_SAM_APDU [22:46:21]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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 51 86 00 00 35 04 06 00 59 A9 71 F6 AD A7 [22:46:21]Write to MH i2c: E2 46 00 8F 07 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 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 51 86 00 00 35 04 06 00 59 A9 71 F6 AD A7 00 00 05 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 03 00 8F 07 00 90 00 0A [22:46:21]RAPDU: 90 00 [22:46:21]wFMCommunicate OK [22:46:21]wFMCommunicate request_size=4 [22:46:21]MH_SAM_APDU [22:46:21]CAPDU: 80 0D 03 02 [22:46:21]Write to MH i2c: E2 08 00 90 07 80 0D 03 02 00 00 00 00 12 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 0B 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 0B 00 90 07 00 5F 2D CD 44 8A 02 EF 04 90 00 2F [22:46:21]RAPDU: 5F 2D CD 44 8A 02 EF 04 90 00 [22:46:21]wFMCommunicate OK [22:46:21]SAM_PROTO_SignData done [22:46:21]FM_MakeSignedData done [22:46:21]CreateOFDProtocolMessage [22:46:21]wFMCommunicate request_size=4 [22:46:21]MH_SAM_APDU [22:46:21]CAPDU: 80 11 00 00 [22:46:21]Write to MH i2c: E2 08 00 91 07 80 11 00 00 00 00 00 00 12 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:21]Read from MH i2c: E2 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 17 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: E2 17 00 91 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 67 [22:46:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:46:21]wFMCommunicate OK [22:46:21]CreateOFDProtocolMessage done [22:46:21]OFDSenderStorePacket 34385 [22:46:21]StoreOFDPacket docnum=34385 [22:46:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 48 01 00 00 7D 6F 40 01 3A BF 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 59 00 00 00 F4 03 04 00 BE 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 51 86 00 00 35 04 06 00 59 A9 71 F6 AD A7 5F 2D CD 44 8A 02 EF 04 [22:46:21]CheckFolder [22:46:21]dirname=/storage/ofd_packets [22:46:21]CheckFolder done [22:46:21]ProducePacketName [22:46:21]name=ofd_packets/00034385 [22:46:21]NVStorageSaveData ofd_packets/00034385 [22:46:21]File name is /storage/ofd_packets/00034385 [22:46:21]Write 358 bytes [22:46:21]NVStorageSaveData done [22:46:21]OFDSenderStorePacket done [22:46:21]KKMCreateOFDPacket done [22:46:21]NVStorageSaveData kkm_last_timestamp [22:46:21]File name is /storage/kkm_last_timestamp [22:46:21]Write 4 bytes [22:46:21]NVStorageSaveData done [22:46:21]ExternCall_PrintAddStr [22:46:21]wPrintStart [22:46:21]Write to MH i2c: 01 00 00 92 07 99 [22:46:21]Write i2c OK [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: 01 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: 01 07 00 [22:46:21]MH_I2C_Read... [22:46:21]Read from MH i2c: 01 07 00 92 07 00 00 00 00 00 FF 0F AE [22:46:21]RasterBufferAndPrint [22:46:21]line Счет N : (3)184159 [22:46:21]line ИНН: 02508201610067 [22:46:21]line Контрольно-Кассовый Чек [22:46:21]line ПРОДАЖА [22:46:21]line Товар: 5449000027474 [22:46:21]line Напиток FuzeTea зел чай манго,ромашка 1л [22:46:21]line 1.000 * 120.00 [22:46:21]line = 120.00 [22:46:21]line НДС 12% НСП 1% [22:46:21]line > о реализуемом товаре [22:46:21]line ИТОГО: 120.00 [22:46:21]line НСП 1% : 1.06 [22:46:21]line НДС 12% : 12.74 [22:46:21]line Наличными: 120.00 [22:46:21]line Безнал.: 0.00 [22:46:21]line Место: АЗС № 120 "Партнер Нефть" [22:46:22]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [22:46:22]line СНО: Общий режим [22:46:22]line Чек 89 19.06.2024 22:46 [22:46:22]line Смена: 324 ФФД: 1.0 [22:46:22]line ЗНМ: 0300000172 [22:46:22]line РНМ: 0000000000092786 [22:46:22]line Версия ККМ: 001 [22:46:22]line ФМ: 0000000000875095 [22:46:22]line ФД: 34385 [22:46:22]line ФПД: 98584296336807 [22:46:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T224622&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34385&fm=98584296336807&tin=02508201610067®Number=0000000000092786&sum=12000 [22:46:22]line 0 [22:46:22]OFD Sender: Processing packet 34385 [packets to send 8, broken 7] [22:46:22]ProducePacketName [22:46:22]name=ofd_packets/00034385 [22:46:22]OFD Sender: To server: pG, [22:46:22]CommunicateWithHost lk.salyk.kg:30040 [22:46:22]ConnectInit lk.salyk.kg [22:46:22]written 0, free lines is 4095 [22:46:22]Connected sock=10 [22:46:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 48 01 00 00 7D 6F 40 01 3A BF 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 59 00 00 00 F4 03 04 00 BE 5F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 51 86 00 00 35 04 06 00 59 A9 71 F6 AD A7 5F 2D CD 44 8A 02 EF 04 [22:46:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 FF CF 47 00 85 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 38 37 35 30 39 35 10 04 04 00 51 86 00 00 F4 03 04 00 89 06 73 66 B6 04 01 00 00 8D 0C C3 81 96 9D 82 DE [22:46:22]CommunicateWithHost err = 0 [22:46:22]CheckOFDResponse [22:46:22]1017 (14) - 77093643461234 [22:46:22]1041 (16) - 0000000000875095 [22:46:22]1040 (4) - 34385 [22:46:22]1012 (4) - 19.06.2024 16:25 [22:46:22]1206 (1) - 0 [22:46:22]OFD Sender: Remove packet 34385 [22:46:22]ProducePacketName [22:46:22]name=ofd_packets/00034385 [22:46:22]NVStorageDeleteData [22:46:22]Write to MH i2c: 01 00 00 BB 07 C2 [22:46:22]Write i2c OK [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: 01 [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: 01 07 00 [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: 01 07 00 BB 07 00 00 00 00 00 DA 0C AF [22:46:22]RasterBufferAndPrint [22:46:22]line [22:46:22]line [22:46:22]line [22:46:22]line [22:46:22]line [22:46:22]written 0, free lines is 3297 [22:46:22]MH_Cut [22:46:22]Write to MH i2c: D1 01 00 C2 07 01 9B [22:46:22]Write i2c OK [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: D1 [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: D1 01 00 [22:46:22]MH_I2C_Read... [22:46:22]Read from MH i2c: D1 01 00 C2 07 00 9A [22:46:22]Write to MH i2c: 01 00 00 C3 07 CA [22:46:22]Write i2c OK [22:46:22]MH_I2C_Read... [22:46:23]OFD Sender: No OFD packet to send [22:46:23]*** Cut start [22:46:23]*** Partial cut [22:46:23]*** CUTSNS_PIN = 1 [22:46:23]*** CUTSNS_PIN = 0 [22:46:23]*** Brake cut motor [22:46:23]Read from MH i2c: 01 [22:46:23]MH_I2C_Read... [22:46:23]*** Stop cut motor [22:46:23]*** Cut end [22:46:23]Read from MH i2c: 01 07 00 [22:46:23]MH_I2C_Read... [22:46:23]Read from MH i2c: 01 07 00 C3 07 00 00 00 00 00 FF 0F DF [22:46:23]process_action close_receipt done [22:46:23]requested_data is exist [22:46:23]produce_requested_data [22:46:23]requested_item fm.sn is exist - process it [22:46:23]wFMCommunicate request_size=4 [22:46:23]MH_SAM_APDU [22:46:23]CAPDU: 80 11 00 00 [22:46:23]Write to MH i2c: E2 08 00 C4 07 80 11 00 00 00 00 00 00 45 [22:46:23]Write i2c OK [22:46:23]MH_I2C_Read... [22:46:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:23]Read from MH i2c: E2 [22:46:23]MH_I2C_Read... [22:46:23]Read from MH i2c: E2 17 00 [22:46:23]MH_I2C_Read... [22:46:23]Read from MH i2c: E2 17 00 C4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 9A [22:46:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [22:46:23]wFMCommunicate OK [22:46:23]requested_item fd.num is exist - process it [22:46:23]SAM_PROTO_GetFieldsCounters [22:46:23]wFMCommunicate request_size=4 [22:46:23]MH_SAM_APDU [22:46:23]CAPDU: 80 13 00 00 [22:46:23]Write to MH i2c: E2 08 00 C5 07 80 13 00 00 00 00 00 00 48 [22:46:23]Write i2c OK [22:46:23]MH_I2C_Read... [22:46:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:24]Read from MH i2c: E2 [22:46:24]MH_I2C_Read... [22:46:24]Read from MH i2c: E2 62 00 [22:46:24]MH_I2C_Read... [22:46:24]Read from MH i2c: E2 62 00 C5 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 51 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [22:46:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 51 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:24]wFMCommunicate OK [22:46:24]SAM_PROTO_GetFieldsCounters done [22:46:24]requested_item shift.num is exist - process it [22:46:24]requested_item shift.opened is exist - process it [22:46:24]req_shift_opened [22:46:24]FM_GetShiftState [22:46:24]SAM_PROTO_GetShiftState [22:46:24]wFMCommunicate request_size=4 [22:46:24]MH_SAM_APDU [22:46:24]CAPDU: 80 13 01 00 [22:46:24]Write to MH i2c: E2 08 00 C6 07 80 13 01 00 00 00 00 00 4A [22:46:24]Write i2c OK [22:46:24]MH_I2C_Read... [22:46:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:24]Read from MH i2c: E2 [22:46:24]MH_I2C_Read... [22:46:24]Read from MH i2c: E2 0E 00 [22:46:24]MH_I2C_Read... [22:46:24]Read from MH i2c: E2 0E 00 C6 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 20 [22:46:24]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [22:46:24]wFMCommunicate OK [22:46:24]SAM_PROTO_GetShiftState done [22:46:24]FM_GetShiftState done [22:46:24]req_shift_opened done [22:46:24]requested_item shift.open_date is exist - process it [22:46:24]req_shift_open_date [22:46:24]req_shift_open_date done [22:46:24]produce_requested_data done [22:46:24]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34385,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [22:46:24]process_action_free close_receipt [22:46:24]json_value_free [22:46:24]json_value_free done [22:46:24]process_json_proto returns [22:46:24]Send response to host [22:46:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34385,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [22:46:24]free response buf [22:46:24]execute_script done [22:46:24]execute_script returns [22:46:24]free content buf [22:46:24]Sock 9.Close socket [22:46:24]Sock 9.Thread stoped [22:46:28]OFD Sender: No OFD packet to send [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:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07: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:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29: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:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50: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:00]accept exits with 7 [23:51:00]New connection [23:51:00]New thread 3067161956 created [23:51:00]Thread 3067018596 joined [23:51:00]Waiting for new connection... [23:51:00] Sock 7.Parse request [23:51:00]Sock 7.Check first char [23:51:00]Sock 7.First char is OK [23:51:00]request: POST /json_proto HTTP/1.0 [23:51:00]Method: POST [23:51:00]URL: /json_proto [23:51:00]Method is POST - this is cgi request [23:51:00]url: /json_proto [23:51:00]query_string will be loaded in cgi processing [23:51:00]execute_cgi json_proto POST (null) [23:51:00]execute_cgi path=json_proto method=POST [23:51:00]POST find Content-Length [23:51:00]Host: 172.17.38.134:8080 [23:51:00]Content-Length: 628 [23:51:00]Content-Type: application/json [23:51:00] [23:51:00]POST finish read [23:51:00]Found Content-Length = 628 [23:51:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184160", "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" ] } } [23:51:00]execute_script... [23:51: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)184160", "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" ] } } [23:51:01]POST & json_proto [23:51:01]process_json_proto [23:51:01]json parsed OK: [23:51:01]protocol is kg_v1.0 [23:51:01]action value=close_receipt [23:51:01]process_action close_receipt [23:51:01]cmd_close_receipt [23:51:01]MH_GetDate [23:51:01]Write to MH i2c: F0 00 00 C7 07 BD [23:51:01]Write i2c OK [23:51:01]MH_I2C_Read... [23:51:01]Read from MH i2c: F0 [23:51:01]MH_I2C_Read... [23:51:01]Read from MH i2c: F0 09 00 [23:51:01]MH_I2C_Read... [23:51:01]Read from MH i2c: F0 09 00 C7 07 00 E7 6E 73 66 13 9C 7C 64 83 [23:51:01]GetLastDocTimeStamp 1718837182 [23:51:01]current date 1718841063 [23:51:01]FM_GetShiftState [23:51:01]SAM_PROTO_GetShiftState [23:51:01]wFMCommunicate request_size=4 [23:51:01]MH_SAM_APDU [23:51:01]CAPDU: 80 13 01 00 [23:51:01]Write to MH i2c: E2 08 00 C8 07 80 13 01 00 00 00 00 00 4C [23:51:01]Write i2c OK [23:51:01]MH_I2C_Read... [23:51:01]OFD Sender: No OFD packet to send [23:51:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:01]Read from MH i2c: E2 [23:51:01]MH_I2C_Read... [23:51:01]Read from MH i2c: E2 0E 00 [23:51:01]MH_I2C_Read... [23:51:01]Read from MH i2c: E2 0E 00 C8 07 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 22 [23:51:01]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:51:01]wFMCommunicate OK [23:51:01]SAM_PROTO_GetShiftState done [23:51:01]FM_GetShiftState done [23:51:01]opened in 1718756813 [23:51:01]opened+sec_in_day 1718843213 [23:51:01]quantity*price = 13000 [23:51:01]sum+1 = 13001 [23:51:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 90 19.06.2024 23:51 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34386 ФПД: 13028596747914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235103&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34386&fm=13028596747914&tin=02508201610067®Number=0000000000092786&sum=13000 0 [23:51:02]StoreToDocumentArchive [23:51:02]shift 324 fd 34386 [23:51:02]save to /storage/0324/doc_00034386 [23:51:02]save last doc name /storage/0324/doc_00034386 to /storage/kkm_last_doc_name [23:51:02]save OK [23:51:02]Clear old archive folders... [23:51:02]ProcessDocumentItem done err = 0, tmpTLVsize=276 [23:51:02]tlvbuf is 00369090 [23:51:02]SAM_PROTO_ClearQueue [23:51:02]wFMCommunicate request_size=4 [23:51:02]MH_SAM_APDU [23:51:02]CAPDU: 80 09 00 00 [23:51:02]Write to MH i2c: E2 08 00 D5 07 80 09 00 00 00 00 00 00 4E [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 D5 07 00 90 00 50 [23:51:02]RAPDU: 90 00 [23:51:02]wFMCommunicate OK [23:51:02]SAM_PROTO_ClearQueue done [23:51:02]KKMCreateOFDPacket [23:51:02]OFDProtocolAddRootSTLVToBuf [23:51:02]FM_MakeSignedData [23:51:02]FM_MakeSignedData [23:51:02]SAM_PROTO_SignData [23:51:02]wFMCommunicate request_size=4 [23:51:02]MH_SAM_APDU [23:51:02]CAPDU: 80 0D 01 02 [23:51:02]Write to MH i2c: E2 08 00 D6 07 80 0D 01 02 00 00 00 00 56 [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 D6 07 00 90 00 51 [23:51:02]RAPDU: 90 00 [23:51:02]wFMCommunicate OK [23:51:02]wFMCommunicate request_size=255 [23:51:02]MH_SAM_APDU [23:51:02]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 5A 00 00 00 F4 03 04 00 E7 6E 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 [23:51:02]Write to MH i2c: E2 02 01 D7 07 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 5A 00 00 00 F4 03 04 00 E7 6E 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 00 00 45 [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 D7 07 00 90 00 52 [23:51:02]RAPDU: 90 00 [23:51:02]wFMCommunicate OK [23:51:02]wFMCommunicate request_size=35 [23:51:02]MH_SAM_APDU [23:51:02]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 52 86 00 00 35 04 06 00 0B D9 74 E1 8E 8A [23:51:02]Write to MH i2c: E2 26 00 D8 07 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 52 86 00 00 35 04 06 00 0B D9 74 E1 8E 8A 00 00 77 [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 03 00 D8 07 00 90 00 53 [23:51:02]RAPDU: 90 00 [23:51:02]wFMCommunicate OK [23:51:02]wFMCommunicate request_size=4 [23:51:02]MH_SAM_APDU [23:51:02]CAPDU: 80 0D 03 02 [23:51:02]Write to MH i2c: E2 08 00 D9 07 80 0D 03 02 00 00 00 00 5B [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 0B 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 0B 00 D9 07 00 2E E7 EA 2B BD 04 BC 5D 90 00 60 [23:51:02]RAPDU: 2E E7 EA 2B BD 04 BC 5D 90 00 [23:51:02]wFMCommunicate OK [23:51:02]SAM_PROTO_SignData done [23:51:02]FM_MakeSignedData done [23:51:02]CreateOFDProtocolMessage [23:51:02]wFMCommunicate request_size=4 [23:51:02]MH_SAM_APDU [23:51:02]CAPDU: 80 11 00 00 [23:51:02]Write to MH i2c: E2 08 00 DA 07 80 11 00 00 00 00 00 00 5B [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:02]Read from MH i2c: E2 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 17 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: E2 17 00 DA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B0 [23:51:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:51:02]wFMCommunicate OK [23:51:02]CreateOFDProtocolMessage done [23:51:02]OFDSenderStorePacket 34386 [23:51:02]StoreOFDPacket docnum=34386 [23:51:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 28 01 00 00 08 20 20 01 97 8C 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 5A 00 00 00 F4 03 04 00 E7 6E 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 52 86 00 00 35 04 06 00 0B D9 74 E1 8E 8A 2E E7 EA 2B BD 04 BC 5D [23:51:02]CheckFolder [23:51:02]dirname=/storage/ofd_packets [23:51:02]CheckFolder done [23:51:02]ProducePacketName [23:51:02]name=ofd_packets/00034386 [23:51:02]NVStorageSaveData ofd_packets/00034386 [23:51:02]File name is /storage/ofd_packets/00034386 [23:51:02]Write 326 bytes [23:51:02]NVStorageSaveData done [23:51:02]OFDSenderStorePacket done [23:51:02]KKMCreateOFDPacket done [23:51:02]NVStorageSaveData kkm_last_timestamp [23:51:02]File name is /storage/kkm_last_timestamp [23:51:02]Write 4 bytes [23:51:02]NVStorageSaveData done [23:51:02]ExternCall_PrintAddStr [23:51:02]wPrintStart [23:51:02]Write to MH i2c: 01 00 00 DB 07 E2 [23:51:02]Write i2c OK [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: 01 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: 01 07 00 [23:51:02]MH_I2C_Read... [23:51:02]Read from MH i2c: 01 07 00 DB 07 00 00 00 00 00 FF 0F F7 [23:51:02]RasterBufferAndPrint [23:51:02]line Счет N : (3)184160 [23:51:02]line ИНН: 02508201610067 [23:51:02]line Контрольно-Кассовый Чек [23:51:02]line ПРОДАЖА [23:51:02]line Товар: 2000036230011 [23:51:02]line Кофе Латте XL(GABB TRADE) [23:51:02]line 1.000 * 130.00 [23:51:02]line = 130.00 [23:51:02]line НДС 12% НСП 1% [23:51:02]line > о реализуемом товаре [23:51:02]line ИТОГО: 130.00 [23:51:02]line НСП 1% : 1.15 [23:51:02]line НДС 12% : 13.80 [23:51:02]line Наличными: 130.00 [23:51:02]line Безнал.: 0.00 [23:51:02]line Место: АЗС № 120 "Партнер Нефть" [23:51:02]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [23:51:02]line СНО: Общий режим [23:51:02]line Чек 90 19.06.2024 23:51 [23:51:02]line Смена: 324 ФФД: 1.0 [23:51:02]line ЗНМ: 0300000172 [23:51:02]line РНМ: 0000000000092786 [23:51:02]line Версия ККМ: 001 [23:51:02]line ФМ: 0000000000875095 [23:51:02]line ФД: 34386 [23:51:02]line ФПД: 13028596747914 [23:51:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235103&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34386&fm=13028596747914&tin=02508201610067®Number=0000000000092786&sum=13000 [23:51:03]line 0 [23:51:03]OFD Sender: Processing packet 34386 [packets to send 8, broken 7] [23:51:03]ProducePacketName [23:51:03]name=ofd_packets/00034386 [23:51:03]OFD Sender: To server: pG, [23:51:03]CommunicateWithHost lk.salyk.kg:30040 [23:51:03]ConnectInit lk.salyk.kg [23:51:03]written 0, free lines is 4095 [23:51:03]Connected sock=10 [23:51:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 28 01 00 00 08 20 20 01 97 8C 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 5A 00 00 00 F4 03 04 00 E7 6E 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 52 86 00 00 35 04 06 00 0B D9 74 E1 8E 8A 2E E7 EA 2B BD 04 BC 5D [23:51:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 4E 78 47 00 45 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 52 86 00 00 F4 03 04 00 B2 15 73 66 B6 04 01 00 00 B9 5E 3E 8F 67 0E A5 68 [23:51:03]CommunicateWithHost err = 0 [23:51:03]CheckOFDResponse [23:51:03]1017 (14) - 77093643461234 [23:51:03]1041 (16) - 0000000000875095 [23:51:03]1040 (4) - 34386 [23:51:03]1012 (4) - 19.06.2024 17:30 [23:51:03]1206 (1) - 0 [23:51:03]OFD Sender: Remove packet 34386 [23:51:03]ProducePacketName [23:51:03]name=ofd_packets/00034386 [23:51:03]NVStorageDeleteData [23:51:03]Write to MH i2c: 01 00 00 03 08 0B [23:51:03]Write i2c OK [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: 01 [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: 01 07 00 [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: 01 07 00 03 08 00 00 00 00 00 02 0D 21 [23:51:03]RasterBufferAndPrint [23:51:03]line [23:51:03]line [23:51:03]line [23:51:03]line [23:51:03]line [23:51:03]written 0, free lines is 3337 [23:51:03]MH_Cut [23:51:03]Write to MH i2c: D1 01 00 0A 08 01 E4 [23:51:03]Write i2c OK [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: D1 [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: D1 01 00 [23:51:03]MH_I2C_Read... [23:51:03]Read from MH i2c: D1 01 00 0A 08 00 E3 [23:51:03]Write to MH i2c: 01 00 00 0B 08 13 [23:51:03]Write i2c OK [23:51:03]MH_I2C_Read... [23:51:03]OFD Sender: No OFD packet to send [23:51:04]*** Cut start [23:51:04]*** Partial cut [23:51:04]*** CUTSNS_PIN = 1 [23:51:04]*** CUTSNS_PIN = 0 [23:51:04]*** Brake cut motor [23:51:04]Read from MH i2c: 01 [23:51:04]MH_I2C_Read... [23:51:04]*** Stop cut motor [23:51:04]*** Cut end [23:51:04]Read from MH i2c: 01 07 00 [23:51:04]MH_I2C_Read... [23:51:04]Read from MH i2c: 01 07 00 0B 08 00 00 00 00 00 FF 0F 28 [23:51:04]process_action close_receipt done [23:51:04]requested_data is exist [23:51:04]produce_requested_data [23:51:04]requested_item fm.sn is exist - process it [23:51:04]wFMCommunicate request_size=4 [23:51:04]MH_SAM_APDU [23:51:04]CAPDU: 80 11 00 00 [23:51:04]Write to MH i2c: E2 08 00 0C 08 80 11 00 00 00 00 00 00 8E [23:51:04]Write i2c OK [23:51:04]MH_I2C_Read... [23:51:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:04]Read from MH i2c: E2 [23:51:04]MH_I2C_Read... [23:51:04]Read from MH i2c: E2 17 00 [23:51:04]MH_I2C_Read... [23:51:04]Read from MH i2c: E2 17 00 0C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 E3 [23:51:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:51:04]wFMCommunicate OK [23:51:04]requested_item fd.num is exist - process it [23:51:04]SAM_PROTO_GetFieldsCounters [23:51:04]wFMCommunicate request_size=4 [23:51:04]MH_SAM_APDU [23:51:04]CAPDU: 80 13 00 00 [23:51:04]Write to MH i2c: E2 08 00 0D 08 80 13 00 00 00 00 00 00 91 [23:51:04]Write i2c OK [23:51:04]MH_I2C_Read... [23:51:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:51:05]Read from MH i2c: E2 [23:51:05]MH_I2C_Read... [23:51:05]Read from MH i2c: E2 62 00 [23:51:05]MH_I2C_Read... [23:51:05]Read from MH i2c: E2 62 00 0D 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 52 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [23:51:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 52 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:51:05]wFMCommunicate OK [23:51:05]SAM_PROTO_GetFieldsCounters done [23:51:05]requested_item shift.num is exist - process it [23:51:05]requested_item shift.opened is exist - process it [23:51:05]req_shift_opened [23:51:05]FM_GetShiftState [23:51:05]SAM_PROTO_GetShiftState [23:51:05]wFMCommunicate request_size=4 [23:51:05]MH_SAM_APDU [23:51:05]CAPDU: 80 13 01 00 [23:51:05]Write to MH i2c: E2 08 00 0E 08 80 13 01 00 00 00 00 00 93 [23:51:05]Write i2c OK [23:51:05]MH_I2C_Read... [23:51:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:05]Read from MH i2c: E2 [23:51:05]MH_I2C_Read... [23:51:05]Read from MH i2c: E2 0E 00 [23:51:05]MH_I2C_Read... [23:51:05]Read from MH i2c: E2 0E 00 0E 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 69 [23:51:05]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:51:05]wFMCommunicate OK [23:51:05]SAM_PROTO_GetShiftState done [23:51:05]FM_GetShiftState done [23:51:05]req_shift_opened done [23:51:05]requested_item shift.open_date is exist - process it [23:51:05]req_shift_open_date [23:51:05]req_shift_open_date done [23:51:05]produce_requested_data done [23:51:05]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34386,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [23:51:05]process_action_free close_receipt [23:51:05]json_value_free [23:51:05]json_value_free done [23:51:05]process_json_proto returns [23:51:05]Send response to host [23:51:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34386,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [23:51:05]free response buf [23:51:05]execute_script done [23:51:05]execute_script returns [23:51:05]free content buf [23:51:05]Sock 7.Close socket [23:51:05]Sock 7.Thread stoped [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:47]accept exits with 9 [23:53:47]New connection [23:53:47]New thread 3067018596 created [23:53:47]Thread 3067161956 joined [23:53:47]Waiting for new connection... [23:53:47] Sock 9.Parse request [23:53:47]Sock 9.Check first char [23:53:47]Sock 9.First char is OK [23:53:47]request: POST /json_proto HTTP/1.0 [23:53:47]Method: POST [23:53:47]URL: /json_proto [23:53:47]Method is POST - this is cgi request [23:53:47]url: /json_proto [23:53:47]query_string will be loaded in cgi processing [23:53:47]execute_cgi json_proto POST (null) [23:53:47]execute_cgi path=json_proto method=POST [23:53:47]POST find Content-Length [23:53:47]Host: 172.17.38.134:8080 [23:53:47]Content-Length: 1868 [23:53:47]Content-Type: application/json [23:53:47] [23:53:47]POST finish read [23:53:47]Found Content-Length = 1868 [23:53:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184161", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:47]execute_script... [23:53: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)184161", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 113.00, "quantity" : 1.000, "sum" : 113.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 95.00, "quantity" : 3.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:48]POST & json_proto [23:53:48]process_json_proto [23:53:48]json parsed OK: [23:53:48]protocol is kg_v1.0 [23:53:48]action value=close_receipt [23:53:48]process_action close_receipt [23:53:48]cmd_close_receipt [23:53:48]MH_GetDate [23:53:48]Write to MH i2c: F0 00 00 0F 08 06 [23:53:48]Write i2c OK [23:53:48]MH_I2C_Read... [23:53:48]Read from MH i2c: F0 [23:53:48]MH_I2C_Read... [23:53:48]Read from MH i2c: F0 09 00 [23:53:48]MH_I2C_Read... [23:53:48]Read from MH i2c: F0 09 00 0F 08 00 8E 6F 73 66 13 9C 7C 64 74 [23:53:48]GetLastDocTimeStamp 1718841063 [23:53:48]current date 1718841230 [23:53:48]FM_GetShiftState [23:53:48]SAM_PROTO_GetShiftState [23:53:48]wFMCommunicate request_size=4 [23:53:48]MH_SAM_APDU [23:53:48]CAPDU: 80 13 01 00 [23:53:48]Write to MH i2c: E2 08 00 10 08 80 13 01 00 00 00 00 00 95 [23:53:48]Write i2c OK [23:53:48]MH_I2C_Read... [23:53:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:48]Read from MH i2c: E2 [23:53:48]MH_I2C_Read... [23:53:48]Read from MH i2c: E2 0E 00 [23:53:48]MH_I2C_Read... [23:53:48]Read from MH i2c: E2 0E 00 10 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 6B [23:53:48]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:53:48]wFMCommunicate OK [23:53:48]SAM_PROTO_GetShiftState done [23:53:48]FM_GetShiftState done [23:53:48]opened in 1718756813 [23:53:48]opened+sec_in_day 1718843213 [23:53:48]quantity*price = 8500 [23:53:48]sum+1 = 8501 [23:53:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521216 Напиток MAXI чай 1,2 зел.лимон (новый) 1.000 * 113.00 = 113.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607015235401 Пряники Яшкино шоколадные 350г 1.000 * 129.00 = 129.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 3.000 * 95.00 = 285.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 640.00 НСП 1% : 5.66 НДС 12% : 67.96 Наличными: 640.00 Безнал.: 0.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 91 19.06.2024 23:53 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 ФМ: 0000000000875095 ФД: 34387 ФПД: 108082608713735 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235350&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34387&fm=108082608713735&tin=02508201610067®Number=0000000000092786&sum=64000 0 [23:53:49]StoreToDocumentArchive [23:53:49]shift 324 fd 34387 [23:53:49]save to /storage/0324/doc_00034387 [23:53:49]save last doc name /storage/0324/doc_00034387 to /storage/kkm_last_doc_name [23:53:49]save OK [23:53:49]Clear old archive folders... [23:53:49]ProcessDocumentItem done err = 0, tmpTLVsize=778 [23:53:49]tlvbuf is 0042B600 [23:53:49]SAM_PROTO_ClearQueue [23:53:49]wFMCommunicate request_size=4 [23:53:49]MH_SAM_APDU [23:53:49]CAPDU: 80 09 00 00 [23:53:49]Write to MH i2c: E2 08 00 1D 08 80 09 00 00 00 00 00 00 97 [23:53:49]Write i2c OK [23:53:49]MH_I2C_Read... [23:53:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:49]Read from MH i2c: E2 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 1D 08 00 90 00 99 [23:53:49]RAPDU: 90 00 [23:53:49]wFMCommunicate OK [23:53:49]SAM_PROTO_ClearQueue done [23:53:49]KKMCreateOFDPacket [23:53:49]OFDProtocolAddRootSTLVToBuf [23:53:49]FM_MakeSignedData [23:53:49]FM_MakeSignedData [23:53:49]SAM_PROTO_SignData [23:53:49]wFMCommunicate request_size=4 [23:53:49]MH_SAM_APDU [23:53:49]CAPDU: 80 0D 01 02 [23:53:49]Write to MH i2c: E2 08 00 1E 08 80 0D 01 02 00 00 00 00 9F [23:53:49]Write i2c OK [23:53:49]MH_I2C_Read... [23:53:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:49]Read from MH i2c: E2 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 1E 08 00 90 00 9A [23:53:49]RAPDU: 90 00 [23:53:49]wFMCommunicate OK [23:53:49]wFMCommunicate request_size=255 [23:53:49]MH_SAM_APDU [23:53:49]CAPDU: 80 0D 02 02 FA 03 00 0A 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 [23:53:49]Write to MH i2c: E2 02 01 1F 08 80 0D 02 02 FA 00 03 00 0A 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 00 00 8D [23:53:49]Write i2c OK [23:53:49]MH_I2C_Read... [23:53:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:49]Read from MH i2c: E2 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 [23:53:49]MH_I2C_Read... [23:53:49]Read from MH i2c: E2 03 00 1F 08 00 90 00 9B [23:53:49]RAPDU: 90 00 [23:53:49]wFMCommunicate OK [23:53:49]wFMCommunicate request_size=255 [23:53:49]MH_SAM_APDU [23:53:49]CAPDU: 80 0D 02 02 FA F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 [23:53:49]Write to MH i2c: E2 02 01 20 08 80 0D 02 02 FA 00 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 00 00 87 [23:53:49]Write i2c OK [23:53:49]MH_I2C_Read... [23:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:50]Read from MH i2c: E2 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 20 08 00 90 00 9C [23:53:50]RAPDU: 90 00 [23:53:50]wFMCommunicate OK [23:53:50]wFMCommunicate request_size=255 [23:53:50]MH_SAM_APDU [23:53:50]CAPDU: 80 0D 02 02 FA 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 8E 6F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 [23:53:50]Write to MH i2c: E2 02 01 21 08 80 0D 02 02 FA 00 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 8E 6F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 00 00 FE [23:53:50]Write i2c OK [23:53:50]MH_I2C_Read... [23:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:50]Read from MH i2c: E2 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 21 08 00 90 00 9D [23:53:50]RAPDU: 90 00 [23:53:50]wFMCommunicate OK [23:53:50]wFMCommunicate request_size=37 [23:53:50]MH_SAM_APDU [23:53:50]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 53 86 00 00 35 04 06 00 62 4C F1 7F B0 07 [23:53:50]Write to MH i2c: E2 28 00 22 08 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 53 86 00 00 35 04 06 00 62 4C F1 7F B0 07 00 00 AB [23:53:50]Write i2c OK [23:53:50]MH_I2C_Read... [23:53:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:50]Read from MH i2c: E2 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 03 00 22 08 00 90 00 9E [23:53:50]RAPDU: 90 00 [23:53:50]wFMCommunicate OK [23:53:50]wFMCommunicate request_size=4 [23:53:50]MH_SAM_APDU [23:53:50]CAPDU: 80 0D 03 02 [23:53:50]Write to MH i2c: E2 08 00 23 08 80 0D 03 02 00 00 00 00 A6 [23:53:50]Write i2c OK [23:53:50]MH_I2C_Read... [23:53:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:50]Read from MH i2c: E2 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 0B 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 0B 00 23 08 00 84 D6 6D 89 5A 94 28 77 90 00 84 [23:53:50]RAPDU: 84 D6 6D 89 5A 94 28 77 90 00 [23:53:50]wFMCommunicate OK [23:53:50]SAM_PROTO_SignData done [23:53:50]FM_MakeSignedData done [23:53:50]CreateOFDProtocolMessage [23:53:50]wFMCommunicate request_size=4 [23:53:50]MH_SAM_APDU [23:53:50]CAPDU: 80 11 00 00 [23:53:50]Write to MH i2c: E2 08 00 24 08 80 11 00 00 00 00 00 00 A6 [23:53:50]Write i2c OK [23:53:50]MH_I2C_Read... [23:53:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:50]Read from MH i2c: E2 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 17 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: E2 17 00 24 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 FB [23:53:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:53:50]wFMCommunicate OK [23:53:50]CreateOFDProtocolMessage done [23:53:50]OFDSenderStorePacket 34387 [23:53:50]StoreOFDPacket docnum=34387 [23:53:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 03 00 00 A2 72 16 03 CA D9 5A 03 01 00 03 00 0A 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 8E 6F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 53 86 00 00 35 04 06 00 62 4C F1 7F B0 07 84 D6 6D 89 5A 94 28 77 [23:53:50]CheckFolder [23:53:50]dirname=/storage/ofd_packets [23:53:50]CheckFolder done [23:53:50]ProducePacketName [23:53:50]name=ofd_packets/00034387 [23:53:50]NVStorageSaveData ofd_packets/00034387 [23:53:50]File name is /storage/ofd_packets/00034387 [23:53:50]Write 828 bytes [23:53:50]NVStorageSaveData done [23:53:50]OFDSenderStorePacket done [23:53:50]KKMCreateOFDPacket done [23:53:50]NVStorageSaveData kkm_last_timestamp [23:53:50]File name is /storage/kkm_last_timestamp [23:53:50]Write 4 bytes [23:53:50]NVStorageSaveData done [23:53:50]ExternCall_PrintAddStr [23:53:50]wPrintStart [23:53:50]Write to MH i2c: 01 00 00 25 08 2D [23:53:50]Write i2c OK [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: 01 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: 01 07 00 [23:53:50]MH_I2C_Read... [23:53:50]Read from MH i2c: 01 07 00 25 08 00 00 00 00 00 FF 0F 42 [23:53:50]RasterBufferAndPrint [23:53:50]line Счет N : (3)184161 [23:53:50]line ИНН: 02508201610067 [23:53:50]line Контрольно-Кассовый Чек [23:53:50]line ПРОДАЖА [23:53:50]line Товар: 4700000481453 [23:53:50]line Напиток энерг Nitro Max 0,45 ж/б [23:53:50]line 1.000 * 85.00 [23:53:50]line = 85.00 [23:53:50]line НДС 12% НСП 1% [23:53:50]line > о реализуемом товаре [23:53:50]line Товар: 4870202521216 [23:53:50]line Напиток MAXI чай 1,2 зел.лимон (новый) [23:53:50]line 1.000 * 113.00 [23:53:50]line = 113.00 [23:53:50]line НДС 12% НСП 1% [23:53:50]line > о реализуемом товаре [23:53:50]line Товар: 4607015235401 [23:53:50]line Пряники Яшкино шоколадные 350г [23:53:50]line 1.000 * 129.00 [23:53:50]line = 129.00 [23:53:50]line НДС 12% НСП 1% [23:53:50]line > о реализуемом товаре [23:53:51]line Товар: 2000053020015 [23:53:51]line Бумажные стаканы 250мл 1шт [23:53:51]line 4.000 * 7.00 [23:53:51]line = 28.00 [23:53:51]line НДС 12% НСП 1% [23:53:51]line > о реализуемом товаре [23:53:51]line Товар: 2000036190018 [23:53:51]line Кофе Американо XL(GABB TRADE) [23:53:51]line 3.000 * 95.00 [23:53:51]line = 285.00 [23:53:51]line НДС 12% НСП 1% [23:53:51]line > о реализуемом товаре [23:53:51]line ИТОГО: 640.00 [23:53:51]line НСП 1% : 5.66 [23:53:51]line НДС 12% : 67.96 [23:53:51]line Наличными: 640.00 [23:53:51]line Безнал.: 0.00 [23:53:51]line Место: АЗС № 120 "Партнер Нефть" [23:53:51]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [23:53:51]line СНО: Общий режим [23:53:51]line Чек 91 19.06.2024 23:53 [23:53:51]line Смена: 324 ФФД: 1.0 [23:53:51]line ЗНМ: 0300000172 [23:53:51]line РНМ: 0000000000092786 [23:53:51]line Версия ККМ: 001 [23:53:51]line ФМ: 0000000000875095 [23:53:51]line ФД: 34387 [23:53:51]line ФПД: 108082608713735 [23:53:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235350&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34387&fm=108082608713735&tin=02508201610067®Number=0000000000092786&sum=64000 [23:53:51]line 0 [23:53:51]OFD Sender: Processing packet 34387 [packets to send 8, broken 7] [23:53:51]ProducePacketName [23:53:51]name=ofd_packets/00034387 [23:53:51]OFD Sender: To server: pG, [23:53:51]CommunicateWithHost lk.salyk.kg:30040 [23:53:51]ConnectInit lk.salyk.kg [23:53:51]written 0, free lines is 4095 [23:53:51]Connected sock=10 [23:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 1E 03 00 00 A2 72 16 03 CA D9 5A 03 01 00 03 00 0A 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 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 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 2C 00 00 00 00 13 04 06 00 24 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 8E 6F 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 53 86 00 00 35 04 06 00 62 4C F1 7F B0 07 84 D6 6D 89 5A 94 28 77 [23:53:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 F6 7E 47 00 82 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 53 86 00 00 F4 03 04 00 5A 16 73 66 B6 04 01 00 00 83 C7 F7 F9 72 7C 99 A9 [23:53:51]CommunicateWithHost err = 0 [23:53:51]CheckOFDResponse [23:53:51]1017 (14) - 77093643461234 [23:53:51]1041 (16) - 0000000000875095 [23:53:51]1040 (4) - 34387 [23:53:51]1012 (4) - 19.06.2024 17:33 [23:53:51]1206 (1) - 0 [23:53:51]OFD Sender: Remove packet 34387 [23:53:51]ProducePacketName [23:53:51]name=ofd_packets/00034387 [23:53:51]NVStorageDeleteData [23:53:51]Write to MH i2c: 01 00 00 6A 08 72 [23:53:51]Write i2c OK [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: 01 [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: 01 07 00 [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: 01 07 00 6A 08 00 00 00 00 00 35 0B B9 [23:53:51]RasterBufferAndPrint [23:53:51]line [23:53:51]line [23:53:51]line [23:53:51]line [23:53:51]line [23:53:51]written 0, free lines is 2879 [23:53:51]MH_Cut [23:53:51]Write to MH i2c: D1 01 00 71 08 01 4B [23:53:51]Write i2c OK [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: D1 [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: D1 01 00 [23:53:51]MH_I2C_Read... [23:53:51]Read from MH i2c: D1 01 00 71 08 00 4A [23:53:51]Write to MH i2c: 01 00 00 72 08 7A [23:53:51]Write i2c OK [23:53:51]MH_I2C_Read... [23:53:51]OFD Sender: No OFD packet to send [23:53:52]*** Cut start [23:53:52]*** Partial cut [23:53:52]*** CUTSNS_PIN = 1 [23:53:52]*** CUTSNS_PIN = 0 [23:53:53]*** Brake cut motor [23:53:53]Read from MH i2c: 01 [23:53:53]MH_I2C_Read... [23:53:53]*** Stop cut motor [23:53:53]*** Cut end [23:53:53]Read from MH i2c: 01 07 00 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: 01 07 00 72 08 00 00 00 00 00 FF 0F 8F [23:53:53]process_action close_receipt done [23:53:53]requested_data is exist [23:53:53]produce_requested_data [23:53:53]requested_item fm.sn is exist - process it [23:53:53]wFMCommunicate request_size=4 [23:53:53]MH_SAM_APDU [23:53:53]CAPDU: 80 11 00 00 [23:53:53]Write to MH i2c: E2 08 00 73 08 80 11 00 00 00 00 00 00 F5 [23:53:53]Write i2c OK [23:53:53]MH_I2C_Read... [23:53:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:53]Read from MH i2c: E2 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 17 00 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 17 00 73 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 4A [23:53:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:53:53]wFMCommunicate OK [23:53:53]requested_item fd.num is exist - process it [23:53:53]SAM_PROTO_GetFieldsCounters [23:53:53]wFMCommunicate request_size=4 [23:53:53]MH_SAM_APDU [23:53:53]CAPDU: 80 13 00 00 [23:53:53]Write to MH i2c: E2 08 00 74 08 80 13 00 00 00 00 00 00 F8 [23:53:53]Write i2c OK [23:53:53]MH_I2C_Read... [23:53:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:53]Read from MH i2c: E2 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 62 00 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 62 00 74 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 53 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [23:53:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 53 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:53]wFMCommunicate OK [23:53:53]SAM_PROTO_GetFieldsCounters done [23:53:53]requested_item shift.num is exist - process it [23:53:53]requested_item shift.opened is exist - process it [23:53:53]req_shift_opened [23:53:53]FM_GetShiftState [23:53:53]SAM_PROTO_GetShiftState [23:53:53]wFMCommunicate request_size=4 [23:53:53]MH_SAM_APDU [23:53:53]CAPDU: 80 13 01 00 [23:53:53]Write to MH i2c: E2 08 00 75 08 80 13 01 00 00 00 00 00 FA [23:53:53]Write i2c OK [23:53:53]MH_I2C_Read... [23:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:53]Read from MH i2c: E2 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 0E 00 [23:53:53]MH_I2C_Read... [23:53:53]Read from MH i2c: E2 0E 00 75 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D0 [23:53:53]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:53:53]wFMCommunicate OK [23:53:53]SAM_PROTO_GetShiftState done [23:53:53]FM_GetShiftState done [23:53:53]req_shift_opened done [23:53:53]requested_item shift.open_date is exist - process it [23:53:53]req_shift_open_date [23:53:53]req_shift_open_date done [23:53:53]produce_requested_data done [23:53:53]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34387,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [23:53:53]process_action_free close_receipt [23:53:53]json_value_free [23:53:53]json_value_free done [23:53:53]process_json_proto returns [23:53:53]Send response to host [23:53:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34387,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [23:53:53]free response buf [23:53:53]execute_script done [23:53:53]execute_script returns [23:53:53]free content buf [23:53:53]Sock 9.Close socket [23:53:53]Sock 9.Thread stoped [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:21]OFD Sender: No OFD packet to send [23:54:26]OFD Sender: No OFD packet to send [23:54:31]OFD Sender: No OFD packet to send [23:54:36]OFD Sender: No OFD packet to send [23:54:41]OFD Sender: No OFD packet to send [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:27]accept exits with 7 [23:58:27]New connection [23:58:27]New thread 3067161956 created [23:58:27]Thread 3067018596 joined [23:58:27]Waiting for new connection... [23:58:27] Sock 7.Parse request [23:58:27]Sock 7.Check first char [23:58:27]Sock 7.First char is OK [23:58:27]request: POST /json_proto HTTP/1.0 [23:58:27]Method: POST [23:58:27]URL: /json_proto [23:58:27]Method is POST - this is cgi request [23:58:27]url: /json_proto [23:58:27]query_string will be loaded in cgi processing [23:58:27]execute_cgi json_proto POST (null) [23:58:27]execute_cgi path=json_proto method=POST [23:58:27]POST find Content-Length [23:58:27]Host: 172.17.38.134:8080 [23:58:27]Content-Length: 823 [23:58:27]Content-Type: application/json [23:58:27] [23:58:27]POST finish read [23:58:27]Found Content-Length = 823 [23:58:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184162", "tax_sys" : 0, "items" : [ { "code": "4600682000280", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up \u043C\u043E\u0445\u0438\u0442\u043E 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:27]execute_script... [23:58:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184162", "tax_sys" : 0, "items" : [ { "code": "4600682000280", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up \u043C\u043E\u0445\u0438\u0442\u043E 0,45 \u0436/\u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:27]POST & json_proto [23:58:27]process_json_proto [23:58:27]json parsed OK: [23:58:27]protocol is kg_v1.0 [23:58:27]action value=close_receipt [23:58:27]process_action close_receipt [23:58:27]cmd_close_receipt [23:58:27]MH_GetDate [23:58:27]Write to MH i2c: F0 00 00 76 08 6D [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: F0 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: F0 09 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: F0 09 00 76 08 00 A5 70 73 66 13 9C 7C 64 F3 [23:58:27]GetLastDocTimeStamp 1718841230 [23:58:27]current date 1718841509 [23:58:27]FM_GetShiftState [23:58:27]SAM_PROTO_GetShiftState [23:58:27]wFMCommunicate request_size=4 [23:58:27]MH_SAM_APDU [23:58:27]CAPDU: 80 13 01 00 [23:58:27]Write to MH i2c: E2 08 00 77 08 80 13 01 00 00 00 00 00 FC [23:58:27]Write i2c OK [23:58:27]MH_I2C_Read... [23:58:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:27]Read from MH i2c: E2 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 0E 00 [23:58:27]MH_I2C_Read... [23:58:27]Read from MH i2c: E2 0E 00 77 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 D2 [23:58:27]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:58:27]wFMCommunicate OK [23:58:27]SAM_PROTO_GetShiftState done [23:58:27]FM_GetShiftState done [23:58:27]opened in 1718756813 [23:58:27]opened+sec_in_day 1718843213 [23:58:27]quantity*price = 8500 [23:58:27]sum+1 = 8501 [23:58:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 92 19.06.2024 23:58 Смена: 324 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34388 ФПД: 144151042900464 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235830&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34388&fm=144151042900464&tin=02508201610067®Number=0000000000092786&sum=8500 0 [23:58:29]StoreToDocumentArchive [23:58:29]shift 324 fd 34388 [23:58:29]save to /storage/0324/doc_00034388 [23:58:29]save last doc name /storage/0324/doc_00034388 to /storage/kkm_last_doc_name [23:58:29]save OK [23:58:29]Clear old archive folders... [23:58:29]ProcessDocumentItem done err = 0, tmpTLVsize=289 [23:58:29]tlvbuf is 0042D070 [23:58:29]SAM_PROTO_ClearQueue [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 09 00 00 [23:58:29]Write to MH i2c: E2 08 00 84 08 80 09 00 00 00 00 00 00 FE [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 84 08 00 90 00 00 [23:58:29]RAPDU: 90 00 [23:58:29]wFMCommunicate OK [23:58:29]SAM_PROTO_ClearQueue done [23:58:29]KKMCreateOFDPacket [23:58:29]OFDProtocolAddRootSTLVToBuf [23:58:29]FM_MakeSignedData [23:58:29]FM_MakeSignedData [23:58:29]SAM_PROTO_SignData [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 0D 01 02 [23:58:29]Write to MH i2c: E2 08 00 85 08 80 0D 01 02 00 00 00 00 06 [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 85 08 00 90 00 01 [23:58:29]RAPDU: 90 00 [23:58:29]wFMCommunicate OK [23:58:29]wFMCommunicate request_size=255 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 30 32 38 30 06 04 2F 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 D0 BC D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 A6 70 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [23:58:29]Write to MH i2c: E2 02 01 86 08 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 30 32 38 30 06 04 2F 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 D0 BC D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 A6 70 73 66 0E 04 04 00 44 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 3E [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 86 08 00 90 00 02 [23:58:29]RAPDU: 90 00 [23:58:29]wFMCommunicate OK [23:58:29]wFMCommunicate request_size=48 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 0D 02 02 2B 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 54 86 00 00 35 04 06 00 83 1A C7 B4 C1 F0 [23:58:29]Write to MH i2c: E2 33 00 87 08 80 0D 02 02 2B 00 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 54 86 00 00 35 04 06 00 83 1A C7 B4 C1 F0 00 00 B0 [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 03 00 87 08 00 90 00 03 [23:58:29]RAPDU: 90 00 [23:58:29]wFMCommunicate OK [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 0D 03 02 [23:58:29]Write to MH i2c: E2 08 00 88 08 80 0D 03 02 00 00 00 00 0B [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 0B 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 0B 00 88 08 00 41 1C 5E BF 88 D0 CB 60 90 00 09 [23:58:29]RAPDU: 41 1C 5E BF 88 D0 CB 60 90 00 [23:58:29]wFMCommunicate OK [23:58:29]SAM_PROTO_SignData done [23:58:29]FM_MakeSignedData done [23:58:29]CreateOFDProtocolMessage [23:58:29]wFMCommunicate request_size=4 [23:58:29]MH_SAM_APDU [23:58:29]CAPDU: 80 11 00 00 [23:58:29]Write to MH i2c: E2 08 00 89 08 80 11 00 00 00 00 00 00 0B [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:29]Read from MH i2c: E2 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 17 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: E2 17 00 89 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 60 [23:58:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:58:29]wFMCommunicate OK [23:58:29]CreateOFDProtocolMessage done [23:58:29]OFDSenderStorePacket 34388 [23:58:29]StoreOFDPacket docnum=34388 [23:58:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 01 00 00 7A F2 2D 01 64 41 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 30 32 38 30 06 04 2F 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 D0 BC D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 A6 70 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 54 86 00 00 35 04 06 00 83 1A C7 B4 C1 F0 41 1C 5E BF 88 D0 CB 60 [23:58:29]CheckFolder [23:58:29]dirname=/storage/ofd_packets [23:58:29]CheckFolder done [23:58:29]ProducePacketName [23:58:29]name=ofd_packets/00034388 [23:58:29]NVStorageSaveData ofd_packets/00034388 [23:58:29]File name is /storage/ofd_packets/00034388 [23:58:29]Write 339 bytes [23:58:29]NVStorageSaveData done [23:58:29]OFDSenderStorePacket done [23:58:29]KKMCreateOFDPacket done [23:58:29]NVStorageSaveData kkm_last_timestamp [23:58:29]File name is /storage/kkm_last_timestamp [23:58:29]Write 4 bytes [23:58:29]NVStorageSaveData done [23:58:29]OFD Sender: Processing packet 34388 [packets to send 8, broken 7] [23:58:29]ProducePacketName [23:58:29]name=ofd_packets/00034388 [23:58:29]OFD Sender: To server: pG, [23:58:29]CommunicateWithHost lk.salyk.kg:30040 [23:58:29]ConnectInit lk.salyk.kg [23:58:29]ExternCall_PrintAddStr [23:58:29]wPrintStart [23:58:29]Write to MH i2c: 01 00 00 8A 08 92 [23:58:29]Write i2c OK [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: 01 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: 01 07 00 [23:58:29]MH_I2C_Read... [23:58:29]Read from MH i2c: 01 07 00 8A 08 00 00 00 00 00 FF 0F A7 [23:58:29]RasterBufferAndPrint [23:58:29]line Счет N : (3)184162 [23:58:29]line ИНН: 02508201610067 [23:58:29]line Контрольно-Кассовый Чек [23:58:29]line ПРОДАЖА [23:58:29]line Товар: 4600682000280 [23:58:29]line Напиток FLash up мохито 0,45 ж/б [23:58:29]line 1.000 * 85.00 [23:58:29]line = 85.00 [23:58:29]line НДС 12% НСП 1% [23:58:29]line > о реализуемом товаре [23:58:29]line ИТОГО: 85.00 [23:58:29]line НСП 1% : 0.75 [23:58:29]line НДС 12% : 9.03 [23:58:29]line Наличными: 0.00 [23:58:29]line Безнал.: 85.00 [23:58:29]line Место: АЗС № 120 "Партнер Нефть" [23:58:29]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [23:58:29]line СНО: Общий режим [23:58:29]line Чек 92 19.06.2024 23:58 [23:58:29]line Смена: 324 ФФД: 1.0 [23:58:29]line ЗНМ: 0300000172 [23:58:29]line РНМ: 0000000000092786 [23:58:29]line Версия ККМ: 001 [23:58:29]line Платежная система: O! деньги [23:58:29]line ФМ: 0000000000875095 [23:58:29]line ФД: 34388 [23:58:29]line ФПД: 144151042900464 [23:58:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240619T235830&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34388&fm=144151042900464&tin=02508201610067®Number=0000000000092786&sum=8500 [23:58:29]line 0 [23:58:29]Connected sock=9 [23:58:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 01 00 00 7A F2 2D 01 64 41 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 30 30 36 38 32 30 30 30 32 38 30 06 04 2F 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 D0 BC D0 BE D1 85 D0 B8 D1 82 D0 BE 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 A6 70 73 66 0E 04 04 00 44 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 54 86 00 00 35 04 06 00 83 1A C7 B4 C1 F0 41 1C 5E BF 88 D0 CB 60 [23:58:29]written 0, free lines is 4095 [23:58:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 10 7F 47 00 0D B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 54 86 00 00 F4 03 04 00 71 17 73 66 B6 04 01 00 00 70 96 D4 51 14 F5 B9 B3 [23:58:30]CommunicateWithHost err = 0 [23:58:30]CheckOFDResponse [23:58:30]1017 (14) - 77093643461234 [23:58:30]1041 (16) - 0000000000875095 [23:58:30]1040 (4) - 34388 [23:58:30]1012 (4) - 19.06.2024 17:37 [23:58:30]1206 (1) - 0 [23:58:30]OFD Sender: Remove packet 34388 [23:58:30]ProducePacketName [23:58:30]name=ofd_packets/00034388 [23:58:30]NVStorageDeleteData [23:58:30]Write to MH i2c: 01 00 00 B5 08 BD [23:58:30]Write i2c OK [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: 01 [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: 01 07 00 [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: 01 07 00 B5 08 00 00 00 00 00 C7 0C 97 [23:58:30]RasterBufferAndPrint [23:58:30]line [23:58:30]line [23:58:30]line [23:58:30]line [23:58:30]line [23:58:30]written 0, free lines is 3280 [23:58:30]MH_Cut [23:58:30]Write to MH i2c: D1 01 00 BC 08 01 96 [23:58:30]Write i2c OK [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: D1 [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: D1 01 00 [23:58:30]MH_I2C_Read... [23:58:30]Read from MH i2c: D1 01 00 BC 08 00 95 [23:58:30]Write to MH i2c: 01 00 00 BD 08 C5 [23:58:30]Write i2c OK [23:58:30]MH_I2C_Read... [23:58:30]OFD Sender: No OFD packet to send [23:58:31]*** Cut start [23:58:31]*** Partial cut [23:58:31]*** CUTSNS_PIN = 1 [23:58:31]*** CUTSNS_PIN = 0 [23:58:31]*** Brake cut motor [23:58:31]Read from MH i2c: 01 [23:58:31]MH_I2C_Read... [23:58:31]*** Stop cut motor [23:58:31]*** Cut end [23:58:31]Read from MH i2c: 01 07 00 [23:58:31]MH_I2C_Read... [23:58:31]Read from MH i2c: 01 07 00 BD 08 00 00 00 00 00 FF 0F DA [23:58:31]process_action close_receipt done [23:58:31]requested_data is exist [23:58:31]produce_requested_data [23:58:31]requested_item fm.sn is exist - process it [23:58:31]wFMCommunicate request_size=4 [23:58:31]MH_SAM_APDU [23:58:31]CAPDU: 80 11 00 00 [23:58:31]Write to MH i2c: E2 08 00 BE 08 80 11 00 00 00 00 00 00 40 [23:58:31]Write i2c OK [23:58:31]MH_I2C_Read... [23:58:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:31]Read from MH i2c: E2 [23:58:31]MH_I2C_Read... [23:58:31]Read from MH i2c: E2 17 00 [23:58:31]MH_I2C_Read... [23:58:31]Read from MH i2c: E2 17 00 BE 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 95 [23:58:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [23:58:31]wFMCommunicate OK [23:58:31]requested_item fd.num is exist - process it [23:58:31]SAM_PROTO_GetFieldsCounters [23:58:31]wFMCommunicate request_size=4 [23:58:31]MH_SAM_APDU [23:58:31]CAPDU: 80 13 00 00 [23:58:31]Write to MH i2c: E2 08 00 BF 08 80 13 00 00 00 00 00 00 43 [23:58:31]Write i2c OK [23:58:31]MH_I2C_Read... [23:58:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:31]Read from MH i2c: E2 [23:58:31]MH_I2C_Read... [23:58:31]Read from MH i2c: E2 62 00 [23:58:31]MH_I2C_Read... [23:58:31]Read from MH i2c: E2 62 00 BF 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 A0 [23:58:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:31]wFMCommunicate OK [23:58:31]SAM_PROTO_GetFieldsCounters done [23:58:31]requested_item shift.num is exist - process it [23:58:31]requested_item shift.opened is exist - process it [23:58:31]req_shift_opened [23:58:31]FM_GetShiftState [23:58:31]SAM_PROTO_GetShiftState [23:58:31]wFMCommunicate request_size=4 [23:58:31]MH_SAM_APDU [23:58:31]CAPDU: 80 13 01 00 [23:58:31]Write to MH i2c: E2 08 00 C0 08 80 13 01 00 00 00 00 00 45 [23:58:31]Write i2c OK [23:58:31]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 [23:58:32]MH_I2C_Read... [23:58:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:32]Read from MH i2c: E2 0E 00 [23:58:32]MH_I2C_Read... [23:58:32]Read from MH i2c: E2 0E 00 C0 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1B [23:58:32]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [23:58:32]wFMCommunicate OK [23:58:32]SAM_PROTO_GetShiftState done [23:58:32]FM_GetShiftState done [23:58:32]req_shift_opened done [23:58:32]requested_item shift.open_date is exist - process it [23:58:32]req_shift_open_date [23:58:32]req_shift_open_date done [23:58:32]produce_requested_data done [23:58:32]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [23:58:32]process_action_free close_receipt [23:58:32]json_value_free [23:58:32]json_value_free done [23:58:32]process_json_proto returns [23:58:32]Send response to host [23:58:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [23:58:32]free response buf [23:58:32]execute_script done [23:58:32]execute_script returns [23:58:32]free content buf [23:58:32]Sock 7.Close socket [23:58:32]Sock 7.Thread stoped [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:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:08]accept exits with 10 [00:10:08]New connection [00:10:08]New thread 3067018596 created [00:10:08] Sock 10.Parse request [00:10:08]Thread 3067161956 joined [00:10:08]Sock 10.Check first char [00:10:08]Waiting for new connection... [00:10:08]Sock 10.First char is OK [00:10:08]request: POST /json_proto HTTP/1.0 [00:10:08]Method: POST [00:10:08]URL: /json_proto [00:10:08]Method is POST - this is cgi request [00:10:08]url: /json_proto [00:10:08]query_string will be loaded in cgi processing [00:10:08]execute_cgi json_proto POST (null) [00:10:08]execute_cgi path=json_proto method=POST [00:10:08]POST find Content-Length [00:10:08]Host: 172.17.38.134:8080 [00:10:08]Content-Length: 215 [00:10:08]Content-Type: application/json [00:10:08] [00:10:08]POST finish read [00:10:08]Found Content-Length = 215 [00:10:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:08]execute_script... [00:10:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:08]POST & json_proto [00:10:08]process_json_proto [00:10:08]json parsed OK: [00:10:08]protocol is kg_v1.0 [00:10:08]action value=get_value [00:10:08]process_action get_value [00:10:08]cmd_get_value [00:10:08]process_action get_value done [00:10:08]requested_data is exist [00:10:08]produce_requested_data [00:10:08]requested_item kkm.sn is exist - process it [00:10:08]requested_item kkm.ver is exist - process it [00:10:08]requested_item fm.sn is exist - process it [00:10:08]wFMCommunicate request_size=4 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 11 00 00 [00:10:08]Write to MH i2c: E2 08 00 C1 08 80 11 00 00 00 00 00 00 43 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:08]Read from MH i2c: E2 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 17 00 [00:10:08]MH_I2C_Read... [00:10:08]Read from MH i2c: E2 17 00 C1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 98 [00:10:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:10:08]wFMCommunicate OK [00:10:08]requested_item fd.num is exist - process it [00:10:08]SAM_PROTO_GetFieldsCounters [00:10:08]wFMCommunicate request_size=4 [00:10:08]MH_SAM_APDU [00:10:08]CAPDU: 80 13 00 00 [00:10:08]Write to MH i2c: E2 08 00 C2 08 80 13 00 00 00 00 00 00 46 [00:10:08]Write i2c OK [00:10:08]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 62 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 62 00 C2 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [00:10:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:09]wFMCommunicate OK [00:10:09]SAM_PROTO_GetFieldsCounters done [00:10:09]requested_item shift.num is exist - process it [00:10:09]requested_item shift.opened is exist - process it [00:10:09]req_shift_opened [00:10:09]FM_GetShiftState [00:10:09]SAM_PROTO_GetShiftState [00:10:09]wFMCommunicate request_size=4 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 13 01 00 [00:10:09]Write to MH i2c: E2 08 00 C3 08 80 13 01 00 00 00 00 00 48 [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 0E 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 0E 00 C3 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 1E [00:10:09]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [00:10:09]wFMCommunicate OK [00:10:09]SAM_PROTO_GetShiftState done [00:10:09]FM_GetShiftState done [00:10:09]req_shift_opened done [00:10:09]requested_item shift.open_date is exist - process it [00:10:09]req_shift_open_date [00:10:09]req_shift_open_date done [00:10:09]produce_requested_data done [00:10:09]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [00:10:09]process_action_free get_value [00:10:09]json_value_free [00:10:09]json_value_free done [00:10:09]process_json_proto returns [00:10:09]Send response to host [00:10:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [00:10:09]free response buf [00:10:09]execute_script done [00:10:09]execute_script returns [00:10:09]free content buf [00:10:09]Sock 10.Close socket [00:10:09]Sock 10.Thread stoped [00:10:09]accept exits with 7 [00:10:09]New connection [00:10:09]New thread 3067161956 created [00:10:09]Thread 3067018596 joined [00:10:09]Waiting for new connection... [00:10:09] Sock 7.Parse request [00:10:09]Sock 7.Check first char [00:10:09]Sock 7.First char is OK [00:10:09]request: POST /json_proto HTTP/1.0 [00:10:09]Method: POST [00:10:09]URL: /json_proto [00:10:09]Method is POST - this is cgi request [00:10:09]url: /json_proto [00:10:09]query_string will be loaded in cgi processing [00:10:09]execute_cgi json_proto POST (null) [00:10:09]execute_cgi path=json_proto method=POST [00:10:09]POST find Content-Length [00:10:09]Host: 172.17.38.134:8080 [00:10:09]Content-Length: 331 [00:10:09]Content-Type: application/json [00:10:09] [00:10:09]POST finish read [00:10:09]Found Content-Length = 331 [00:10:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:09]execute_script... [00:10:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:09]POST & json_proto [00:10:09]process_json_proto [00:10:09]json parsed OK: [00:10:09]protocol is kg_v1.0 [00:10:09]action value=get_value [00:10:09]process_action get_value [00:10:09]cmd_get_value [00:10:09]process_action get_value done [00:10:09]requested_data is exist [00:10:09]produce_requested_data [00:10:09]requested_item fm.sale.total is exist - process it [00:10:09]SAM_PROTO_GetFMData [00:10:09]wFMCommunicate request_size=4 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 13 03 00 [00:10:09]Write to MH i2c: E2 08 00 C4 08 80 13 03 00 00 00 00 00 4B [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:09]Read from MH i2c: E2 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 FD 00 [00:10:09]MH_I2C_Read... [00:10:09]Read from MH i2c: E2 FD 00 C4 08 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 AA [00:10:09]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:10:09]wFMCommunicate OK [00:10:09]wFMCommunicate request_size=4 [00:10:09]MH_SAM_APDU [00:10:09]CAPDU: 80 17 00 00 [00:10:09]Write to MH i2c: E2 08 00 C5 08 80 17 00 00 00 00 00 00 4D [00:10:09]Write i2c OK [00:10:09]MH_I2C_Read... [00:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:10]Read from MH i2c: E2 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 C5 08 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 02 [00:10:10]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:10]wFMCommunicate OK [00:10:10]wFMCommunicate request_size=4 [00:10:10]MH_SAM_APDU [00:10:10]CAPDU: 80 17 00 00 [00:10:10]Write to MH i2c: E2 08 00 C6 08 80 17 00 00 00 00 00 00 4E [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:10]Read from MH i2c: E2 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 C6 08 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:10]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:10:10]wFMCommunicate OK [00:10:10]wFMCommunicate request_size=4 [00:10:10]MH_SAM_APDU [00:10:10]CAPDU: 80 17 00 00 [00:10:10]Write to MH i2c: E2 08 00 C7 08 80 17 00 00 00 00 00 00 4F [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:10]Read from MH i2c: E2 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 FD 00 C7 08 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:10:10]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:10:10]wFMCommunicate OK [00:10:10]wFMCommunicate request_size=4 [00:10:10]MH_SAM_APDU [00:10:10]CAPDU: 80 17 00 00 [00:10:10]Write to MH i2c: E2 08 00 C8 08 80 17 00 00 00 00 00 00 50 [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:10:10]Read from MH i2c: E2 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 E1 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 E1 00 C8 08 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:10:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:10]wFMCommunicate OK [00:10:10]SAM_PROTO_GetFMData done [00:10:10]requested_item fm.sale_refund.total is exist - process it [00:10:10]requested_item fm.buy.total is exist - process it [00:10:10]requested_item shift.sale.total is exist - process it [00:10:10]SAM_PROTO_GetShiftData [00:10:10]wFMCommunicate request_size=4 [00:10:10]MH_SAM_APDU [00:10:10]CAPDU: 80 13 02 00 [00:10:10]Write to MH i2c: E2 08 00 C9 08 80 13 02 00 00 00 00 00 4F [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:11]OFD Sender: No OFD packet to send [00:10:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 C9 08 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 5B [00:10:11]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:10:11]wFMCommunicate OK [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 17 00 00 [00:10:11]Write to MH i2c: E2 08 00 CA 08 80 17 00 00 00 00 00 00 52 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 CA 08 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 96 [00:10:11]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:10:11]wFMCommunicate OK [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 17 00 00 [00:10:11]Write to MH i2c: E2 08 00 CB 08 80 17 00 00 00 00 00 00 53 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 CB 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [00:10:11]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:11]wFMCommunicate OK [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 17 00 00 [00:10:11]Write to MH i2c: E2 08 00 CC 08 80 17 00 00 00 00 00 00 54 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 CC 08 00 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 90 00 C3 [00:10:12]RAPDU: 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 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 CD 08 80 17 00 00 00 00 00 00 55 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 D3 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 D3 00 CD 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 42 [00:10:12]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:12]wFMCommunicate OK [00:10:12]SAM_PROTO_GetShiftData done [00:10:12]requested_item shift.sale.total_cash is exist - process it [00:10:12]requested_item shift.sale_refund.total is exist - process it [00:10:12]requested_item shift.sale_refund.total_cash is exist - process it [00:10:12]requested_item shift.buy.total is exist - process it [00:10:12]requested_item shift.buy.total_cash is exist - process it [00:10:12]produce_requested_data done [00:10:12]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:12]process_action_free get_value [00:10:12]json_value_free [00:10:12]json_value_free done [00:10:12]process_json_proto returns [00:10:12]Send response to host [00:10:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:12]free response buf [00:10:12]execute_script done [00:10:12]execute_script returns [00:10:12]free content buf [00:10:12]Sock 7.Close socket [00:10:12]Sock 7.Thread stoped [00:10:12]accept exits with 9 [00:10:12]New connection [00:10:12]New thread 3067018596 created [00:10:12]Thread 3067161956 joined [00:10:12]Waiting for new connection... [00:10:12] Sock 9.Parse request [00:10:12]Sock 9.Check first char [00:10:12]Sock 9.First char is OK [00:10:12]request: POST /json_proto HTTP/1.0 [00:10:12]Method: POST [00:10:12]URL: /json_proto [00:10:12]Method is POST - this is cgi request [00:10:12]url: /json_proto [00:10:12]query_string will be loaded in cgi processing [00:10:12]execute_cgi json_proto POST (null) [00:10:12]execute_cgi path=json_proto method=POST [00:10:12]POST find Content-Length [00:10:12]Host: 172.17.38.134:8080 [00:10:12]Content-Length: 331 [00:10:12]Content-Type: application/json [00:10:12] [00:10:12]POST finish read [00:10:12]Found Content-Length = 331 [00:10:12]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:10:12]execute_script... [00:10:12]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:10:12]POST & json_proto [00:10:12]process_json_proto [00:10:12]json parsed OK: [00:10:12]protocol is kg_v1.0 [00:10:12]action value=get_value [00:10:12]process_action get_value [00:10:12]cmd_get_value [00:10:12]process_action get_value done [00:10:12]requested_data is exist [00:10:12]produce_requested_data [00:10:12]requested_item fm.sale.total is exist - process it [00:10:12]SAM_PROTO_GetFMData [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 13 03 00 [00:10:12]Write to MH i2c: E2 08 00 CE 08 80 13 03 00 00 00 00 00 55 [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 CE 08 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 B4 [00:10:13]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 CF 08 80 17 00 00 00 00 00 00 57 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 CF 08 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0C [00:10:13]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 D0 08 80 17 00 00 00 00 00 00 58 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 D0 08 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:10:13]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:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 D1 08 80 17 00 00 00 00 00 00 59 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 D1 08 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 [00:10:14]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:10:14]wFMCommunicate OK [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 17 00 00 [00:10:14]Write to MH i2c: E2 08 00 D2 08 80 17 00 00 00 00 00 00 5A [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 E1 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 E1 00 D2 08 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 [00:10:14]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:10:14]wFMCommunicate OK [00:10:14]SAM_PROTO_GetFMData done [00:10:14]requested_item fm.sale_refund.total is exist - process it [00:10:14]requested_item fm.buy.total is exist - process it [00:10:14]requested_item shift.sale.total is exist - process it [00:10:14]SAM_PROTO_GetShiftData [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 13 02 00 [00:10:14]Write to MH i2c: E2 08 00 D3 08 80 13 02 00 00 00 00 00 59 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 D3 08 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 65 [00:10:15]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 D4 08 80 17 00 00 00 00 00 00 5C [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 D4 08 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 A0 [00:10:15]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 D5 08 80 17 00 00 00 00 00 00 5D [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 D5 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [00:10:15]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 D6 08 80 17 00 00 00 00 00 00 5E [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 D6 08 00 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 90 00 CD [00:10:16]RAPDU: 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 OFD Sender: No OFD packet to send [00:10:16]00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 17 00 00 [00:10:16]Write to MH i2c: E2 08 00 D7 08 80 17 00 00 00 00 00 00 5F [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 D3 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 D3 00 D7 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4C [00:10:16]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:16]wFMCommunicate OK [00:10:16]SAM_PROTO_GetShiftData done [00:10:16]requested_item shift.sale.total_cash is exist - process it [00:10:16]requested_item shift.sale_refund.total is exist - process it [00:10:16]requested_item shift.sale_refund.total_cash is exist - process it [00:10:16]requested_item shift.buy.total is exist - process it [00:10:16]requested_item shift.buy.total_cash is exist - process it [00:10:16]produce_requested_data done [00:10:16]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:16]process_action_free get_value [00:10:16]json_value_free [00:10:16]json_value_free done [00:10:16]process_json_proto returns [00:10:16]Send response to host [00:10:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:16]free response buf [00:10:16]execute_script done [00:10:16]execute_script returns [00:10:16]free content buf [00:10:16]Sock 9.Close socket [00:10:16]Sock 9.Thread stoped [00:10:16]accept exits with 7 [00:10:16]New connection [00:10:16]New thread 3067161956 created [00:10:16]Thread 3067018596 joined [00:10:16]Waiting for new connection... [00:10:16] Sock 7.Parse request [00:10:16]Sock 7.Check first char [00:10:16]Sock 7.First char is OK [00:10:16]request: POST /json_proto HTTP/1.0 [00:10:16]Method: POST [00:10:16]URL: /json_proto [00:10:16]Method is POST - this is cgi request [00:10:16]url: /json_proto [00:10:16]query_string will be loaded in cgi processing [00:10:16]execute_cgi json_proto POST (null) [00:10:16]execute_cgi path=json_proto method=POST [00:10:16]POST find Content-Length [00:10:16]Host: 172.17.38.134:8080 [00:10:16]Content-Length: 269 [00:10:16]Content-Type: application/json [00:10:16] [00:10:16]POST finish read [00:10:16]Found Content-Length = 269 [00:10:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:16]execute_script... [00:10:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:16]POST & json_proto [00:10:16]process_json_proto [00:10:16]json parsed OK: [00:10:16]protocol is kg_v1.0 [00:10:16]action value=x_report [00:10:16]process_action x_report [00:10:16]cmd_x_report [00:10:16]MH_GetDate [00:10:16]Write to MH i2c: F0 00 00 D8 08 CF [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 D8 08 00 6B 73 73 66 13 9C 7C 64 1E [00:10:16]GetLastDocTimeStamp 1718841510 [00:10:16]current date 1718842219 [00:10:16]FM_GetShiftState [00:10:16]SAM_PROTO_GetShiftState [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 13 01 00 [00:10:16]Write to MH i2c: E2 08 00 D9 08 80 13 01 00 00 00 00 00 5E [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 0E 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 0E 00 D9 08 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 34 [00:10:16]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [00:10:16]wFMCommunicate OK [00:10:16]SAM_PROTO_GetShiftState done [00:10:16]FM_GetShiftState done [00:10:16]KKMCreateXReportDocument [00:10:16]Load OK [00:10:16]Malloc new data [00:10:16]MH_GetDate [00:10:16]Write to MH i2c: F0 00 00 DA 08 D1 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: F0 09 00 DA 08 00 6B 73 73 66 13 9C 7C 64 20 [00:10:16]Malloc new data [00:10:16]Malloc new data [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 11 00 00 [00:10:16]Write to MH i2c: E2 08 00 DB 08 80 11 00 00 00 00 00 00 5D [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 17 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 17 00 DB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 B2 [00:10:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_GetFieldsCounters [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 13 00 00 [00:10:17]Write to MH i2c: E2 08 00 DC 08 80 13 00 00 00 00 00 00 60 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 62 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 62 00 DC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 BD [00:10:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_GetFieldsCounters done [00:10:17]Malloc new data [00:10:17]Malloc new data [00:10:17]Malloc new data [00:10:17]KKMCreateXReportDocument OK [00:10:17]KKMSetXReportData OK [00:10:17]KKMPrepareXReportFMData [00:10:17]SAM_PROTO_GetShiftData [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 13 02 00 [00:10:17]Write to MH i2c: E2 08 00 DD 08 80 13 02 00 00 00 00 00 63 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 FD 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 FD 00 DD 08 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 6F [00:10:17]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:10:17]wFMCommunicate OK [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 DE 08 80 17 00 00 00 00 00 00 66 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 DE 08 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 AA [00:10:18]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 DF 08 80 17 00 00 00 00 00 00 67 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 DF 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 27 [00:10:18]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 E0 08 80 17 00 00 00 00 00 00 68 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:19]Read from MH i2c: E2 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 E0 08 00 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 90 00 D7 [00:10:19]RAPDU: 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 90 00 [00:10:19]wFMCommunicate OK [00:10:19]wFMCommunicate request_size=4 [00:10:19]MH_SAM_APDU [00:10:19]CAPDU: 80 17 00 00 [00:10:19]Write to MH i2c: E2 08 00 E1 08 80 17 00 00 00 00 00 00 69 [00:10:19]Write i2c OK [00:10:19]MH_I2C_Read... [00:10:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:10:19]Read from MH i2c: E2 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 D3 00 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 D3 00 E1 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 56 [00:10:19]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:19]wFMCommunicate OK [00:10:19]SAM_PROTO_GetShiftData done [00:10:19]1194 (1202) - счетчики итогов смены [00:10:19] 1134 (4) - 92 - количество чеков со всеми признаками расчетов [00:10:19] 1129 (155) - счетчики операций «приход» [00:10:19] 1135 (4) - 91 - количество чеков по признаку расчетов [00:10:19] 1201 (3) - 51318.42 - общая итоговая сумма в чеках [00:10:19] 1136 (3) - 38822.00 - итоговая сумма в чеках наличными [00:10:19] 1138 (3) - 12496.42 - итоговая сумма в чеках безналичными [00:10:19] 1024 (122) - суммы налогов [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 0% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1006 (12) - суммы НДС [00:10:19] 1010 (1) - 12% - код ставки НДС [00:10:19] 1011 (3) - 5450.15 - сумма НДС по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (11) - суммы НСП [00:10:19] 1014 (1) - 1% - код ставки НСП [00:10:19] 1015 (2) - 454.01 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 2% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 3% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 5% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1130 (149) - счетчики операций «возврат прихода» [00:10:19] 1135 (4) - 1 - количество чеков по признаку расчетов [00:10:19] 1201 (2) - 343.00 - общая итоговая сумма в чеках [00:10:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:19] 1138 (2) - 343.00 - итоговая сумма в чеках безналичными [00:10:19] 1024 (121) - суммы налогов [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 0% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1006 (11) - суммы НДС [00:10:19] 1010 (1) - 12% - код ставки НДС [00:10:19] 1011 (2) - 36.43 - сумма НДС по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (11) - суммы НСП [00:10:19] 1014 (1) - 1% - код ставки НСП [00:10:19] 1015 (2) - 3.03 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 2% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 3% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 5% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1131 (141) - счетчики операций «расход» [00:10:19] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:19] 1024 (117) - суммы налогов [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 0% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 12% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 2% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 3% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 5% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1132 (141) - счетчики операций «возврат расхода» [00:10:19] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:19] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:19] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:19] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:19] 1024 (117) - суммы налогов [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 0% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1006 (9) - суммы НДС [00:10:19] 1010 (1) - 12% - код ставки НДС [00:10:19] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 2% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 3% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 5% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 0,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1007 (9) - суммы НСП [00:10:19] 1014 (1) - 1,50% - код ставки НСП [00:10:19] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:19] 1133 (588) - - счетчики коррекции - не используются [00:10:19]SetTLVBufToDocument [00:10:19]Processing tag 1194 (04AA) [00:10:19]Load OK [00:10:19]SetTLVBufToDocument [00:10:19]Processing tag 1134 (046E) [00:10:19]Malloc new data [00:10:19]Processing tag 1129 (0469) [00:10:19]Load OK [00:10:19]SetTLVBufToDocument [00:10:19]Processing tag 1135 (046F) [00:10:20]Malloc new data [00:10:20]Processing tag 1201 (04B1) [00:10:20]Malloc new data [00:10:20]Processing tag 1136 (0470) [00:10:20]Malloc new data [00:10:20]Processing tag 1138 (0472) [00:10:20]Malloc new data [00:10:20]Processing tag 1024 (0400) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1130 (046A) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1135 (046F) [00:10:20]Malloc new data [00:10:20]Processing tag 1201 (04B1) [00:10:20]Malloc new data [00:10:20]Processing tag 1136 (0470) [00:10:20]Malloc new data [00:10:20]Processing tag 1138 (0472) [00:10:20]Malloc new data [00:10:20]Processing tag 1024 (0400) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1131 (046B) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1135 (046F) [00:10:20]Malloc new data [00:10:20]Processing tag 1201 (04B1) [00:10:20]Malloc new data [00:10:20]Processing tag 1136 (0470) [00:10:20]Malloc new data [00:10:20]Processing tag 1138 (0472) [00:10:20]Malloc new data [00:10:20]Processing tag 1024 (0400) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1132 (046C) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1135 (046F) [00:10:20]Malloc new data [00:10:20]Processing tag 1201 (04B1) [00:10:20]Malloc new data [00:10:20]Processing tag 1136 (0470) [00:10:20]Malloc new data [00:10:20]Processing tag 1138 (0472) [00:10:20]Malloc new data [00:10:20]Processing tag 1024 (0400) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1006 (03EE) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1010 (03F2) [00:10:20]Malloc new data [00:10:20]Processing tag 1011 (03F3) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1007 (03EF) [00:10:20]Load OK [00:10:20]SetTLVBufToDocument [00:10:20]Processing tag 1014 (03F6) [00:10:20]Malloc new data [00:10:20]Processing tag 1015 (03F7) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Processing tag 1133 (046D) [00:10:20]Malloc new data [00:10:20]SetTLVBufToDocument err=0 [00:10:20]SetTLVBufToDocument err=0 [00:10:20]Malloc new data [00:10:20]SAM_PROTO_GetFMData [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 13 03 00 [00:10:20]Write to MH i2c: E2 08 00 E2 08 80 13 03 00 00 00 00 00 69 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 E2 08 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 C8 [00:10:21]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:10:21]wFMCommunicate OK [00:10:21]wFMCommunicate request_size=4 [00:10:21]MH_SAM_APDU [00:10:21]CAPDU: 80 17 00 00 [00:10:21]Write to MH i2c: E2 08 00 E3 08 80 17 00 00 00 00 00 00 6B [00:10:21]OFD Sender: No OFD packet to send [00:10:21]Write i2c OK [00:10:21]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 E3 08 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:10:21]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 E4 08 80 17 00 00 00 00 00 00 6C [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 E4 08 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 81 [00:10: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 [00:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 E5 08 80 17 00 00 00 00 00 00 6D [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 E5 08 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 E5 [00:10: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 [00:10:23]wFMCommunicate OK [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 17 00 00 [00:10:23]Write to MH i2c: E2 08 00 E6 08 80 17 00 00 00 00 00 00 6E [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 E1 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 E1 00 E6 08 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 5C [00:10: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 [00:10:23]wFMCommunicate OK [00:10:23]SAM_PROTO_GetFMData done [00:10:23]FM_GetFMData:85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 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 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:10:24]oper:6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:24]total:EE F5 70 50 [00:10:24]Malloc new data [00:10:24]oper:6F 04 04 00 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 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 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:24]total:FC 69 DC 03 [00:10:24]Malloc new data [00:10:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:24]total: [00:10:24]Malloc new data [00:10:24]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:24]total: [00:10:24]Malloc new data [00:10:24]KKMPrepareXReportFMData err=0 [00:10:24]Х отчет ИНН: 02508201610067 Кассир: Байбугуева Г. 20.06.2024 00:10 Смена: 266 РНМ: 0000000000092786 ЗНМ: 0300000172 СНО: Общий режим Всего чеков: 92 ИТОГИ ПРИХОД Чеков: 91 Общий итог: 51318.42 Итого наличными: 38822.00 Итого безнал.: 12496.42 НДС 0% : 0.00 НДС 12% : 5450.15 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 454.01 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 343.00 Итого наличными: 0.00 Итого безнал.: 343.00 НДС 0% : 0.00 НДС 12% : 36.43 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.03 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 38822.00 НС Приход: 13495802.70 НС Возвр.Прихода: 647767.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000875095 [00:10:24]StoreToDocumentArchive [00:10:24]MH_GetDate [00:10:24]Write to MH i2c: F0 00 00 E7 08 DE [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 E7 08 00 72 73 73 66 13 9C 7C 64 34 [00:10:24]shift 266 fd 1718842226 [00:10:24]Create dir for shift 0266 [00:10:24]save to /storage/0266/doc_1718842226 [00:10:24]save last doc name /storage/0266/doc_1718842226 to /storage/kkm_last_doc_name [00:10:24]save OK [00:10:24]Clear old archive folders... [00:10:24]NVStorageSaveData kkm_last_timestamp [00:10:24]File name is /storage/kkm_last_timestamp [00:10:24]Write 4 bytes [00:10:24]NVStorageSaveData done [00:10:24]ExternCall_PrintAddStr [00:10:24]wPrintStart [00:10:24]Write to MH i2c: 01 00 00 E8 08 F0 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: 01 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: 01 07 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: 01 07 00 E8 08 00 00 00 00 00 FF 0F 05 [00:10:24]RasterBufferAndPrint [00:10:24]line Х отчет [00:10:24]line ИНН: 02508201610067 [00:10:24]line Кассир: Байбугуева Г. [00:10:24]line 20.06.2024 00:10 [00:10:24]line Смена: 266 [00:10:24]line РНМ: 0000000000092786 [00:10:24]line ЗНМ: 0300000172 [00:10:24]line СНО: Общий режим [00:10:24]line Всего чеков: 92 [00:10:24]line ИТОГИ ПРИХОД [00:10:24]line Чеков: 91 [00:10:24]line Общий итог: 51318.42 [00:10:24]line Итого наличными: 38822.00 [00:10:24]line Итого безнал.: 12496.42 [00:10:24]line НДС 0% : 0.00 [00:10:24]line НДС 12% : 5450.15 [00:10:24]line НСП 0% : 0.00 [00:10:24]line НСП 1,50% : 0.00 [00:10:24]line НСП 0,50% : 0.00 [00:10:24]line НСП 5% : 0.00 [00:10:24]line НСП 3% : 0.00 [00:10:24]line НСП 2% : 0.00 [00:10:24]line НСП 1% : 454.01 [00:10:24]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:10:24]line Чеков: 1 [00:10:24]line Общий итог: 343.00 [00:10:24]line Итого наличными: 0.00 [00:10:24]line Итого безнал.: 343.00 [00:10:24]line НДС 0% : 0.00 [00:10:24]line НДС 12% : 36.43 [00:10:24]line НСП 0% : 0.00 [00:10:24]line НСП 1,50% : 0.00 [00:10:24]line НСП 0,50% : 0.00 [00:10:24]line НСП 5% : 0.00 [00:10:24]line НСП 3% : 0.00 [00:10:24]line НСП 2% : 0.00 [00:10:24]line НСП 1% : 3.03 [00:10:24]line ИТОГИ РАСХОД [00:10:24]line Чеков: 0 [00:10:24]line Общий итог: 0.00 [00:10:24]line Итого наличными: 0.00 [00:10:24]line Итого безнал.: 0.00 [00:10:24]line НДС 0% : 0.00 [00:10:24]line НДС 12% : 0.00 [00:10:24]line НСП 0% : 0.00 [00:10:24]line НСП 1,50% : 0.00 [00:10:24]line НСП 0,50% : 0.00 [00:10:24]line НСП 5% : 0.00 [00:10:24]line НСП 3% : 0.00 [00:10:24]line НСП 2% : 0.00 [00:10:24]line НСП 1% : 0.00 [00:10:24]line ИТОГИ ВОЗВРАТ РАСХОДА [00:10:24]line Чеков: 0 [00:10:24]line Общий итог: 0.00 [00:10:24]line Итого наличными: 0.00 [00:10:24]line Итого безнал.: 0.00 [00:10:24]line НДС 0% : 0.00 [00:10:24]line НДС 12% : 0.00 [00:10:24]line НСП 0% : 0.00 [00:10:24]line НСП 1,50% : 0.00 [00:10:24]line НСП 0,50% : 0.00 [00:10:24]line НСП 5% : 0.00 [00:10:24]line НСП 3% : 0.00 [00:10:24]line НСП 2% : 0.00 [00:10:24]line НСП 1% : 0.00 [00:10:24]line Сумма внесений: 0.00 [00:10:24]line Сумма выплат: 0.00 [00:10:24]line Нал. в кассе: 38822.00 [00:10:24]line НС Приход: 13495802.70 [00:10:24]line НС Возвр.Прихода: 647767.00 [00:10:24]line НС Расход: 0.00 [00:10:24]line НС Возвр.Расхода: 0.00 [00:10:24]line ФМ: 0000000000875095 [00:10:24]written 0, free lines is 4095 [00:10:25]Write to MH i2c: 01 00 00 33 09 3C [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: 01 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: 01 07 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: 01 07 00 33 09 00 00 00 00 00 B4 0A 01 [00:10:25]RasterBufferAndPrint [00:10:25]line [00:10:25]line [00:10:25]line [00:10:25]line [00:10:25]line [00:10:25]written 0, free lines is 2774 [00:10:25]MH_Cut [00:10:25]Write to MH i2c: D1 01 00 3A 09 01 15 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: D1 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: D1 01 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: D1 01 00 3A 09 00 14 [00:10:25]Write to MH i2c: 01 00 00 3B 09 44 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:26]*** Cut start [00:10:26]*** Partial cut [00:10:26]*** CUTSNS_PIN = 1 [00:10:26]*** CUTSNS_PIN = 0 [00:10:26]OFD Sender: No OFD packet to send [00:10:26]*** Brake cut motor [00:10:27]Read from MH i2c: 01 [00:10:27]MH_I2C_Read... [00:10:27]*** Stop cut motor [00:10:27]*** Cut end [00:10:27]Read from MH i2c: 01 07 00 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: 01 07 00 3B 09 00 00 00 00 00 FF 0F 59 [00:10:27]process_action x_report done [00:10:27]requested_data is exist [00:10:27]produce_requested_data [00:10:27]requested_item fd.num is exist - process it [00:10:27]SAM_PROTO_GetFieldsCounters [00:10:27]wFMCommunicate request_size=4 [00:10:27]MH_SAM_APDU [00:10:27]CAPDU: 80 13 00 00 [00:10:27]Write to MH i2c: E2 08 00 3C 09 80 13 00 00 00 00 00 00 C1 [00:10:27]Write i2c OK [00:10:27]MH_I2C_Read... [00:10:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:27]Read from MH i2c: E2 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 62 00 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 62 00 3C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [00:10:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:27]wFMCommunicate OK [00:10:27]SAM_PROTO_GetFieldsCounters done [00:10:27]requested_item shift.num is exist - process it [00:10:27]requested_item shift.opened is exist - process it [00:10:27]req_shift_opened [00:10:27]FM_GetShiftState [00:10:27]SAM_PROTO_GetShiftState [00:10:27]wFMCommunicate request_size=4 [00:10:27]MH_SAM_APDU [00:10:27]CAPDU: 80 13 01 00 [00:10:27]Write to MH i2c: E2 08 00 3D 09 80 13 01 00 00 00 00 00 C3 [00:10:27]Write i2c OK [00:10:27]MH_I2C_Read... [00:10:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:27]Read from MH i2c: E2 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 0E 00 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 0E 00 3D 09 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 99 [00:10:27]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [00:10:27]wFMCommunicate OK [00:10:27]SAM_PROTO_GetShiftState done [00:10:27]FM_GetShiftState done [00:10:27]req_shift_opened done [00:10:27]requested_item shift.open_date is exist - process it [00:10:27]req_shift_open_date [00:10:27]req_shift_open_date done [00:10:27]produce_requested_data done [00:10:27]produce_requested_data return {"fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [00:10:27]process_action_free x_report [00:10:27]json_value_free [00:10:27]json_value_free done [00:10:27]process_json_proto returns [00:10:27]Send response to host [00:10:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [00:10:27]free response buf [00:10:27]execute_script done [00:10:27]execute_script returns [00:10:27]free content buf [00:10:27]Sock 7.Close socket [00:10:27]Sock 7.Thread stoped [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:00]accept exits with 9 [00:11:00]New connection [00:11:00]New thread 3067018596 created [00:11:00]Thread 3067161956 joined [00:11:00]Waiting for new connection... [00:11:00] Sock 9.Parse request [00:11:00]Sock 9.Check first char [00:11:00]Sock 9.First char is OK [00:11:00]request: POST /json_proto HTTP/1.0 [00:11:00]Method: POST [00:11:00]URL: /json_proto [00:11:00]Method is POST - this is cgi request [00:11:00]url: /json_proto [00:11:00]query_string will be loaded in cgi processing [00:11:00]execute_cgi json_proto POST (null) [00:11:00]execute_cgi path=json_proto method=POST [00:11:00]POST find Content-Length [00:11:00]Host: 172.17.38.134:8080 [00:11:00]Content-Length: 215 [00:11:00]Content-Type: application/json [00:11:00] [00:11:00]POST finish read [00:11:00]Found Content-Length = 215 [00:11: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" ] } } [00:11:00]execute_script... [00:11: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" ] } } [00:11:00]POST & json_proto [00:11:00]process_json_proto [00:11:00]json parsed OK: [00:11:00]protocol is kg_v1.0 [00:11:00]action value=get_value [00:11:00]process_action get_value [00:11:00]cmd_get_value [00:11:00]process_action get_value done [00:11:00]requested_data is exist [00:11:00]produce_requested_data [00:11:00]requested_item kkm.sn is exist - process it [00:11:00]requested_item kkm.ver is exist - process it [00:11:00]requested_item fm.sn is exist - process it [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 11 00 00 [00:11:00]Write to MH i2c: E2 08 00 3E 09 80 11 00 00 00 00 00 00 C1 [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:00]Read from MH i2c: E2 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 17 00 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 17 00 3E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 16 [00:11:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:11:00]wFMCommunicate OK [00:11:00]requested_item fd.num is exist - process it [00:11:00]SAM_PROTO_GetFieldsCounters [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 13 00 00 [00:11:00]Write to MH i2c: E2 08 00 3F 09 80 13 00 00 00 00 00 00 C4 [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:00]Read from MH i2c: E2 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 62 00 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 62 00 3F 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [00:11:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 54 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:00]wFMCommunicate OK [00:11:00]SAM_PROTO_GetFieldsCounters done [00:11:00]requested_item shift.num is exist - process it [00:11:00]requested_item shift.opened is exist - process it [00:11:00]req_shift_opened [00:11:00]FM_GetShiftState [00:11:00]SAM_PROTO_GetShiftState [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 13 01 00 [00:11:00]Write to MH i2c: E2 08 00 40 09 80 13 01 00 00 00 00 00 C6 [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:00]Read from MH i2c: E2 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 0E 00 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 0E 00 40 09 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 9C [00:11:00]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [00:11:00]wFMCommunicate OK [00:11:00]SAM_PROTO_GetShiftState done [00:11:00]FM_GetShiftState done [00:11:00]req_shift_opened done [00:11:00]requested_item shift.open_date is exist - process it [00:11:00]req_shift_open_date [00:11:00]req_shift_open_date done [00:11:00]produce_requested_data done [00:11:00]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813} [00:11:00]process_action_free get_value [00:11:00]json_value_free [00:11:00]json_value_free done [00:11:00]process_json_proto returns [00:11:00]Send response to host [00:11:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34388,"shift.num":324,"shift.opened":1,"shift.open_date":1718756813}}} [00:11:00]free response buf [00:11:00]execute_script done [00:11:00]execute_script returns [00:11:00]free content buf [00:11:00]Sock 9.Close socket [00:11:00]Sock 9.Thread stoped [00:11:00]accept exits with 7 [00:11:00]New connection [00:11:00]New thread 3067161956 created [00:11:00]Thread 3067018596 joined [00:11:00]Waiting for new connection... [00:11:00] Sock 7.Parse request [00:11:00]Sock 7.Check first char [00:11:00]Sock 7.First char is OK [00:11:00]request: POST /json_proto HTTP/1.0 [00:11:00]Method: POST [00:11:00]URL: /json_proto [00:11:00]Method is POST - this is cgi request [00:11:00]url: /json_proto [00:11:00]query_string will be loaded in cgi processing [00:11:00]execute_cgi json_proto POST (null) [00:11:00]execute_cgi path=json_proto method=POST [00:11:00]POST find Content-Length [00:11:00]Host: 172.17.38.134:8080 [00:11:00]Content-Length: 331 [00:11:00]Content-Type: application/json [00:11:00] [00:11:00]POST finish read [00:11:00]Found Content-Length = 331 [00:11:00]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:11:00]execute_script... [00:11:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:00]POST & json_proto [00:11:00]process_json_proto [00:11:00]json parsed OK: [00:11:00]protocol is kg_v1.0 [00:11:00]action value=get_value [00:11:00]process_action get_value [00:11:00]cmd_get_value [00:11:00]process_action get_value done [00:11:00]requested_data is exist [00:11:00]produce_requested_data [00:11:00]requested_item fm.sale.total is exist - process it [00:11:00]SAM_PROTO_GetFMData [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 13 03 00 [00:11:00]Write to MH i2c: E2 08 00 41 09 80 13 03 00 00 00 00 00 C9 [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:00]Read from MH i2c: E2 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 FD 00 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 FD 00 41 09 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 28 [00:11:00]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:11:00]wFMCommunicate OK [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 17 00 00 [00:11:00]Write to MH i2c: E2 08 00 42 09 80 17 00 00 00 00 00 00 CB [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:01]Read from MH i2c: E2 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 42 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:11:01]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:01]wFMCommunicate OK [00:11:01]wFMCommunicate request_size=4 [00:11:01]MH_SAM_APDU [00:11:01]CAPDU: 80 17 00 00 [00:11:01]Write to MH i2c: E2 08 00 43 09 80 17 00 00 00 00 00 00 CC [00:11:01]Write i2c OK [00:11:01]MH_I2C_Read... [00:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:01]Read from MH i2c: E2 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 43 09 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E1 [00:11:01]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:11:01]wFMCommunicate OK [00:11:01]wFMCommunicate request_size=4 [00:11:01]MH_SAM_APDU [00:11:01]CAPDU: 80 17 00 00 [00:11:01]Write to MH i2c: E2 08 00 44 09 80 17 00 00 00 00 00 00 CD [00:11:01]Write i2c OK [00:11:01]MH_I2C_Read... [00:11:01]OFD Sender: No OFD packet to send [00:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:01]Read from MH i2c: E2 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 44 09 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 45 [00:11:01]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:11:01]wFMCommunicate OK [00:11:01]wFMCommunicate request_size=4 [00:11:01]MH_SAM_APDU [00:11:01]CAPDU: 80 17 00 00 [00:11:01]Write to MH i2c: E2 08 00 45 09 80 17 00 00 00 00 00 00 CE [00:11:01]Write i2c OK [00:11:01]MH_I2C_Read... [00:11:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:11:02]Read from MH i2c: E2 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 E1 00 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 E1 00 45 09 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 BC [00:11: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 [00:11:02]wFMCommunicate OK [00:11:02]SAM_PROTO_GetFMData done [00:11:02]requested_item fm.sale_refund.total is exist - process it [00:11:02]requested_item fm.buy.total is exist - process it [00:11:02]requested_item shift.sale.total is exist - process it [00:11:02]SAM_PROTO_GetShiftData [00:11:02]wFMCommunicate request_size=4 [00:11:02]MH_SAM_APDU [00:11:02]CAPDU: 80 13 02 00 [00:11:02]Write to MH i2c: E2 08 00 46 09 80 13 02 00 00 00 00 00 CD [00:11:02]Write i2c OK [00:11:02]MH_I2C_Read... [00:11:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:02]Read from MH i2c: E2 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 46 09 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 D9 [00:11:02]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:11:02]wFMCommunicate OK [00:11:02]wFMCommunicate request_size=4 [00:11:02]MH_SAM_APDU [00:11:02]CAPDU: 80 17 00 00 [00:11:02]Write to MH i2c: E2 08 00 47 09 80 17 00 00 00 00 00 00 D0 [00:11:02]Write i2c OK [00:11:02]MH_I2C_Read... [00:11:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:02]Read from MH i2c: E2 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 47 09 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 14 [00:11:02]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:11:03]wFMCommunicate OK [00:11:03]wFMCommunicate request_size=4 [00:11:03]MH_SAM_APDU [00:11:03]CAPDU: 80 17 00 00 [00:11:03]Write to MH i2c: E2 08 00 48 09 80 17 00 00 00 00 00 00 D1 [00:11:03]Write i2c OK [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 [00:11:03]MH_I2C_Read... [00:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:03]Read from MH i2c: E2 FD 00 [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 FD 00 48 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 91 [00:11:03]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:03]wFMCommunicate OK [00:11:03]wFMCommunicate request_size=4 [00:11:03]MH_SAM_APDU [00:11:03]CAPDU: 80 17 00 00 [00:11:03]Write to MH i2c: E2 08 00 49 09 80 17 00 00 00 00 00 00 D2 [00:11:03]Write i2c OK [00:11:03]MH_I2C_Read... [00:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:03]Read from MH i2c: E2 [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 FD 00 [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 FD 00 49 09 00 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 90 00 41 [00:11:03]RAPDU: 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 90 00 [00:11:03]wFMCommunicate OK [00:11:03]wFMCommunicate request_size=4 [00:11:03]MH_SAM_APDU [00:11:03]CAPDU: 80 17 00 00 [00:11:03]Write to MH i2c: E2 08 00 4A 09 80 17 00 00 00 00 00 00 D3 [00:11:03]Write i2c OK [00:11:03]MH_I2C_Read... [00:11:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:11:04]Read from MH i2c: E2 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 D3 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 D3 00 4A 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C0 [00:11:04]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:04]wFMCommunicate OK [00:11:04]SAM_PROTO_GetShiftData done [00:11:04]requested_item shift.sale.total_cash is exist - process it [00:11:04]requested_item shift.sale_refund.total is exist - process it [00:11:04]requested_item shift.sale_refund.total_cash is exist - process it [00:11:04]requested_item shift.buy.total is exist - process it [00:11:04]requested_item shift.buy.total_cash is exist - process it [00:11:04]produce_requested_data done [00:11:04]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:11:04]process_action_free get_value [00:11:04]json_value_free [00:11:04]json_value_free done [00:11:04]process_json_proto returns [00:11:04]Send response to host [00:11:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:11:04]free response buf [00:11:04]execute_script done [00:11:04]execute_script returns [00:11:04]free content buf [00:11:04]Sock 7.Close socket [00:11:04]Sock 7.Thread stoped [00:11:04]accept exits with 9 [00:11:04]New connection [00:11:04]New thread 3067018596 created [00:11:04]Thread 3067161956 joined [00:11:04]Waiting for new connection... [00:11:04] Sock 9.Parse request [00:11:04]Sock 9.Check first char [00:11:04]Sock 9.First char is OK [00:11:04]request: POST /json_proto HTTP/1.0 [00:11:04]Method: POST [00:11:04]URL: /json_proto [00:11:04]Method is POST - this is cgi request [00:11:04]url: /json_proto [00:11:04]query_string will be loaded in cgi processing [00:11:04]execute_cgi json_proto POST (null) [00:11:04]execute_cgi path=json_proto method=POST [00:11:04]POST find Content-Length [00:11:04]Host: 172.17.38.134:8080 [00:11:04]Content-Length: 331 [00:11:04]Content-Type: application/json [00:11:04] [00:11:04]POST finish read [00:11:04]Found Content-Length = 331 [00:11:04]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:11:04]execute_script... [00:11:04]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:11:04]POST & json_proto [00:11:04]process_json_proto [00:11:04]json parsed OK: [00:11:04]protocol is kg_v1.0 [00:11:04]action value=get_value [00:11:04]process_action get_value [00:11:04]cmd_get_value [00:11:04]process_action get_value done [00:11:04]requested_data is exist [00:11:04]produce_requested_data [00:11:04]requested_item fm.sale.total is exist - process it [00:11:04]SAM_PROTO_GetFMData [00:11:04]wFMCommunicate request_size=4 [00:11:04]MH_SAM_APDU [00:11:04]CAPDU: 80 13 03 00 [00:11:04]Write to MH i2c: E2 08 00 4B 09 80 13 03 00 00 00 00 00 D3 [00:11:04]Write i2c OK [00:11:04]MH_I2C_Read... [00:11:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:04]Read from MH i2c: E2 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 FD 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 FD 00 4B 09 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 32 [00:11:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:11:04]wFMCommunicate OK [00:11:04]wFMCommunicate request_size=4 [00:11:04]MH_SAM_APDU [00:11:04]CAPDU: 80 17 00 00 [00:11:04]Write to MH i2c: E2 08 00 4C 09 80 17 00 00 00 00 00 00 D5 [00:11:04]Write i2c OK [00:11:04]MH_I2C_Read... [00:11:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:05]Read from MH i2c: E2 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 FD 00 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 FD 00 4C 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8A [00:11:05]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:05]wFMCommunicate OK [00:11:05]wFMCommunicate request_size=4 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 17 00 00 [00:11:05]Write to MH i2c: E2 08 00 4D 09 80 17 00 00 00 00 00 00 D6 [00:11:05]Write i2c OK [00:11:05]MH_I2C_Read... [00:11:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:05]Read from MH i2c: E2 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 FD 00 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 FD 00 4D 09 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EB [00:11:05]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:11:05]wFMCommunicate OK [00:11:05]wFMCommunicate request_size=4 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 17 00 00 [00:11:05]Write to MH i2c: E2 08 00 4E 09 80 17 00 00 00 00 00 00 D7 [00:11:05]Write i2c OK [00:11:05]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 FD 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 FD 00 4E 09 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 4F [00:11:06]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:11:06]wFMCommunicate OK [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 17 00 00 [00:11:06]Write to MH i2c: E2 08 00 4F 09 80 17 00 00 00 00 00 00 D8 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 E1 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 E1 00 4F 09 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 C6 [00:11:06]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:11:06]wFMCommunicate OK [00:11:06]SAM_PROTO_GetFMData done [00:11:06]requested_item fm.sale_refund.total is exist - process it [00:11:06]requested_item fm.buy.total is exist - process it [00:11:06]requested_item shift.sale.total is exist - process it [00:11:06]SAM_PROTO_GetShiftData [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 13 02 00 [00:11:06]Write to MH i2c: E2 08 00 50 09 80 13 02 00 00 00 00 00 D7 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]OFD Sender: No OFD packet to send [00:11:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 50 09 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 E3 [00:11:07]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:11:07]wFMCommunicate OK [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 17 00 00 [00:11:07]Write to MH i2c: E2 08 00 51 09 80 17 00 00 00 00 00 00 DA [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 FD 00 51 09 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 1E [00:11:07]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:11:07]wFMCommunicate OK [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 17 00 00 [00:11:07]Write to MH i2c: E2 08 00 52 09 80 17 00 00 00 00 00 00 DB [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 52 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [00:11:08]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 17 00 00 [00:11:08]Write to MH i2c: E2 08 00 53 09 80 17 00 00 00 00 00 00 DC [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 FD 00 53 09 00 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 90 00 4B [00:11:08]RAPDU: 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 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 17 00 00 [00:11:08]Write to MH i2c: E2 08 00 54 09 80 17 00 00 00 00 00 00 DD [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 D3 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 D3 00 54 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [00:11:09]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:09]wFMCommunicate OK [00:11:09]SAM_PROTO_GetShiftData done [00:11:09]requested_item shift.sale.total_cash is exist - process it [00:11:09]requested_item shift.sale_refund.total is exist - process it [00:11:09]requested_item shift.sale_refund.total_cash is exist - process it [00:11:09]requested_item shift.buy.total is exist - process it [00:11:09]requested_item shift.buy.total_cash is exist - process it [00:11:09]produce_requested_data done [00:11:09]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:11:09]process_action_free get_value [00:11:09]json_value_free [00:11:09]json_value_free done [00:11:09]process_json_proto returns [00:11:09]Send response to host [00:11:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:11:09]free response buf [00:11:09]execute_script done [00:11:09]execute_script returns [00:11:09]free content buf [00:11:09]Sock 9.Close socket [00:11:09]Sock 9.Thread stoped [00:11:09]accept exits with 7 [00:11:09]New connection [00:11:09]New thread 3067161956 created [00:11:09]Thread 3067018596 joined [00:11:09]Waiting for new connection... [00:11:09] Sock 7.Parse request [00:11:09]Sock 7.Check first char [00:11:09]Sock 7.First char is OK [00:11:09]request: POST /json_proto HTTP/1.0 [00:11:09]Method: POST [00:11:09]URL: /json_proto [00:11:09]Method is POST - this is cgi request [00:11:09]url: /json_proto [00:11:09]query_string will be loaded in cgi processing [00:11:09]execute_cgi json_proto POST (null) [00:11:09]execute_cgi path=json_proto method=POST [00:11:09]POST find Content-Length [00:11:09]Host: 172.17.38.134:8080 [00:11:09]Content-Length: 272 [00:11:09]Content-Type: application/json [00:11:09] [00:11:09]POST finish read [00:11:09]Found Content-Length = 272 [00:11:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:09]execute_script... [00:11:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0411\u0430\u0439\u0431\u0443\u0433\u0443\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:09]POST & json_proto [00:11:09]process_json_proto [00:11:09]json parsed OK: [00:11:09]protocol is kg_v1.0 [00:11:09]action value=close_shift [00:11:09]process_action close_shift [00:11:09]cmd_close_shift [00:11:09]MH_GetDate [00:11:09]Write to MH i2c: F0 00 00 55 09 4D [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 09 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 09 00 55 09 00 9F 73 73 66 13 9C 7C 64 D0 [00:11:09]GetLastDocTimeStamp 1718842219 [00:11:09]current date 1718842271 [00:11:09]FM_GetShiftState [00:11:09]SAM_PROTO_GetShiftState [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 13 01 00 [00:11:09]Write to MH i2c: E2 08 00 56 09 80 13 01 00 00 00 00 00 DC [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 0E 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 0E 00 56 09 00 09 00 01 CD 25 72 66 00 00 00 00 90 00 B2 [00:11:09]RAPDU: 09 00 01 CD 25 72 66 00 00 00 00 90 00 [00:11:09]wFMCommunicate OK [00:11:09]SAM_PROTO_GetShiftState done [00:11:09]FM_GetShiftState done [00:11:09]KKMCreateCloseShiftDocument [00:11:09]Load OK [00:11:09]Malloc new data [00:11:09]MH_GetDate [00:11:09]Write to MH i2c: F0 00 00 57 09 4F [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 09 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: F0 09 00 57 09 00 9F 73 73 66 13 9C 7C 64 D2 [00:11:09]Malloc new data [00:11:09]Malloc new data [00:11:09]Malloc new data [00:11:09]Malloc new data [00:11:09]KKMCreateCloseShiftDocument OK [00:11:09]KKMSetCloseShiftData OK [00:11:09]ProcessDocumentItem done err = 0, tmpTLVsize=75 [00:11:09]tlvbuf is 003D28C0 [00:11:09]KKMLoadAndSignCloseShiftData [00:11:09]SAM_PROTO_ProcessDocument [00:11:09]wFMCommunicate request_size=9 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 15 01 00 04 05 00 4B 00 [00:11:09]Write to MH i2c: E2 0C 00 58 09 80 15 01 00 04 00 05 00 4B 00 00 00 38 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 58 09 00 90 00 D5 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=23 [00:11:09]MH_SAM_APDU [00:11:09]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:11:09]Write to MH i2c: E2 1A 00 59 09 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 D7 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 59 09 00 90 00 D6 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=34 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 [00:11:09]Write to MH i2c: E2 25 00 5A 09 80 15 02 00 1D 00 FD 03 19 00 D0 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 00 00 A4 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 5A 09 00 90 00 D7 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=13 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 15 02 00 08 F4 03 04 00 9F 73 73 66 [00:11:09]Write to MH i2c: E2 10 00 5B 09 80 15 02 00 08 00 F4 03 04 00 9F 73 73 66 00 00 DA [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 5B 09 00 90 00 D8 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=25 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [00:11:09]Write to MH i2c: E2 1C 00 5C 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 4E [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 5C 09 00 90 00 D9 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 15 03 00 [00:11:09]Write to MH i2c: E2 08 00 5D 09 80 15 03 00 00 00 00 00 E7 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 5D 09 00 F9 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 90 00 8A [00:11:10]RAPDU: F9 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 90 00 [00:11:10]wFMCommunicate OK [00:11:10]SAM_PROTO_ProcessDocument answer len = 1273 [00:11:10]SAM_PROTO_ProcessDocument remain to read = 1025 [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 17 00 00 [00:11:10]Write to MH i2c: E2 08 00 5E 09 80 17 00 00 00 00 00 00 E7 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 FD 00 5E 09 00 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 44 [00:11:10]RAPDU: 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:11:11]wFMCommunicate OK [00:11:11]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:11]SAM_PROTO_ProcessDocument remain to read = 775 [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 17 00 00 [00:11:11]Write to MH i2c: E2 08 00 5F 09 80 17 00 00 00 00 00 00 E8 [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 5F 09 00 00 00 EF 03 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 90 00 4A [00:11:11]RAPDU: 00 00 EF 03 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 90 00 [00:11:11]wFMCommunicate OK [00:11:11]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:11]SAM_PROTO_ProcessDocument remain to read = 525 [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 17 00 00 [00:11:11]Write to MH i2c: E2 08 00 60 09 80 17 00 00 00 00 00 00 E9 [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]OFD Sender: No OFD packet to send [00:11:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 FD 00 60 09 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [00:11:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:12]wFMCommunicate OK [00:11:12]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:12]SAM_PROTO_ProcessDocument remain to read = 275 [00:11:12]wFMCommunicate request_size=4 [00:11:12]MH_SAM_APDU [00:11:12]CAPDU: 80 17 00 00 [00:11:12]Write to MH i2c: E2 08 00 61 09 80 17 00 00 00 00 00 00 EA [00:11:12]Write i2c OK [00:11:12]MH_I2C_Read... [00:11:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:12]Read from MH i2c: E2 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 FD 00 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 FD 00 61 09 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 23 [00:11:12]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:11:12]wFMCommunicate OK [00:11:12]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:12]SAM_PROTO_ProcessDocument remain to read = 25 [00:11:12]wFMCommunicate request_size=4 [00:11:12]MH_SAM_APDU [00:11:12]CAPDU: 80 17 00 00 [00:11:12]Write to MH i2c: E2 08 00 62 09 80 17 00 00 00 00 00 00 EB [00:11:12]Write i2c OK [00:11:12]MH_I2C_Read... [00:11:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 25! [00:11:12]Read from MH i2c: E2 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 1C 00 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: E2 1C 00 62 09 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 42 79 EA 94 3E 62 90 00 05 [00:11:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 42 79 EA 94 3E 62 90 00 [00:11:12]wFMCommunicate OK [00:11:12]SAM_PROTO_ProcessDocument received (without SW) 25 bytes [00:11:12]SAM_PROTO_ProcessDocument done [00:11:12]1209 (1) - 1.0 - номер версии ФФД [00:11:12]1041 (16) - 0000000000875095 - номер ФМ [00:11:12]1040 (4) - 34389 - номер ФД [00:11:12]1038 (4) - 324 - номер смены [00:11:12]1118 (4) - 92 - количество кассовых чеков за смену [00:11:12]1111 (4) - 94 - общее количество ФД за смену [00:11:12]1194 (1202) - счетчики итогов смены [00:11:12] 1134 (4) - 92 - количество чеков со всеми признаками расчетов [00:11:12] 1129 (155) - счетчики операций «приход» [00:11:12] 1135 (4) - 91 - количество чеков по признаку расчетов [00:11:12] 1201 (3) - 51318.42 - общая итоговая сумма в чеках [00:11:12] 1136 (3) - 38822.00 - итоговая сумма в чеках наличными [00:11:12] 1138 (3) - 12496.42 - итоговая сумма в чеках безналичными [00:11:12] 1024 (122) - суммы налогов [00:11:12] 1006 (9) - суммы НДС [00:11:12] 1010 (1) - 0% - код ставки НДС [00:11:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:12] 1006 (12) - суммы НДС [00:11:12] 1010 (1) - 12% - код ставки НДС [00:11:12] 1011 (3) - 5450.15 - сумма НДС по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 0% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1007 (11) - суммы НСП [00:11:12] 1014 (1) - 1% - код ставки НСП [00:11:12] 1015 (2) - 454.01 - сумма НСП по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 2% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 3% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 5% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 0,50% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 1,50% - код ставки НСП [00:11:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:12] 1130 (149) - счетчики операций «возврат прихода» [00:11:12] 1135 (4) - 1 - количество чеков по признаку расчетов [00:11:12] 1201 (2) - 343.00 - общая итоговая сумма в чеках [00:11:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:12] 1138 (2) - 343.00 - итоговая сумма в чеках безналичными [00:11:12] 1024 (121) - суммы налогов [00:11:12] 1006 (9) - суммы НДС [00:11:12] 1010 (1) - 0% - код ставки НДС [00:11:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:12] 1006 (11) - суммы НДС [00:11:12] 1010 (1) - 12% - код ставки НДС [00:11:12] 1011 (2) - 36.43 - сумма НДС по ставке [00:11:12] 1007 (9) - суммы НСП [00:11:12] 1014 (1) - 0% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (11) - суммы НСП [00:11:13] 1014 (1) - 1% - код ставки НСП [00:11:13] 1015 (2) - 3.03 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 2% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 3% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 5% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 0,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 1,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1131 (141) - счетчики операций «расход» [00:11:13] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:13] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:13] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:13] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:13] 1024 (117) - суммы налогов [00:11:13] 1006 (9) - суммы НДС [00:11:13] 1010 (1) - 0% - код ставки НДС [00:11:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:13] 1006 (9) - суммы НДС [00:11:13] 1010 (1) - 12% - код ставки НДС [00:11:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 0% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 1% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 2% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 3% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 5% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 0,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 1,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1132 (141) - счетчики операций «возврат расхода» [00:11:13] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:13] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:13] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:13] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:13] 1024 (117) - суммы налогов [00:11:13] 1006 (9) - суммы НДС [00:11:13] 1010 (1) - 0% - код ставки НДС [00:11:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:13] 1006 (9) - суммы НДС [00:11:13] 1010 (1) - 12% - код ставки НДС [00:11:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 0% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 1% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 2% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 3% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 5% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 0,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1007 (9) - суммы НСП [00:11:13] 1014 (1) - 1,50% - код ставки НСП [00:11:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:13] 1133 (588) - - счетчики коррекции - не используются [00:11:13]1077 (6) - 73091394059874 - ФПД [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1209 (04B9) [00:11:13]Malloc new data [00:11:13]Processing tag 1041 (0411) [00:11:13]Processing tag 1040 (0410) [00:11:13]Malloc new data [00:11:13]Processing tag 1038 (040E) [00:11:13]Malloc new data [00:11:13]Processing tag 1118 (045E) [00:11:13]Malloc new data [00:11:13]Processing tag 1111 (0457) [00:11:13]Malloc new data [00:11:13]Processing tag 1194 (04AA) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1134 (046E) [00:11:13]Malloc new data [00:11:13]Processing tag 1129 (0469) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1135 (046F) [00:11:13]Malloc new data [00:11:13]Processing tag 1201 (04B1) [00:11:13]Malloc new data [00:11:13]Processing tag 1136 (0470) [00:11:13]Malloc new data [00:11:13]Processing tag 1138 (0472) [00:11:13]Malloc new data [00:11:13]Processing tag 1024 (0400) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1130 (046A) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1135 (046F) [00:11:13]Malloc new data [00:11:13]Processing tag 1201 (04B1) [00:11:13]Malloc new data [00:11:13]Processing tag 1136 (0470) [00:11:13]Malloc new data [00:11:13]Processing tag 1138 (0472) [00:11:13]Malloc new data [00:11:13]Processing tag 1024 (0400) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1131 (046B) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1135 (046F) [00:11:13]Malloc new data [00:11:13]Processing tag 1201 (04B1) [00:11:13]Malloc new data [00:11:13]Processing tag 1136 (0470) [00:11:13]Malloc new data [00:11:13]Processing tag 1138 (0472) [00:11:13]Malloc new data [00:11:13]Processing tag 1024 (0400) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1132 (046C) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1135 (046F) [00:11:13]Malloc new data [00:11:13]Processing tag 1201 (04B1) [00:11:13]Malloc new data [00:11:13]Processing tag 1136 (0470) [00:11:13]Malloc new data [00:11:13]Processing tag 1138 (0472) [00:11:13]Malloc new data [00:11:13]Processing tag 1024 (0400) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1006 (03EE) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1010 (03F2) [00:11:13]Malloc new data [00:11:13]Processing tag 1011 (03F3) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:13]Malloc new data [00:11:13]SetTLVBufToDocument err=0 [00:11:13]Processing tag 1007 (03EF) [00:11:13]Load OK [00:11:13]SetTLVBufToDocument [00:11:13]Processing tag 1014 (03F6) [00:11:13]Malloc new data [00:11:13]Processing tag 1015 (03F7) [00:11:14]Malloc new data [00:11:14]SetTLVBufToDocument err=0 [00:11:14]SetTLVBufToDocument err=0 [00:11:14]SetTLVBufToDocument err=0 [00:11:14]Processing tag 1133 (046D) [00:11:14]Malloc new data [00:11:14]SetTLVBufToDocument err=0 [00:11:14]Processing tag 1077 (0435) [00:11:14]Malloc new data [00:11:14]SetTLVBufToDocument err=0 [00:11:14]Malloc new data [00:11:14]SAM_PROTO_GetFMData [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 13 03 00 [00:11:14]Write to MH i2c: E2 08 00 63 09 80 13 03 00 00 00 00 00 EB [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 FD 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 FD 00 63 09 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 4A [00:11:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:11:14]wFMCommunicate OK [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 17 00 00 [00:11:14]Write to MH i2c: E2 08 00 64 09 80 17 00 00 00 00 00 00 ED [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 64 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A2 [00:11:15]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:15]wFMCommunicate OK [00:11:15]wFMCommunicate request_size=4 [00:11:15]MH_SAM_APDU [00:11:15]CAPDU: 80 17 00 00 [00:11:15]Write to MH i2c: E2 08 00 65 09 80 17 00 00 00 00 00 00 EE [00:11:15]Write i2c OK [00:11:15]MH_I2C_Read... [00:11:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:15]Read from MH i2c: E2 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 [00:11:15]MH_I2C_Read... [00:11:15]Read from MH i2c: E2 FD 00 65 09 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 03 [00:11:15]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:11:16]wFMCommunicate OK [00:11:16]wFMCommunicate request_size=4 [00:11:16]MH_SAM_APDU [00:11:16]CAPDU: 80 17 00 00 [00:11:16]Write to MH i2c: E2 08 00 66 09 80 17 00 00 00 00 00 00 EF [00:11:16]Write i2c OK [00:11:16]MH_I2C_Read... [00:11:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:16]Read from MH i2c: E2 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 [00:11:16]MH_I2C_Read... [00:11:16]Read from MH i2c: E2 FD 00 66 09 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 67 [00:11:16]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:11:16]wFMCommunicate OK [00:11:16]wFMCommunicate request_size=4 [00:11:16]MH_SAM_APDU [00:11:16]CAPDU: 80 17 00 00 [00:11:16]Write to MH i2c: E2 08 00 67 09 80 17 00 00 00 00 00 00 F0 [00:11:16]Write i2c OK [00:11:16]MH_I2C_Read... [00:11:16]OFD Sender: No OFD packet to send [00:11:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 E1 00 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 E1 00 67 09 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 DE [00:11:17]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:11:17]wFMCommunicate OK [00:11:17]SAM_PROTO_GetFMData done [00:11:17]Malloc new data [00:11:17]Malloc new data [00:11:17]Malloc new data [00:11:17]Malloc new data [00:11:17]KKMLoadAndSignCloseShiftData err=0 [00:11:17]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Байбугуева Г. 20.06.2024 00:11 Смена: 324 РНМ: 0000000000092786 ЗНМ: 0300000172 СНО: Общий режим Чеков за смену: 92 ФД за смену: 94 Всего чеков: 92 ИТОГИ ПРИХОД Чеков: 91 Общий итог: 51318.42 Итого наличными: 38822.00 Итого безнал.: 12496.42 НДС 0% : 0.00 НДС 12% : 5450.15 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 454.01 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 343.00 Итого наличными: 0.00 Итого безнал.: 343.00 НДС 0% : 0.00 НДС 12% : 36.43 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 3.03 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 38822.00 НС Приход: 13495802.70 НС Возвр.Прихода: 647767.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 34389 ФМ: 0000000000875095 ФПД: 73091394059874 [00:11:17]StoreToDocumentArchive [00:11:17]shift 324 fd 34389 [00:11:17]save to /storage/0324/doc_00034389 [00:11:17]save last doc name /storage/0324/doc_00034389 to /storage/kkm_last_doc_name [00:11:17]save OK [00:11:17]Clear old archive folders... [00:11:17]Remove dir /storage/0266 [00:11:17]opendir ok [00:11:17]file . [00:11:17]file .. [00:11:17]file doc_1718842226 [00:11:17]remove file /storage/0266/doc_1718842226 [00:11:17]remove dir /storage/0266 [00:11:17]NVStorageSaveData kkm_registers [00:11:17]File name is /storage/kkm_registers [00:11:17]Write 24 bytes [00:11:17]NVStorageSaveData done [00:11:17]NVStorageSaveData kkm_registers [00:11:17]File name is /storage/kkm_registers [00:11:17]Write 24 bytes [00:11:17]NVStorageSaveData done [00:11:17]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [00:11:17]tlvbuf is 003FC2F0 [00:11:17]SAM_PROTO_ClearQueue [00:11:17]wFMCommunicate request_size=4 [00:11:17]MH_SAM_APDU [00:11:17]CAPDU: 80 09 00 00 [00:11:17]Write to MH i2c: E2 08 00 68 09 80 09 00 00 00 00 00 00 E3 [00:11:17]Write i2c OK [00:11:17]MH_I2C_Read... [00:11:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 03 00 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 03 00 68 09 00 90 00 E5 [00:11:17]RAPDU: 90 00 [00:11:17]wFMCommunicate OK [00:11:17]SAM_PROTO_ClearQueue done [00:11:17]KKMCreateOFDPacket [00:11:17]OFDProtocolAddRootSTLVToBuf [00:11:17]FM_MakeSignedData [00:11:17]FM_MakeSignedData [00:11:17]SAM_PROTO_SignData [00:11:17]wFMCommunicate request_size=4 [00:11:17]MH_SAM_APDU [00:11:17]CAPDU: 80 0D 01 02 [00:11:17]Write to MH i2c: E2 08 00 69 09 80 0D 01 02 00 00 00 00 EB [00:11:17]Write i2c OK [00:11:17]MH_I2C_Read... [00:11:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:17]Read from MH i2c: E2 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 03 00 [00:11:17]MH_I2C_Read... [00:11:17]Read from MH i2c: E2 03 00 69 09 00 90 00 E6 [00:11:17]RAPDU: 90 00 [00:11:17]wFMCommunicate OK [00:11:17]wFMCommunicate request_size=255 [00:11:17]MH_SAM_APDU [00:11:17]CAPDU: 80 0D 02 02 FA 05 00 6B 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 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 9F 73 73 66 0E 04 04 00 44 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 D9 04 6E 04 04 00 5C 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 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:11:17]Write to MH i2c: E2 02 01 6A 09 80 0D 02 02 FA 00 05 00 6B 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 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 9F 73 73 66 0E 04 04 00 44 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 D9 04 6E 04 04 00 5C 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 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 82 [00:11:18]Write i2c OK [00:11:18]MH_I2C_Read... [00:11:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:18]Read from MH i2c: E2 [00:11:18]MH_I2C_Read... [00:11:18]Read from MH i2c: E2 03 00 [00:11:18]MH_I2C_Read... [00:11:18]Read from MH i2c: E2 03 00 6A 09 00 90 00 E7 [00:11:18]RAPDU: 90 00 [00:11:18]wFMCommunicate OK [00:11:18]wFMCommunicate request_size=255 [00:11:18]MH_SAM_APDU [00:11:18]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 59 B1 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 01 00 00 72 04 02 00 FC 85 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 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 [00:11:18]Write to MH i2c: E2 02 01 6B 09 80 0D 02 02 FA 00 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 01 00 00 72 04 02 00 FC 85 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 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 00 00 F5 [00:11:18]Write i2c OK [00:11:18]MH_I2C_Read... [00:11:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:18]Read from MH i2c: E2 [00:11:18]MH_I2C_Read... [00:11:18]Read from MH i2c: E2 03 00 [00:11:18]MH_I2C_Read... [00:11:18]Read from MH i2c: E2 03 00 6B 09 00 90 00 E8 [00:11:18]RAPDU: 90 00 [00:11:18]wFMCommunicate OK [00:11:18]wFMCommunicate request_size=255 [00:11:18]MH_SAM_APDU [00:11:18]CAPDU: 80 0D 02 02 FA 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:11:19]Write to MH i2c: E2 02 01 6C 09 80 0D 02 02 FA 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 00 B3 [00:11:19]Write i2c OK [00:11:19]MH_I2C_Read... [00:11:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:19]Read from MH i2c: E2 [00:11:19]MH_I2C_Read... [00:11:19]Read from MH i2c: E2 03 00 [00:11:19]MH_I2C_Read... [00:11:19]Read from MH i2c: E2 03 00 6C 09 00 90 00 E9 [00:11:19]RAPDU: 90 00 [00:11:19]wFMCommunicate OK [00:11:19]wFMCommunicate request_size=255 [00:11:19]MH_SAM_APDU [00:11:19]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 [00:11:19]Write to MH i2c: E2 02 01 6D 09 80 0D 02 02 FA 00 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 00 00 AC [00:11:19]Write i2c OK [00:11:19]MH_I2C_Read... [00:11:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:20]Read from MH i2c: E2 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 03 00 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 03 00 6D 09 00 90 00 EA [00:11:20]RAPDU: 90 00 [00:11:20]wFMCommunicate OK [00:11:20]wFMCommunicate request_size=255 [00:11:20]MH_SAM_APDU [00:11:20]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:11:20]Write to MH i2c: E2 02 01 6E 09 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 7D [00:11:20]Write i2c OK [00:11:20]MH_I2C_Read... [00:11:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:20]Read from MH i2c: E2 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 03 00 [00:11:20]MH_I2C_Read... [00:11:20]Read from MH i2c: E2 03 00 6E 09 00 90 00 EB [00:11:20]RAPDU: 90 00 [00:11:20]wFMCommunicate OK [00:11:20]wFMCommunicate request_size=146 [00:11:20]MH_SAM_APDU [00:11:20]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 42 79 EA 94 3E 62 [00:11:20]Write to MH i2c: E2 95 00 6F 09 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 42 79 EA 94 3E 62 00 00 F5 [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 03 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 03 00 6F 09 00 90 00 EC [00:11:21]RAPDU: 90 00 [00:11:21]wFMCommunicate OK [00:11:21]wFMCommunicate request_size=4 [00:11:21]MH_SAM_APDU [00:11:21]CAPDU: 80 0D 03 02 [00:11:21]Write to MH i2c: E2 08 00 70 09 80 0D 03 02 00 00 00 00 F4 [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 0B 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 0B 00 70 09 00 D9 C0 66 FC 88 17 3A CF 90 00 98 [00:11:21]RAPDU: D9 C0 66 FC 88 17 3A CF 90 00 [00:11:21]wFMCommunicate OK [00:11:21]SAM_PROTO_SignData done [00:11:21]FM_MakeSignedData done [00:11:21]CreateOFDProtocolMessage [00:11:21]wFMCommunicate request_size=4 [00:11:21]MH_SAM_APDU [00:11:21]CAPDU: 80 11 00 00 [00:11:21]Write to MH i2c: E2 08 00 71 09 80 11 00 00 00 00 00 00 F4 [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 [00:11:21]MH_I2C_Read... [00:11:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:21]Read from MH i2c: E2 17 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: E2 17 00 71 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 49 [00:11:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:11:21]wFMCommunicate OK [00:11:21]CreateOFDProtocolMessage done [00:11:21]OFDSenderStorePacket 34389 [00:11:21]StoreOFDPacket docnum=34389 [00:11:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 7F 05 00 00 DD 50 77 05 EB 0A 5A 05 01 00 05 00 6B 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 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 9F 73 73 66 0E 04 04 00 44 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 D9 04 6E 04 04 00 5C 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 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 59 B1 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 01 00 00 72 04 02 00 FC 85 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 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 55 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 42 79 EA 94 3E 62 D9 C0 66 FC 88 17 3A CF [00:11:21]CheckFolder [00:11:21]dirname=/storage/ofd_packets [00:11:21]CheckFolder done [00:11:21]ProducePacketName [00:11:21]name=ofd_packets/00034389 [00:11:21]NVStorageSaveData ofd_packets/00034389 [00:11:21]File name is /storage/ofd_packets/00034389 [00:11:21]Write 1437 bytes [00:11:21]NVStorageSaveData done [00:11:21]OFDSenderStorePacket done [00:11:21]KKMCreateOFDPacket done [00:11:21]NVStorageSaveData kkm_last_timestamp [00:11:21]File name is /storage/kkm_last_timestamp [00:11:21]Write 4 bytes [00:11:21]NVStorageSaveData done [00:11:21]ExternCall_PrintAddStr [00:11:21]wPrintStart [00:11:21]Write to MH i2c: 01 00 00 72 09 7B [00:11:21]OFD Sender: Processing packet 34389 [packets to send 8, broken 7] [00:11:21]ProducePacketName [00:11:21]name=ofd_packets/00034389 [00:11:21]OFD Sender: To server: pG, [00:11:21]CommunicateWithHost lk.salyk.kg:30040 [00:11:21]ConnectInit lk.salyk.kg [00:11:21]Write i2c OK [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: 01 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: 01 07 00 [00:11:21]MH_I2C_Read... [00:11:21]Read from MH i2c: 01 07 00 72 09 00 00 00 00 00 FF 0F 90 [00:11:21]RasterBufferAndPrint [00:11:21]line Отчет о закрытии смены [00:11:21]line ФФД: 1.0 [00:11:21]line ИНН: 02508201610067 [00:11:21]line Кассир: Байбугуева Г. [00:11:21]line 20.06.2024 00:11 [00:11:21]line Смена: 324 [00:11:21]line РНМ: 0000000000092786 [00:11:21]line ЗНМ: 0300000172 [00:11:21]line СНО: Общий режим [00:11:21]line Чеков за смену: 92 [00:11:21]line ФД за смену: 94 [00:11:21]line Всего чеков: 92 [00:11:21]line ИТОГИ ПРИХОД [00:11:21]line Чеков: 91 [00:11:21]line Общий итог: 51318.42 [00:11:21]line Итого наличными: 38822.00 [00:11:21]line Итого безнал.: 12496.42 [00:11:21]line НДС 0% : 0.00 [00:11:21]line НДС 12% : 5450.15 [00:11:21]line НСП 0% : 0.00 [00:11:21]line НСП 1,50% : 0.00 [00:11:21]line НСП 0,50% : 0.00 [00:11:21]line НСП 5% : 0.00 [00:11:21]line НСП 3% : 0.00 [00:11:21]line НСП 2% : 0.00 [00:11:21]line НСП 1% : 454.01 [00:11:21]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:11:21]line Чеков: 1 [00:11:21]line Общий итог: 343.00 [00:11:21]line Итого наличными: 0.00 [00:11:21]line Итого безнал.: 343.00 [00:11:21]line НДС 0% : 0.00 [00:11:21]line НДС 12% : 36.43 [00:11:21]line НСП 0% : 0.00 [00:11:21]line НСП 1,50% : 0.00 [00:11:21]line НСП 0,50% : 0.00 [00:11:21]line НСП 5% : 0.00 [00:11:21]line НСП 3% : 0.00 [00:11:21]line НСП 2% : 0.00 [00:11:21]line НСП 1% : 3.03 [00:11:21]line ИТОГИ РАСХОД [00:11:21]line Чеков: 0 [00:11:21]line Общий итог: 0.00 [00:11:21]line Итого наличными: 0.00 [00:11:21]line Итого безнал.: 0.00 [00:11:21]line НДС 0% : 0.00 [00:11:21]line НДС 12% : 0.00 [00:11:21]line НСП 0% : 0.00 [00:11:21]line НСП 1,50% : 0.00 [00:11:21]line НСП 0,50% : 0.00 [00:11:21]line НСП 5% : 0.00 [00:11:21]line НСП 3% : 0.00 [00:11:21]line НСП 2% : 0.00 [00:11:21]line НСП 1% : 0.00 [00:11:21]line ИТОГИ ВОЗВРАТ РАСХОДА [00:11:21]line Чеков: 0 [00:11:21]line Общий итог: 0.00 [00:11:21]line Итого наличными: 0.00 [00:11:21]line Итого безнал.: 0.00 [00:11:21]line НДС 0% : 0.00 [00:11:21]line НДС 12% : 0.00 [00:11:21]line НСП 0% : 0.00 [00:11:21]line НСП 1,50% : 0.00 [00:11:21]line НСП 0,50% : 0.00 [00:11:21]line НСП 5% : 0.00 [00:11:21]line НСП 3% : 0.00 [00:11:21]line НСП 2% : 0.00 [00:11:21]line НСП 1% : 0.00 [00:11:21]line Сумма внесений: 0.00 [00:11:21]line Сумма выплат: 0.00 [00:11:21]line Нал. в кассе: 38822.00 [00:11:21]line НС Приход: 13495802.70 [00:11:21]line НС Возвр.Прихода: 647767.00 [00:11:21]line НС Расход: 0.00 [00:11:21]line НС Возвр.Расхода: 0.00 [00:11:21]line ФД: 34389 [00:11:21]line ФМ: 0000000000875095 [00:11:21]line ФПД: 73091394059874 [00:11:21]written 0, free lines is 4095 [00:11:22]Connected sock=10 [00:11:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 7F 05 00 00 DD 50 77 05 EB 0A 5A 05 01 00 05 00 6B 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 91 D0 B0 D0 B9 D0 B1 D1 83 D0 B3 D1 83 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 9F 73 73 66 0E 04 04 00 44 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 AA 04 D9 04 6E 04 04 00 5C 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 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 59 B1 6A 04 9D 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 01 00 00 72 04 02 00 FC 85 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E 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 2F 01 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 Write to MH i2c: 00 01 72 00 04 00 00 C2 00 09 00 CB 04 [00:11:22]75 Write i2c OK [00:11:22]00 MH_I2C_Read... [00:11:22]EE Read from MH i2c: 03 01 09 [00:11:22]00 MH_I2C_Read... [00:11:22]F2 03 01 00 00 F3 03 00 00 EE Read from MH i2c: 03 01 09 07 00 00 F2 [00:11:22]03 MH_I2C_Read... [00:11:22]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 Read from MH i2c: 00 01 00 07 F7 00 03 C2 00 09 00 00 EF 00 03 00 09 00 00 00 F6 5D 03 0B 01 3A 00 [00:11:23]01 RasterBufferAndPrint [00:11:23]F7 line [00:11:23]03 line [00:11:23]00 line [00:11:23]00 EF 03 09 00 F6 03 01 00 02 F7 03 00 line [00:11:23]00 line [00:11:23]EF 03 written 0, free lines is 3066 [00:11:23]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 MH_Cut [00:11:23]09 Write to MH i2c: 00 D1 F6 01 03 00 01 C9 00 09 04 01 F7 A4 03 [00:11:23]00 00 EF 03 09 00 F6 03 01 Write i2c OK [00:11:23]00 MH_I2C_Read... [00:11:23]05 Read from MH i2c: F7 D1 03 [00:11:23]00 MH_I2C_Read... [00:11:23]00 EF 03 09 00 F6 03 01 00 06 F7 03 Read from MH i2c: 00 D1 00 01 D0 00 04 [00:11:23]8D MH_I2C_Read... [00:11:23]00 6F 04 04 00 00 00 00 00 B1 04 00 00 Read from MH i2c: 70 D1 04 01 00 00 00 C9 72 09 04 00 00 A3 00 [00:11:23]00 Write to MH i2c: 04 01 75 00 00 00 CA 09 D3 [00:11:23]EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 Write i2c OK [00:11:23]F7 MH_I2C_Read... [00:11:23]03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 42 79 EA 94 3E 62 D9 C0 66 FC 88 17 3A CF [00:11:23]*** Cut start [00:11:23]*** Partial cut [00:11:23]*** CUTSNS_PIN = 1 [00:11:23]*** CUTSNS_PIN = 0 [00:11:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 90 C0 47 00 A4 83 A5 07 01 00 07 00 3B 00 *** Brake cut motor [00:11:24]F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 55 86 00 00 F4 03 04 00 77 1A 73 66 B6 04 01 00 00 F7 3F BF E0 2E 9C 11 39 [00:11:24]CommunicateWithHost err = 0 [00:11:24]CheckOFDResponse [00:11:24]1017 (14) - 77093643461234 [00:11:24]1041 (16) - 0000000000875095 [00:11:24]1040 (4) - 34389 [00:11:24]1012 (4) - 19.06.2024 17:50 [00:11:24]1206 (1) - 0 [00:11:24]OFD Sender: Remove packet 34389 [00:11:24]ProducePacketName [00:11:24]name=ofd_packets/00034389 [00:11:24]NVStorageDeleteData [00:11:24]Read from MH i2c: 01 [00:11:24]MH_I2C_Read... [00:11:24]*** Stop cut motor [00:11:24]*** Cut end [00:11:24]Read from MH i2c: 01 07 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: 01 07 00 CA 09 00 00 00 00 00 FF 0F E8 [00:11:24]process_action close_shift done [00:11:24]requested_data is exist [00:11:24]produce_requested_data [00:11:24]requested_item fd.num is exist - process it [00:11:24]SAM_PROTO_GetFieldsCounters [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 00 00 [00:11:24]Write to MH i2c: E2 08 00 CB 09 80 13 00 00 00 00 00 00 50 [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 62 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 62 00 CB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [00:11:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 OFD Sender: No OFD packet to send [00:11:24]00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:24]wFMCommunicate OK [00:11:24]SAM_PROTO_GetFieldsCounters done [00:11:24]requested_item shift.num is exist - process it [00:11:24]requested_item shift.opened is exist - process it [00:11:24]req_shift_opened [00:11:24]FM_GetShiftState [00:11:24]SAM_PROTO_GetShiftState [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 01 00 [00:11:24]Write to MH i2c: E2 08 00 CC 09 80 13 01 00 00 00 00 00 52 [00:11:24]Write i2c OK [00:11:24]MH_I2C_Read... [00:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:24]Read from MH i2c: E2 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 [00:11:24]MH_I2C_Read... [00:11:24]Read from MH i2c: E2 0E 00 CC 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5D [00:11:24]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:24]wFMCommunicate OK [00:11:24]SAM_PROTO_GetShiftState done [00:11:24]FM_GetShiftState done [00:11:24]req_shift_opened done [00:11:24]requested_item shift.open_date is exist - process it [00:11:24]req_shift_open_date [00:11:24]FM_GetShiftState [00:11:24]SAM_PROTO_GetShiftState [00:11:24]wFMCommunicate request_size=4 [00:11:24]MH_SAM_APDU [00:11:24]CAPDU: 80 13 01 00 [00:11:24]Write to MH i2c: E2 08 00 CD 09 80 13 01 00 00 00 00 00 53 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0E 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0E 00 CD 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5E [00:11:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:25]wFMCommunicate OK [00:11:25]SAM_PROTO_GetShiftState done [00:11:25]FM_GetShiftState done [00:11:25]req_shift_open_date done [00:11:25]produce_requested_data done [00:11:25]produce_requested_data return {"fd.num":34389,"shift.num":324,"shift.opened":0,"shift.open_date":0} [00:11:25]process_action_free close_shift [00:11:25]json_value_free [00:11:25]json_value_free done [00:11:25]process_json_proto returns [00:11:25]Send response to host [00:11:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34389,"shift.num":324,"shift.opened":0,"shift.open_date":0}}} [00:11:25]free response buf [00:11:25]execute_script done [00:11:25]execute_script returns [00:11:25]free content buf [00:11:25]Sock 7.Close socket [00:11:25]Sock 7.Thread stoped [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:35]OFD Sender: No OFD packet to send [00:14:40]OFD Sender: No OFD packet to send [00:14:45]OFD Sender: No OFD packet to send [00:14:50]OFD Sender: No OFD packet to send [00:14:55]OFD Sender: No OFD packet to send [00:15:00]OFD Sender: No OFD packet to send [00:15:05]OFD Sender: No OFD packet to send [00:15:10]OFD Sender: No OFD packet to send [00:15:15]OFD Sender: No OFD packet to send [00:15:20]OFD Sender: No OFD packet to send [00:15:25]OFD Sender: No OFD packet to send [00:15:30]OFD Sender: No OFD packet to send [00:15:35]OFD Sender: No OFD packet to send [00:15:40]OFD Sender: No OFD packet to send [00:15:45]OFD Sender: No OFD packet to send [00:15:50]OFD Sender: No OFD packet to send [00:15:55]OFD Sender: No OFD packet to send [00:16:00]OFD Sender: No OFD packet to send [00:16:05]OFD Sender: No OFD packet to send [00:16:10]OFD Sender: No OFD packet to send [00:16:15]OFD Sender: No OFD packet to send [00:16:20]OFD Sender: No OFD packet to send [00:16:25]OFD Sender: No OFD packet to send [00:16:30]OFD Sender: No OFD packet to send [00:16:35]OFD Sender: No OFD packet to send [00:16:40]OFD Sender: No OFD packet to send [00:16:45]OFD Sender: No OFD packet to send [00:16:50]OFD Sender: No OFD packet to send [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:23]accept exits with 9 [00:24:23]New connection [00:24:23]New thread 3067018596 created [00:24:23]Thread 3067161956 joined [00:24:23]Waiting for new connection... [00:24:23] Sock 9.Parse request [00:24:23]Sock 9.Check first char [00:24:23]Sock 9.First char is OK [00:24:23]request: POST /json_proto HTTP/1.0 [00:24:23]Method: POST [00:24:23]URL: /json_proto [00:24:23]Method is POST - this is cgi request [00:24:23]url: /json_proto [00:24:23]query_string will be loaded in cgi processing [00:24:23]execute_cgi json_proto POST (null) [00:24:23]execute_cgi path=json_proto method=POST [00:24:23]POST find Content-Length [00:24:23]Host: 172.17.38.134:8080 [00:24:23]Content-Length: 215 [00:24:23]Content-Type: application/json [00:24:23] [00:24:23]POST finish read [00:24:23]Found Content-Length = 215 [00:24:23]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:24:23]execute_script... [00:24:23]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:24:23]POST & json_proto [00:24:23]process_json_proto [00:24:23]json parsed OK: [00:24:23]protocol is kg_v1.0 [00:24:23]action value=get_value [00:24:23]process_action get_value [00:24:23]cmd_get_value [00:24:23]process_action get_value done [00:24:23]requested_data is exist [00:24:23]produce_requested_data [00:24:23]requested_item kkm.sn is exist - process it [00:24:23]requested_item kkm.ver is exist - process it [00:24:23]requested_item fm.sn is exist - process it [00:24:23]wFMCommunicate request_size=4 [00:24:23]MH_SAM_APDU [00:24:23]CAPDU: 80 11 00 00 [00:24:23]Write to MH i2c: E2 08 00 CE 09 80 11 00 00 00 00 00 00 51 [00:24:23]Write i2c OK [00:24:23]MH_I2C_Read... [00:24:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:23]Read from MH i2c: E2 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 17 00 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 17 00 CE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 A6 [00:24:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:24:23]wFMCommunicate OK [00:24:23]requested_item fd.num is exist - process it [00:24:23]SAM_PROTO_GetFieldsCounters [00:24:23]wFMCommunicate request_size=4 [00:24:23]MH_SAM_APDU [00:24:23]CAPDU: 80 13 00 00 [00:24:23]Write to MH i2c: E2 08 00 CF 09 80 13 00 00 00 00 00 00 54 [00:24:23]Write i2c OK [00:24:23]MH_I2C_Read... [00:24:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:23]Read from MH i2c: E2 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 62 00 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 62 00 CF 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [00:24:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 55 86 00 00 0E 04 04 00 44 01 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:23]wFMCommunicate OK [00:24:23]SAM_PROTO_GetFieldsCounters done [00:24:23]requested_item shift.num is exist - process it [00:24:23]requested_item shift.opened is exist - process it [00:24:23]req_shift_opened [00:24:23]FM_GetShiftState [00:24:23]SAM_PROTO_GetShiftState [00:24:23]wFMCommunicate request_size=4 [00:24:23]MH_SAM_APDU [00:24:23]CAPDU: 80 13 01 00 [00:24:23]Write to MH i2c: E2 08 00 D0 09 80 13 01 00 00 00 00 00 56 [00:24:23]Write i2c OK [00:24:23]MH_I2C_Read... [00:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:23]Read from MH i2c: E2 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 0E 00 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 0E 00 D0 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 61 [00:24:23]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:23]wFMCommunicate OK [00:24:23]SAM_PROTO_GetShiftState done [00:24:23]FM_GetShiftState done [00:24:23]req_shift_opened done [00:24:23]requested_item shift.open_date is exist - process it [00:24:23]req_shift_open_date [00:24:23]FM_GetShiftState [00:24:23]SAM_PROTO_GetShiftState [00:24:23]wFMCommunicate request_size=4 [00:24:23]MH_SAM_APDU [00:24:23]CAPDU: 80 13 01 00 [00:24:23]Write to MH i2c: E2 08 00 D1 09 80 13 01 00 00 00 00 00 57 [00:24:23]Write i2c OK [00:24:23]MH_I2C_Read... [00:24:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:23]Read from MH i2c: E2 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 0E 00 [00:24:23]MH_I2C_Read... [00:24:23]Read from MH i2c: E2 0E 00 D1 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 62 [00:24:23]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:23]wFMCommunicate OK [00:24:23]SAM_PROTO_GetShiftState done [00:24:23]FM_GetShiftState done [00:24:23]req_shift_open_date done [00:24:23]produce_requested_data done [00:24:23]produce_requested_data return {"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34389,"shift.num":324,"shift.opened":0,"shift.open_date":0} [00:24:23]process_action_free get_value [00:24:23]json_value_free [00:24:23]json_value_free done [00:24:23]process_json_proto returns [00:24:23]Send response to host [00:24:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000172","kkm.ver":"001","fm.sn":"0000000000875095","fd.num":34389,"shift.num":324,"shift.opened":0,"shift.open_date":0}}} [00:24:23]free response buf [00:24:23]execute_script done [00:24:23]execute_script returns [00:24:23]free content buf [00:24:23]Sock 9.Close socket [00:24:23]Sock 9.Thread stoped [00:24:23]accept exits with 7 [00:24:23]New connection [00:24:23]New thread 3067161956 created [00:24:23]Thread 3067018596 joined [00:24:23]Waiting for new connection... [00:24:23] Sock 7.Parse request [00:24:23]Sock 7.Check first char [00:24:23]Sock 7.First char is OK [00:24:23]request: POST /json_proto HTTP/1.0 [00:24:23]Method: POST [00:24:23]URL: /json_proto [00:24:23]Method is POST - this is cgi request [00:24:23]url: /json_proto [00:24:23]query_string will be loaded in cgi processing [00:24:23]execute_cgi json_proto POST (null) [00:24:23]execute_cgi path=json_proto method=POST [00:24:23]POST find Content-Length [00:24:23]Host: 172.17.38.134:8080 [00:24:23]Content-Length: 331 [00:24:23]Content-Type: application/json [00:24:23] [00:24:23]POST finish read [00:24:23]Found Content-Length = 331 [00:24:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:24:23]execute_script... [00:24: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" ] } } [00:24:23]POST & json_proto [00:24:23]process_json_proto [00:24:23]json parsed OK: [00:24:23]protocol is kg_v1.0 [00:24:23]action value=get_value [00:24:23]process_action get_value [00:24:23]cmd_get_value [00:24:23]process_action get_value done [00:24:23]requested_data is exist [00:24:23]produce_requested_data [00:24:23]requested_item fm.sale.total is exist - process it [00:24:23]SAM_PROTO_GetFMData [00:24:23]wFMCommunicate request_size=4 [00:24:23]MH_SAM_APDU [00:24:23]CAPDU: 80 13 03 00 [00:24:23]Write to MH i2c: E2 08 00 D2 09 80 13 03 00 00 00 00 00 5A [00:24:23]Write i2c OK [00:24:23]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 D2 09 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 B9 [00:24:24]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:24:24]wFMCommunicate OK [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 17 00 00 [00:24:24]Write to MH i2c: E2 08 00 D3 09 80 17 00 00 00 00 00 00 5C [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 D3 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 11 [00:24:24]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:24]wFMCommunicate OK [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 17 00 00 [00:24:24]Write to MH i2c: E2 08 00 D4 09 80 17 00 00 00 00 00 00 5D [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:24]Read from MH i2c: E2 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 [00:24:24]MH_I2C_Read... [00:24:24]Read from MH i2c: E2 FD 00 D4 09 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 72 [00:24: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 [00:24:24]wFMCommunicate OK [00:24:24]wFMCommunicate request_size=4 [00:24:24]MH_SAM_APDU [00:24:24]CAPDU: 80 17 00 00 [00:24:24]Write to MH i2c: E2 08 00 D5 09 80 17 00 00 00 00 00 00 5E [00:24:24]Write i2c OK [00:24:24]MH_I2C_Read... [00:24:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:25]Read from MH i2c: E2 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 D5 09 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 D6 [00:24:25]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:24:25]wFMCommunicate OK [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 17 00 00 [00:24:25]Write to MH i2c: E2 08 00 D6 09 80 17 00 00 00 00 00 00 5F [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:24:25]Read from MH i2c: E2 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 E1 00 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 E1 00 D6 09 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 4D [00:24:25]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:24:25]wFMCommunicate OK [00:24:25]SAM_PROTO_GetFMData done [00:24:25]requested_item fm.sale_refund.total is exist - process it [00:24:25]requested_item fm.buy.total is exist - process it [00:24:25]requested_item shift.sale.total is exist - process it [00:24:25]SAM_PROTO_GetShiftData [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 13 02 00 [00:24:25]Write to MH i2c: E2 08 00 D7 09 80 13 02 00 00 00 00 00 5E [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:25]OFD Sender: No OFD packet to send [00:24:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:25]Read from MH i2c: E2 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 [00:24:25]MH_I2C_Read... [00:24:25]Read from MH i2c: E2 FD 00 D7 09 00 B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 6A [00:24:25]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 42 4E 4E 70 04 03 00 D8 3C 3B 72 04 03 00 6A 11 13 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 F7 50 08 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 B1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 FC 85 70 04 00 00 72 04 02 00 FC 85 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3B 0E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [00:24:25]wFMCommunicate OK [00:24:25]wFMCommunicate request_size=4 [00:24:25]MH_SAM_APDU [00:24:25]CAPDU: 80 17 00 00 [00:24:25]Write to MH i2c: E2 08 00 D8 09 80 17 00 00 00 00 00 00 61 [00:24:25]Write i2c OK [00:24:25]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 D8 09 00 F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 A5 [00:24:26]RAPDU: F6 03 01 00 01 F7 03 02 00 2F 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:24:26]wFMCommunicate OK [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 17 00 00 [00:24:26]Write to MH i2c: E2 08 00 D9 09 80 17 00 00 00 00 00 00 62 [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 D9 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 22 [00:24:26]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:24:26]wFMCommunicate OK [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 17 00 00 [00:24:26]Write to MH i2c: E2 08 00 DA 09 80 17 00 00 00 00 00 00 63 [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 FD 00 DA 09 00 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 90 00 D2 [00:24:26]RAPDU: 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 90 00 [00:24:26]wFMCommunicate OK [00:24:26]wFMCommunicate request_size=4 [00:24:26]MH_SAM_APDU [00:24:26]CAPDU: 80 17 00 00 [00:24:26]Write to MH i2c: E2 08 00 DB 09 80 17 00 00 00 00 00 00 64 [00:24:26]Write i2c OK [00:24:26]MH_I2C_Read... [00:24:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [00:24:26]Read from MH i2c: E2 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 D3 00 [00:24:26]MH_I2C_Read... [00:24:26]Read from MH i2c: E2 D3 00 DB 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 51 [00:24:26]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:26]wFMCommunicate OK [00:24:26]SAM_PROTO_GetShiftData done [00:24:26]requested_item shift.sale.total_cash is exist - process it [00:24:26]requested_item shift.sale_refund.total is exist - process it [00:24:26]requested_item shift.sale_refund.total_cash is exist - process it [00:24:26]requested_item shift.buy.total is exist - process it [00:24:26]requested_item shift.buy.total_cash is exist - process it [00:24:26]produce_requested_data done [00:24:26]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:24:26]process_action_free get_value [00:24:26]json_value_free [00:24:26]json_value_free done [00:24:26]process_json_proto returns [00:24:26]Send response to host [00:24:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.00,"fm.buy.total":0.00,"shift.sale.total":51318.42,"shift.sale.total_cash":38822.00,"shift.sale_refund.total":343.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:24:26]free response buf [00:24:26]execute_script done [00:24:26]execute_script returns [00:24:26]free content buf [00:24:26]Sock 7.Close socket [00:24:26]Sock 7.Thread stoped [00:24:27]accept exits with 9 [00:24:27]New connection [00:24:27]New thread 3067018596 created [00:24:27]Thread 3067161956 joined [00:24:27]Waiting for new connection... [00:24:27] Sock 9.Parse request [00:24:27]Sock 9.Check first char [00:24:27]Sock 9.First char is OK [00:24:27]request: POST /json_proto HTTP/1.0 [00:24:27]Method: POST [00:24:27]URL: /json_proto [00:24:27]Method is POST - this is cgi request [00:24:27]url: /json_proto [00:24:27]query_string will be loaded in cgi processing [00:24:27]execute_cgi json_proto POST (null) [00:24:27]execute_cgi path=json_proto method=POST [00:24:27]POST find Content-Length [00:24:27]Host: 172.17.38.134:8080 [00:24:27]Content-Length: 271 [00:24:27]Content-Type: application/json [00:24:27] [00:24:27]POST finish read [00:24:27]Found Content-Length = 271 [00:24:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0414\u0443\u0439\u0448\u0435\u043D\u0431\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:27]execute_script... [00:24:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0414\u0443\u0439\u0448\u0435\u043D\u0431\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:24:27]POST & json_proto [00:24:27]process_json_proto [00:24:27]json parsed OK: [00:24:27]protocol is kg_v1.0 [00:24:27]action value=open_shift [00:24:27]process_action open_shift [00:24:27]cmd_open_shift [00:24:27]MH_GetDate [00:24:27]Write to MH i2c: F0 00 00 DC 09 D4 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 09 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 09 00 DC 09 00 BD 76 73 66 13 9C 7C 64 78 [00:24:27]GetLastDocTimeStamp 1718842271 [00:24:27]current date 1718843069 [00:24:27]FM_GetShiftState [00:24:27]SAM_PROTO_GetShiftState [00:24:27]wFMCommunicate request_size=4 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 13 01 00 [00:24:27]Write to MH i2c: E2 08 00 DD 09 80 13 01 00 00 00 00 00 63 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 0E 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 0E 00 DD 09 00 09 00 00 00 00 00 00 00 00 00 00 90 00 6E [00:24:27]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:27]wFMCommunicate OK [00:24:27]SAM_PROTO_GetShiftState done [00:24:27]FM_GetShiftState done [00:24:27]KKMCreateOpenShiftDocument [00:24:27]Load OK [00:24:27]Malloc new data [00:24:27]MH_GetDate [00:24:27]Write to MH i2c: F0 00 00 DE 09 D6 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 09 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: F0 09 00 DE 09 00 BD 76 73 66 13 9C 7C 64 7A [00:24:27]Malloc new data [00:24:27]KKMCreateOpenShiftDocument OK [00:24:27]KKMSetOpenShiftData OK [00:24:27]ProcessDocumentItem done err = 0, tmpTLVsize=203 [00:24:27]tlvbuf is 0040A920 [00:24:27]KKMLoadAndSignOpenShiftData [00:24:27]SAM_PROTO_ProcessDocument [00:24:27]wFMCommunicate request_size=9 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 01 00 04 02 00 CB 00 [00:24:27]Write to MH i2c: E2 0C 00 DF 09 80 15 01 00 04 00 02 00 CB 00 00 00 3C [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 DF 09 00 90 00 5C [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=23 [00:24:27]MH_SAM_APDU [00:24:27]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:24:27]Write to MH i2c: E2 1A 00 E0 09 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 5E [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E0 09 00 90 00 5D [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=34 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 [00:24:27]Write to MH i2c: E2 25 00 E1 09 80 15 02 00 1D 00 FD 03 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 00 00 47 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E1 09 00 90 00 5E [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=87 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 02 00 52 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 [00:24:27]Write to MH i2c: E2 5A 00 E2 09 80 15 02 00 52 00 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 00 00 DF [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E2 09 00 90 00 5F [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=51 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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:24:27]Write to MH i2c: E2 36 00 E3 09 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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 11 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E3 09 00 90 00 60 [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=13 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 02 00 08 F4 03 04 00 BD 76 73 66 [00:24:27]Write to MH i2c: E2 10 00 E4 09 80 15 02 00 08 00 F4 03 04 00 BD 76 73 66 00 00 84 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E4 09 00 90 00 61 [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=25 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 [00:24:27]Write to MH i2c: E2 1C 00 E5 09 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 00 00 D7 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 03 00 E5 09 00 90 00 62 [00:24:27]RAPDU: 90 00 [00:24:27]wFMCommunicate OK [00:24:27]wFMCommunicate request_size=4 [00:24:27]MH_SAM_APDU [00:24:27]CAPDU: 80 15 03 00 [00:24:27]Write to MH i2c: E2 08 00 E6 09 80 15 03 00 00 00 00 00 70 [00:24:27]Write i2c OK [00:24:27]MH_I2C_Read... [00:24:27]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:24:27]Read from MH i2c: E2 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 38 00 [00:24:27]MH_I2C_Read... [00:24:27]Read from MH i2c: E2 38 00 E6 09 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 56 86 00 00 0E 04 04 00 45 01 00 00 35 04 06 00 66 43 3C 4D 12 1D 90 00 C1 [00:24:28]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 56 86 00 00 0E 04 04 00 45 01 00 00 35 04 06 00 66 43 3C 4D 12 1D 90 00 [00:24:28]wFMCommunicate OK [00:24:28]SAM_PROTO_ProcessDocument answer len = 51 [00:24:28]SAM_PROTO_ProcessDocument done [00:24:28]SetTLVBufToDocument [00:24:28]Processing tag 1209 (04B9) [00:24:28]Malloc new data [00:24:28]Processing tag 1041 (0411) [00:24:28]Processing tag 1040 (0410) [00:24:28]Malloc new data [00:24:28]Processing tag 1038 (040E) [00:24:28]Malloc new data [00:24:28]Processing tag 1077 (0435) [00:24:28]Malloc new data [00:24:28]SetTLVBufToDocument err=0 [00:24:28]KKMLoadAndSignOpenShiftData store KKM data [00:24:28]KKMLoadAndSignOpenShiftData err=0 [00:24:28]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Дуйшенбиев А. Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 Место: АЗС № 120 "Партнер Нефть" 20.06.2024 00:24 Смена: 325 РНМ: 0000000000092786 ЗНМ: 0300000172 ФД: 34390 ФМ: 0000000000875095 ФПД: 112438960525853 [00:24:28]StoreToDocumentArchive [00:24:28]shift 325 fd 34390 [00:24:28]Create dir for shift 0325 [00:24:28]save to /storage/0325/doc_00034390 [00:24:28]save last doc name /storage/0325/doc_00034390 to /storage/kkm_last_doc_name [00:24:28]save OK [00:24:28]Clear old archive folders... [00:24:28]Remove dir /storage/0324 [00:24:28]opendir ok [00:24:28]file . [00:24:28]file .. [00:24:28]file doc_00034296 [00:24:28]remove file /storage/0324/doc_00034296 [00:24:28]file doc_00034297 [00:24:28]remove file /storage/0324/doc_00034297 [00:24:28]file doc_00034298 [00:24:28]remove file /storage/0324/doc_00034298 [00:24:28]file doc_00034299 [00:24:28]remove file /storage/0324/doc_00034299 [00:24:28]file doc_00034300 [00:24:28]remove file /storage/0324/doc_00034300 [00:24:28]file doc_00034301 [00:24:28]remove file /storage/0324/doc_00034301 [00:24:28]file doc_00034302 [00:24:28]remove file /storage/0324/doc_00034302 [00:24:28]file doc_00034303 [00:24:28]remove file /storage/0324/doc_00034303 [00:24:28]file doc_00034304 [00:24:28]remove file /storage/0324/doc_00034304 [00:24:28]file doc_00034305 [00:24:28]remove file /storage/0324/doc_00034305 [00:24:28]file doc_00034306 [00:24:28]remove file /storage/0324/doc_00034306 [00:24:28]file doc_00034307 [00:24:28]remove file /storage/0324/doc_00034307 [00:24:28]file doc_00034308 [00:24:28]remove file /storage/0324/doc_00034308 [00:24:28]file doc_00034309 [00:24:28]remove file /storage/0324/doc_00034309 [00:24:28]file doc_00034310 [00:24:28]remove file /storage/0324/doc_00034310 [00:24:28]file doc_00034311 [00:24:28]remove file /storage/0324/doc_00034311 [00:24:28]file doc_00034312 [00:24:28]remove file /storage/0324/doc_00034312 [00:24:28]file doc_00034313 [00:24:28]remove file /storage/0324/doc_00034313 [00:24:28]file doc_00034314 [00:24:28]remove file /storage/0324/doc_00034314 [00:24:28]file doc_00034315 [00:24:28]remove file /storage/0324/doc_00034315 [00:24:28]file doc_00034316 [00:24:28]remove file /storage/0324/doc_00034316 [00:24:28]file doc_00034317 [00:24:28]remove file /storage/0324/doc_00034317 [00:24:28]file doc_00034318 [00:24:28]remove file /storage/0324/doc_00034318 [00:24:28]file doc_00034319 [00:24:28]remove file /storage/0324/doc_00034319 [00:24:28]file doc_00034320 [00:24:28]remove file /storage/0324/doc_00034320 [00:24:28]file doc_00034321 [00:24:28]remove file /storage/0324/doc_00034321 [00:24:28]file doc_00034322 [00:24:28]remove file /storage/0324/doc_00034322 [00:24:28]file doc_00034323 [00:24:28]remove file /storage/0324/doc_00034323 [00:24:28]file doc_00034324 [00:24:28]remove file /storage/0324/doc_00034324 [00:24:28]file doc_00034325 [00:24:28]remove file /storage/0324/doc_00034325 [00:24:28]file doc_00034326 [00:24:28]remove file /storage/0324/doc_00034326 [00:24:28]file doc_00034327 [00:24:28]remove file /storage/0324/doc_00034327 [00:24:28]file doc_00034328 [00:24:28]remove file /storage/0324/doc_00034328 [00:24:28]file doc_00034329 [00:24:28]remove file /storage/0324/doc_00034329 [00:24:28]file doc_00034330 [00:24:28]remove file /storage/0324/doc_00034330 [00:24:28]file doc_00034331 [00:24:28]remove file /storage/0324/doc_00034331 [00:24:28]file doc_00034332 [00:24:28]remove file /storage/0324/doc_00034332 [00:24:28]file doc_00034333 [00:24:28]remove file /storage/0324/doc_00034333 [00:24:28]file doc_00034334 [00:24:28]remove file /storage/0324/doc_00034334 [00:24:28]file doc_00034335 [00:24:28]remove file /storage/0324/doc_00034335 [00:24:28]file doc_00034336 [00:24:28]remove file /storage/0324/doc_00034336 [00:24:28]file doc_00034337 [00:24:28]remove file /storage/0324/doc_00034337 [00:24:28]file doc_00034338 [00:24:28]remove file /storage/0324/doc_00034338 [00:24:28]file doc_00034339 [00:24:28]remove file /storage/0324/doc_00034339 [00:24:28]file doc_00034340 [00:24:28]remove file /storage/0324/doc_00034340 [00:24:28]file doc_00034341 [00:24:28]remove file /storage/0324/doc_00034341 [00:24:28]file doc_00034342 [00:24:28]remove file /storage/0324/doc_00034342 [00:24:28]file doc_00034343 [00:24:28]remove file /storage/0324/doc_00034343 [00:24:28]file doc_00034344 [00:24:28]remove file /storage/0324/doc_00034344 [00:24:28]file doc_00034345 [00:24:28]remove file /storage/0324/doc_00034345 [00:24:28]file doc_00034346 [00:24:28]remove file /storage/0324/doc_00034346 [00:24:28]file doc_00034347 [00:24:28]remove file /storage/0324/doc_00034347 [00:24:28]file doc_00034348 [00:24:28]remove file /storage/0324/doc_00034348 [00:24:28]file doc_00034349 [00:24:28]remove file /storage/0324/doc_00034349 [00:24:28]file doc_00034350 [00:24:28]remove file /storage/0324/doc_00034350 [00:24:28]file doc_00034351 [00:24:28]remove file /storage/0324/doc_00034351 [00:24:28]file doc_00034352 [00:24:28]remove file /storage/0324/doc_00034352 [00:24:28]file doc_00034353 [00:24:28]remove file /storage/0324/doc_00034353 [00:24:28]file doc_00034354 [00:24:28]remove file /storage/0324/doc_00034354 [00:24:28]file doc_00034355 [00:24:28]remove file /storage/0324/doc_00034355 [00:24:28]file doc_00034356 [00:24:28]remove file /storage/0324/doc_00034356 [00:24:28]file doc_00034357 [00:24:28]remove file /storage/0324/doc_00034357 [00:24:28]file doc_00034358 [00:24:28]remove file /storage/0324/doc_00034358 [00:24:28]file doc_00034359 [00:24:28]remove file /storage/0324/doc_00034359 [00:24:28]file doc_00034360 [00:24:28]remove file /storage/0324/doc_00034360 [00:24:28]file doc_00034361 [00:24:28]remove file /storage/0324/doc_00034361 [00:24:28]file doc_00034362 [00:24:28]remove file /storage/0324/doc_00034362 [00:24:28]file doc_00034363 [00:24:28]remove file /storage/0324/doc_00034363 [00:24:28]file doc_00034364 [00:24:28]remove file /storage/0324/doc_00034364 [00:24:28]file doc_00034365 [00:24:28]remove file /storage/0324/doc_00034365 [00:24:28]file doc_00034366 [00:24:28]remove file /storage/0324/doc_00034366 [00:24:28]file doc_00034367 [00:24:28]remove file /storage/0324/doc_00034367 [00:24:28]file doc_00034368 [00:24:28]remove file /storage/0324/doc_00034368 [00:24:28]file doc_00034369 [00:24:28]remove file /storage/0324/doc_00034369 [00:24:28]file doc_00034370 [00:24:28]remove file /storage/0324/doc_00034370 [00:24:28]file doc_00034371 [00:24:28]remove file /storage/0324/doc_00034371 [00:24:28]file doc_00034372 [00:24:28]remove file /storage/0324/doc_00034372 [00:24:28]file doc_00034373 [00:24:28]remove file /storage/0324/doc_00034373 [00:24:28]file doc_00034374 [00:24:28]remove file /storage/0324/doc_00034374 [00:24:28]file doc_00034375 [00:24:28]remove file /storage/0324/doc_00034375 [00:24:28]file doc_00034376 [00:24:28]remove file /storage/0324/doc_00034376 [00:24:28]file doc_00034377 [00:24:28]remove file /storage/0324/doc_00034377 [00:24:28]file doc_00034378 [00:24:28]remove file /storage/0324/doc_00034378 [00:24:28]file doc_00034379 [00:24:28]remove file /storage/0324/doc_00034379 [00:24:28]file doc_00034380 [00:24:28]remove file /storage/0324/doc_00034380 [00:24:28]file doc_00034381 [00:24:28]remove file /storage/0324/doc_00034381 [00:24:28]file doc_00034382 [00:24:28]remove file /storage/0324/doc_00034382 [00:24:28]file doc_00034383 [00:24:28]remove file /storage/0324/doc_00034383 [00:24:28]file doc_00034384 [00:24:28]remove file /storage/0324/doc_00034384 [00:24:28]file doc_00034385 [00:24:28]remove file /storage/0324/doc_00034385 [00:24:28]file doc_00034386 [00:24:28]remove file /storage/0324/doc_00034386 [00:24:28]file doc_00034387 [00:24:28]remove file /storage/0324/doc_00034387 [00:24:28]file doc_00034388 [00:24:28]remove file /storage/0324/doc_00034388 [00:24:28]file doc_00034389 [00:24:28]remove file /storage/0324/doc_00034389 [00:24:28]remove dir /storage/0324 [00:24:28]ProcessDocumentItem done err = 0, tmpTLVsize=254 [00:24:28]tlvbuf is 0040F790 [00:24:28]SAM_PROTO_ClearQueue [00:24:28]wFMCommunicate request_size=4 [00:24:28]MH_SAM_APDU [00:24:28]CAPDU: 80 09 00 00 [00:24:28]Write to MH i2c: E2 08 00 E7 09 80 09 00 00 00 00 00 00 62 [00:24:28]Write i2c OK [00:24:28]MH_I2C_Read... [00:24:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:24:28]Read from MH i2c: E2 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 03 00 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 03 00 E7 09 00 90 00 64 [00:24:28]RAPDU: 90 00 [00:24:28]wFMCommunicate OK [00:24:28]SAM_PROTO_ClearQueue done [00:24:28]KKMCreateOFDPacket [00:24:28]OFDProtocolAddRootSTLVToBuf [00:24:28]FM_MakeSignedData [00:24:28]FM_MakeSignedData [00:24:28]SAM_PROTO_SignData [00:24:28]wFMCommunicate request_size=4 [00:24:28]MH_SAM_APDU [00:24:28]CAPDU: 80 0D 01 02 [00:24:28]Write to MH i2c: E2 08 00 E8 09 80 0D 01 02 00 00 00 00 6A [00:24:28]Write i2c OK [00:24:28]MH_I2C_Read... [00:24:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:24:28]Read from MH i2c: E2 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 03 00 [00:24:28]MH_I2C_Read... [00:24:28]Read from MH i2c: E2 03 00 E8 09 00 90 00 65 [00:24:28]RAPDU: 90 00 [00:24:28]wFMCommunicate OK [00:24:28]wFMCommunicate request_size=255 [00:24:28]MH_SAM_APDU [00:24:28]CAPDU: 80 0D 02 02 FA 02 00 FE 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 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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 BD 76 73 66 0E 04 04 00 45 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 [00:24:28]Write to MH i2c: E2 02 01 E9 09 80 0D 02 02 FA 00 02 00 FE 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 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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 BD 76 73 66 0E 04 04 00 45 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 00 00 C5 [00:24:28]Write i2c OK [00:24:28]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 03 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 03 00 E9 09 00 90 00 66 [00:24:29]RAPDU: 90 00 [00:24:29]wFMCommunicate OK [00:24:29]wFMCommunicate request_size=13 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 0D 02 02 08 06 00 66 43 3C 4D 12 1D [00:24:29]Write to MH i2c: E2 10 00 EA 09 80 0D 02 02 08 00 06 00 66 43 3C 4D 12 1D 00 00 E4 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 03 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 03 00 EA 09 00 90 00 67 [00:24:29]RAPDU: 90 00 [00:24:29]wFMCommunicate OK [00:24:29]wFMCommunicate request_size=4 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 0D 03 02 [00:24:29]Write to MH i2c: E2 08 00 EB 09 80 0D 03 02 00 00 00 00 6F [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 0B 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 0B 00 EB 09 00 0B 09 B5 8D 67 97 DB FD 90 00 9C [00:24:29]RAPDU: 0B 09 B5 8D 67 97 DB FD 90 00 [00:24:29]wFMCommunicate OK [00:24:29]SAM_PROTO_SignData done [00:24:29]FM_MakeSignedData done [00:24:29]CreateOFDProtocolMessage [00:24:29]wFMCommunicate request_size=4 [00:24:29]MH_SAM_APDU [00:24:29]CAPDU: 80 11 00 00 [00:24:29]Write to MH i2c: E2 08 00 EC 09 80 11 00 00 00 00 00 00 6F [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:24:29]Read from MH i2c: E2 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 17 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: E2 17 00 EC 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 C4 [00:24:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [00:24:29]wFMCommunicate OK [00:24:29]CreateOFDProtocolMessage done [00:24:29]OFDSenderStorePacket 34390 [00:24:29]StoreOFDPacket docnum=34390 [00:24:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 12 01 00 00 A3 3C 0A 01 63 FF 5A 02 01 00 02 00 FE 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 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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 BD 76 73 66 0E 04 04 00 45 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 66 43 3C 4D 12 1D 0B 09 B5 8D 67 97 DB FD [00:24:29]CheckFolder [00:24:29]dirname=/storage/ofd_packets [00:24:29]CheckFolder done [00:24:29]ProducePacketName [00:24:29]name=ofd_packets/00034390 [00:24:29]NVStorageSaveData ofd_packets/00034390 [00:24:29]File name is /storage/ofd_packets/00034390 [00:24:29]Write 304 bytes [00:24:29]NVStorageSaveData done [00:24:29]OFDSenderStorePacket done [00:24:29]KKMCreateOFDPacket done [00:24:29]NVStorageSaveData kkm_last_timestamp [00:24:29]File name is /storage/kkm_last_timestamp [00:24:29]Write 4 bytes [00:24:29]NVStorageSaveData done [00:24:29]ExternCall_PrintAddStr [00:24:29]wPrintStart [00:24:29]Write to MH i2c: 01 00 00 ED 09 F6 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 07 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 07 00 ED 09 00 00 00 00 00 FF 0F 0B [00:24:29]RasterBufferAndPrint [00:24:29]line Отчет об открытии смены [00:24:29]line ФФД: 1.0 [00:24:29]line ИНН: 02508201610067 [00:24:29]line Кассир: Дуйшенбиев А. [00:24:29]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [00:24:29]line Место: АЗС № 120 "Партнер Нефть" [00:24:29]line 20.06.2024 00:24 [00:24:29]line Смена: 325 [00:24:29]line РНМ: 0000000000092786 [00:24:29]line ЗНМ: 0300000172 [00:24:29]line ФД: 34390 [00:24:29]line ФМ: 0000000000875095 [00:24:29]line ФПД: 112438960525853 [00:24:29]written 0, free lines is 4095 [00:24:29]OFD Sender: Processing packet 34390 [packets to send 8, broken 7] [00:24:29]ProducePacketName [00:24:29]name=ofd_packets/00034390 [00:24:29]OFD Sender: To server: pG, [00:24:29]CommunicateWithHost lk.salyk.kg:30040 [00:24:29]ConnectInit lk.salyk.kg [00:24:29]Connected sock=10 [00:24:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 12 01 00 00 A3 3C 0A 01 63 FF 5A 02 01 00 02 00 FE 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 19 00 D0 94 D1 83 D0 B9 D1 88 D0 B5 D0 BD D0 B1 D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9D D0 B0 D1 80 D1 8B D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 96 2E 20 D0 A2 D1 83 D1 80 D0 B4 D1 83 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 31 2C 20 34 31 2E 34 32 31 32 33 32 2C 20 37 36 2E 30 30 39 32 37 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 30 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 BD 76 73 66 0E 04 04 00 45 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 35 04 06 00 66 43 3C 4D 12 1D 0B 09 B5 8D 67 97 DB FD [00:24:29]Write to MH i2c: 01 00 00 FF 09 08 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 07 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: 01 07 00 FF 09 00 00 00 00 00 BA 0E D7 [00:24:29]RasterBufferAndPrint [00:24:29]line [00:24:29]line [00:24:29]line [00:24:29]line [00:24:29]line [00:24:29]written 0, free lines is 3782 [00:24:29]MH_Cut [00:24:29]Write to MH i2c: D1 01 00 06 0A 01 E2 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: D1 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: D1 01 00 [00:24:29]MH_I2C_Read... [00:24:29]Read from MH i2c: D1 01 00 06 0A 00 E1 [00:24:29]Write to MH i2c: 01 00 00 07 0A 11 [00:24:29]Write i2c OK [00:24:29]MH_I2C_Read... [00:24:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 40 85 47 00 87 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 56 86 00 00 F4 03 04 00 88 1D 73 66 B6 04 01 00 00 CA 26 50 A4 C1 6C 3B C6 [00:24:29]CommunicateWithHost err = 0 [00:24:29]CheckOFDResponse [00:24:29]1017 (14) - 77093643461234 [00:24:29]1041 (16) - 0000000000875095 [00:24:29]1040 (4) - 34390 [00:24:29]1012 (4) - 19.06.2024 18:03 [00:24:29]1206 (1) - 0 [00:24:29]OFD Sender: Remove packet 34390 [00:24:29]ProducePacketName [00:24:29]name=ofd_packets/00034390 [00:24:29]NVStorageDeleteData [00:24:29]*** Cut start [00:24:29]*** Partial cut [00:24:29]*** CUTSNS_PIN = 1 [00:24:30]*** CUTSNS_PIN = 0 [00:24:30]*** Brake cut motor [00:24:30]OFD Sender: No OFD packet to send [00:24:30]Read from MH i2c: 01 [00:24:30]MH_I2C_Read... [00:24:30]*** Stop cut motor [00:24:30]*** Cut end [00:24:30]Read from MH i2c: 01 07 00 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: 01 07 00 07 0A 00 00 00 00 00 FF 0F 26 [00:24:30]process_action open_shift done [00:24:30]requested_data is exist [00:24:30]produce_requested_data [00:24:30]requested_item fd.num is exist - process it [00:24:30]SAM_PROTO_GetFieldsCounters [00:24:30]wFMCommunicate request_size=4 [00:24:30]MH_SAM_APDU [00:24:30]CAPDU: 80 13 00 00 [00:24:30]Write to MH i2c: E2 08 00 08 0A 80 13 00 00 00 00 00 00 8E [00:24:30]Write i2c OK [00:24:30]MH_I2C_Read... [00:24:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:30]Read from MH i2c: E2 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 62 00 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 62 00 08 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 0E 04 04 00 45 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 DA [00:24:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 56 86 00 00 0E 04 04 00 45 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:24:30]wFMCommunicate OK [00:24:30]SAM_PROTO_GetFieldsCounters done [00:24:30]requested_item shift.num is exist - process it [00:24:30]requested_item shift.opened is exist - process it [00:24:30]req_shift_opened [00:24:30]FM_GetShiftState [00:24:30]SAM_PROTO_GetShiftState [00:24:30]wFMCommunicate request_size=4 [00:24:30]MH_SAM_APDU [00:24:30]CAPDU: 80 13 01 00 [00:24:30]Write to MH i2c: E2 08 00 09 0A 80 13 01 00 00 00 00 00 90 [00:24:30]Write i2c OK [00:24:30]MH_I2C_Read... [00:24:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:30]Read from MH i2c: E2 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 0E 00 [00:24:30]MH_I2C_Read... [00:24:30]Read from MH i2c: E2 0E 00 09 0A 00 09 00 01 BD 76 73 66 00 00 00 00 90 00 A8 [00:24:30]RAPDU: 09 00 01 BD 76 73 66 00 00 00 00 90 00 [00:24:30]wFMCommunicate OK [00:24:30]SAM_PROTO_GetShiftState done [00:24:30]FM_GetShiftState done [00:24:30]req_shift_opened done [00:24:30]requested_item shift.open_date is exist - process it [00:24:30]req_shift_open_date [00:24:30]req_shift_open_date done [00:24:30]produce_requested_data done [00:24:30]produce_requested_data return {"fd.num":34390,"shift.num":325,"shift.opened":1,"shift.open_date":1718843069} [00:24:30]process_action_free open_shift [00:24:30]json_value_free [00:24:30]json_value_free done [00:24:30]process_json_proto returns [00:24:30]Send response to host [00:24:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":34390,"shift.num":325,"shift.opened":1,"shift.open_date":1718843069}}} [00:24:30]free response buf [00:24:30]execute_script done [00:24:30]execute_script returns [00:24:30]free content buf [00:24:30]Sock 9.Close socket [00:24:30]Sock 9.Thread stoped [00:24:30]accept exits with 7 [00:24:30]New connection [00:24:30]New thread 3067161956 created [00:24:30]Thread 3067018596 joined [00:24:30]Waiting for new connection... [00:24:30] Sock 7.Parse request [00:24:30]Sock 7.Check first char [00:24:30]Sock 7.First char is OK [00:24:30]request: POST /json_proto HTTP/1.0 [00:24:30]Method: POST [00:24:30]URL: /json_proto [00:24:30]Method is POST - this is cgi request [00:24:30]url: /json_proto [00:24:30]query_string will be loaded in cgi processing [00:24:30]execute_cgi json_proto POST (null) [00:24:30]execute_cgi path=json_proto method=POST [00:24:30]POST find Content-Length [00:24:30]Host: 172.17.38.134:8080 [00:24:30]Content-Length: 331 [00:24:30]Content-Type: application/json [00:24:30] [00:24:30]POST finish read [00:24:30]Found Content-Length = 331 [00:24:30]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:24:30]execute_script... [00:24:30]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:24:30]POST & json_proto [00:24:30]process_json_proto [00:24:30]json parsed OK: [00:24:30]protocol is kg_v1.0 [00:24:30]action value=get_value [00:24:30]process_action get_value [00:24:30]cmd_get_value [00:24:30]process_action get_value done [00:24:30]requested_data is exist [00:24:30]produce_requested_data [00:24:30]requested_item fm.sale.total is exist - process it [00:24:30]SAM_PROTO_GetFMData [00:24:30]wFMCommunicate request_size=4 [00:24:30]MH_SAM_APDU [00:24:30]CAPDU: 80 13 03 00 [00:24:30]Write to MH i2c: E2 08 00 0A 0A 80 13 03 00 00 00 00 00 93 [00:24:30]Write i2c OK [00:24:30]MH_I2C_Read... [00:24:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:24:31]Read from MH i2c: E2 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 0A 0A 00 C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 F2 [00:24:31]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 CC 83 00 00 69 04 A0 00 6F 04 04 00 D8 82 00 00 B1 04 04 00 EE F5 70 50 70 04 04 00 B0 FB FF 44 72 04 04 00 3E FA 70 0B 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 7B F5 8A 08 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 DF 2F B6 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F4 00 00 00 B1 04 04 00 FC 69 DC 03 70 04 04 00 AC 50 C8 03 72 04 03 00 50 19 14 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 B5 F7 68 EF 03 09 00 90 00 [00:24:31]wFMCommunicate OK [00:24:31]wFMCommunicate request_size=4 [00:24:31]MH_SAM_APDU [00:24:31]CAPDU: 80 17 00 00 [00:24:31]Write to MH i2c: E2 08 00 0B 0A 80 17 00 00 00 00 00 00 95 [00:24:31]Write i2c OK [00:24:31]MH_I2C_Read... [00:24:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:31]Read from MH i2c: E2 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 [00:24:31]MH_I2C_Read... [00:24:31]Read from MH i2c: E2 FD 00 0B 0A 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4A [00:24:31]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 BF 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:24:31]wFMCommunicate OK [00:24:31]wFMCommunicate request_size=4 [00:24:31]MH_SAM_APDU [00:24:31]CAPDU: 80 17 00 00 [00:24:31]Write to MH i2c: E2 08 00 0C 0A 80 17 00 00 00 00 00 00 96 [00:24:31]Write i2c OK [00:24:31]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 0C 0A 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AB [00:24: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 [00:24:32]wFMCommunicate OK [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 17 00 00 [00:24:32]Write to MH i2c: E2 08 00 0D 0A 80 17 00 00 00 00 00 00 97 [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 FD 00 0D 0A 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 0F [00:24: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 [00:24:32]wFMCommunicate OK [00:24:32]wFMCommunicate request_size=4 [00:24:32]MH_SAM_APDU [00:24:32]CAPDU: 80 17 00 00 [00:24:32]Write to MH i2c: E2 08 00 0E 0A 80 17 00 00 00 00 00 00 98 [00:24:32]Write i2c OK [00:24:32]MH_I2C_Read... [00:24:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:24:32]Read from MH i2c: E2 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 E1 00 [00:24:32]MH_I2C_Read... [00:24:32]Read from MH i2c: E2 E1 00 0E 0A 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 86 [00:24:32]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:24:33]wFMCommunicate OK [00:24:33]SAM_PROTO_GetFMData done [00:24:33]requested_item fm.sale_refund.total is exist - process it [00:24:33]requested_item fm.buy.total is exist - process it [00:24:33]requested_item shift.sale.total is exist - process it [00:24:33]SAM_PROTO_GetShiftData [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 13 02 00 [00:24:33]Write to MH i2c: E2 08 00 0F 0A 80 13 02 00 00 00 00 00 97 [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 0F 0A 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 0A [00:24:33]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:24:33]wFMCommunicate OK [00:24:33]wFMCommunicate request_size=4 [00:24:33]MH_SAM_APDU [00:24:33]CAPDU: 80 17 00 00 [00:24:33]Write to MH i2c: E2 08 00 10 0A 80 17 00 00 00 00 00 00 9A [00:24:33]Write i2c OK [00:24:33]MH_I2C_Read... [00:24:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:33]Read from MH i2c: E2 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 [00:24:33]MH_I2C_Read... [00:24:33]Read from MH i2c: E2 FD 00 10 0A 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 A2 [00:24:34]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:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 11 0A 80 17 00 00 00 00 00 00 9B [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 11 0A 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 6D [00:24:34]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:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 12 0A 80 17 00 00 00 00 00 00 9C [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:24:34]Read from MH i2c: E2 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 [00:24:34]MH_I2C_Read... [00:24:34]Read from MH i2c: E2 FD 00 12 0A 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 0E [00:24:34]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:24:34]wFMCommunicate OK [00:24:34]wFMCommunicate request_size=4 [00:24:34]MH_SAM_APDU [00:24:34]CAPDU: 80 17 00 00 [00:24:34]Write to MH i2c: E2 08 00 13 0A 80 17 00 00 00 00 00 00 9D [00:24:34]Write i2c OK [00:24:34]MH_I2C_Read... [00:24:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:24:35]Read from MH i2c: E2 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 BD 00 [00:24:35]MH_I2C_Read... [00:24:35]Read from MH i2c: E2 BD 00 13 0A 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 83 [00:24:35]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:24:35]wFMCommunicate OK [00:24:35]SAM_PROTO_GetShiftData done [00:24:35]requested_item shift.sale.total_cash is exist - process it [00:24:35]requested_item shift.sale_refund.total is exist - process it [00:24:35]requested_item shift.sale_refund.total_cash is exist - process it [00:24:35]requested_item shift.buy.total is exist - process it [00:24:35]requested_item shift.buy.total_cash is exist - process it [00:24:35]produce_requested_data done [00:24:35]produce_requested_data return {"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.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:24:35]process_action_free get_value [00:24:35]json_value_free [00:24:35]json_value_free done [00:24:35]process_json_proto returns [00:24:35]Send response to host [00:24:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":13495802.70,"fm.sale_refund.total":647767.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:24:35]free response buf [00:24:35]execute_script done [00:24:35]execute_script returns [00:24:35]free content buf [00:24:35]Sock 7.Close socket [00:24:35]Sock 7.Thread stoped [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:56]OFD Sender: No OFD packet to send [00:38:01]OFD Sender: No OFD packet to send [00:38:06]OFD Sender: No OFD packet to send [00:38:11]OFD Sender: No OFD packet to send [00:38:16]OFD Sender: No OFD packet to send [00:38:21]OFD Sender: No OFD packet to send [00:38:26]OFD Sender: No OFD packet to send [00:38:31]OFD Sender: No OFD packet to send [00:38:36]OFD Sender: No OFD packet to send [00:38:41]OFD Sender: No OFD packet to send [00:38:46]OFD Sender: No OFD packet to send [00:38:51]OFD Sender: No OFD packet to send [00:38:56]OFD Sender: No OFD packet to send [00:39:01]OFD Sender: No OFD packet to send [00:39:06]OFD Sender: No OFD packet to send [00:39:11]OFD Sender: No OFD packet to send [00:39:16]OFD Sender: No OFD packet to send [00:39:21]OFD Sender: No OFD packet to send [00:39:26]OFD Sender: No OFD packet to send [00:39:31]OFD Sender: No OFD packet to send [00:39:36]OFD Sender: No OFD packet to send [00:39:41]OFD Sender: No OFD packet to send [00:39:46]OFD Sender: No OFD packet to send [00:39:51]OFD Sender: No OFD packet to send [00:39:56]OFD Sender: No OFD packet to send [00:40:01]OFD Sender: No OFD packet to send [00:40:06]OFD Sender: No OFD packet to send [00:40:11]OFD Sender: No OFD packet to send [00:40:16]OFD Sender: No OFD packet to send [00:40:21]OFD Sender: No OFD packet to send [00:40:26]OFD Sender: No OFD packet to send [00:40:31]OFD Sender: No OFD packet to send [00:40:36]OFD Sender: No OFD packet to send [00:40:41]OFD Sender: No OFD packet to send [00:40:46]OFD Sender: No OFD packet to send [00:40:51]OFD Sender: No OFD packet to send [00:40:56]OFD Sender: No OFD packet to send [00:41:01]OFD Sender: No OFD packet to send [00:41:06]OFD Sender: No OFD packet to send [00:41:11]OFD Sender: No OFD packet to send [00:41:16]OFD Sender: No OFD packet to send [00:41:21]OFD Sender: No OFD packet to send [00:41:26]OFD Sender: No OFD packet to send [00:41:31]OFD Sender: No OFD packet to send [00:41:36]OFD Sender: No OFD packet to send [00:41:41]OFD Sender: No OFD packet to send [00:41:46]OFD Sender: No OFD packet to send [00:41:51]OFD Sender: No OFD packet to send [00:41:56]OFD Sender: No OFD packet to send [00:42:01]OFD Sender: No OFD packet to send [00:42:06]OFD Sender: No OFD packet to send [00:42:11]OFD Sender: No OFD packet to send [00:42:16]OFD Sender: No OFD packet to send [00:42:21]OFD Sender: No OFD packet to send [00:42:26]OFD Sender: No OFD packet to send [00:42:31]OFD Sender: No OFD packet to send [00:42:36]OFD Sender: No OFD packet to send [00:42:41]OFD Sender: No OFD packet to send [00:42:46]OFD Sender: No OFD packet to send [00:42:51]OFD Sender: No OFD packet to send [00:42:56]OFD Sender: No OFD packet to send [00:43:01]OFD Sender: No OFD packet to send [00:43:06]OFD Sender: No OFD packet to send [00:43:11]OFD Sender: No OFD packet to send [00:43:16]OFD Sender: No OFD packet to send [00:43:21]OFD Sender: No OFD packet to send [00:43:26]OFD Sender: No OFD packet to send [00:43:31]OFD Sender: No OFD packet to send [00:43:36]OFD Sender: No OFD packet to send [00:43:41]OFD Sender: No OFD packet to send [00:43:46]OFD Sender: No OFD packet to send [00:43:51]OFD Sender: No OFD packet to send [00:43:56]OFD Sender: No OFD packet to send [00:44:01]OFD Sender: No OFD packet to send [00:44:06]OFD Sender: No OFD packet to send [00:44:11]OFD Sender: No OFD packet to send [00:44:16]OFD Sender: No OFD packet to send [00:44:21]OFD Sender: No OFD packet to send [00:44:26]OFD Sender: No OFD packet to send [00:44:31]OFD Sender: No OFD packet to send [00:44:36]OFD Sender: No OFD packet to send [00:44:41]OFD Sender: No OFD packet to send [00:44:46]OFD Sender: No OFD packet to send [00:44:51]OFD Sender: No OFD packet to send [00:44:56]OFD Sender: No OFD packet to send [00:45:01]OFD Sender: No OFD packet to send [00:45:06]OFD Sender: No OFD packet to send [00:45:11]OFD Sender: No OFD packet to send [00:45:16]OFD Sender: No OFD packet to send [00:45:21]OFD Sender: No OFD packet to send [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:26]OFD Sender: No OFD packet to send [00:48:31]OFD Sender: No OFD packet to send [00:48:36]OFD Sender: No OFD packet to send [00:48:41]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:51]OFD Sender: No OFD packet to send [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:12]OFD Sender: No OFD packet to send [00:59:17]OFD Sender: No OFD packet to send [00:59:22]OFD Sender: No OFD packet to send [00:59:27]OFD Sender: No OFD packet to send [00:59:32]OFD Sender: No OFD packet to send [00:59:37]OFD Sender: No OFD packet to send [00:59:42]OFD Sender: No OFD packet to send [00:59:47]OFD Sender: No OFD packet to send [00:59:52]OFD Sender: No OFD packet to send [00:59:57]OFD Sender: No OFD packet to send [01:00:02]OFD Sender: No OFD packet to send [01:00:07]OFD Sender: No OFD packet to send [01:00:12]OFD Sender: No OFD packet to send [01:00:17]OFD Sender: No OFD packet to send [01:00:22]OFD Sender: No OFD packet to send [01:00:27]OFD Sender: No OFD packet to send [01:00:32]OFD Sender: No OFD packet to send [01:00:37]OFD Sender: No OFD packet to send [01:00:42]OFD Sender: No OFD packet to send [01:00:47]OFD Sender: No OFD packet to send [01:00:52]OFD Sender: No OFD packet to send [01:00:57]OFD Sender: No OFD packet to send [01:01:02]OFD Sender: No OFD packet to send [01:01:07]OFD Sender: No OFD packet to send [01:01:12]OFD Sender: No OFD packet to send [01:01:17]OFD Sender: No OFD packet to send [01:01:22]OFD Sender: No OFD packet to send [01:01:27]OFD Sender: No OFD packet to send [01:01:32]OFD Sender: No OFD packet to send [01:01:37]OFD Sender: No OFD packet to send [01:01:42]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:28]OFD Sender: No OFD packet to send [01:20:33]OFD Sender: No OFD packet to send [01:20:38]OFD Sender: No OFD packet to send [01:20:43]OFD Sender: No OFD packet to send [01:20:48]OFD Sender: No OFD packet to send [01:20:53]OFD Sender: No OFD packet to send [01:20:58]OFD Sender: No OFD packet to send [01:21:03]OFD Sender: No OFD packet to send [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:43]OFD Sender: No OFD packet to send [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]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:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]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:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]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:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:26]accept exits with 9 [02:55:26]New connection [02:55:26]New thread 3067018596 created [02:55:26]Thread 3067161956 joined [02:55:26]Waiting for new connection... [02:55:26] Sock 9.Parse request [02:55:26]Sock 9.Check first char [02:55:26]Sock 9.First char is OK [02:55:26]request: POST /json_proto HTTP/1.0 [02:55:26]Method: POST [02:55:26]URL: /json_proto [02:55:26]Method is POST - this is cgi request [02:55:26]url: /json_proto [02:55:26]query_string will be loaded in cgi processing [02:55:26]execute_cgi json_proto POST (null) [02:55:26]execute_cgi path=json_proto method=POST [02:55:26]POST find Content-Length [02:55:26]Host: 172.17.38.134:8080 [02:55:26]Content-Length: 812 [02:55:26]Content-Type: application/json [02:55:26] [02:55:26]POST finish read [02:55:26]Found Content-Length = 812 [02:55:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)184164", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:55:26]execute_script... [02:55: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)184164", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:55:26]POST & json_proto [02:55:26]process_json_proto [02:55:26]json parsed OK: [02:55:26]protocol is kg_v1.0 [02:55:26]action value=close_receipt [02:55:26]process_action close_receipt [02:55:26]cmd_close_receipt [02:55:26]MH_GetDate [02:55:26]Write to MH i2c: F0 00 00 14 0A 0D [02:55:26]Write i2c OK [02:55:26]MH_I2C_Read... [02:55:26]Read from MH i2c: F0 [02:55:26]MH_I2C_Read... [02:55:26]Read from MH i2c: F0 09 00 [02:55:26]MH_I2C_Read... [02:55:26]Read from MH i2c: F0 09 00 14 0A 00 21 9A 73 66 13 9C 7C 64 39 [02:55:26]GetLastDocTimeStamp 1718843069 [02:55:26]current date 1718852129 [02:55:26]FM_GetShiftState [02:55:26]SAM_PROTO_GetShiftState [02:55:26]wFMCommunicate request_size=4 [02:55:26]MH_SAM_APDU [02:55:26]CAPDU: 80 13 01 00 [02:55:26]Write to MH i2c: E2 08 00 15 0A 80 13 01 00 00 00 00 00 9C [02:55:26]Write i2c OK [02:55:26]MH_I2C_Read... [02:55:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:55:26]Read from MH i2c: E2 [02:55:26]MH_I2C_Read... [02:55:26]Read from MH i2c: E2 0E 00 [02:55:26]MH_I2C_Read... [02:55:26]Read from MH i2c: E2 0E 00 15 0A 00 09 00 01 BD 76 73 66 00 00 00 00 90 00 B4 [02:55:26]RAPDU: 09 00 01 BD 76 73 66 00 00 00 00 90 00 [02:55:26]wFMCommunicate OK [02:55:26]SAM_PROTO_GetShiftState done [02:55:26]FM_GetShiftState done [02:55:26]opened in 1718843069 [02:55:26]opened+sec_in_day 1718929469 [02:55:26]quantity*price = 9500 [02:55:26]sum+1 = 9501 [02:55:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 120 "Партнер Нефть" Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 СНО: Общий режим Чек 1 20.06.2024 02:55 Смена: 325 ФФД: 1.0 ЗНМ: 0300000172 РНМ: 0000000000092786 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000875095 ФД: 34391 ФПД: 240938211562780 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240620T025529&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34391&fm=240938211562780&tin=02508201610067®Number=0000000000092786&sum=9500 0 [02:55:27]StoreToDocumentArchive [02:55:27]shift 325 fd 34391 [02:55:27]save to /storage/0325/doc_00034391 [02:55:27]save last doc name /storage/0325/doc_00034391 to /storage/kkm_last_doc_name [02:55:27]save OK [02:55:27]Clear old archive folders... [02:55:27]ProcessDocumentItem done err = 0, tmpTLVsize=286 [02:55:27]tlvbuf is 00383BB0 [02:55:27]SAM_PROTO_ClearQueue [02:55:27]wFMCommunicate request_size=4 [02:55:27]MH_SAM_APDU [02:55:27]CAPDU: 80 09 00 00 [02:55:27]Write to MH i2c: E2 08 00 22 0A 80 09 00 00 00 00 00 00 9E [02:55:27]Write i2c OK [02:55:27]MH_I2C_Read... [02:55:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:55:27]Read from MH i2c: E2 [02:55:27]MH_I2C_Read... [02:55:27]Read from MH i2c: E2 03 00 [02:55:27]MH_I2C_Read... [02:55:27]Read from MH i2c: E2 03 00 22 0A 00 90 00 A0 [02:55:27]RAPDU: 90 00 [02:55:27]wFMCommunicate OK [02:55:27]SAM_PROTO_ClearQueue done [02:55:27]KKMCreateOFDPacket [02:55:27]OFDProtocolAddRootSTLVToBuf [02:55:27]FM_MakeSignedData [02:55:27]FM_MakeSignedData [02:55:27]SAM_PROTO_SignData [02:55:27]wFMCommunicate request_size=4 [02:55:27]MH_SAM_APDU [02:55:27]CAPDU: 80 0D 01 02 [02:55:27]Write to MH i2c: E2 08 00 23 0A 80 0D 01 02 00 00 00 00 A6 [02:55:27]Write i2c OK [02:55:27]MH_I2C_Read... [02:55:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:55:27]Read from MH i2c: E2 [02:55:27]MH_I2C_Read... [02:55:27]Read from MH i2c: E2 03 00 [02:55:27]MH_I2C_Read... [02:55:27]Read from MH i2c: E2 03 00 23 0A 00 90 00 A1 [02:55:27]RAPDU: 90 00 [02:55:27]wFMCommunicate OK [02:55:27]wFMCommunicate request_size=255 [02:55:27]MH_SAM_APDU [02:55:27]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 21 9A 73 66 0E 04 04 00 45 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 [02:55:27]Write to MH i2c: E2 02 01 24 0A 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 21 9A 73 66 0E 04 04 00 45 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 00 00 37 [02:55:27]Write i2c OK [02:55:27]MH_I2C_Read... [02:55:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:55:28]Read from MH i2c: E2 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 03 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 03 00 24 0A 00 90 00 A2 [02:55:28]RAPDU: 90 00 [02:55:28]wFMCommunicate OK [02:55:28]wFMCommunicate request_size=45 [02:55:28]MH_SAM_APDU [02:55:28]CAPDU: 80 0D 02 02 28 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 57 86 00 00 35 04 06 00 DB 21 CC 83 55 1C [02:55:28]Write to MH i2c: E2 30 00 25 0A 80 0D 02 02 28 00 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 57 86 00 00 35 04 06 00 DB 21 CC 83 55 1C 00 00 9E [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:55:28]Read from MH i2c: E2 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 03 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 03 00 25 0A 00 90 00 A3 [02:55:28]RAPDU: 90 00 [02:55:28]wFMCommunicate OK [02:55:28]wFMCommunicate request_size=4 [02:55:28]MH_SAM_APDU [02:55:28]CAPDU: 80 0D 03 02 [02:55:28]Write to MH i2c: E2 08 00 26 0A 80 0D 03 02 00 00 00 00 AB [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:55:28]Read from MH i2c: E2 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 0B 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 0B 00 26 0A 00 71 02 FC 30 A1 2A E6 B7 90 00 B3 [02:55:28]RAPDU: 71 02 FC 30 A1 2A E6 B7 90 00 [02:55:28]wFMCommunicate OK [02:55:28]SAM_PROTO_SignData done [02:55:28]FM_MakeSignedData done [02:55:28]CreateOFDProtocolMessage [02:55:28]wFMCommunicate request_size=4 [02:55:28]MH_SAM_APDU [02:55:28]CAPDU: 80 11 00 00 [02:55:28]Write to MH i2c: E2 08 00 27 0A 80 11 00 00 00 00 00 00 AB [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:55:28]Read from MH i2c: E2 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 17 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: E2 17 00 27 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 00 [02:55:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [02:55:28]wFMCommunicate OK [02:55:28]CreateOFDProtocolMessage done [02:55:28]OFDSenderStorePacket 34391 [02:55:28]StoreOFDPacket docnum=34391 [02:55:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 32 01 00 00 52 7D 2A 01 A8 11 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 21 9A 73 66 0E 04 04 00 45 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 57 86 00 00 35 04 06 00 DB 21 CC 83 55 1C 71 02 FC 30 A1 2A E6 B7 [02:55:28]CheckFolder [02:55:28]dirname=/storage/ofd_packets [02:55:28]CheckFolder done [02:55:28]ProducePacketName [02:55:28]name=ofd_packets/00034391 [02:55:28]NVStorageSaveData ofd_packets/00034391 [02:55:28]File name is /storage/ofd_packets/00034391 [02:55:28]Write 336 bytes [02:55:28]NVStorageSaveData done [02:55:28]OFDSenderStorePacket done [02:55:28]KKMCreateOFDPacket done [02:55:28]NVStorageSaveData kkm_last_timestamp [02:55:28]File name is /storage/kkm_last_timestamp [02:55:28]Write 4 bytes [02:55:28]NVStorageSaveData done [02:55:28]ExternCall_PrintAddStr [02:55:28]wPrintStart [02:55:28]Write to MH i2c: 01 00 00 28 0A 32 [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 07 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 07 00 28 0A 00 00 00 00 00 FF 0F 47 [02:55:28]RasterBufferAndPrint [02:55:28]line Счет N : (3)184164 [02:55:28]line ИНН: 02508201610067 [02:55:28]line Контрольно-Кассовый Чек [02:55:28]line ПРОДАЖА [02:55:28]line Товар: 4600452021095 [02:55:28]line Белый шоколад OZera Caramel 90г [02:55:28]line 1.000 * 95.00 [02:55:28]line = 95.00 [02:55:28]line НДС 12% НСП 1% [02:55:28]line > о реализуемом товаре [02:55:28]line ИТОГО: 95.00 [02:55:28]line НСП 1% : 0.84 [02:55:28]line НДС 12% : 10.09 [02:55:28]line Наличными: 0.00 [02:55:28]line Безнал.: 95.00 [02:55:28]line Место: АЗС № 120 "Партнер Нефть" [02:55:28]line Адрес: 720001, г. Нарын, ул. Ж. Турдубаева 1, 41.421232, 76.009275 [02:55:28]line СНО: Общий режим [02:55:28]line Чек 1 20.06.2024 02:55 [02:55:28]line Смена: 325 ФФД: 1.0 [02:55:28]line ЗНМ: 0300000172 [02:55:28]line РНМ: 0000000000092786 [02:55:28]line Версия ККМ: 001 [02:55:28]line Платежная система: O! деньги [02:55:28]line ФМ: 0000000000875095 [02:55:28]line ФД: 34391 [02:55:28]line ФПД: 240938211562780 [02:55:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240620T025529&type=1&operation_type=1&fn_number=0000000000875095&fd_number=34391&fm=240938211562780&tin=02508201610067®Number=0000000000092786&sum=9500 [02:55:28]line 0 [02:55:28]written 0, free lines is 4095 [02:55:28]OFD Sender: Processing packet 34391 [packets to send 8, broken 7] [02:55:28]ProducePacketName [02:55:28]name=ofd_packets/00034391 [02:55:28]OFD Sender: To server: pG, [02:55:28]CommunicateWithHost lk.salyk.kg:30040 [02:55:28]ConnectInit lk.salyk.kg [02:55:28]Connected sock=11 [02:55:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 32 01 00 00 52 7D 2A 01 A8 11 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 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 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 21 9A 73 66 0E 04 04 00 45 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 57 86 00 00 35 04 06 00 DB 21 CC 83 55 1C 71 02 FC 30 A1 2A E6 B7 [02:55:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 4F 00 00 00 DC 98 47 00 C1 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 10 04 04 00 57 86 00 00 F4 03 04 00 EC 40 73 66 B6 04 01 00 00 84 D1 6B EB 6B 4A 70 80 [02:55:28]CommunicateWithHost err = 0 [02:55:28]CheckOFDResponse [02:55:28]1017 (14) - 77093643461234 [02:55:28]1041 (16) - 0000000000875095 [02:55:28]1040 (4) - 34391 [02:55:28]1012 (4) - 19.06.2024 20:34 [02:55:28]1206 (1) - 0 [02:55:28]OFD Sender: Remove packet 34391 [02:55:28]ProducePacketName [02:55:28]name=ofd_packets/00034391 [02:55:28]NVStorageDeleteData [02:55:28]Write to MH i2c: 01 00 00 53 0A 5D [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 07 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: 01 07 00 53 0A 00 00 00 00 00 CD 0C 3D [02:55:28]RasterBufferAndPrint [02:55:28]line [02:55:28]line [02:55:28]line [02:55:28]line [02:55:28]line [02:55:28]written 0, free lines is 3284 [02:55:28]MH_Cut [02:55:28]Write to MH i2c: D1 01 00 5A 0A 01 36 [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: D1 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: D1 01 00 [02:55:28]MH_I2C_Read... [02:55:28]Read from MH i2c: D1 01 00 5A 0A 00 35 [02:55:28]Write to MH i2c: 01 00 00 5B 0A 65 [02:55:28]Write i2c OK [02:55:28]MH_I2C_Read... [02:55:29]OFD Sender: No OFD packet to send [02:55:29]*** Cut start [02:55:29]*** Partial cut [02:55:29]*** CUTSNS_PIN = 1 [02:55:29]*** CUTSNS_PIN = 0 [02:55:29]*** Brake cut motor [02:55:30]Read from MH i2c: 01 [02:55:30]MH_I2C_Read... [02:55:30]*** Stop cut motor [02:55:30]*** Cut end [02:55:30]Read from MH i2c: 01 07 00 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: 01 07 00 5B 0A 00 00 00 00 00 FF 0F 7A [02:55:30]process_action close_receipt done [02:55:30]requested_data is exist [02:55:30]produce_requested_data [02:55:30]requested_item fm.sn is exist - process it [02:55:30]wFMCommunicate request_size=4 [02:55:30]MH_SAM_APDU [02:55:30]CAPDU: 80 11 00 00 [02:55:30]Write to MH i2c: E2 08 00 5C 0A 80 11 00 00 00 00 00 00 E0 [02:55:30]Write i2c OK [02:55:30]MH_I2C_Read... [02:55:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:55:30]Read from MH i2c: E2 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 17 00 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 17 00 5C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 35 [02:55:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 90 00 [02:55:30]wFMCommunicate OK [02:55:30]requested_item fd.num is exist - process it [02:55:30]SAM_PROTO_GetFieldsCounters [02:55:30]wFMCommunicate request_size=4 [02:55:30]MH_SAM_APDU [02:55:30]CAPDU: 80 13 00 00 [02:55:30]Write to MH i2c: E2 08 00 5D 0A 80 13 00 00 00 00 00 00 E3 [02:55:30]Write i2c OK [02:55:30]MH_I2C_Read... [02:55:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:55:30]Read from MH i2c: E2 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 62 00 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 62 00 5D 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 57 86 00 00 0E 04 04 00 45 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 33 [02:55:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 35 30 39 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 37 38 36 10 04 04 00 57 86 00 00 0E 04 04 00 45 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:55:30]wFMCommunicate OK [02:55:30]SAM_PROTO_GetFieldsCounters done [02:55:30]requested_item shift.num is exist - process it [02:55:30]requested_item shift.opened is exist - process it [02:55:30]req_shift_opened [02:55:30]FM_GetShiftState [02:55:30]SAM_PROTO_GetShiftState [02:55:30]wFMCommunicate request_size=4 [02:55:30]MH_SAM_APDU [02:55:30]CAPDU: 80 13 01 00 [02:55:30]Write to MH i2c: E2 08 00 5E 0A 80 13 01 00 00 00 00 00 E5 [02:55:30]Write i2c OK [02:55:30]MH_I2C_Read... [02:55:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:55:30]Read from MH i2c: E2 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 0E 00 [02:55:30]MH_I2C_Read... [02:55:30]Read from MH i2c: E2 0E 00 5E 0A 00 09 00 01 BD 76 73 66 00 00 00 00 90 00 FD [02:55:30]RAPDU: 09 00 01 BD 76 73 66 00 00 00 00 90 00 [02:55:30]wFMCommunicate OK [02:55:30]SAM_PROTO_GetShiftState done [02:55:30]FM_GetShiftState done [02:55:30]req_shift_opened done [02:55:30]requested_item shift.open_date is exist - process it [02:55:30]req_shift_open_date [02:55:30]req_shift_open_date done [02:55:30]produce_requested_data done [02:55:30]produce_requested_data return {"fm.sn":"0000000000875095","fd.num":34391,"shift.num":325,"shift.opened":1,"shift.open_date":1718843069} [02:55:30]process_action_free close_receipt [02:55:30]json_value_free [02:55:30]json_value_free done [02:55:30]process_json_proto returns [02:55:30]Send response to host [02:55:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000875095","fd.num":34391,"shift.num":325,"shift.opened":1,"shift.open_date":1718843069}}} [02:55:30]free response buf [02:55:30]execute_script done [02:55:30]execute_script returns [02:55:30]free content buf [02:55:30]Sock 9.Close socket [02:55:30]Sock 9.Thread stoped [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send